generic-ui-core 1.5.1-rc2 → 1.5.1-rc4

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/dist/bundle.js DELETED
@@ -1,1463 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("GenericUiCore",[],t):"object"==typeof exports?exports.GenericUiCore=t():e.GenericUiCore=t()}(this,(()=>/******/(()=>{// webpackBootstrap
2
- /******/var e={
3
- /***/8780:
4
- /***/function(e){e.exports=(()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{convertTemperature:()=>o,genUnit:()=>u,genUnits:()=>i,genUnitsSystem:()=>n,getVersion:()=>a,reUnit:()=>c,si:()=>r,unitConversion:()=>p,unitConvertToBase:()=>s});const r=JSON.parse('{"fields":[{"type":"numeric","field":"acceleration","label":"Acceleration","default":"","position":10,"placeholder":"acceleration","units":[{"key":"mm_s2","label":"mm/s<sup>2</sup>"}]},{"type":"numeric","field":"agitation","label":"Agitation","default":"","position":20,"placeholder":"agitation","units":[{"key":"rpm","label":"rpm"}]},{"type":"numeric","field":"amount_enzyme","label":"Amount enzyme as μmol/min","default":"","position":30,"placeholder":"amount enzyme as μmol/min","units":[{"key":"u","label":"U","nm":1},{"key":"mu","label":"mU","nm":1000},{"key":"kat","label":"kat","nm":1.667e-8},{"key":"mkat","label":"mkat","nm":0.00001667},{"key":"µkat","label":"µkat","nm":0.01667},{"key":"nkat","label":"nkat","nm":16.67}]},{"type":"numeric","field":"amount_substance","label":"Amount of substance","default":"","position":35,"placeholder":"amount of substance","units":[{"key":"mol","label":"mol","nm":1},{"key":"mmol","label":"mmol","nm":1000},{"key":"umol","label":"µmol","nm":1000000},{"key":"nmol","label":"nmol","nm":1000000000},{"key":"pmol","label":"pmol","nm":1000000000000}]},{"type":"numeric","field":"molarity","label":"Chem. concentration (Molarity)","default":"","position":40,"placeholder":"molarity","units":[{"key":"mol_l","label":"mol/L","nm":1},{"key":"mmol_l","label":"mmol/L","nm":1000},{"key":"umol_l","label":"µmol/L","nm":1000000},{"key":"nmol_l","label":"nmol/L","nm":1000000000},{"key":"pmol_l","label":"pmol/L","nm":1000000000000}]},{"type":"numeric","field":"chem_distances","label":"Chem. distances","default":"","position":50,"placeholder":"Chem. distances","units":[{"key":"angstrom","label":"Å"}]},{"type":"numeric","field":"concentration","label":"Concentration","default":"","position":60,"placeholder":"concentration","units":[{"key":"ng_l","label":"ng/L","nm":1000000},{"key":"mg_l","label":"mg/L","nm":1000},{"key":"g_l","label":"g/L","nm":1}]},{"type":"numeric","field":"conductivity","label":"Conductivity","default":"","position":66,"placeholder":"conductivity","units":[{"key":"s_m","label":"S/m","nm":1}]},{"type":"numeric","field":"current","label":"Current","default":"","position":60,"placeholder":"Current","units":[{"key":"A","label":"A","nm":1},{"key":"mA","label":"mA","nm":1000},{"key":"uA","label":"µA","nm":1000000},{"key":"nA","label":"nA","nm":1000000000}]},{"type":"numeric","field":"degree","label":"Degree","default":"","position":70,"placeholder":"degree","units":[{"key":"degree","label":"°"}]},{"type":"numeric","field":"density","label":"Density","default":"","position":75,"placeholder":"density","units":[{"key":"g_cm3","label":"g/cm<sup>3</sup>","nm":1},{"key":"kg_l","label":"kg/l","nm":1}]},{"type":"numeric","field":"duration","label":"Duration","default":"","position":80,"placeholder":"duration","units":[{"key":"d","label":"d","nm":1},{"key":"h","label":"h","nm":24},{"key":"min","label":"m","nm":1440},{"key":"s","label":"s","nm":86400}]},{"type":"numeric","field":"elastic_modulus","label":"Elastic modulus","default":"","position":84,"placeholder":"Elastic modulus","units":[{"key":"m_pa","label":"MPa","nm":1},{"key":"k_pa","label":"kPa","nm":1000},{"key":"pa","label":"Pa","nm":1000000}]},{"type":"numeric","field":"electric_charge_c","label":"Electric Charge in C","default":"","position":85,"placeholder":"Electric Charge in C","units":[{"key":"ec_c","label":"C","nm":1}]},{"type":"numeric","field":"electric_charge_mol","label":"Electric Charge per mol","default":"","position":85,"placeholder":"Electric Charge per mol","units":[{"key":"ec_mol","label":"C/mol","nm":1}]},{"type":"numeric","field":"electric_field","label":"Electric field","default":"","position":86,"placeholder":"Electric field","units":[{"key":"v_m","label":"V/m","nm":1}]},{"type":"numeric","field":"energy","label":"Energy","default":"","position":88,"placeholder":"Joule","units":[{"key":"eV","label":"eV","nm":6.241509e+21},{"key":"keV","label":"keV","nm":6241509000000000000},{"key":"j","label":"J","nm":1000},{"key":"k_j","label":"kJ","nm":1}]},{"type":"numeric","field":"enzyme_activity","label":"Enzyme activity","default":"","position":90,"placeholder":"Enzyme activity","units":[{"key":"u_l","label":"U/L","nm":1},{"key":"u_ml","label":"U/mL","nm":0.01},{"key":"u_g","label":"U/g","nm":0.01},{"key":"u_mg","label":"U/mg","nm":0.00001}]},{"type":"numeric","field":"faraday","label":"Faraday (Fd)","default":"","position":95,"placeholder":"Faraday (Fd)","units":[{"key":"faraday","label":"Fd","nm":1}]},{"type":"numeric","field":"flow_rate","label":"Flow rate","default":"","position":100,"placeholder":"Flow rate","units":[{"key":"ul_min","label":"µl/min","nm":1000000},{"key":"ml_min","label":"ml/min","nm":1000},{"key":"l_m","label":"l/m","nm":1}]},{"type":"numeric","field":"frequency","label":"Frequency","default":"","position":100,"placeholder":"frequency","units":[{"key":"mhz","label":"MHz","nm":1000000},{"key":"hz","label":"Hz","nm":1000},{"key":"khz","label":"kHz","nm":1}]},{"type":"numeric","field":"heating_rate","label":"Heating rate","default":"","position":106,"placeholder":"heating rate","units":[{"key":"k_min","label":"K/min","nm":1}]},{"type":"numeric","field":"length","label":"Length","default":"","position":110,"placeholder":"length","units":[{"key":"mm","label":"mm","nm":1000},{"key":"cm","label":"cm","nm":100},{"key":"m","label":"m","nm":1}]},{"type":"numeric","field":"magnetic_flux_density","label":"Magnetic flux density/inductivity","default":"","position":120,"placeholder":"","units":[{"key":"T","label":"T","nm":1}]},{"type":"numeric","field":"mass","label":"Mass","default":"","position":120,"placeholder":"mass","units":[{"key":"g","label":"g","nm":1},{"key":"mg","label":"mg","nm":1000},{"key":"ug","label":"µg","nm":1000000}]},{"type":"numeric","field":"mass_molecule","label":"Mass of molecule","default":"","position":126,"placeholder":"mass of molecule","units":[{"key":"dalton","label":"D","nm":1000},{"key":"kilo_dalton","label":"kD","nm":1}]},{"type":"numeric","field":"molecular_weight","label":"Molecular weight","default":"","position":130,"placeholder":"Molecular weight","units":[{"key":"g_mol","label":"g/mol"}]},{"type":"numeric","field":"percentage","label":"Percentage","default":"","position":136,"placeholder":"percentage","units":[{"key":"p","label":"%","nm":1}]},{"type":"numeric","field":"pressure","label":"Pressure","default":"","position":140,"placeholder":"pressure","units":[{"key":"atm","label":"atm","nm":1},{"key":"pa","label":"Pa","nm":101325},{"key":"torr","label":"Torr","nm":760}]},{"type":"numeric","field":"reaction_rate","label":"Reaction rate","default":"","position":150,"placeholder":"Reaction rate","units":[{"key":"mol_lmin","label":"mol/Lmin","nm":1},{"key":"mol_lsec","label":"mol/Ls","nm":60}]},{"type":"numeric","field":"specific_volume","label":"Specific Volume","default":"","position":160,"placeholder":"Specific Volume","units":[{"key":"cm3_g","label":"cm<sup>3</sup>/g","nm":1}]},{"type":"numeric","field":"speed","label":"Speed","default":"","position":165,"placeholder":"speed","units":[{"key":"cm_s","label":"cm/s","nm":1},{"key":"mm_s","label":"mm/s","nm":10},{"key":"um_m","label":"µm/min","nm":600000},{"key":"nm_m","label":"nm/min","nm":60000000},{"key":"cm_h","label":"cm/h","nm":3600},{"key":"mm_h","label":"mm/h","nm":36000}]},{"type":"numeric","field":"subatomic_length","label":"Subatomic length","default":"","position":168,"placeholder":"Subatomic length","units":[{"key":"um","label":"µm","nm":1},{"key":"nm","label":"nm","nm":1000},{"key":"pm","label":"pm","nm":1000000}]},{"type":"numeric","field":"surface","label":"Surface","default":"","position":170,"placeholder":"surface","units":[{"key":"a_2","label":"A<sup>2</sup>","nm":10000000000000000},{"key":"um_2","label":"µm<sup>2</sup>","nm":100000000},{"key":"mm_2","label":"mm<sup>2</sup>","nm":100},{"key":"cm_2","label":"cm<sup>2</sup>","nm":1}]},{"type":"numeric","field":"temperature","label":"Temperature","default":"","position":180,"placeholder":"temperature","units":[{"key":"C","label":"°C"},{"key":"F","label":"°F"},{"key":"K","label":"K"}]},{"type":"numeric","field":"turnover_number","label":"Turnover number","default":"","position":190,"placeholder":"Turnover number","units":[{"key":"1_s","label":"1/s","nm":1},{"key":"1_m","label":"1/m","nm":60}]},{"type":"numeric","field":"viscosity","label":"Dynamic Viscosity","default":"","position":200,"placeholder":"Dynamic Viscosity","units":[{"key":"pas","label":"Pas","nm":1},{"key":"mpas","label":"mPas","nm":1000}]},{"type":"numeric","field":"kinematic_viscosity","label":"Kinematic Viscosity","default":"","position":205,"placeholder":"Kinematic Viscosity","units":[{"key":"m2_s","label":"m<sup>2</sup>/s","nm":1}]},{"type":"numeric","field":"voltage","label":"Voltage","default":"","position":200,"placeholder":"voltage","units":[{"key":"mv","label":"mV","nm":1000},{"key":"v","label":"V","nm":1}]},{"type":"numeric","field":"volumes","label":"Volumes","default":"","position":210,"placeholder":"volume","units":[{"key":"l","label":"l","nm":1},{"key":"ml","label":"ml","nm":1000},{"key":"ul","label":"µl","nm":1000000},{"key":"nl","label":"nl","nm":1000000000}]}]}');function n(e={}){const{externalUnits:t={}}=e;return Object.keys(t).length>=1?t.fields||[]:(r||{}).fields||[]}function o(e,t){switch(e){case"F":return parseFloat((1.8*parseFloat(t)+32).toFixed(2));case"K":return parseFloat((5*(parseFloat(t)+459.67)/9).toFixed(2));case"C":return parseFloat((parseFloat(t)-273.15).toFixed(2));default:return parseFloat(t)}}const l={rE:"1.2.0"};function a(){return l.rE}function i(e,t={}){return(n(t).find((t=>t.field===e))||{}).units||[]}function u(e,t,r={}){return i(e,r).find((e=>e.key===t))||{}}function c(e,t={}){const r=n(t),o=r.find((t=>t.field===e)),l=o?.field||"",a=r.length>0?r[0].field:"";return""===l?a:l}function s(e={}){const{field:t={}}=e,r=i(t.option_layers,e);if(r.length<=1)return t.value;const n=r.findIndex((e=>e.key===t.value_system));return n<=0?t.value:t.value*r[0].nm/(r[n]&&r[n].nm||1)||0}function p(e,t,r,n={}){if(void 0===r||null==r||""===r)return r;if(0===r&&"temperature"!==e)return r;if("temperature"===e)return o(t,r);const l=i(e,n);if(l.length<=1)return r;const a=l.findIndex((e=>e.key===t));if(-1===a)return r;const u=l[0===a?l.length-1:a-1],c=l[a];return parseFloat((parseFloat(r)*(c.nm/u.nm)).toFixed(5))}return t})();
5
- /***/},
6
- /***/5580:
7
- /***/(e,t,r)=>{var n=r(6110)(r(9325),"DataView");
8
- /* Built-in method references that are verified to be native. */e.exports=n}
9
- /***/,
10
- /***/1549:
11
- /***/(e,t,r)=>{var n=r(2032),o=r(3862),l=r(6721),a=r(2749),i=r(5749);
12
- /**
13
- * Creates a hash object.
14
- *
15
- * @private
16
- * @constructor
17
- * @param {Array} [entries] The key-value pairs to cache.
18
- */function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}
19
- // Add methods to `Hash`.
20
- u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=l,u.prototype.has=a,u.prototype.set=i,e.exports=u}
21
- /***/,
22
- /***/79:
23
- /***/(e,t,r)=>{var n=r(3702),o=r(80),l=r(4739),a=r(8655),i=r(1175);
24
- /**
25
- * Creates an list cache object.
26
- *
27
- * @private
28
- * @constructor
29
- * @param {Array} [entries] The key-value pairs to cache.
30
- */function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}
31
- // Add methods to `ListCache`.
32
- u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=l,u.prototype.has=a,u.prototype.set=i,e.exports=u}
33
- /***/,
34
- /***/8223:
35
- /***/(e,t,r)=>{var n=r(6110)(r(9325),"Map");
36
- /* Built-in method references that are verified to be native. */e.exports=n}
37
- /***/,
38
- /***/3661:
39
- /***/(e,t,r)=>{var n=r(3040),o=r(7670),l=r(289),a=r(4509),i=r(2949);
40
- /**
41
- * Creates a map cache object to store key-value pairs.
42
- *
43
- * @private
44
- * @constructor
45
- * @param {Array} [entries] The key-value pairs to cache.
46
- */function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}
47
- // Add methods to `MapCache`.
48
- u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=l,u.prototype.has=a,u.prototype.set=i,e.exports=u}
49
- /***/,
50
- /***/2804:
51
- /***/(e,t,r)=>{var n=r(6110)(r(9325),"Promise");
52
- /* Built-in method references that are verified to be native. */e.exports=n}
53
- /***/,
54
- /***/6545:
55
- /***/(e,t,r)=>{var n=r(6110)(r(9325),"Set");
56
- /* Built-in method references that are verified to be native. */e.exports=n}
57
- /***/,
58
- /***/7217:
59
- /***/(e,t,r)=>{var n=r(79),o=r(1420),l=r(938),a=r(3605),i=r(9817),u=r(945);
60
- /**
61
- * Creates a stack cache object to store key-value pairs.
62
- *
63
- * @private
64
- * @constructor
65
- * @param {Array} [entries] The key-value pairs to cache.
66
- */function c(e){var t=this.__data__=new n(e);this.size=t.size}
67
- // Add methods to `Stack`.
68
- c.prototype.clear=o,c.prototype.delete=l,c.prototype.get=a,c.prototype.has=i,c.prototype.set=u,e.exports=c}
69
- /***/,
70
- /***/1873:
71
- /***/(e,t,r)=>{var n=r(9325).Symbol;
72
- /** Built-in value references. */e.exports=n}
73
- /***/,
74
- /***/7828:
75
- /***/(e,t,r)=>{var n=r(9325).Uint8Array;
76
- /** Built-in value references. */e.exports=n}
77
- /***/,
78
- /***/8303:
79
- /***/(e,t,r)=>{var n=r(6110)(r(9325),"WeakMap");
80
- /* Built-in method references that are verified to be native. */e.exports=n}
81
- /***/,
82
- /***/3729:
83
- /***/e=>{e.exports=
84
- /**
85
- * A specialized version of `_.forEach` for arrays without support for
86
- * iteratee shorthands.
87
- *
88
- * @private
89
- * @param {Array} [array] The array to iterate over.
90
- * @param {Function} iteratee The function invoked per iteration.
91
- * @returns {Array} Returns `array`.
92
- */
93
- function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}}
94
- /***/,
95
- /***/9770:
96
- /***/e=>{e.exports=
97
- /**
98
- * A specialized version of `_.filter` for arrays without support for
99
- * iteratee shorthands.
100
- *
101
- * @private
102
- * @param {Array} [array] The array to iterate over.
103
- * @param {Function} predicate The function invoked per iteration.
104
- * @returns {Array} Returns the new filtered array.
105
- */
106
- function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,l=[];++r<n;){var a=e[r];t(a,r,e)&&(l[o++]=a)}return l}}
107
- /***/,
108
- /***/695:
109
- /***/(e,t,r)=>{var n=r(8096),o=r(2428),l=r(6449),a=r(3656),i=r(361),u=r(7167),c=Object.prototype.hasOwnProperty;
110
- /** Used for built-in method references. */e.exports=
111
- /**
112
- * Creates an array of the enumerable property names of the array-like `value`.
113
- *
114
- * @private
115
- * @param {*} value The value to query.
116
- * @param {boolean} inherited Specify returning inherited property names.
117
- * @returns {Array} Returns the array of property names.
118
- */
119
- function(e,t){var r=l(e),s=!r&&o(e),p=!r&&!s&&a(e),f=!r&&!s&&!p&&u(e),y=r||s||p||f,m=y?n(e.length,String):[],b=m.length;for(var d in e)!t&&!c.call(e,d)||y&&(
120
- // Safari 9 has enumerable `arguments.length` in strict mode.
121
- "length"==d||
122
- // Node.js 0.10 has enumerable non-index properties on buffers.
123
- p&&("offset"==d||"parent"==d)||
124
- // PhantomJS 2 has enumerable non-index properties on typed arrays.
125
- f&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||
126
- // Skip index properties.
127
- i(d,b))||m.push(d);return m}}
128
- /***/,
129
- /***/4528:
130
- /***/e=>{e.exports=
131
- /**
132
- * Appends the elements of `values` to `array`.
133
- *
134
- * @private
135
- * @param {Array} array The array to modify.
136
- * @param {Array} values The values to append.
137
- * @returns {Array} Returns `array`.
138
- */
139
- function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}}
140
- /***/,
141
- /***/6547:
142
- /***/(e,t,r)=>{var n=r(3360),o=r(5288),l=Object.prototype.hasOwnProperty;
143
- /** Used for built-in method references. */e.exports=
144
- /**
145
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
146
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
147
- * for equality comparisons.
148
- *
149
- * @private
150
- * @param {Object} object The object to modify.
151
- * @param {string} key The key of the property to assign.
152
- * @param {*} value The value to assign.
153
- */
154
- function(e,t,r){var a=e[t];l.call(e,t)&&o(a,r)&&(void 0!==r||t in e)||n(e,t,r)}}
155
- /***/,
156
- /***/6025:
157
- /***/(e,t,r)=>{var n=r(5288);
158
- /**
159
- * Gets the index at which the `key` is found in `array` of key-value pairs.
160
- *
161
- * @private
162
- * @param {Array} array The array to inspect.
163
- * @param {*} key The key to search for.
164
- * @returns {number} Returns the index of the matched value, else `-1`.
165
- */e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}}
166
- /***/,
167
- /***/4733:
168
- /***/(e,t,r)=>{var n=r(1791),o=r(5950);
169
- /**
170
- * The base implementation of `_.assign` without support for multiple sources
171
- * or `customizer` functions.
172
- *
173
- * @private
174
- * @param {Object} object The destination object.
175
- * @param {Object} source The source object.
176
- * @returns {Object} Returns `object`.
177
- */e.exports=function(e,t){return e&&n(t,o(t),e)}}
178
- /***/,
179
- /***/3838:
180
- /***/(e,t,r)=>{var n=r(1791),o=r(7241);
181
- /**
182
- * The base implementation of `_.assignIn` without support for multiple sources
183
- * or `customizer` functions.
184
- *
185
- * @private
186
- * @param {Object} object The destination object.
187
- * @param {Object} source The source object.
188
- * @returns {Object} Returns `object`.
189
- */e.exports=function(e,t){return e&&n(t,o(t),e)}}
190
- /***/,
191
- /***/3360:
192
- /***/(e,t,r)=>{var n=r(3243);
193
- /**
194
- * The base implementation of `assignValue` and `assignMergeValue` without
195
- * value checks.
196
- *
197
- * @private
198
- * @param {Object} object The object to modify.
199
- * @param {string} key The key of the property to assign.
200
- * @param {*} value The value to assign.
201
- */e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}}
202
- /***/,
203
- /***/9999:
204
- /***/(e,t,r)=>{var n=r(7217),o=r(3729),l=r(6547),a=r(4733),i=r(3838),u=r(3290),c=r(3007),s=r(2271),p=r(8948),f=r(2),y=r(3349),m=r(5861),b=r(6189),d=r(7199),v=r(5529),_=r(6449),h=r(3656),g=r(7730),j=r(3805),x=r(8440),k=r(5950),O=r(7241),A="[object Arguments]",E="[object Function]",F="[object Object]",S={};
205
- /** Used to compose bitmasks for cloning. */S[A]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S[F]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S[E]=S["[object WeakMap]"]=!1,e.exports=
206
- /**
207
- * The base implementation of `_.clone` and `_.cloneDeep` which tracks
208
- * traversed objects.
209
- *
210
- * @private
211
- * @param {*} value The value to clone.
212
- * @param {boolean} bitmask The bitmask flags.
213
- * 1 - Deep clone
214
- * 2 - Flatten inherited properties
215
- * 4 - Clone symbols
216
- * @param {Function} [customizer] The function to customize cloning.
217
- * @param {string} [key] The key of `value`.
218
- * @param {Object} [object] The parent object of `value`.
219
- * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
220
- * @returns {*} Returns the cloned value.
221
- */
222
- function e(t,r,w,T,U,L){var P,C=1&r,D=2&r,M=4&r;if(w&&(P=U?w(t,T,U,L):w(t)),void 0!==P)return P;if(!j(t))return t;var I=_(t);if(I){if(P=b(t),!C)return c(t,P)}else{var z=m(t),N=z==E||"[object GeneratorFunction]"==z;if(h(t))return u(t,C);if(z==F||z==A||N&&!U){if(P=D||N?{}:v(t),!C)return D?p(t,i(P,t)):s(t,a(P,t))}else{if(!S[z])return U?t:{};P=d(t,z,C)}}
223
- // Check for circular references and return its corresponding clone.
224
- L||(L=new n);var R=L.get(t);if(R)return R;L.set(t,P),x(t)?t.forEach((function(n){P.add(e(n,r,w,n,t,L))})):g(t)&&t.forEach((function(n,o){P.set(o,e(n,r,w,o,t,L))}));var V=I?void 0:(M?D?y:f:D?O:k)(t);return o(V||t,(function(n,o){V&&(n=t[o=n]),
225
- // Recursively populate clone (susceptible to call stack limits).
226
- l(P,o,e(n,r,w,o,t,L))})),P}}
227
- /***/,
228
- /***/9344:
229
- /***/(e,t,r)=>{var n=r(3805),o=Object.create,l=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();
230
- /** Built-in value references. */e.exports=l}
231
- /***/,
232
- /***/2199:
233
- /***/(e,t,r)=>{var n=r(4528),o=r(6449);
234
- /**
235
- * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
236
- * `keysFunc` and `symbolsFunc` to get the enumerable property names and
237
- * symbols of `object`.
238
- *
239
- * @private
240
- * @param {Object} object The object to query.
241
- * @param {Function} keysFunc The function to get the keys of `object`.
242
- * @param {Function} symbolsFunc The function to get the symbols of `object`.
243
- * @returns {Array} Returns the array of property names and symbols.
244
- */e.exports=function(e,t,r){var l=t(e);return o(e)?l:n(l,r(e))}}
245
- /***/,
246
- /***/2552:
247
- /***/(e,t,r)=>{var n=r(1873),o=r(659),l=r(9350),a=n?n.toStringTag:void 0;
248
- /** `Object#toString` result references. */e.exports=
249
- /**
250
- * The base implementation of `getTag` without fallbacks for buggy environments.
251
- *
252
- * @private
253
- * @param {*} value The value to query.
254
- * @returns {string} Returns the `toStringTag`.
255
- */
256
- function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):l(e)}}
257
- /***/,
258
- /***/7534:
259
- /***/(e,t,r)=>{var n=r(2552),o=r(346);
260
- /** `Object#toString` result references. */e.exports=
261
- /**
262
- * The base implementation of `_.isArguments`.
263
- *
264
- * @private
265
- * @param {*} value The value to check.
266
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
267
- */
268
- function(e){return o(e)&&"[object Arguments]"==n(e)}}
269
- /***/,
270
- /***/9172:
271
- /***/(e,t,r)=>{var n=r(5861),o=r(346);
272
- /** `Object#toString` result references. */e.exports=
273
- /**
274
- * The base implementation of `_.isMap` without Node.js optimizations.
275
- *
276
- * @private
277
- * @param {*} value The value to check.
278
- * @returns {boolean} Returns `true` if `value` is a map, else `false`.
279
- */
280
- function(e){return o(e)&&"[object Map]"==n(e)}}
281
- /***/,
282
- /***/5083:
283
- /***/(e,t,r)=>{var n=r(1882),o=r(7296),l=r(3805),a=r(7473),i=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,s=u.toString,p=c.hasOwnProperty,f=RegExp("^"+s.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");
284
- /**
285
- * Used to match `RegExp`
286
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
287
- */e.exports=
288
- /**
289
- * The base implementation of `_.isNative` without bad shim checks.
290
- *
291
- * @private
292
- * @param {*} value The value to check.
293
- * @returns {boolean} Returns `true` if `value` is a native function,
294
- * else `false`.
295
- */
296
- function(e){return!(!l(e)||o(e))&&(n(e)?f:i).test(a(e))}}
297
- /***/,
298
- /***/6038:
299
- /***/(e,t,r)=>{var n=r(5861),o=r(346);
300
- /** `Object#toString` result references. */e.exports=
301
- /**
302
- * The base implementation of `_.isSet` without Node.js optimizations.
303
- *
304
- * @private
305
- * @param {*} value The value to check.
306
- * @returns {boolean} Returns `true` if `value` is a set, else `false`.
307
- */
308
- function(e){return o(e)&&"[object Set]"==n(e)}}
309
- /***/,
310
- /***/4901:
311
- /***/(e,t,r)=>{var n=r(2552),o=r(294),l=r(346),a={};
312
- /** `Object#toString` result references. */a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=
313
- /**
314
- * The base implementation of `_.isTypedArray` without Node.js optimizations.
315
- *
316
- * @private
317
- * @param {*} value The value to check.
318
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
319
- */
320
- function(e){return l(e)&&o(e.length)&&!!a[n(e)]}}
321
- /***/,
322
- /***/8984:
323
- /***/(e,t,r)=>{var n=r(5527),o=r(3650),l=Object.prototype.hasOwnProperty;
324
- /** Used for built-in method references. */e.exports=
325
- /**
326
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
327
- *
328
- * @private
329
- * @param {Object} object The object to query.
330
- * @returns {Array} Returns the array of property names.
331
- */
332
- function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))l.call(e,r)&&"constructor"!=r&&t.push(r);return t}}
333
- /***/,
334
- /***/2903:
335
- /***/(e,t,r)=>{var n=r(3805),o=r(5527),l=r(181),a=Object.prototype.hasOwnProperty;
336
- /** Used for built-in method references. */e.exports=
337
- /**
338
- * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
339
- *
340
- * @private
341
- * @param {Object} object The object to query.
342
- * @returns {Array} Returns the array of property names.
343
- */
344
- function(e){if(!n(e))return l(e);var t=o(e),r=[];for(var i in e)("constructor"!=i||!t&&a.call(e,i))&&r.push(i);return r}}
345
- /***/,
346
- /***/8096:
347
- /***/e=>{e.exports=
348
- /**
349
- * The base implementation of `_.times` without support for iteratee shorthands
350
- * or max array length checks.
351
- *
352
- * @private
353
- * @param {number} n The number of times to invoke `iteratee`.
354
- * @param {Function} iteratee The function invoked per iteration.
355
- * @returns {Array} Returns the array of results.
356
- */
357
- function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}}
358
- /***/,
359
- /***/7301:
360
- /***/e=>{e.exports=
361
- /**
362
- * The base implementation of `_.unary` without support for storing metadata.
363
- *
364
- * @private
365
- * @param {Function} func The function to cap arguments for.
366
- * @returns {Function} Returns the new capped function.
367
- */
368
- function(e){return function(t){return e(t)}}}
369
- /***/,
370
- /***/9653:
371
- /***/(e,t,r)=>{var n=r(7828);
372
- /**
373
- * Creates a clone of `arrayBuffer`.
374
- *
375
- * @private
376
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
377
- * @returns {ArrayBuffer} Returns the cloned array buffer.
378
- */e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}}
379
- /***/,
380
- /***/3290:
381
- /***/(e,t,r)=>{
382
- /* module decorator */e=r.nmd(e);var n=r(9325),o=t&&!t.nodeType&&t,l=o&&e&&!e.nodeType&&e,a=l&&l.exports===o?n.Buffer:void 0,i=a?a.allocUnsafe:void 0;
383
- /** Detect free variable `exports`. */e.exports=
384
- /**
385
- * Creates a clone of `buffer`.
386
- *
387
- * @private
388
- * @param {Buffer} buffer The buffer to clone.
389
- * @param {boolean} [isDeep] Specify a deep clone.
390
- * @returns {Buffer} Returns the cloned buffer.
391
- */
392
- function(e,t){if(t)return e.slice();var r=e.length,n=i?i(r):new e.constructor(r);return e.copy(n),n}}
393
- /***/,
394
- /***/6169:
395
- /***/(e,t,r)=>{var n=r(9653);
396
- /**
397
- * Creates a clone of `dataView`.
398
- *
399
- * @private
400
- * @param {Object} dataView The data view to clone.
401
- * @param {boolean} [isDeep] Specify a deep clone.
402
- * @returns {Object} Returns the cloned data view.
403
- */e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}}
404
- /***/,
405
- /***/3201:
406
- /***/e=>{
407
- /** Used to match `RegExp` flags from their coerced string values. */
408
- var t=/\w*$/;
409
- /**
410
- * Creates a clone of `regexp`.
411
- *
412
- * @private
413
- * @param {Object} regexp The regexp to clone.
414
- * @returns {Object} Returns the cloned regexp.
415
- */e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}}
416
- /***/,
417
- /***/3736:
418
- /***/(e,t,r)=>{var n=r(1873),o=n?n.prototype:void 0,l=o?o.valueOf:void 0;
419
- /** Used to convert symbols to primitives and strings. */e.exports=
420
- /**
421
- * Creates a clone of the `symbol` object.
422
- *
423
- * @private
424
- * @param {Object} symbol The symbol object to clone.
425
- * @returns {Object} Returns the cloned symbol object.
426
- */
427
- function(e){return l?Object(l.call(e)):{}}}
428
- /***/,
429
- /***/1961:
430
- /***/(e,t,r)=>{var n=r(9653);
431
- /**
432
- * Creates a clone of `typedArray`.
433
- *
434
- * @private
435
- * @param {Object} typedArray The typed array to clone.
436
- * @param {boolean} [isDeep] Specify a deep clone.
437
- * @returns {Object} Returns the cloned typed array.
438
- */e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}}
439
- /***/,
440
- /***/3007:
441
- /***/e=>{e.exports=
442
- /**
443
- * Copies the values of `source` to `array`.
444
- *
445
- * @private
446
- * @param {Array} source The array to copy values from.
447
- * @param {Array} [array=[]] The array to copy values to.
448
- * @returns {Array} Returns `array`.
449
- */
450
- function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}}
451
- /***/,
452
- /***/1791:
453
- /***/(e,t,r)=>{var n=r(6547),o=r(3360);
454
- /**
455
- * Copies properties of `source` to `object`.
456
- *
457
- * @private
458
- * @param {Object} source The object to copy properties from.
459
- * @param {Array} props The property identifiers to copy.
460
- * @param {Object} [object={}] The object to copy properties to.
461
- * @param {Function} [customizer] The function to customize copied values.
462
- * @returns {Object} Returns `object`.
463
- */e.exports=function(e,t,r,l){var a=!r;r||(r={});for(var i=-1,u=t.length;++i<u;){var c=t[i],s=l?l(r[c],e[c],c,r,e):void 0;void 0===s&&(s=e[c]),a?o(r,c,s):n(r,c,s)}return r}}
464
- /***/,
465
- /***/2271:
466
- /***/(e,t,r)=>{var n=r(1791),o=r(4664);
467
- /**
468
- * Copies own symbols of `source` to `object`.
469
- *
470
- * @private
471
- * @param {Object} source The object to copy symbols from.
472
- * @param {Object} [object={}] The object to copy symbols to.
473
- * @returns {Object} Returns `object`.
474
- */e.exports=function(e,t){return n(e,o(e),t)}}
475
- /***/,
476
- /***/8948:
477
- /***/(e,t,r)=>{var n=r(1791),o=r(6375);
478
- /**
479
- * Copies own and inherited symbols of `source` to `object`.
480
- *
481
- * @private
482
- * @param {Object} source The object to copy symbols from.
483
- * @param {Object} [object={}] The object to copy symbols to.
484
- * @returns {Object} Returns `object`.
485
- */e.exports=function(e,t){return n(e,o(e),t)}}
486
- /***/,
487
- /***/5481:
488
- /***/(e,t,r)=>{var n=r(9325)["__core-js_shared__"];
489
- /** Used to detect overreaching core-js shims. */e.exports=n}
490
- /***/,
491
- /***/3243:
492
- /***/(e,t,r)=>{var n=r(6110),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o}
493
- /***/,
494
- /***/4840:
495
- /***/(e,t,r)=>{
496
- /** Detect free variable `global` from Node.js. */
497
- var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n}
498
- /***/,
499
- /***/2:
500
- /***/(e,t,r)=>{var n=r(2199),o=r(4664),l=r(5950);
501
- /**
502
- * Creates an array of own enumerable property names and symbols of `object`.
503
- *
504
- * @private
505
- * @param {Object} object The object to query.
506
- * @returns {Array} Returns the array of property names and symbols.
507
- */e.exports=function(e){return n(e,l,o)}}
508
- /***/,
509
- /***/3349:
510
- /***/(e,t,r)=>{var n=r(2199),o=r(6375),l=r(7241);
511
- /**
512
- * Creates an array of own and inherited enumerable property names and
513
- * symbols of `object`.
514
- *
515
- * @private
516
- * @param {Object} object The object to query.
517
- * @returns {Array} Returns the array of property names and symbols.
518
- */e.exports=function(e){return n(e,l,o)}}
519
- /***/,
520
- /***/2651:
521
- /***/(e,t,r)=>{var n=r(4218);
522
- /**
523
- * Gets the data for `map`.
524
- *
525
- * @private
526
- * @param {Object} map The map to query.
527
- * @param {string} key The reference key.
528
- * @returns {*} Returns the map data.
529
- */e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}}
530
- /***/,
531
- /***/6110:
532
- /***/(e,t,r)=>{var n=r(5083),o=r(392);
533
- /**
534
- * Gets the native function at `key` of `object`.
535
- *
536
- * @private
537
- * @param {Object} object The object to query.
538
- * @param {string} key The key of the method to get.
539
- * @returns {*} Returns the function if it's native, else `undefined`.
540
- */e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}}
541
- /***/,
542
- /***/8879:
543
- /***/(e,t,r)=>{var n=r(4335)(Object.getPrototypeOf,Object);
544
- /** Built-in value references. */e.exports=n}
545
- /***/,
546
- /***/659:
547
- /***/(e,t,r)=>{var n=r(1873),o=Object.prototype,l=o.hasOwnProperty,a=o.toString,i=n?n.toStringTag:void 0;
548
- /** Used for built-in method references. */e.exports=
549
- /**
550
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
551
- *
552
- * @private
553
- * @param {*} value The value to query.
554
- * @returns {string} Returns the raw `toStringTag`.
555
- */
556
- function(e){var t=l.call(e,i),r=e[i];try{e[i]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[i]=r:delete e[i]),o}}
557
- /***/,
558
- /***/4664:
559
- /***/(e,t,r)=>{var n=r(9770),o=r(3345),l=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,i=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return l.call(e,t)})))}:o;
560
- /** Used for built-in method references. */e.exports=i}
561
- /***/,
562
- /***/6375:
563
- /***/(e,t,r)=>{var n=r(4528),o=r(8879),l=r(4664),a=r(3345),i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,l(e)),e=o(e);return t}:a;
564
- /* Built-in method references for those with the same name as other `lodash` methods. */e.exports=i}
565
- /***/,
566
- /***/5861:
567
- /***/(e,t,r)=>{var n=r(5580),o=r(8223),l=r(2804),a=r(6545),i=r(8303),u=r(2552),c=r(7473),s="[object Map]",p="[object Promise]",f="[object Set]",y="[object WeakMap]",m="[object DataView]",b=c(n),d=c(o),v=c(l),_=c(a),h=c(i),g=u;
568
- /** `Object#toString` result references. */
569
- // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
570
- (n&&g(new n(new ArrayBuffer(1)))!=m||o&&g(new o)!=s||l&&g(l.resolve())!=p||a&&g(new a)!=f||i&&g(new i)!=y)&&(g=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case b:return m;case d:return s;case v:return p;case _:return f;case h:return y}return t}),e.exports=g}
571
- /***/,
572
- /***/392:
573
- /***/e=>{e.exports=
574
- /**
575
- * Gets the value at `key` of `object`.
576
- *
577
- * @private
578
- * @param {Object} [object] The object to query.
579
- * @param {string} key The key of the property to get.
580
- * @returns {*} Returns the property value.
581
- */
582
- function(e,t){return null==e?void 0:e[t]}}
583
- /***/,
584
- /***/2032:
585
- /***/(e,t,r)=>{var n=r(1042);
586
- /**
587
- * Removes all key-value entries from the hash.
588
- *
589
- * @private
590
- * @name clear
591
- * @memberOf Hash
592
- */e.exports=function(){this.__data__=n?n(null):{},this.size=0}}
593
- /***/,
594
- /***/3862:
595
- /***/e=>{e.exports=
596
- /**
597
- * Removes `key` and its value from the hash.
598
- *
599
- * @private
600
- * @name delete
601
- * @memberOf Hash
602
- * @param {Object} hash The hash to modify.
603
- * @param {string} key The key of the value to remove.
604
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
605
- */
606
- function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}}
607
- /***/,
608
- /***/6721:
609
- /***/(e,t,r)=>{var n=r(1042),o=Object.prototype.hasOwnProperty;
610
- /** Used to stand-in for `undefined` hash values. */e.exports=
611
- /**
612
- * Gets the hash value for `key`.
613
- *
614
- * @private
615
- * @name get
616
- * @memberOf Hash
617
- * @param {string} key The key of the value to get.
618
- * @returns {*} Returns the entry value.
619
- */
620
- function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}}
621
- /***/,
622
- /***/2749:
623
- /***/(e,t,r)=>{var n=r(1042),o=Object.prototype.hasOwnProperty;
624
- /** Used for built-in method references. */e.exports=
625
- /**
626
- * Checks if a hash value for `key` exists.
627
- *
628
- * @private
629
- * @name has
630
- * @memberOf Hash
631
- * @param {string} key The key of the entry to check.
632
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
633
- */
634
- function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}}
635
- /***/,
636
- /***/5749:
637
- /***/(e,t,r)=>{var n=r(1042);
638
- /** Used to stand-in for `undefined` hash values. */e.exports=
639
- /**
640
- * Sets the hash `key` to `value`.
641
- *
642
- * @private
643
- * @name set
644
- * @memberOf Hash
645
- * @param {string} key The key of the value to set.
646
- * @param {*} value The value to set.
647
- * @returns {Object} Returns the hash instance.
648
- */
649
- function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}}
650
- /***/,
651
- /***/6189:
652
- /***/e=>{
653
- /** Used for built-in method references. */
654
- var t=Object.prototype.hasOwnProperty;
655
- /** Used to check objects for own properties. */e.exports=
656
- /**
657
- * Initializes an array clone.
658
- *
659
- * @private
660
- * @param {Array} array The array to clone.
661
- * @returns {Array} Returns the initialized clone.
662
- */
663
- function(e){var r=e.length,n=new e.constructor(r);
664
- // Add properties assigned by `RegExp#exec`.
665
- return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}}
666
- /***/,
667
- /***/7199:
668
- /***/(e,t,r)=>{var n=r(9653),o=r(6169),l=r(3201),a=r(3736),i=r(1961);
669
- /** `Object#toString` result references. */e.exports=
670
- /**
671
- * Initializes an object clone based on its `toStringTag`.
672
- *
673
- * **Note:** This function only supports cloning values with tags of
674
- * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
675
- *
676
- * @private
677
- * @param {Object} object The object to clone.
678
- * @param {string} tag The `toStringTag` of the object to clone.
679
- * @param {boolean} [isDeep] Specify a deep clone.
680
- * @returns {Object} Returns the initialized clone.
681
- */
682
- function(e,t,r){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return i(e,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return l(e);case"[object Symbol]":return a(e)}}}
683
- /***/,
684
- /***/5529:
685
- /***/(e,t,r)=>{var n=r(9344),o=r(8879),l=r(5527);
686
- /**
687
- * Initializes an object clone.
688
- *
689
- * @private
690
- * @param {Object} object The object to clone.
691
- * @returns {Object} Returns the initialized clone.
692
- */e.exports=function(e){return"function"!=typeof e.constructor||l(e)?{}:n(o(e))}}
693
- /***/,
694
- /***/361:
695
- /***/e=>{
696
- /** Used as references for various `Number` constants. */
697
- var t=/^(?:0|[1-9]\d*)$/;
698
- /** Used to detect unsigned integer values. */e.exports=
699
- /**
700
- * Checks if `value` is a valid array-like index.
701
- *
702
- * @private
703
- * @param {*} value The value to check.
704
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
705
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
706
- */
707
- function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}}
708
- /***/,
709
- /***/4218:
710
- /***/e=>{e.exports=
711
- /**
712
- * Checks if `value` is suitable for use as unique object key.
713
- *
714
- * @private
715
- * @param {*} value The value to check.
716
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
717
- */
718
- function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}}
719
- /***/,
720
- /***/7296:
721
- /***/(e,t,r)=>{var n,o=r(5481),l=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";
722
- /** Used to detect methods masquerading as native. */e.exports=
723
- /**
724
- * Checks if `func` has its source masked.
725
- *
726
- * @private
727
- * @param {Function} func The function to check.
728
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
729
- */
730
- function(e){return!!l&&l in e}}
731
- /***/,
732
- /***/5527:
733
- /***/e=>{
734
- /** Used for built-in method references. */
735
- var t=Object.prototype;
736
- /**
737
- * Checks if `value` is likely a prototype object.
738
- *
739
- * @private
740
- * @param {*} value The value to check.
741
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
742
- */e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}}
743
- /***/,
744
- /***/3702:
745
- /***/e=>{e.exports=
746
- /**
747
- * Removes all key-value entries from the list cache.
748
- *
749
- * @private
750
- * @name clear
751
- * @memberOf ListCache
752
- */
753
- function(){this.__data__=[],this.size=0}}
754
- /***/,
755
- /***/80:
756
- /***/(e,t,r)=>{var n=r(6025),o=Array.prototype.splice;
757
- /** Used for built-in method references. */e.exports=
758
- /**
759
- * Removes `key` and its value from the list cache.
760
- *
761
- * @private
762
- * @name delete
763
- * @memberOf ListCache
764
- * @param {string} key The key of the value to remove.
765
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
766
- */
767
- function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}}
768
- /***/,
769
- /***/4739:
770
- /***/(e,t,r)=>{var n=r(6025);
771
- /**
772
- * Gets the list cache value for `key`.
773
- *
774
- * @private
775
- * @name get
776
- * @memberOf ListCache
777
- * @param {string} key The key of the value to get.
778
- * @returns {*} Returns the entry value.
779
- */e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}}
780
- /***/,
781
- /***/8655:
782
- /***/(e,t,r)=>{var n=r(6025);
783
- /**
784
- * Checks if a list cache value for `key` exists.
785
- *
786
- * @private
787
- * @name has
788
- * @memberOf ListCache
789
- * @param {string} key The key of the entry to check.
790
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
791
- */e.exports=function(e){return n(this.__data__,e)>-1}}
792
- /***/,
793
- /***/1175:
794
- /***/(e,t,r)=>{var n=r(6025);
795
- /**
796
- * Sets the list cache `key` to `value`.
797
- *
798
- * @private
799
- * @name set
800
- * @memberOf ListCache
801
- * @param {string} key The key of the value to set.
802
- * @param {*} value The value to set.
803
- * @returns {Object} Returns the list cache instance.
804
- */e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}}
805
- /***/,
806
- /***/3040:
807
- /***/(e,t,r)=>{var n=r(1549),o=r(79),l=r(8223);
808
- /**
809
- * Removes all key-value entries from the map.
810
- *
811
- * @private
812
- * @name clear
813
- * @memberOf MapCache
814
- */e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(l||o),string:new n}}}
815
- /***/,
816
- /***/7670:
817
- /***/(e,t,r)=>{var n=r(2651);
818
- /**
819
- * Removes `key` and its value from the map.
820
- *
821
- * @private
822
- * @name delete
823
- * @memberOf MapCache
824
- * @param {string} key The key of the value to remove.
825
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
826
- */e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}}
827
- /***/,
828
- /***/289:
829
- /***/(e,t,r)=>{var n=r(2651);
830
- /**
831
- * Gets the map value for `key`.
832
- *
833
- * @private
834
- * @name get
835
- * @memberOf MapCache
836
- * @param {string} key The key of the value to get.
837
- * @returns {*} Returns the entry value.
838
- */e.exports=function(e){return n(this,e).get(e)}}
839
- /***/,
840
- /***/4509:
841
- /***/(e,t,r)=>{var n=r(2651);
842
- /**
843
- * Checks if a map value for `key` exists.
844
- *
845
- * @private
846
- * @name has
847
- * @memberOf MapCache
848
- * @param {string} key The key of the entry to check.
849
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
850
- */e.exports=function(e){return n(this,e).has(e)}}
851
- /***/,
852
- /***/2949:
853
- /***/(e,t,r)=>{var n=r(2651);
854
- /**
855
- * Sets the map `key` to `value`.
856
- *
857
- * @private
858
- * @name set
859
- * @memberOf MapCache
860
- * @param {string} key The key of the value to set.
861
- * @param {*} value The value to set.
862
- * @returns {Object} Returns the map cache instance.
863
- */e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}}
864
- /***/,
865
- /***/1042:
866
- /***/(e,t,r)=>{var n=r(6110)(Object,"create");
867
- /* Built-in method references that are verified to be native. */e.exports=n}
868
- /***/,
869
- /***/3650:
870
- /***/(e,t,r)=>{var n=r(4335)(Object.keys,Object);
871
- /* Built-in method references for those with the same name as other `lodash` methods. */e.exports=n}
872
- /***/,
873
- /***/181:
874
- /***/e=>{e.exports=
875
- /**
876
- * This function is like
877
- * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
878
- * except that it includes inherited enumerable properties.
879
- *
880
- * @private
881
- * @param {Object} object The object to query.
882
- * @returns {Array} Returns the array of property names.
883
- */
884
- function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}}
885
- /***/,
886
- /***/6009:
887
- /***/(e,t,r)=>{
888
- /* module decorator */e=r.nmd(e);var n=r(4840),o=t&&!t.nodeType&&t,l=o&&e&&!e.nodeType&&e,a=l&&l.exports===o&&n.process,i=function(){try{
889
- // Use `util.types` for Node.js 10+.
890
- var e=l&&l.require&&l.require("util").types;return e||a&&a.binding&&a.binding("util");
891
- // Legacy `process.binding('util')` for Node.js < 10.
892
- }catch(e){}}();
893
- /** Detect free variable `exports`. */e.exports=i}
894
- /***/,
895
- /***/9350:
896
- /***/e=>{
897
- /** Used for built-in method references. */
898
- var t=Object.prototype.toString;
899
- /**
900
- * Used to resolve the
901
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
902
- * of values.
903
- */e.exports=
904
- /**
905
- * Converts `value` to a string using `Object.prototype.toString`.
906
- *
907
- * @private
908
- * @param {*} value The value to convert.
909
- * @returns {string} Returns the converted string.
910
- */
911
- function(e){return t.call(e)}}
912
- /***/,
913
- /***/4335:
914
- /***/e=>{e.exports=
915
- /**
916
- * Creates a unary function that invokes `func` with its argument transformed.
917
- *
918
- * @private
919
- * @param {Function} func The function to wrap.
920
- * @param {Function} transform The argument transform.
921
- * @returns {Function} Returns the new function.
922
- */
923
- function(e,t){return function(r){return e(t(r))}}}
924
- /***/,
925
- /***/9325:
926
- /***/(e,t,r)=>{var n=r(4840),o="object"==typeof self&&self&&self.Object===Object&&self,l=n||o||Function("return this")();
927
- /** Detect free variable `self`. */e.exports=l}
928
- /***/,
929
- /***/1420:
930
- /***/(e,t,r)=>{var n=r(79);
931
- /**
932
- * Removes all key-value entries from the stack.
933
- *
934
- * @private
935
- * @name clear
936
- * @memberOf Stack
937
- */e.exports=function(){this.__data__=new n,this.size=0}}
938
- /***/,
939
- /***/938:
940
- /***/e=>{e.exports=
941
- /**
942
- * Removes `key` and its value from the stack.
943
- *
944
- * @private
945
- * @name delete
946
- * @memberOf Stack
947
- * @param {string} key The key of the value to remove.
948
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
949
- */
950
- function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}}
951
- /***/,
952
- /***/3605:
953
- /***/e=>{e.exports=
954
- /**
955
- * Gets the stack value for `key`.
956
- *
957
- * @private
958
- * @name get
959
- * @memberOf Stack
960
- * @param {string} key The key of the value to get.
961
- * @returns {*} Returns the entry value.
962
- */
963
- function(e){return this.__data__.get(e)}}
964
- /***/,
965
- /***/9817:
966
- /***/e=>{e.exports=
967
- /**
968
- * Checks if a stack value for `key` exists.
969
- *
970
- * @private
971
- * @name has
972
- * @memberOf Stack
973
- * @param {string} key The key of the entry to check.
974
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
975
- */
976
- function(e){return this.__data__.has(e)}}
977
- /***/,
978
- /***/945:
979
- /***/(e,t,r)=>{var n=r(79),o=r(8223),l=r(3661);
980
- /** Used as the size to enable large array optimizations. */e.exports=
981
- /**
982
- * Sets the stack `key` to `value`.
983
- *
984
- * @private
985
- * @name set
986
- * @memberOf Stack
987
- * @param {string} key The key of the value to set.
988
- * @param {*} value The value to set.
989
- * @returns {Object} Returns the stack cache instance.
990
- */
991
- function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new l(a)}return r.set(e,t),this.size=r.size,this}}
992
- /***/,
993
- /***/7473:
994
- /***/e=>{
995
- /** Used for built-in method references. */
996
- var t=Function.prototype.toString;
997
- /** Used to resolve the decompiled source of functions. */e.exports=
998
- /**
999
- * Converts `func` to its source code.
1000
- *
1001
- * @private
1002
- * @param {Function} func The function to convert.
1003
- * @returns {string} Returns the source code.
1004
- */
1005
- function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}}
1006
- /***/,
1007
- /***/8055:
1008
- /***/(e,t,r)=>{var n=r(9999);
1009
- /** Used to compose bitmasks for cloning. */e.exports=
1010
- /**
1011
- * This method is like `_.clone` except that it recursively clones `value`.
1012
- *
1013
- * @static
1014
- * @memberOf _
1015
- * @since 1.0.0
1016
- * @category Lang
1017
- * @param {*} value The value to recursively clone.
1018
- * @returns {*} Returns the deep cloned value.
1019
- * @see _.clone
1020
- * @example
1021
- *
1022
- * var objects = [{ 'a': 1 }, { 'b': 2 }];
1023
- *
1024
- * var deep = _.cloneDeep(objects);
1025
- * console.log(deep[0] === objects[0]);
1026
- * // => false
1027
- */
1028
- function(e){return n(e,5)}}
1029
- /***/,
1030
- /***/5288:
1031
- /***/e=>{e.exports=
1032
- /**
1033
- * Performs a
1034
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1035
- * comparison between two values to determine if they are equivalent.
1036
- *
1037
- * @static
1038
- * @memberOf _
1039
- * @since 4.0.0
1040
- * @category Lang
1041
- * @param {*} value The value to compare.
1042
- * @param {*} other The other value to compare.
1043
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
1044
- * @example
1045
- *
1046
- * var object = { 'a': 1 };
1047
- * var other = { 'a': 1 };
1048
- *
1049
- * _.eq(object, object);
1050
- * // => true
1051
- *
1052
- * _.eq(object, other);
1053
- * // => false
1054
- *
1055
- * _.eq('a', 'a');
1056
- * // => true
1057
- *
1058
- * _.eq('a', Object('a'));
1059
- * // => false
1060
- *
1061
- * _.eq(NaN, NaN);
1062
- * // => true
1063
- */
1064
- function(e,t){return e===t||e!=e&&t!=t}}
1065
- /***/,
1066
- /***/2428:
1067
- /***/(e,t,r)=>{var n=r(7534),o=r(346),l=Object.prototype,a=l.hasOwnProperty,i=l.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!i.call(e,"callee")};
1068
- /** Used for built-in method references. */e.exports=u}
1069
- /***/,
1070
- /***/6449:
1071
- /***/e=>{
1072
- /**
1073
- * Checks if `value` is classified as an `Array` object.
1074
- *
1075
- * @static
1076
- * @memberOf _
1077
- * @since 0.1.0
1078
- * @category Lang
1079
- * @param {*} value The value to check.
1080
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1081
- * @example
1082
- *
1083
- * _.isArray([1, 2, 3]);
1084
- * // => true
1085
- *
1086
- * _.isArray(document.body.children);
1087
- * // => false
1088
- *
1089
- * _.isArray('abc');
1090
- * // => false
1091
- *
1092
- * _.isArray(_.noop);
1093
- * // => false
1094
- */
1095
- var t=Array.isArray;e.exports=t}
1096
- /***/,
1097
- /***/4894:
1098
- /***/(e,t,r)=>{var n=r(1882),o=r(294);
1099
- /**
1100
- * Checks if `value` is array-like. A value is considered array-like if it's
1101
- * not a function and has a `value.length` that's an integer greater than or
1102
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
1103
- *
1104
- * @static
1105
- * @memberOf _
1106
- * @since 4.0.0
1107
- * @category Lang
1108
- * @param {*} value The value to check.
1109
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
1110
- * @example
1111
- *
1112
- * _.isArrayLike([1, 2, 3]);
1113
- * // => true
1114
- *
1115
- * _.isArrayLike(document.body.children);
1116
- * // => true
1117
- *
1118
- * _.isArrayLike('abc');
1119
- * // => true
1120
- *
1121
- * _.isArrayLike(_.noop);
1122
- * // => false
1123
- */e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}}
1124
- /***/,
1125
- /***/3656:
1126
- /***/(e,t,r)=>{
1127
- /* module decorator */e=r.nmd(e);var n=r(9325),o=r(9935),l=t&&!t.nodeType&&t,a=l&&e&&!e.nodeType&&e,i=a&&a.exports===l?n.Buffer:void 0,u=(i?i.isBuffer:void 0)||o;
1128
- /** Detect free variable `exports`. */e.exports=u}
1129
- /***/,
1130
- /***/1882:
1131
- /***/(e,t,r)=>{var n=r(2552),o=r(3805);
1132
- /** `Object#toString` result references. */e.exports=
1133
- /**
1134
- * Checks if `value` is classified as a `Function` object.
1135
- *
1136
- * @static
1137
- * @memberOf _
1138
- * @since 0.1.0
1139
- * @category Lang
1140
- * @param {*} value The value to check.
1141
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
1142
- * @example
1143
- *
1144
- * _.isFunction(_);
1145
- * // => true
1146
- *
1147
- * _.isFunction(/abc/);
1148
- * // => false
1149
- */
1150
- function(e){if(!o(e))return!1;
1151
- // The use of `Object#toString` avoids issues with the `typeof` operator
1152
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
1153
- var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}}
1154
- /***/,
1155
- /***/294:
1156
- /***/e=>{e.exports=
1157
- /**
1158
- * Checks if `value` is a valid array-like length.
1159
- *
1160
- * **Note:** This method is loosely based on
1161
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
1162
- *
1163
- * @static
1164
- * @memberOf _
1165
- * @since 4.0.0
1166
- * @category Lang
1167
- * @param {*} value The value to check.
1168
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
1169
- * @example
1170
- *
1171
- * _.isLength(3);
1172
- * // => true
1173
- *
1174
- * _.isLength(Number.MIN_VALUE);
1175
- * // => false
1176
- *
1177
- * _.isLength(Infinity);
1178
- * // => false
1179
- *
1180
- * _.isLength('3');
1181
- * // => false
1182
- */
1183
- function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}
1184
- /***/,
1185
- /***/7730:
1186
- /***/(e,t,r)=>{var n=r(9172),o=r(7301),l=r(6009),a=l&&l.isMap,i=a?o(a):n;
1187
- /* Node.js helper references. */e.exports=i}
1188
- /***/,
1189
- /***/3805:
1190
- /***/e=>{e.exports=
1191
- /**
1192
- * Checks if `value` is the
1193
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
1194
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
1195
- *
1196
- * @static
1197
- * @memberOf _
1198
- * @since 0.1.0
1199
- * @category Lang
1200
- * @param {*} value The value to check.
1201
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
1202
- * @example
1203
- *
1204
- * _.isObject({});
1205
- * // => true
1206
- *
1207
- * _.isObject([1, 2, 3]);
1208
- * // => true
1209
- *
1210
- * _.isObject(_.noop);
1211
- * // => true
1212
- *
1213
- * _.isObject(null);
1214
- * // => false
1215
- */
1216
- function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}
1217
- /***/,
1218
- /***/346:
1219
- /***/e=>{e.exports=
1220
- /**
1221
- * Checks if `value` is object-like. A value is object-like if it's not `null`
1222
- * and has a `typeof` result of "object".
1223
- *
1224
- * @static
1225
- * @memberOf _
1226
- * @since 4.0.0
1227
- * @category Lang
1228
- * @param {*} value The value to check.
1229
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1230
- * @example
1231
- *
1232
- * _.isObjectLike({});
1233
- * // => true
1234
- *
1235
- * _.isObjectLike([1, 2, 3]);
1236
- * // => true
1237
- *
1238
- * _.isObjectLike(_.noop);
1239
- * // => false
1240
- *
1241
- * _.isObjectLike(null);
1242
- * // => false
1243
- */
1244
- function(e){return null!=e&&"object"==typeof e}}
1245
- /***/,
1246
- /***/8440:
1247
- /***/(e,t,r)=>{var n=r(6038),o=r(7301),l=r(6009),a=l&&l.isSet,i=a?o(a):n;
1248
- /* Node.js helper references. */e.exports=i}
1249
- /***/,
1250
- /***/7167:
1251
- /***/(e,t,r)=>{var n=r(4901),o=r(7301),l=r(6009),a=l&&l.isTypedArray,i=a?o(a):n;
1252
- /* Node.js helper references. */e.exports=i}
1253
- /***/,
1254
- /***/5950:
1255
- /***/(e,t,r)=>{var n=r(695),o=r(8984),l=r(4894);
1256
- /**
1257
- * Creates an array of the own enumerable property names of `object`.
1258
- *
1259
- * **Note:** Non-object values are coerced to objects. See the
1260
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1261
- * for more details.
1262
- *
1263
- * @static
1264
- * @since 0.1.0
1265
- * @memberOf _
1266
- * @category Object
1267
- * @param {Object} object The object to query.
1268
- * @returns {Array} Returns the array of property names.
1269
- * @example
1270
- *
1271
- * function Foo() {
1272
- * this.a = 1;
1273
- * this.b = 2;
1274
- * }
1275
- *
1276
- * Foo.prototype.c = 3;
1277
- *
1278
- * _.keys(new Foo);
1279
- * // => ['a', 'b'] (iteration order is not guaranteed)
1280
- *
1281
- * _.keys('hi');
1282
- * // => ['0', '1']
1283
- */e.exports=function(e){return l(e)?n(e):o(e)}}
1284
- /***/,
1285
- /***/7241:
1286
- /***/(e,t,r)=>{var n=r(695),o=r(2903),l=r(4894);
1287
- /**
1288
- * Creates an array of the own and inherited enumerable property names of `object`.
1289
- *
1290
- * **Note:** Non-object values are coerced to objects.
1291
- *
1292
- * @static
1293
- * @memberOf _
1294
- * @since 3.0.0
1295
- * @category Object
1296
- * @param {Object} object The object to query.
1297
- * @returns {Array} Returns the array of property names.
1298
- * @example
1299
- *
1300
- * function Foo() {
1301
- * this.a = 1;
1302
- * this.b = 2;
1303
- * }
1304
- *
1305
- * Foo.prototype.c = 3;
1306
- *
1307
- * _.keysIn(new Foo);
1308
- * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
1309
- */e.exports=function(e){return l(e)?n(e,!0):o(e)}}
1310
- /***/,
1311
- /***/3345:
1312
- /***/e=>{e.exports=
1313
- /**
1314
- * This method returns a new empty array.
1315
- *
1316
- * @static
1317
- * @memberOf _
1318
- * @since 4.13.0
1319
- * @category Util
1320
- * @returns {Array} Returns the new empty array.
1321
- * @example
1322
- *
1323
- * var arrays = _.times(2, _.stubArray);
1324
- *
1325
- * console.log(arrays);
1326
- * // => [[], []]
1327
- *
1328
- * console.log(arrays[0] === arrays[1]);
1329
- * // => false
1330
- */
1331
- function(){return[]}}
1332
- /***/,
1333
- /***/9935:
1334
- /***/e=>{e.exports=
1335
- /**
1336
- * This method returns `false`.
1337
- *
1338
- * @static
1339
- * @memberOf _
1340
- * @since 4.13.0
1341
- * @category Util
1342
- * @returns {boolean} Returns `false`.
1343
- * @example
1344
- *
1345
- * _.times(2, _.stubFalse);
1346
- * // => [false, false]
1347
- */
1348
- function(){return!1}}
1349
- /***/
1350
- /******/},t={};
1351
- /************************************************************************/
1352
- /******/ // The module cache
1353
- /******/
1354
- /******/
1355
- /******/ // The require function
1356
- /******/function r(n){
1357
- /******/ // Check if module is in cache
1358
- /******/var o=t[n];
1359
- /******/if(void 0!==o)
1360
- /******/return o.exports;
1361
- /******/
1362
- /******/ // Create a new module (and put it into the cache)
1363
- /******/var l=t[n]={
1364
- /******/id:n,
1365
- /******/loaded:!1,
1366
- /******/exports:{}
1367
- /******/};
1368
- /******/
1369
- /******/ // Execute the module function
1370
- /******/
1371
- /******/
1372
- /******/ // Return the exports of the module
1373
- /******/return e[n].call(l.exports,l,l.exports,r),
1374
- /******/
1375
- /******/ // Flag the module as loaded
1376
- /******/l.loaded=!0,l.exports;
1377
- /******/}
1378
- /******/
1379
- /************************************************************************/
1380
- /******/ /* webpack/runtime/compat get default export */
1381
- /******/
1382
- /******/ // getDefaultExport function for compatibility with non-harmony modules
1383
- /******/r.n=e=>{
1384
- /******/var t=e&&e.__esModule?
1385
- /******/()=>e.default
1386
- /******/:()=>e
1387
- /******/;
1388
- /******/return r.d(t,{a:t}),t;
1389
- /******/},
1390
- /******/ // define getter functions for harmony exports
1391
- /******/r.d=(e,t)=>{
1392
- /******/for(var n in t)
1393
- /******/r.o(t,n)&&!r.o(e,n)&&
1394
- /******/Object.defineProperty(e,n,{enumerable:!0,get:t[n]})
1395
- /******/;
1396
- /******/},
1397
- /******/r.g=function(){
1398
- /******/if("object"==typeof globalThis)return globalThis;
1399
- /******/try{
1400
- /******/return this||new Function("return this")();
1401
- /******/}catch(e){
1402
- /******/if("object"==typeof window)return window;
1403
- /******/}
1404
- /******/}(),
1405
- /******/r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)
1406
- /******/,
1407
- /******/ // define __esModule on exports
1408
- /******/r.r=e=>{
1409
- /******/"undefined"!=typeof Symbol&&Symbol.toStringTag&&
1410
- /******/Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})
1411
- /******/,Object.defineProperty(e,"__esModule",{value:!0})}
1412
- /******/,
1413
- /******/r.nmd=e=>(
1414
- /******/e.paths=[],
1415
- /******/e.children||(e.children=[])
1416
- /******/,e)
1417
- /******/;
1418
- /******/
1419
- /************************************************************************/
1420
- var n={};
1421
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
1422
- /******/return(()=>{"use strict";
1423
- // ESM COMPAT FLAG
1424
- r.r(n),
1425
- // EXPORTS
1426
- r.d(n,{FieldTypes:()=>/* reexport */e,OptionMaps:()=>/* reexport */t,absOlsTermId:()=>/* reexport */_,absOlsTermLabel:()=>/* reexport */h,buildTS:()=>/* reexport */p,buildTSS:()=>/* reexport */f,clsInputGroup:()=>/* reexport */m,downloadFile:()=>/* reexport */c,genUnit:()=>/* reexport */x.genUnit,genUnits:()=>/* reexport */x.genUnits,getUnitSystem:()=>/* reexport */k,isLayerInWF:()=>/* reexport */F,orgLayerObject:()=>/* reexport */j,reUnit:()=>/* reexport */x.reUnit,replaceData:()=>/* reexport */b,resetProperties:()=>/* reexport */v,showProperties:()=>/* reexport */g,storeFlow:()=>/* reexport */S,swapAryEls:()=>/* reexport */s,unitConversion:()=>/* reexport */x.unitConversion,unitConvertToBase:()=>/* reexport */x.unitConvertToBase});
1427
- /* harmony default export */const e=Object.freeze({DEL_LAYER:"Layer",DEL_FIELD:"Field",DEL_SELECT:"Select",DEL_OPTION:"Option",F_CHECKBOX:"checkbox",F_DATE:"date",F_DATETIME:"datetime",F_DATETIME_RANGE:"datetime-range",F_DRAG:"drag",F_DRAG_ELEMENT:"drag_element",F_DRAG_MOLECULE:"drag_molecule",F_DRAG_SAMPLE:"drag_sample",F_DRAG_REACTION:"drag_reaction",F_DUMMY:"dummy",F_FORMULA_FIELD:"formula-field",F_INPUT_GROUP:"input-group",F_INTEGER:"integer",F_LABEL:"label",
1428
- // only for input-group
1429
- F_NUMBER:"number",F_ONTOLOGY_SELECT:"ontology-select",F_SELECT:"select",F_SYS_REACTION:"sys-reaction",F_SYSTEM_DEFINED:"system-defined",F_TABLE:"table",F_TEXT:"text",F_TEXTAREA:"textarea",F_TEXT_FORMULA:"text-formula",F_UPLOAD:"upload",F_WF_NEXT:"wf-next",V_BOOLEAN:"boolean",V_UNDEFINED:"undefined"});
1430
- /* harmony default export */const t=Object.freeze({TBL_OPTS_MOLECULE:[{label:"InChiKey",value:"inchikey"},{label:"SMILES",value:"smiles"},{label:"IUPAC",value:"iupac"},{label:"Mass",value:"molecular_weight"}],TBL_OPTS_SAMPLE:[{label:"Name",value:"name"},{label:"Ext. Label",value:"external_label"},{label:"Mass",value:"molecular_weight"}]}),o=JSON.parse('{"p":"https://service.tib.eu/ts4tib","T":{"class":"terms","property":"props","individual":"individuals"}}');// ./src/kits/common.js
1431
- function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function a(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var u=["rows=30","schema=collection","type=class","type=property","obsoletes=false","local=false","fieldList=id,iri,label,short_form,obo_id,ontology_name,ontology_prefix,description,type"].join("&"),c=function(e){var t=e.contents,r=e.name,n=document.createElement("a");n.download=r,n.href=t;var o=new window.MouseEvent("click",{view:window,bubbles:!0,cancelable:!0});n.dispatchEvent(o)},s=function(e,t,r){var n=a(e),o=n[t];return n[t]=n[r],n[r]=o,n},p=function(e){if(!e||"object"!==l(e))return null;var t=e.iri,r=e.ontology_prefix,n=e.type;if(!(t&&r&&n&&o.T[n]))return null;var a=encodeURIComponent(t);return"".concat(o.p,"/ontologies/").concat(r,"/").concat(o.T[n],"?iri=").concat(a)},f=function(e){return!e||"string"!=typeof e||e.trim().length<2?null:"".concat(o.p,"/api/select?q=").concat(e,"&").concat(u)};// ./src/kits/template.js
1432
- function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function m(t){if(!t)return t;var r=t,n=r.properties_template.layers;return Object.keys(n).forEach((function(t){n[t].fields.filter((function(t){return t.type===e.F_INPUT_GROUP})).forEach((function(t){t.sub_fields.forEach((function(t){var r=t;r.type===e.F_TEXT&&(r.value="")}))}))})),r}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"!=typeof e?t:e?""===e.toString().trim()?t:e:t}
1433
- // Define reset-requiring field types once
1434
- var d=[e.F_DRAG_SAMPLE,e.F_DRAG_ELEMENT,e.F_SYS_REACTION,e.F_UPLOAD],v=function(t){return null!=t&&t.layers&&"object"===y(t.layers)?(Object.values(t.layers).forEach((function(t){t.ai=[];var r=(t.fields||[]).filter((function(e){return null!=e}));r.forEach((function(r,n){r&&d.includes(r.type)&&(t.fields[n].value=void 0),r&&r.type===e.F_TABLE&&(t.fields[n].sub_values=[])})),t.fields=r})),t):t},_=function(e){return(e||"").split("|")[0].trim()||""},h=function(e){var t;return null==e||null===(t=e.replace(_(e),""))||void 0===t?void 0:t.replace("|","").trim()},g=function(t,r){var n,o;
1435
- // always show because no restriction
1436
- if(null==t||null===(n=t.cond_fields)||void 0===n||!n.length)return[!0,""];
1437
- // default operator is ANY(1)
1438
- for(var l,a=null!==(o=t.cond_operator)&&void 0!==o?o:1,i=0,u=function(){var n,o=t.cond_fields[c]||{},l=o.layer,u=o.field,s=o.value,p=o.label;if(!u)return{v:[!0,""]};var f=(null===(n=r[l])||void 0===n||null===(n=n.fields)||void 0===n?void 0:n.find((function(e){return e.field===u})))||{};return(function(t,r){var n=(r||"false").trim().toLowerCase(),o=["false","no","f","0"].includes(n)&&!1===(t.value||!1),l=["true","yes","t","1"].includes(n)&&!0===(t.value||!1);return t.type===e.F_CHECKBOX&&(o||l)}(f,s)||function(t,r){return t.type===e.F_SELECT&&(t.value||"").trim()===(r||"").trim()}(f,s)||function(t,r){return t.type===e.F_TEXT&&(t.value||"").trim()===(r||"").trim()}(f,s))&&(i+=1,1===a)?{v:[!0,p]}:void 0},c=0;c<t.cond_fields.length;c+=1)if(l=u())return l.v;
1439
- // if match NONE, return true only if no condition is met
1440
- // if match ALL, return true only if all conditions are met
1441
- return 0===a?[0===i,""]:9===a?[i===t.cond_fields.length,""]:[!1,""]},j=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var r=e,n=Object.keys(r);if(n.includes(t.key)){var o=n.filter((function(e){return e===t.key||e.startsWith("".concat(t.key,"."))})).length,l="".concat(t.key,".").concat(o);t.key=l,r[l]=t}else r[t.key]=t;return r}),{})},x=r(8780);
1442
- // migrate from 'chem-generic-ui'
1443
- // ./src/kits/unit.js
1444
- function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,x.genUnitsSystem)({externalUnits:e})}
1445
- // EXTERNAL MODULE: ./node_modules/lodash/cloneDeep.js
1446
- var O=r(8055),A=r.n(O);
1447
- /* harmony default export */const E=Object.freeze({ND_INPUT:"input",ND_OUTPUT:"output",ND_DEFAULT:"default"});// ./src/kits/workflow.js
1448
- // export function findCurrentNode(_srcKey, _layerVals) {
1449
- // const fs = _layerVals.filter(
1450
- // (o) => o.wf && o.wf_info && o.wf_info.source_layer === _srcKey
1451
- // );
1452
- // if (fs.length > 1) {
1453
- // fs.forEach((o) => {
1454
- // findCurrentNode(o, _layerVals);
1455
- // });
1456
- // } else if (fs.length === 1) {
1457
- // return findCurrentNode(fs[0].key, _layerVals);
1458
- // }
1459
- // return [_srcKey];
1460
- // }
1461
- function F(e,t){return((e.properties_template.flow||{}).elements||[]).filter((function(e){return e.type===E.ND_DEFAULT&&(e.data||{}).lKey===t})).length>0}function S(e){var t=e.elements,r=A()(t);return r.map((function(e){return[E.ND_DEFAULT].includes(e.type)&&e.data&&(delete e.data.label,delete e.data.layer),e})),r}})// ./index.js
1462
- (),n;
1463
- /******/})()));