@schematichq/schematic-components 0.7.9 → 0.7.10
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/schematic-components.cjs.js +1907 -1896
- package/dist/schematic-components.esm.js +1907 -1896
- package/package.json +1 -1
|
@@ -67,492 +67,469 @@ var require_shallowequal = __commonJS({
|
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
|
|
70
|
-
// node_modules/
|
|
71
|
-
var
|
|
72
|
-
"node_modules/
|
|
73
|
-
function
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
var require_assocIndexOf = __commonJS({
|
|
93
|
-
"node_modules/lodash/_assocIndexOf.js"(exports, module2) {
|
|
94
|
-
var eq = require_eq();
|
|
95
|
-
function assocIndexOf(array, key) {
|
|
96
|
-
var length2 = array.length;
|
|
97
|
-
while (length2--) {
|
|
98
|
-
if (eq(array[length2][0], key)) {
|
|
99
|
-
return length2;
|
|
70
|
+
// node_modules/pluralize/pluralize.js
|
|
71
|
+
var require_pluralize = __commonJS({
|
|
72
|
+
"node_modules/pluralize/pluralize.js"(exports, module2) {
|
|
73
|
+
(function(root, pluralize2) {
|
|
74
|
+
if (typeof require === "function" && typeof exports === "object" && typeof module2 === "object") {
|
|
75
|
+
module2.exports = pluralize2();
|
|
76
|
+
} else if (typeof define === "function" && define.amd) {
|
|
77
|
+
define(function() {
|
|
78
|
+
return pluralize2();
|
|
79
|
+
});
|
|
80
|
+
} else {
|
|
81
|
+
root.pluralize = pluralize2();
|
|
82
|
+
}
|
|
83
|
+
})(exports, function() {
|
|
84
|
+
var pluralRules = [];
|
|
85
|
+
var singularRules = [];
|
|
86
|
+
var uncountables = {};
|
|
87
|
+
var irregularPlurals = {};
|
|
88
|
+
var irregularSingles = {};
|
|
89
|
+
function sanitizeRule(rule) {
|
|
90
|
+
if (typeof rule === "string") {
|
|
91
|
+
return new RegExp("^" + rule + "$", "i");
|
|
100
92
|
}
|
|
93
|
+
return rule;
|
|
101
94
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"node_modules/lodash/_listCacheDelete.js"(exports, module2) {
|
|
111
|
-
var assocIndexOf = require_assocIndexOf();
|
|
112
|
-
var arrayProto = Array.prototype;
|
|
113
|
-
var splice = arrayProto.splice;
|
|
114
|
-
function listCacheDelete(key) {
|
|
115
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
116
|
-
if (index < 0) {
|
|
117
|
-
return false;
|
|
95
|
+
function restoreCase(word, token2) {
|
|
96
|
+
if (word === token2) return token2;
|
|
97
|
+
if (word === word.toLowerCase()) return token2.toLowerCase();
|
|
98
|
+
if (word === word.toUpperCase()) return token2.toUpperCase();
|
|
99
|
+
if (word[0] === word[0].toUpperCase()) {
|
|
100
|
+
return token2.charAt(0).toUpperCase() + token2.substr(1).toLowerCase();
|
|
101
|
+
}
|
|
102
|
+
return token2.toLowerCase();
|
|
118
103
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
splice.call(data, index, 1);
|
|
104
|
+
function interpolate(str, args) {
|
|
105
|
+
return str.replace(/\$(\d{1,2})/g, function(match2, index) {
|
|
106
|
+
return args[index] || "";
|
|
107
|
+
});
|
|
124
108
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
var require_listCacheGet = __commonJS({
|
|
134
|
-
"node_modules/lodash/_listCacheGet.js"(exports, module2) {
|
|
135
|
-
var assocIndexOf = require_assocIndexOf();
|
|
136
|
-
function listCacheGet(key) {
|
|
137
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
138
|
-
return index < 0 ? void 0 : data[index][1];
|
|
139
|
-
}
|
|
140
|
-
module2.exports = listCacheGet;
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
// node_modules/lodash/_listCacheHas.js
|
|
145
|
-
var require_listCacheHas = __commonJS({
|
|
146
|
-
"node_modules/lodash/_listCacheHas.js"(exports, module2) {
|
|
147
|
-
var assocIndexOf = require_assocIndexOf();
|
|
148
|
-
function listCacheHas(key) {
|
|
149
|
-
return assocIndexOf(this.__data__, key) > -1;
|
|
150
|
-
}
|
|
151
|
-
module2.exports = listCacheHas;
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
// node_modules/lodash/_listCacheSet.js
|
|
156
|
-
var require_listCacheSet = __commonJS({
|
|
157
|
-
"node_modules/lodash/_listCacheSet.js"(exports, module2) {
|
|
158
|
-
var assocIndexOf = require_assocIndexOf();
|
|
159
|
-
function listCacheSet(key, value) {
|
|
160
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
161
|
-
if (index < 0) {
|
|
162
|
-
++this.size;
|
|
163
|
-
data.push([key, value]);
|
|
164
|
-
} else {
|
|
165
|
-
data[index][1] = value;
|
|
109
|
+
function replace2(word, rule) {
|
|
110
|
+
return word.replace(rule[0], function(match2, index) {
|
|
111
|
+
var result = interpolate(rule[1], arguments);
|
|
112
|
+
if (match2 === "") {
|
|
113
|
+
return restoreCase(word[index - 1], result);
|
|
114
|
+
}
|
|
115
|
+
return restoreCase(match2, result);
|
|
116
|
+
});
|
|
166
117
|
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
var listCacheDelete = require_listCacheDelete();
|
|
178
|
-
var listCacheGet = require_listCacheGet();
|
|
179
|
-
var listCacheHas = require_listCacheHas();
|
|
180
|
-
var listCacheSet = require_listCacheSet();
|
|
181
|
-
function ListCache(entries) {
|
|
182
|
-
var index = -1, length2 = entries == null ? 0 : entries.length;
|
|
183
|
-
this.clear();
|
|
184
|
-
while (++index < length2) {
|
|
185
|
-
var entry = entries[index];
|
|
186
|
-
this.set(entry[0], entry[1]);
|
|
118
|
+
function sanitizeWord(token2, word, rules) {
|
|
119
|
+
if (!token2.length || uncountables.hasOwnProperty(token2)) {
|
|
120
|
+
return word;
|
|
121
|
+
}
|
|
122
|
+
var len = rules.length;
|
|
123
|
+
while (len--) {
|
|
124
|
+
var rule = rules[len];
|
|
125
|
+
if (rule[0].test(word)) return replace2(word, rule);
|
|
126
|
+
}
|
|
127
|
+
return word;
|
|
187
128
|
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
var require_stackClear = __commonJS({
|
|
200
|
-
"node_modules/lodash/_stackClear.js"(exports, module2) {
|
|
201
|
-
var ListCache = require_ListCache();
|
|
202
|
-
function stackClear() {
|
|
203
|
-
this.__data__ = new ListCache();
|
|
204
|
-
this.size = 0;
|
|
205
|
-
}
|
|
206
|
-
module2.exports = stackClear;
|
|
207
|
-
}
|
|
208
|
-
});
|
|
209
|
-
|
|
210
|
-
// node_modules/lodash/_stackDelete.js
|
|
211
|
-
var require_stackDelete = __commonJS({
|
|
212
|
-
"node_modules/lodash/_stackDelete.js"(exports, module2) {
|
|
213
|
-
function stackDelete(key) {
|
|
214
|
-
var data = this.__data__, result = data["delete"](key);
|
|
215
|
-
this.size = data.size;
|
|
216
|
-
return result;
|
|
217
|
-
}
|
|
218
|
-
module2.exports = stackDelete;
|
|
219
|
-
}
|
|
220
|
-
});
|
|
221
|
-
|
|
222
|
-
// node_modules/lodash/_stackGet.js
|
|
223
|
-
var require_stackGet = __commonJS({
|
|
224
|
-
"node_modules/lodash/_stackGet.js"(exports, module2) {
|
|
225
|
-
function stackGet(key) {
|
|
226
|
-
return this.__data__.get(key);
|
|
227
|
-
}
|
|
228
|
-
module2.exports = stackGet;
|
|
229
|
-
}
|
|
230
|
-
});
|
|
231
|
-
|
|
232
|
-
// node_modules/lodash/_stackHas.js
|
|
233
|
-
var require_stackHas = __commonJS({
|
|
234
|
-
"node_modules/lodash/_stackHas.js"(exports, module2) {
|
|
235
|
-
function stackHas(key) {
|
|
236
|
-
return this.__data__.has(key);
|
|
237
|
-
}
|
|
238
|
-
module2.exports = stackHas;
|
|
239
|
-
}
|
|
240
|
-
});
|
|
241
|
-
|
|
242
|
-
// node_modules/lodash/_freeGlobal.js
|
|
243
|
-
var require_freeGlobal = __commonJS({
|
|
244
|
-
"node_modules/lodash/_freeGlobal.js"(exports, module2) {
|
|
245
|
-
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
246
|
-
module2.exports = freeGlobal;
|
|
247
|
-
}
|
|
248
|
-
});
|
|
249
|
-
|
|
250
|
-
// node_modules/lodash/_root.js
|
|
251
|
-
var require_root = __commonJS({
|
|
252
|
-
"node_modules/lodash/_root.js"(exports, module2) {
|
|
253
|
-
var freeGlobal = require_freeGlobal();
|
|
254
|
-
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
255
|
-
var root = freeGlobal || freeSelf || Function("return this")();
|
|
256
|
-
module2.exports = root;
|
|
257
|
-
}
|
|
258
|
-
});
|
|
259
|
-
|
|
260
|
-
// node_modules/lodash/_Symbol.js
|
|
261
|
-
var require_Symbol = __commonJS({
|
|
262
|
-
"node_modules/lodash/_Symbol.js"(exports, module2) {
|
|
263
|
-
var root = require_root();
|
|
264
|
-
var Symbol2 = root.Symbol;
|
|
265
|
-
module2.exports = Symbol2;
|
|
266
|
-
}
|
|
267
|
-
});
|
|
268
|
-
|
|
269
|
-
// node_modules/lodash/_getRawTag.js
|
|
270
|
-
var require_getRawTag = __commonJS({
|
|
271
|
-
"node_modules/lodash/_getRawTag.js"(exports, module2) {
|
|
272
|
-
var Symbol2 = require_Symbol();
|
|
273
|
-
var objectProto = Object.prototype;
|
|
274
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
275
|
-
var nativeObjectToString = objectProto.toString;
|
|
276
|
-
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
|
277
|
-
function getRawTag(value) {
|
|
278
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
|
|
279
|
-
try {
|
|
280
|
-
value[symToStringTag] = void 0;
|
|
281
|
-
var unmasked = true;
|
|
282
|
-
} catch (e2) {
|
|
283
|
-
}
|
|
284
|
-
var result = nativeObjectToString.call(value);
|
|
285
|
-
if (unmasked) {
|
|
286
|
-
if (isOwn) {
|
|
287
|
-
value[symToStringTag] = tag;
|
|
288
|
-
} else {
|
|
289
|
-
delete value[symToStringTag];
|
|
290
|
-
}
|
|
129
|
+
function replaceWord(replaceMap, keepMap, rules) {
|
|
130
|
+
return function(word) {
|
|
131
|
+
var token2 = word.toLowerCase();
|
|
132
|
+
if (keepMap.hasOwnProperty(token2)) {
|
|
133
|
+
return restoreCase(word, token2);
|
|
134
|
+
}
|
|
135
|
+
if (replaceMap.hasOwnProperty(token2)) {
|
|
136
|
+
return restoreCase(word, replaceMap[token2]);
|
|
137
|
+
}
|
|
138
|
+
return sanitizeWord(token2, word, rules);
|
|
139
|
+
};
|
|
291
140
|
}
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
var require_objectToString = __commonJS({
|
|
300
|
-
"node_modules/lodash/_objectToString.js"(exports, module2) {
|
|
301
|
-
var objectProto = Object.prototype;
|
|
302
|
-
var nativeObjectToString = objectProto.toString;
|
|
303
|
-
function objectToString(value) {
|
|
304
|
-
return nativeObjectToString.call(value);
|
|
305
|
-
}
|
|
306
|
-
module2.exports = objectToString;
|
|
307
|
-
}
|
|
308
|
-
});
|
|
309
|
-
|
|
310
|
-
// node_modules/lodash/_baseGetTag.js
|
|
311
|
-
var require_baseGetTag = __commonJS({
|
|
312
|
-
"node_modules/lodash/_baseGetTag.js"(exports, module2) {
|
|
313
|
-
var Symbol2 = require_Symbol();
|
|
314
|
-
var getRawTag = require_getRawTag();
|
|
315
|
-
var objectToString = require_objectToString();
|
|
316
|
-
var nullTag = "[object Null]";
|
|
317
|
-
var undefinedTag = "[object Undefined]";
|
|
318
|
-
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
|
319
|
-
function baseGetTag(value) {
|
|
320
|
-
if (value == null) {
|
|
321
|
-
return value === void 0 ? undefinedTag : nullTag;
|
|
141
|
+
function checkWord(replaceMap, keepMap, rules, bool) {
|
|
142
|
+
return function(word) {
|
|
143
|
+
var token2 = word.toLowerCase();
|
|
144
|
+
if (keepMap.hasOwnProperty(token2)) return true;
|
|
145
|
+
if (replaceMap.hasOwnProperty(token2)) return false;
|
|
146
|
+
return sanitizeWord(token2, token2, rules) === token2;
|
|
147
|
+
};
|
|
322
148
|
}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}
|
|
327
|
-
});
|
|
328
|
-
|
|
329
|
-
// node_modules/lodash/isObject.js
|
|
330
|
-
var require_isObject = __commonJS({
|
|
331
|
-
"node_modules/lodash/isObject.js"(exports, module2) {
|
|
332
|
-
function isObject2(value) {
|
|
333
|
-
var type = typeof value;
|
|
334
|
-
return value != null && (type == "object" || type == "function");
|
|
335
|
-
}
|
|
336
|
-
module2.exports = isObject2;
|
|
337
|
-
}
|
|
338
|
-
});
|
|
339
|
-
|
|
340
|
-
// node_modules/lodash/isFunction.js
|
|
341
|
-
var require_isFunction = __commonJS({
|
|
342
|
-
"node_modules/lodash/isFunction.js"(exports, module2) {
|
|
343
|
-
var baseGetTag = require_baseGetTag();
|
|
344
|
-
var isObject2 = require_isObject();
|
|
345
|
-
var asyncTag = "[object AsyncFunction]";
|
|
346
|
-
var funcTag = "[object Function]";
|
|
347
|
-
var genTag = "[object GeneratorFunction]";
|
|
348
|
-
var proxyTag = "[object Proxy]";
|
|
349
|
-
function isFunction(value) {
|
|
350
|
-
if (!isObject2(value)) {
|
|
351
|
-
return false;
|
|
149
|
+
function pluralize2(word, count, inclusive) {
|
|
150
|
+
var pluralized = count === 1 ? pluralize2.singular(word) : pluralize2.plural(word);
|
|
151
|
+
return (inclusive ? count + " " : "") + pluralized;
|
|
352
152
|
}
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
// node_modules/lodash/_toSource.js
|
|
385
|
-
var require_toSource = __commonJS({
|
|
386
|
-
"node_modules/lodash/_toSource.js"(exports, module2) {
|
|
387
|
-
var funcProto = Function.prototype;
|
|
388
|
-
var funcToString = funcProto.toString;
|
|
389
|
-
function toSource(func) {
|
|
390
|
-
if (func != null) {
|
|
391
|
-
try {
|
|
392
|
-
return funcToString.call(func);
|
|
393
|
-
} catch (e2) {
|
|
394
|
-
}
|
|
395
|
-
try {
|
|
396
|
-
return func + "";
|
|
397
|
-
} catch (e2) {
|
|
153
|
+
pluralize2.plural = replaceWord(
|
|
154
|
+
irregularSingles,
|
|
155
|
+
irregularPlurals,
|
|
156
|
+
pluralRules
|
|
157
|
+
);
|
|
158
|
+
pluralize2.isPlural = checkWord(
|
|
159
|
+
irregularSingles,
|
|
160
|
+
irregularPlurals,
|
|
161
|
+
pluralRules
|
|
162
|
+
);
|
|
163
|
+
pluralize2.singular = replaceWord(
|
|
164
|
+
irregularPlurals,
|
|
165
|
+
irregularSingles,
|
|
166
|
+
singularRules
|
|
167
|
+
);
|
|
168
|
+
pluralize2.isSingular = checkWord(
|
|
169
|
+
irregularPlurals,
|
|
170
|
+
irregularSingles,
|
|
171
|
+
singularRules
|
|
172
|
+
);
|
|
173
|
+
pluralize2.addPluralRule = function(rule, replacement) {
|
|
174
|
+
pluralRules.push([sanitizeRule(rule), replacement]);
|
|
175
|
+
};
|
|
176
|
+
pluralize2.addSingularRule = function(rule, replacement) {
|
|
177
|
+
singularRules.push([sanitizeRule(rule), replacement]);
|
|
178
|
+
};
|
|
179
|
+
pluralize2.addUncountableRule = function(word) {
|
|
180
|
+
if (typeof word === "string") {
|
|
181
|
+
uncountables[word.toLowerCase()] = true;
|
|
182
|
+
return;
|
|
398
183
|
}
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
184
|
+
pluralize2.addPluralRule(word, "$0");
|
|
185
|
+
pluralize2.addSingularRule(word, "$0");
|
|
186
|
+
};
|
|
187
|
+
pluralize2.addIrregularRule = function(single, plural) {
|
|
188
|
+
plural = plural.toLowerCase();
|
|
189
|
+
single = single.toLowerCase();
|
|
190
|
+
irregularSingles[single] = plural;
|
|
191
|
+
irregularPlurals[plural] = single;
|
|
192
|
+
};
|
|
193
|
+
[
|
|
194
|
+
// Pronouns.
|
|
195
|
+
["I", "we"],
|
|
196
|
+
["me", "us"],
|
|
197
|
+
["he", "they"],
|
|
198
|
+
["she", "they"],
|
|
199
|
+
["them", "them"],
|
|
200
|
+
["myself", "ourselves"],
|
|
201
|
+
["yourself", "yourselves"],
|
|
202
|
+
["itself", "themselves"],
|
|
203
|
+
["herself", "themselves"],
|
|
204
|
+
["himself", "themselves"],
|
|
205
|
+
["themself", "themselves"],
|
|
206
|
+
["is", "are"],
|
|
207
|
+
["was", "were"],
|
|
208
|
+
["has", "have"],
|
|
209
|
+
["this", "these"],
|
|
210
|
+
["that", "those"],
|
|
211
|
+
// Words ending in with a consonant and `o`.
|
|
212
|
+
["echo", "echoes"],
|
|
213
|
+
["dingo", "dingoes"],
|
|
214
|
+
["volcano", "volcanoes"],
|
|
215
|
+
["tornado", "tornadoes"],
|
|
216
|
+
["torpedo", "torpedoes"],
|
|
217
|
+
// Ends with `us`.
|
|
218
|
+
["genus", "genera"],
|
|
219
|
+
["viscus", "viscera"],
|
|
220
|
+
// Ends with `ma`.
|
|
221
|
+
["stigma", "stigmata"],
|
|
222
|
+
["stoma", "stomata"],
|
|
223
|
+
["dogma", "dogmata"],
|
|
224
|
+
["lemma", "lemmata"],
|
|
225
|
+
["schema", "schemata"],
|
|
226
|
+
["anathema", "anathemata"],
|
|
227
|
+
// Other irregular rules.
|
|
228
|
+
["ox", "oxen"],
|
|
229
|
+
["axe", "axes"],
|
|
230
|
+
["die", "dice"],
|
|
231
|
+
["yes", "yeses"],
|
|
232
|
+
["foot", "feet"],
|
|
233
|
+
["eave", "eaves"],
|
|
234
|
+
["goose", "geese"],
|
|
235
|
+
["tooth", "teeth"],
|
|
236
|
+
["quiz", "quizzes"],
|
|
237
|
+
["human", "humans"],
|
|
238
|
+
["proof", "proofs"],
|
|
239
|
+
["carve", "carves"],
|
|
240
|
+
["valve", "valves"],
|
|
241
|
+
["looey", "looies"],
|
|
242
|
+
["thief", "thieves"],
|
|
243
|
+
["groove", "grooves"],
|
|
244
|
+
["pickaxe", "pickaxes"],
|
|
245
|
+
["passerby", "passersby"]
|
|
246
|
+
].forEach(function(rule) {
|
|
247
|
+
return pluralize2.addIrregularRule(rule[0], rule[1]);
|
|
248
|
+
});
|
|
249
|
+
[
|
|
250
|
+
[/s?$/i, "s"],
|
|
251
|
+
[/[^\u0000-\u007F]$/i, "$0"],
|
|
252
|
+
[/([^aeiou]ese)$/i, "$1"],
|
|
253
|
+
[/(ax|test)is$/i, "$1es"],
|
|
254
|
+
[/(alias|[^aou]us|t[lm]as|gas|ris)$/i, "$1es"],
|
|
255
|
+
[/(e[mn]u)s?$/i, "$1s"],
|
|
256
|
+
[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i, "$1"],
|
|
257
|
+
[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1i"],
|
|
258
|
+
[/(alumn|alg|vertebr)(?:a|ae)$/i, "$1ae"],
|
|
259
|
+
[/(seraph|cherub)(?:im)?$/i, "$1im"],
|
|
260
|
+
[/(her|at|gr)o$/i, "$1oes"],
|
|
261
|
+
[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i, "$1a"],
|
|
262
|
+
[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, "$1a"],
|
|
263
|
+
[/sis$/i, "ses"],
|
|
264
|
+
[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i, "$1$2ves"],
|
|
265
|
+
[/([^aeiouy]|qu)y$/i, "$1ies"],
|
|
266
|
+
[/([^ch][ieo][ln])ey$/i, "$1ies"],
|
|
267
|
+
[/(x|ch|ss|sh|zz)$/i, "$1es"],
|
|
268
|
+
[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i, "$1ices"],
|
|
269
|
+
[/\b((?:tit)?m|l)(?:ice|ouse)$/i, "$1ice"],
|
|
270
|
+
[/(pe)(?:rson|ople)$/i, "$1ople"],
|
|
271
|
+
[/(child)(?:ren)?$/i, "$1ren"],
|
|
272
|
+
[/eaux$/i, "$0"],
|
|
273
|
+
[/m[ae]n$/i, "men"],
|
|
274
|
+
["thou", "you"]
|
|
275
|
+
].forEach(function(rule) {
|
|
276
|
+
return pluralize2.addPluralRule(rule[0], rule[1]);
|
|
277
|
+
});
|
|
278
|
+
[
|
|
279
|
+
[/s$/i, ""],
|
|
280
|
+
[/(ss)$/i, "$1"],
|
|
281
|
+
[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i, "$1fe"],
|
|
282
|
+
[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, "$1f"],
|
|
283
|
+
[/ies$/i, "y"],
|
|
284
|
+
[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, "$1ie"],
|
|
285
|
+
[/\b(mon|smil)ies$/i, "$1ey"],
|
|
286
|
+
[/\b((?:tit)?m|l)ice$/i, "$1ouse"],
|
|
287
|
+
[/(seraph|cherub)im$/i, "$1"],
|
|
288
|
+
[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i, "$1"],
|
|
289
|
+
[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i, "$1sis"],
|
|
290
|
+
[/(movie|twelve|abuse|e[mn]u)s$/i, "$1"],
|
|
291
|
+
[/(test)(?:is|es)$/i, "$1is"],
|
|
292
|
+
[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1us"],
|
|
293
|
+
[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i, "$1um"],
|
|
294
|
+
[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i, "$1on"],
|
|
295
|
+
[/(alumn|alg|vertebr)ae$/i, "$1a"],
|
|
296
|
+
[/(cod|mur|sil|vert|ind)ices$/i, "$1ex"],
|
|
297
|
+
[/(matr|append)ices$/i, "$1ix"],
|
|
298
|
+
[/(pe)(rson|ople)$/i, "$1rson"],
|
|
299
|
+
[/(child)ren$/i, "$1"],
|
|
300
|
+
[/(eau)x?$/i, "$1"],
|
|
301
|
+
[/men$/i, "man"]
|
|
302
|
+
].forEach(function(rule) {
|
|
303
|
+
return pluralize2.addSingularRule(rule[0], rule[1]);
|
|
304
|
+
});
|
|
305
|
+
[
|
|
306
|
+
// Singular words with no plurals.
|
|
307
|
+
"adulthood",
|
|
308
|
+
"advice",
|
|
309
|
+
"agenda",
|
|
310
|
+
"aid",
|
|
311
|
+
"aircraft",
|
|
312
|
+
"alcohol",
|
|
313
|
+
"ammo",
|
|
314
|
+
"analytics",
|
|
315
|
+
"anime",
|
|
316
|
+
"athletics",
|
|
317
|
+
"audio",
|
|
318
|
+
"bison",
|
|
319
|
+
"blood",
|
|
320
|
+
"bream",
|
|
321
|
+
"buffalo",
|
|
322
|
+
"butter",
|
|
323
|
+
"carp",
|
|
324
|
+
"cash",
|
|
325
|
+
"chassis",
|
|
326
|
+
"chess",
|
|
327
|
+
"clothing",
|
|
328
|
+
"cod",
|
|
329
|
+
"commerce",
|
|
330
|
+
"cooperation",
|
|
331
|
+
"corps",
|
|
332
|
+
"debris",
|
|
333
|
+
"diabetes",
|
|
334
|
+
"digestion",
|
|
335
|
+
"elk",
|
|
336
|
+
"energy",
|
|
337
|
+
"equipment",
|
|
338
|
+
"excretion",
|
|
339
|
+
"expertise",
|
|
340
|
+
"firmware",
|
|
341
|
+
"flounder",
|
|
342
|
+
"fun",
|
|
343
|
+
"gallows",
|
|
344
|
+
"garbage",
|
|
345
|
+
"graffiti",
|
|
346
|
+
"hardware",
|
|
347
|
+
"headquarters",
|
|
348
|
+
"health",
|
|
349
|
+
"herpes",
|
|
350
|
+
"highjinks",
|
|
351
|
+
"homework",
|
|
352
|
+
"housework",
|
|
353
|
+
"information",
|
|
354
|
+
"jeans",
|
|
355
|
+
"justice",
|
|
356
|
+
"kudos",
|
|
357
|
+
"labour",
|
|
358
|
+
"literature",
|
|
359
|
+
"machinery",
|
|
360
|
+
"mackerel",
|
|
361
|
+
"mail",
|
|
362
|
+
"media",
|
|
363
|
+
"mews",
|
|
364
|
+
"moose",
|
|
365
|
+
"music",
|
|
366
|
+
"mud",
|
|
367
|
+
"manga",
|
|
368
|
+
"news",
|
|
369
|
+
"only",
|
|
370
|
+
"personnel",
|
|
371
|
+
"pike",
|
|
372
|
+
"plankton",
|
|
373
|
+
"pliers",
|
|
374
|
+
"police",
|
|
375
|
+
"pollution",
|
|
376
|
+
"premises",
|
|
377
|
+
"rain",
|
|
378
|
+
"research",
|
|
379
|
+
"rice",
|
|
380
|
+
"salmon",
|
|
381
|
+
"scissors",
|
|
382
|
+
"series",
|
|
383
|
+
"sewage",
|
|
384
|
+
"shambles",
|
|
385
|
+
"shrimp",
|
|
386
|
+
"software",
|
|
387
|
+
"species",
|
|
388
|
+
"staff",
|
|
389
|
+
"swine",
|
|
390
|
+
"tennis",
|
|
391
|
+
"traffic",
|
|
392
|
+
"transportation",
|
|
393
|
+
"trout",
|
|
394
|
+
"tuna",
|
|
395
|
+
"wealth",
|
|
396
|
+
"welfare",
|
|
397
|
+
"whiting",
|
|
398
|
+
"wildebeest",
|
|
399
|
+
"wildlife",
|
|
400
|
+
"you",
|
|
401
|
+
/pok[eé]mon$/i,
|
|
402
|
+
// Regexes.
|
|
403
|
+
/[^aeiou]ese$/i,
|
|
404
|
+
// "chinese", "japanese"
|
|
405
|
+
/deer$/i,
|
|
406
|
+
// "deer", "reindeer"
|
|
407
|
+
/fish$/i,
|
|
408
|
+
// "fish", "blowfish", "angelfish"
|
|
409
|
+
/measles$/i,
|
|
410
|
+
/o[iu]s$/i,
|
|
411
|
+
// "carnivorous"
|
|
412
|
+
/pox$/i,
|
|
413
|
+
// "chickpox", "smallpox"
|
|
414
|
+
/sheep$/i
|
|
415
|
+
].forEach(pluralize2.addUncountableRule);
|
|
416
|
+
return pluralize2;
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
|
|
421
|
+
// node_modules/lodash/_listCacheClear.js
|
|
422
|
+
var require_listCacheClear = __commonJS({
|
|
423
|
+
"node_modules/lodash/_listCacheClear.js"(exports, module2) {
|
|
424
|
+
function listCacheClear() {
|
|
425
|
+
this.__data__ = [];
|
|
426
|
+
this.size = 0;
|
|
494
427
|
}
|
|
495
|
-
module2.exports =
|
|
428
|
+
module2.exports = listCacheClear;
|
|
496
429
|
}
|
|
497
430
|
});
|
|
498
431
|
|
|
499
|
-
// node_modules/lodash/
|
|
500
|
-
var
|
|
501
|
-
"node_modules/lodash/
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
432
|
+
// node_modules/lodash/eq.js
|
|
433
|
+
var require_eq = __commonJS({
|
|
434
|
+
"node_modules/lodash/eq.js"(exports, module2) {
|
|
435
|
+
function eq(value, other) {
|
|
436
|
+
return value === other || value !== value && other !== other;
|
|
437
|
+
}
|
|
438
|
+
module2.exports = eq;
|
|
439
|
+
}
|
|
440
|
+
});
|
|
441
|
+
|
|
442
|
+
// node_modules/lodash/_assocIndexOf.js
|
|
443
|
+
var require_assocIndexOf = __commonJS({
|
|
444
|
+
"node_modules/lodash/_assocIndexOf.js"(exports, module2) {
|
|
445
|
+
var eq = require_eq();
|
|
446
|
+
function assocIndexOf(array, key) {
|
|
447
|
+
var length2 = array.length;
|
|
448
|
+
while (length2--) {
|
|
449
|
+
if (eq(array[length2][0], key)) {
|
|
450
|
+
return length2;
|
|
451
|
+
}
|
|
511
452
|
}
|
|
512
|
-
return
|
|
453
|
+
return -1;
|
|
513
454
|
}
|
|
514
|
-
module2.exports =
|
|
455
|
+
module2.exports = assocIndexOf;
|
|
515
456
|
}
|
|
516
457
|
});
|
|
517
458
|
|
|
518
|
-
// node_modules/lodash/
|
|
519
|
-
var
|
|
520
|
-
"node_modules/lodash/
|
|
521
|
-
var
|
|
522
|
-
var
|
|
523
|
-
var
|
|
524
|
-
function
|
|
525
|
-
var data = this.__data__;
|
|
526
|
-
|
|
459
|
+
// node_modules/lodash/_listCacheDelete.js
|
|
460
|
+
var require_listCacheDelete = __commonJS({
|
|
461
|
+
"node_modules/lodash/_listCacheDelete.js"(exports, module2) {
|
|
462
|
+
var assocIndexOf = require_assocIndexOf();
|
|
463
|
+
var arrayProto = Array.prototype;
|
|
464
|
+
var splice = arrayProto.splice;
|
|
465
|
+
function listCacheDelete(key) {
|
|
466
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
|
467
|
+
if (index < 0) {
|
|
468
|
+
return false;
|
|
469
|
+
}
|
|
470
|
+
var lastIndex = data.length - 1;
|
|
471
|
+
if (index == lastIndex) {
|
|
472
|
+
data.pop();
|
|
473
|
+
} else {
|
|
474
|
+
splice.call(data, index, 1);
|
|
475
|
+
}
|
|
476
|
+
--this.size;
|
|
477
|
+
return true;
|
|
527
478
|
}
|
|
528
|
-
module2.exports =
|
|
479
|
+
module2.exports = listCacheDelete;
|
|
529
480
|
}
|
|
530
481
|
});
|
|
531
482
|
|
|
532
|
-
// node_modules/lodash/
|
|
533
|
-
var
|
|
534
|
-
"node_modules/lodash/
|
|
535
|
-
var
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
483
|
+
// node_modules/lodash/_listCacheGet.js
|
|
484
|
+
var require_listCacheGet = __commonJS({
|
|
485
|
+
"node_modules/lodash/_listCacheGet.js"(exports, module2) {
|
|
486
|
+
var assocIndexOf = require_assocIndexOf();
|
|
487
|
+
function listCacheGet(key) {
|
|
488
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
|
489
|
+
return index < 0 ? void 0 : data[index][1];
|
|
490
|
+
}
|
|
491
|
+
module2.exports = listCacheGet;
|
|
492
|
+
}
|
|
493
|
+
});
|
|
494
|
+
|
|
495
|
+
// node_modules/lodash/_listCacheHas.js
|
|
496
|
+
var require_listCacheHas = __commonJS({
|
|
497
|
+
"node_modules/lodash/_listCacheHas.js"(exports, module2) {
|
|
498
|
+
var assocIndexOf = require_assocIndexOf();
|
|
499
|
+
function listCacheHas(key) {
|
|
500
|
+
return assocIndexOf(this.__data__, key) > -1;
|
|
501
|
+
}
|
|
502
|
+
module2.exports = listCacheHas;
|
|
503
|
+
}
|
|
504
|
+
});
|
|
505
|
+
|
|
506
|
+
// node_modules/lodash/_listCacheSet.js
|
|
507
|
+
var require_listCacheSet = __commonJS({
|
|
508
|
+
"node_modules/lodash/_listCacheSet.js"(exports, module2) {
|
|
509
|
+
var assocIndexOf = require_assocIndexOf();
|
|
510
|
+
function listCacheSet(key, value) {
|
|
511
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
|
512
|
+
if (index < 0) {
|
|
513
|
+
++this.size;
|
|
514
|
+
data.push([key, value]);
|
|
515
|
+
} else {
|
|
516
|
+
data[index][1] = value;
|
|
517
|
+
}
|
|
541
518
|
return this;
|
|
542
519
|
}
|
|
543
|
-
module2.exports =
|
|
520
|
+
module2.exports = listCacheSet;
|
|
544
521
|
}
|
|
545
522
|
});
|
|
546
523
|
|
|
547
|
-
// node_modules/lodash/
|
|
548
|
-
var
|
|
549
|
-
"node_modules/lodash/
|
|
550
|
-
var
|
|
551
|
-
var
|
|
552
|
-
var
|
|
553
|
-
var
|
|
554
|
-
var
|
|
555
|
-
function
|
|
524
|
+
// node_modules/lodash/_ListCache.js
|
|
525
|
+
var require_ListCache = __commonJS({
|
|
526
|
+
"node_modules/lodash/_ListCache.js"(exports, module2) {
|
|
527
|
+
var listCacheClear = require_listCacheClear();
|
|
528
|
+
var listCacheDelete = require_listCacheDelete();
|
|
529
|
+
var listCacheGet = require_listCacheGet();
|
|
530
|
+
var listCacheHas = require_listCacheHas();
|
|
531
|
+
var listCacheSet = require_listCacheSet();
|
|
532
|
+
function ListCache(entries) {
|
|
556
533
|
var index = -1, length2 = entries == null ? 0 : entries.length;
|
|
557
534
|
this.clear();
|
|
558
535
|
while (++index < length2) {
|
|
@@ -560,1458 +537,1481 @@ var require_Hash = __commonJS({
|
|
|
560
537
|
this.set(entry[0], entry[1]);
|
|
561
538
|
}
|
|
562
539
|
}
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
module2.exports =
|
|
540
|
+
ListCache.prototype.clear = listCacheClear;
|
|
541
|
+
ListCache.prototype["delete"] = listCacheDelete;
|
|
542
|
+
ListCache.prototype.get = listCacheGet;
|
|
543
|
+
ListCache.prototype.has = listCacheHas;
|
|
544
|
+
ListCache.prototype.set = listCacheSet;
|
|
545
|
+
module2.exports = ListCache;
|
|
569
546
|
}
|
|
570
547
|
});
|
|
571
548
|
|
|
572
|
-
// node_modules/lodash/
|
|
573
|
-
var
|
|
574
|
-
"node_modules/lodash/
|
|
575
|
-
var Hash = require_Hash();
|
|
549
|
+
// node_modules/lodash/_stackClear.js
|
|
550
|
+
var require_stackClear = __commonJS({
|
|
551
|
+
"node_modules/lodash/_stackClear.js"(exports, module2) {
|
|
576
552
|
var ListCache = require_ListCache();
|
|
577
|
-
|
|
578
|
-
|
|
553
|
+
function stackClear() {
|
|
554
|
+
this.__data__ = new ListCache();
|
|
579
555
|
this.size = 0;
|
|
580
|
-
this.__data__ = {
|
|
581
|
-
"hash": new Hash(),
|
|
582
|
-
"map": new (Map2 || ListCache)(),
|
|
583
|
-
"string": new Hash()
|
|
584
|
-
};
|
|
585
556
|
}
|
|
586
|
-
module2.exports =
|
|
557
|
+
module2.exports = stackClear;
|
|
587
558
|
}
|
|
588
559
|
});
|
|
589
560
|
|
|
590
|
-
// node_modules/lodash/
|
|
591
|
-
var
|
|
592
|
-
"node_modules/lodash/
|
|
593
|
-
function
|
|
594
|
-
var
|
|
595
|
-
|
|
561
|
+
// node_modules/lodash/_stackDelete.js
|
|
562
|
+
var require_stackDelete = __commonJS({
|
|
563
|
+
"node_modules/lodash/_stackDelete.js"(exports, module2) {
|
|
564
|
+
function stackDelete(key) {
|
|
565
|
+
var data = this.__data__, result = data["delete"](key);
|
|
566
|
+
this.size = data.size;
|
|
567
|
+
return result;
|
|
596
568
|
}
|
|
597
|
-
module2.exports =
|
|
569
|
+
module2.exports = stackDelete;
|
|
598
570
|
}
|
|
599
571
|
});
|
|
600
572
|
|
|
601
|
-
// node_modules/lodash/
|
|
602
|
-
var
|
|
603
|
-
"node_modules/lodash/
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
var data = map.__data__;
|
|
607
|
-
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
573
|
+
// node_modules/lodash/_stackGet.js
|
|
574
|
+
var require_stackGet = __commonJS({
|
|
575
|
+
"node_modules/lodash/_stackGet.js"(exports, module2) {
|
|
576
|
+
function stackGet(key) {
|
|
577
|
+
return this.__data__.get(key);
|
|
608
578
|
}
|
|
609
|
-
module2.exports =
|
|
579
|
+
module2.exports = stackGet;
|
|
610
580
|
}
|
|
611
581
|
});
|
|
612
582
|
|
|
613
|
-
// node_modules/lodash/
|
|
614
|
-
var
|
|
615
|
-
"node_modules/lodash/
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
var result = getMapData(this, key)["delete"](key);
|
|
619
|
-
this.size -= result ? 1 : 0;
|
|
620
|
-
return result;
|
|
583
|
+
// node_modules/lodash/_stackHas.js
|
|
584
|
+
var require_stackHas = __commonJS({
|
|
585
|
+
"node_modules/lodash/_stackHas.js"(exports, module2) {
|
|
586
|
+
function stackHas(key) {
|
|
587
|
+
return this.__data__.has(key);
|
|
621
588
|
}
|
|
622
|
-
module2.exports =
|
|
589
|
+
module2.exports = stackHas;
|
|
623
590
|
}
|
|
624
591
|
});
|
|
625
592
|
|
|
626
|
-
// node_modules/lodash/
|
|
627
|
-
var
|
|
628
|
-
"node_modules/lodash/
|
|
629
|
-
var
|
|
630
|
-
|
|
631
|
-
return getMapData(this, key).get(key);
|
|
632
|
-
}
|
|
633
|
-
module2.exports = mapCacheGet;
|
|
593
|
+
// node_modules/lodash/_freeGlobal.js
|
|
594
|
+
var require_freeGlobal = __commonJS({
|
|
595
|
+
"node_modules/lodash/_freeGlobal.js"(exports, module2) {
|
|
596
|
+
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
597
|
+
module2.exports = freeGlobal;
|
|
634
598
|
}
|
|
635
599
|
});
|
|
636
600
|
|
|
637
|
-
// node_modules/lodash/
|
|
638
|
-
var
|
|
639
|
-
"node_modules/lodash/
|
|
640
|
-
var
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
module2.exports = mapCacheHas;
|
|
601
|
+
// node_modules/lodash/_root.js
|
|
602
|
+
var require_root = __commonJS({
|
|
603
|
+
"node_modules/lodash/_root.js"(exports, module2) {
|
|
604
|
+
var freeGlobal = require_freeGlobal();
|
|
605
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
606
|
+
var root = freeGlobal || freeSelf || Function("return this")();
|
|
607
|
+
module2.exports = root;
|
|
645
608
|
}
|
|
646
609
|
});
|
|
647
610
|
|
|
648
|
-
// node_modules/lodash/
|
|
649
|
-
var
|
|
650
|
-
"node_modules/lodash/
|
|
651
|
-
var
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
data.set(key, value);
|
|
655
|
-
this.size += data.size == size ? 0 : 1;
|
|
656
|
-
return this;
|
|
657
|
-
}
|
|
658
|
-
module2.exports = mapCacheSet;
|
|
611
|
+
// node_modules/lodash/_Symbol.js
|
|
612
|
+
var require_Symbol = __commonJS({
|
|
613
|
+
"node_modules/lodash/_Symbol.js"(exports, module2) {
|
|
614
|
+
var root = require_root();
|
|
615
|
+
var Symbol2 = root.Symbol;
|
|
616
|
+
module2.exports = Symbol2;
|
|
659
617
|
}
|
|
660
618
|
});
|
|
661
619
|
|
|
662
|
-
// node_modules/lodash/
|
|
663
|
-
var
|
|
664
|
-
"node_modules/lodash/
|
|
665
|
-
var
|
|
666
|
-
var
|
|
667
|
-
var
|
|
668
|
-
var
|
|
669
|
-
var
|
|
670
|
-
function
|
|
671
|
-
var
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
var
|
|
675
|
-
|
|
620
|
+
// node_modules/lodash/_getRawTag.js
|
|
621
|
+
var require_getRawTag = __commonJS({
|
|
622
|
+
"node_modules/lodash/_getRawTag.js"(exports, module2) {
|
|
623
|
+
var Symbol2 = require_Symbol();
|
|
624
|
+
var objectProto = Object.prototype;
|
|
625
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
626
|
+
var nativeObjectToString = objectProto.toString;
|
|
627
|
+
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
|
628
|
+
function getRawTag(value) {
|
|
629
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
|
|
630
|
+
try {
|
|
631
|
+
value[symToStringTag] = void 0;
|
|
632
|
+
var unmasked = true;
|
|
633
|
+
} catch (e2) {
|
|
676
634
|
}
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
module2.exports = MapCache;
|
|
684
|
-
}
|
|
685
|
-
});
|
|
686
|
-
|
|
687
|
-
// node_modules/lodash/_stackSet.js
|
|
688
|
-
var require_stackSet = __commonJS({
|
|
689
|
-
"node_modules/lodash/_stackSet.js"(exports, module2) {
|
|
690
|
-
var ListCache = require_ListCache();
|
|
691
|
-
var Map2 = require_Map();
|
|
692
|
-
var MapCache = require_MapCache();
|
|
693
|
-
var LARGE_ARRAY_SIZE = 200;
|
|
694
|
-
function stackSet(key, value) {
|
|
695
|
-
var data = this.__data__;
|
|
696
|
-
if (data instanceof ListCache) {
|
|
697
|
-
var pairs = data.__data__;
|
|
698
|
-
if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
|
699
|
-
pairs.push([key, value]);
|
|
700
|
-
this.size = ++data.size;
|
|
701
|
-
return this;
|
|
635
|
+
var result = nativeObjectToString.call(value);
|
|
636
|
+
if (unmasked) {
|
|
637
|
+
if (isOwn) {
|
|
638
|
+
value[symToStringTag] = tag;
|
|
639
|
+
} else {
|
|
640
|
+
delete value[symToStringTag];
|
|
702
641
|
}
|
|
703
|
-
data = this.__data__ = new MapCache(pairs);
|
|
704
642
|
}
|
|
705
|
-
|
|
706
|
-
this.size = data.size;
|
|
707
|
-
return this;
|
|
643
|
+
return result;
|
|
708
644
|
}
|
|
709
|
-
module2.exports =
|
|
645
|
+
module2.exports = getRawTag;
|
|
710
646
|
}
|
|
711
647
|
});
|
|
712
648
|
|
|
713
|
-
// node_modules/lodash/
|
|
714
|
-
var
|
|
715
|
-
"node_modules/lodash/
|
|
716
|
-
var
|
|
717
|
-
var
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
var stackHas = require_stackHas();
|
|
721
|
-
var stackSet = require_stackSet();
|
|
722
|
-
function Stack(entries) {
|
|
723
|
-
var data = this.__data__ = new ListCache(entries);
|
|
724
|
-
this.size = data.size;
|
|
649
|
+
// node_modules/lodash/_objectToString.js
|
|
650
|
+
var require_objectToString = __commonJS({
|
|
651
|
+
"node_modules/lodash/_objectToString.js"(exports, module2) {
|
|
652
|
+
var objectProto = Object.prototype;
|
|
653
|
+
var nativeObjectToString = objectProto.toString;
|
|
654
|
+
function objectToString(value) {
|
|
655
|
+
return nativeObjectToString.call(value);
|
|
725
656
|
}
|
|
726
|
-
|
|
727
|
-
Stack.prototype["delete"] = stackDelete;
|
|
728
|
-
Stack.prototype.get = stackGet;
|
|
729
|
-
Stack.prototype.has = stackHas;
|
|
730
|
-
Stack.prototype.set = stackSet;
|
|
731
|
-
module2.exports = Stack;
|
|
657
|
+
module2.exports = objectToString;
|
|
732
658
|
}
|
|
733
659
|
});
|
|
734
660
|
|
|
735
|
-
// node_modules/lodash/
|
|
736
|
-
var
|
|
737
|
-
"node_modules/lodash/
|
|
738
|
-
var
|
|
739
|
-
var
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
661
|
+
// node_modules/lodash/_baseGetTag.js
|
|
662
|
+
var require_baseGetTag = __commonJS({
|
|
663
|
+
"node_modules/lodash/_baseGetTag.js"(exports, module2) {
|
|
664
|
+
var Symbol2 = require_Symbol();
|
|
665
|
+
var getRawTag = require_getRawTag();
|
|
666
|
+
var objectToString = require_objectToString();
|
|
667
|
+
var nullTag = "[object Null]";
|
|
668
|
+
var undefinedTag = "[object Undefined]";
|
|
669
|
+
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
|
670
|
+
function baseGetTag(value) {
|
|
671
|
+
if (value == null) {
|
|
672
|
+
return value === void 0 ? undefinedTag : nullTag;
|
|
745
673
|
}
|
|
746
|
-
|
|
747
|
-
|
|
674
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
675
|
+
}
|
|
676
|
+
module2.exports = baseGetTag;
|
|
748
677
|
}
|
|
749
678
|
});
|
|
750
679
|
|
|
751
|
-
// node_modules/lodash/
|
|
752
|
-
var
|
|
753
|
-
"node_modules/lodash/
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
defineProperty(object, key, {
|
|
758
|
-
"configurable": true,
|
|
759
|
-
"enumerable": true,
|
|
760
|
-
"value": value,
|
|
761
|
-
"writable": true
|
|
762
|
-
});
|
|
763
|
-
} else {
|
|
764
|
-
object[key] = value;
|
|
765
|
-
}
|
|
680
|
+
// node_modules/lodash/isObject.js
|
|
681
|
+
var require_isObject = __commonJS({
|
|
682
|
+
"node_modules/lodash/isObject.js"(exports, module2) {
|
|
683
|
+
function isObject2(value) {
|
|
684
|
+
var type = typeof value;
|
|
685
|
+
return value != null && (type == "object" || type == "function");
|
|
766
686
|
}
|
|
767
|
-
module2.exports =
|
|
687
|
+
module2.exports = isObject2;
|
|
768
688
|
}
|
|
769
689
|
});
|
|
770
690
|
|
|
771
|
-
// node_modules/lodash/
|
|
772
|
-
var
|
|
773
|
-
"node_modules/lodash/
|
|
774
|
-
var
|
|
775
|
-
var
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
691
|
+
// node_modules/lodash/isFunction.js
|
|
692
|
+
var require_isFunction = __commonJS({
|
|
693
|
+
"node_modules/lodash/isFunction.js"(exports, module2) {
|
|
694
|
+
var baseGetTag = require_baseGetTag();
|
|
695
|
+
var isObject2 = require_isObject();
|
|
696
|
+
var asyncTag = "[object AsyncFunction]";
|
|
697
|
+
var funcTag = "[object Function]";
|
|
698
|
+
var genTag = "[object GeneratorFunction]";
|
|
699
|
+
var proxyTag = "[object Proxy]";
|
|
700
|
+
function isFunction(value) {
|
|
701
|
+
if (!isObject2(value)) {
|
|
702
|
+
return false;
|
|
779
703
|
}
|
|
704
|
+
var tag = baseGetTag(value);
|
|
705
|
+
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
780
706
|
}
|
|
781
|
-
module2.exports =
|
|
707
|
+
module2.exports = isFunction;
|
|
782
708
|
}
|
|
783
709
|
});
|
|
784
710
|
|
|
785
|
-
// node_modules/lodash/
|
|
786
|
-
var
|
|
787
|
-
"node_modules/lodash/
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
711
|
+
// node_modules/lodash/_coreJsData.js
|
|
712
|
+
var require_coreJsData = __commonJS({
|
|
713
|
+
"node_modules/lodash/_coreJsData.js"(exports, module2) {
|
|
714
|
+
var root = require_root();
|
|
715
|
+
var coreJsData = root["__core-js_shared__"];
|
|
716
|
+
module2.exports = coreJsData;
|
|
717
|
+
}
|
|
718
|
+
});
|
|
719
|
+
|
|
720
|
+
// node_modules/lodash/_isMasked.js
|
|
721
|
+
var require_isMasked = __commonJS({
|
|
722
|
+
"node_modules/lodash/_isMasked.js"(exports, module2) {
|
|
723
|
+
var coreJsData = require_coreJsData();
|
|
724
|
+
var maskSrcKey = function() {
|
|
725
|
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
|
726
|
+
return uid ? "Symbol(src)_1." + uid : "";
|
|
727
|
+
}();
|
|
728
|
+
function isMasked(func) {
|
|
729
|
+
return !!maskSrcKey && maskSrcKey in func;
|
|
799
730
|
}
|
|
800
|
-
module2.exports =
|
|
731
|
+
module2.exports = isMasked;
|
|
801
732
|
}
|
|
802
733
|
});
|
|
803
734
|
|
|
804
|
-
// node_modules/lodash/
|
|
805
|
-
var
|
|
806
|
-
"node_modules/lodash/
|
|
807
|
-
var
|
|
808
|
-
var
|
|
809
|
-
|
|
735
|
+
// node_modules/lodash/_toSource.js
|
|
736
|
+
var require_toSource = __commonJS({
|
|
737
|
+
"node_modules/lodash/_toSource.js"(exports, module2) {
|
|
738
|
+
var funcProto = Function.prototype;
|
|
739
|
+
var funcToString = funcProto.toString;
|
|
740
|
+
function toSource(func) {
|
|
741
|
+
if (func != null) {
|
|
742
|
+
try {
|
|
743
|
+
return funcToString.call(func);
|
|
744
|
+
} catch (e2) {
|
|
745
|
+
}
|
|
746
|
+
try {
|
|
747
|
+
return func + "";
|
|
748
|
+
} catch (e2) {
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
return "";
|
|
752
|
+
}
|
|
753
|
+
module2.exports = toSource;
|
|
810
754
|
}
|
|
811
755
|
});
|
|
812
756
|
|
|
813
|
-
// node_modules/lodash/
|
|
814
|
-
var
|
|
815
|
-
"node_modules/lodash/
|
|
816
|
-
var
|
|
817
|
-
var
|
|
818
|
-
var
|
|
819
|
-
var
|
|
820
|
-
var
|
|
821
|
-
var
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
757
|
+
// node_modules/lodash/_baseIsNative.js
|
|
758
|
+
var require_baseIsNative = __commonJS({
|
|
759
|
+
"node_modules/lodash/_baseIsNative.js"(exports, module2) {
|
|
760
|
+
var isFunction = require_isFunction();
|
|
761
|
+
var isMasked = require_isMasked();
|
|
762
|
+
var isObject2 = require_isObject();
|
|
763
|
+
var toSource = require_toSource();
|
|
764
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
765
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
766
|
+
var funcProto = Function.prototype;
|
|
767
|
+
var objectProto = Object.prototype;
|
|
768
|
+
var funcToString = funcProto.toString;
|
|
769
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
770
|
+
var reIsNative = RegExp(
|
|
771
|
+
"^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
772
|
+
);
|
|
773
|
+
function baseIsNative(value) {
|
|
774
|
+
if (!isObject2(value) || isMasked(value)) {
|
|
775
|
+
return false;
|
|
825
776
|
}
|
|
826
|
-
var
|
|
827
|
-
|
|
828
|
-
return result;
|
|
777
|
+
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
778
|
+
return pattern.test(toSource(value));
|
|
829
779
|
}
|
|
830
|
-
module2.exports =
|
|
780
|
+
module2.exports = baseIsNative;
|
|
831
781
|
}
|
|
832
782
|
});
|
|
833
783
|
|
|
834
|
-
// node_modules/lodash/
|
|
835
|
-
var
|
|
836
|
-
"node_modules/lodash/
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
784
|
+
// node_modules/lodash/_getValue.js
|
|
785
|
+
var require_getValue = __commonJS({
|
|
786
|
+
"node_modules/lodash/_getValue.js"(exports, module2) {
|
|
787
|
+
function getValue(object, key) {
|
|
788
|
+
return object == null ? void 0 : object[key];
|
|
789
|
+
}
|
|
790
|
+
module2.exports = getValue;
|
|
840
791
|
}
|
|
841
792
|
});
|
|
842
793
|
|
|
843
|
-
// node_modules/lodash/
|
|
844
|
-
var
|
|
845
|
-
"node_modules/lodash/
|
|
846
|
-
var
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
return
|
|
794
|
+
// node_modules/lodash/_getNative.js
|
|
795
|
+
var require_getNative = __commonJS({
|
|
796
|
+
"node_modules/lodash/_getNative.js"(exports, module2) {
|
|
797
|
+
var baseIsNative = require_baseIsNative();
|
|
798
|
+
var getValue = require_getValue();
|
|
799
|
+
function getNative(object, key) {
|
|
800
|
+
var value = getValue(object, key);
|
|
801
|
+
return baseIsNative(value) ? value : void 0;
|
|
851
802
|
}
|
|
852
|
-
module2.exports =
|
|
803
|
+
module2.exports = getNative;
|
|
853
804
|
}
|
|
854
805
|
});
|
|
855
806
|
|
|
856
|
-
// node_modules/lodash/
|
|
857
|
-
var
|
|
858
|
-
"node_modules/lodash/
|
|
859
|
-
var
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
}
|
|
864
|
-
module2.exports = cloneTypedArray;
|
|
807
|
+
// node_modules/lodash/_Map.js
|
|
808
|
+
var require_Map = __commonJS({
|
|
809
|
+
"node_modules/lodash/_Map.js"(exports, module2) {
|
|
810
|
+
var getNative = require_getNative();
|
|
811
|
+
var root = require_root();
|
|
812
|
+
var Map2 = getNative(root, "Map");
|
|
813
|
+
module2.exports = Map2;
|
|
865
814
|
}
|
|
866
815
|
});
|
|
867
816
|
|
|
868
|
-
// node_modules/lodash/
|
|
869
|
-
var
|
|
870
|
-
"node_modules/lodash/
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
while (++index < length2) {
|
|
875
|
-
array[index] = source[index];
|
|
876
|
-
}
|
|
877
|
-
return array;
|
|
878
|
-
}
|
|
879
|
-
module2.exports = copyArray;
|
|
817
|
+
// node_modules/lodash/_nativeCreate.js
|
|
818
|
+
var require_nativeCreate = __commonJS({
|
|
819
|
+
"node_modules/lodash/_nativeCreate.js"(exports, module2) {
|
|
820
|
+
var getNative = require_getNative();
|
|
821
|
+
var nativeCreate = getNative(Object, "create");
|
|
822
|
+
module2.exports = nativeCreate;
|
|
880
823
|
}
|
|
881
824
|
});
|
|
882
825
|
|
|
883
|
-
// node_modules/lodash/
|
|
884
|
-
var
|
|
885
|
-
"node_modules/lodash/
|
|
886
|
-
var
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
if (!isObject2(proto)) {
|
|
893
|
-
return {};
|
|
894
|
-
}
|
|
895
|
-
if (objectCreate) {
|
|
896
|
-
return objectCreate(proto);
|
|
897
|
-
}
|
|
898
|
-
object.prototype = proto;
|
|
899
|
-
var result = new object();
|
|
900
|
-
object.prototype = void 0;
|
|
901
|
-
return result;
|
|
902
|
-
};
|
|
903
|
-
}();
|
|
904
|
-
module2.exports = baseCreate;
|
|
826
|
+
// node_modules/lodash/_hashClear.js
|
|
827
|
+
var require_hashClear = __commonJS({
|
|
828
|
+
"node_modules/lodash/_hashClear.js"(exports, module2) {
|
|
829
|
+
var nativeCreate = require_nativeCreate();
|
|
830
|
+
function hashClear() {
|
|
831
|
+
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
|
832
|
+
this.size = 0;
|
|
833
|
+
}
|
|
834
|
+
module2.exports = hashClear;
|
|
905
835
|
}
|
|
906
836
|
});
|
|
907
837
|
|
|
908
|
-
// node_modules/lodash/
|
|
909
|
-
var
|
|
910
|
-
"node_modules/lodash/
|
|
911
|
-
function
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
838
|
+
// node_modules/lodash/_hashDelete.js
|
|
839
|
+
var require_hashDelete = __commonJS({
|
|
840
|
+
"node_modules/lodash/_hashDelete.js"(exports, module2) {
|
|
841
|
+
function hashDelete(key) {
|
|
842
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
843
|
+
this.size -= result ? 1 : 0;
|
|
844
|
+
return result;
|
|
915
845
|
}
|
|
916
|
-
module2.exports =
|
|
846
|
+
module2.exports = hashDelete;
|
|
917
847
|
}
|
|
918
848
|
});
|
|
919
849
|
|
|
920
|
-
// node_modules/lodash/
|
|
921
|
-
var
|
|
922
|
-
"node_modules/lodash/
|
|
923
|
-
var
|
|
924
|
-
var
|
|
925
|
-
|
|
850
|
+
// node_modules/lodash/_hashGet.js
|
|
851
|
+
var require_hashGet = __commonJS({
|
|
852
|
+
"node_modules/lodash/_hashGet.js"(exports, module2) {
|
|
853
|
+
var nativeCreate = require_nativeCreate();
|
|
854
|
+
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
855
|
+
var objectProto = Object.prototype;
|
|
856
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
857
|
+
function hashGet(key) {
|
|
858
|
+
var data = this.__data__;
|
|
859
|
+
if (nativeCreate) {
|
|
860
|
+
var result = data[key];
|
|
861
|
+
return result === HASH_UNDEFINED ? void 0 : result;
|
|
862
|
+
}
|
|
863
|
+
return hasOwnProperty.call(data, key) ? data[key] : void 0;
|
|
864
|
+
}
|
|
865
|
+
module2.exports = hashGet;
|
|
926
866
|
}
|
|
927
867
|
});
|
|
928
868
|
|
|
929
|
-
// node_modules/lodash/
|
|
930
|
-
var
|
|
931
|
-
"node_modules/lodash/
|
|
869
|
+
// node_modules/lodash/_hashHas.js
|
|
870
|
+
var require_hashHas = __commonJS({
|
|
871
|
+
"node_modules/lodash/_hashHas.js"(exports, module2) {
|
|
872
|
+
var nativeCreate = require_nativeCreate();
|
|
932
873
|
var objectProto = Object.prototype;
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
874
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
875
|
+
function hashHas(key) {
|
|
876
|
+
var data = this.__data__;
|
|
877
|
+
return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
|
|
936
878
|
}
|
|
937
|
-
module2.exports =
|
|
879
|
+
module2.exports = hashHas;
|
|
938
880
|
}
|
|
939
881
|
});
|
|
940
882
|
|
|
941
|
-
// node_modules/lodash/
|
|
942
|
-
var
|
|
943
|
-
"node_modules/lodash/
|
|
944
|
-
var
|
|
945
|
-
var
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
883
|
+
// node_modules/lodash/_hashSet.js
|
|
884
|
+
var require_hashSet = __commonJS({
|
|
885
|
+
"node_modules/lodash/_hashSet.js"(exports, module2) {
|
|
886
|
+
var nativeCreate = require_nativeCreate();
|
|
887
|
+
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
888
|
+
function hashSet(key, value) {
|
|
889
|
+
var data = this.__data__;
|
|
890
|
+
this.size += this.has(key) ? 0 : 1;
|
|
891
|
+
data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
|
|
892
|
+
return this;
|
|
949
893
|
}
|
|
950
|
-
module2.exports =
|
|
894
|
+
module2.exports = hashSet;
|
|
951
895
|
}
|
|
952
896
|
});
|
|
953
897
|
|
|
954
|
-
// node_modules/lodash/
|
|
955
|
-
var
|
|
956
|
-
"node_modules/lodash/
|
|
957
|
-
|
|
958
|
-
|
|
898
|
+
// node_modules/lodash/_Hash.js
|
|
899
|
+
var require_Hash = __commonJS({
|
|
900
|
+
"node_modules/lodash/_Hash.js"(exports, module2) {
|
|
901
|
+
var hashClear = require_hashClear();
|
|
902
|
+
var hashDelete = require_hashDelete();
|
|
903
|
+
var hashGet = require_hashGet();
|
|
904
|
+
var hashHas = require_hashHas();
|
|
905
|
+
var hashSet = require_hashSet();
|
|
906
|
+
function Hash(entries) {
|
|
907
|
+
var index = -1, length2 = entries == null ? 0 : entries.length;
|
|
908
|
+
this.clear();
|
|
909
|
+
while (++index < length2) {
|
|
910
|
+
var entry = entries[index];
|
|
911
|
+
this.set(entry[0], entry[1]);
|
|
912
|
+
}
|
|
959
913
|
}
|
|
960
|
-
|
|
914
|
+
Hash.prototype.clear = hashClear;
|
|
915
|
+
Hash.prototype["delete"] = hashDelete;
|
|
916
|
+
Hash.prototype.get = hashGet;
|
|
917
|
+
Hash.prototype.has = hashHas;
|
|
918
|
+
Hash.prototype.set = hashSet;
|
|
919
|
+
module2.exports = Hash;
|
|
961
920
|
}
|
|
962
921
|
});
|
|
963
922
|
|
|
964
|
-
// node_modules/lodash/
|
|
965
|
-
var
|
|
966
|
-
"node_modules/lodash/
|
|
967
|
-
var
|
|
968
|
-
var
|
|
969
|
-
var
|
|
970
|
-
function
|
|
971
|
-
|
|
923
|
+
// node_modules/lodash/_mapCacheClear.js
|
|
924
|
+
var require_mapCacheClear = __commonJS({
|
|
925
|
+
"node_modules/lodash/_mapCacheClear.js"(exports, module2) {
|
|
926
|
+
var Hash = require_Hash();
|
|
927
|
+
var ListCache = require_ListCache();
|
|
928
|
+
var Map2 = require_Map();
|
|
929
|
+
function mapCacheClear() {
|
|
930
|
+
this.size = 0;
|
|
931
|
+
this.__data__ = {
|
|
932
|
+
"hash": new Hash(),
|
|
933
|
+
"map": new (Map2 || ListCache)(),
|
|
934
|
+
"string": new Hash()
|
|
935
|
+
};
|
|
972
936
|
}
|
|
973
|
-
module2.exports =
|
|
937
|
+
module2.exports = mapCacheClear;
|
|
974
938
|
}
|
|
975
939
|
});
|
|
976
940
|
|
|
977
|
-
// node_modules/lodash/
|
|
978
|
-
var
|
|
979
|
-
"node_modules/lodash/
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
var isArguments = baseIsArguments(/* @__PURE__ */ function() {
|
|
986
|
-
return arguments;
|
|
987
|
-
}()) ? baseIsArguments : function(value) {
|
|
988
|
-
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
989
|
-
};
|
|
990
|
-
module2.exports = isArguments;
|
|
941
|
+
// node_modules/lodash/_isKeyable.js
|
|
942
|
+
var require_isKeyable = __commonJS({
|
|
943
|
+
"node_modules/lodash/_isKeyable.js"(exports, module2) {
|
|
944
|
+
function isKeyable(value) {
|
|
945
|
+
var type = typeof value;
|
|
946
|
+
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
|
947
|
+
}
|
|
948
|
+
module2.exports = isKeyable;
|
|
991
949
|
}
|
|
992
950
|
});
|
|
993
951
|
|
|
994
|
-
// node_modules/lodash/
|
|
995
|
-
var
|
|
996
|
-
"node_modules/lodash/
|
|
997
|
-
var
|
|
998
|
-
|
|
952
|
+
// node_modules/lodash/_getMapData.js
|
|
953
|
+
var require_getMapData = __commonJS({
|
|
954
|
+
"node_modules/lodash/_getMapData.js"(exports, module2) {
|
|
955
|
+
var isKeyable = require_isKeyable();
|
|
956
|
+
function getMapData(map, key) {
|
|
957
|
+
var data = map.__data__;
|
|
958
|
+
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
959
|
+
}
|
|
960
|
+
module2.exports = getMapData;
|
|
999
961
|
}
|
|
1000
962
|
});
|
|
1001
963
|
|
|
1002
|
-
// node_modules/lodash/
|
|
1003
|
-
var
|
|
1004
|
-
"node_modules/lodash/
|
|
1005
|
-
var
|
|
1006
|
-
function
|
|
1007
|
-
|
|
964
|
+
// node_modules/lodash/_mapCacheDelete.js
|
|
965
|
+
var require_mapCacheDelete = __commonJS({
|
|
966
|
+
"node_modules/lodash/_mapCacheDelete.js"(exports, module2) {
|
|
967
|
+
var getMapData = require_getMapData();
|
|
968
|
+
function mapCacheDelete(key) {
|
|
969
|
+
var result = getMapData(this, key)["delete"](key);
|
|
970
|
+
this.size -= result ? 1 : 0;
|
|
971
|
+
return result;
|
|
1008
972
|
}
|
|
1009
|
-
module2.exports =
|
|
973
|
+
module2.exports = mapCacheDelete;
|
|
1010
974
|
}
|
|
1011
975
|
});
|
|
1012
976
|
|
|
1013
|
-
// node_modules/lodash/
|
|
1014
|
-
var
|
|
1015
|
-
"node_modules/lodash/
|
|
1016
|
-
var
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
return value != null && isLength(value.length) && !isFunction(value);
|
|
977
|
+
// node_modules/lodash/_mapCacheGet.js
|
|
978
|
+
var require_mapCacheGet = __commonJS({
|
|
979
|
+
"node_modules/lodash/_mapCacheGet.js"(exports, module2) {
|
|
980
|
+
var getMapData = require_getMapData();
|
|
981
|
+
function mapCacheGet(key) {
|
|
982
|
+
return getMapData(this, key).get(key);
|
|
1020
983
|
}
|
|
1021
|
-
module2.exports =
|
|
984
|
+
module2.exports = mapCacheGet;
|
|
1022
985
|
}
|
|
1023
986
|
});
|
|
1024
987
|
|
|
1025
|
-
// node_modules/lodash/
|
|
1026
|
-
var
|
|
1027
|
-
"node_modules/lodash/
|
|
1028
|
-
var
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
return isObjectLike(value) && isArrayLike(value);
|
|
988
|
+
// node_modules/lodash/_mapCacheHas.js
|
|
989
|
+
var require_mapCacheHas = __commonJS({
|
|
990
|
+
"node_modules/lodash/_mapCacheHas.js"(exports, module2) {
|
|
991
|
+
var getMapData = require_getMapData();
|
|
992
|
+
function mapCacheHas(key) {
|
|
993
|
+
return getMapData(this, key).has(key);
|
|
1032
994
|
}
|
|
1033
|
-
module2.exports =
|
|
995
|
+
module2.exports = mapCacheHas;
|
|
1034
996
|
}
|
|
1035
997
|
});
|
|
1036
998
|
|
|
1037
|
-
// node_modules/lodash/
|
|
1038
|
-
var
|
|
1039
|
-
"node_modules/lodash/
|
|
1040
|
-
|
|
1041
|
-
|
|
999
|
+
// node_modules/lodash/_mapCacheSet.js
|
|
1000
|
+
var require_mapCacheSet = __commonJS({
|
|
1001
|
+
"node_modules/lodash/_mapCacheSet.js"(exports, module2) {
|
|
1002
|
+
var getMapData = require_getMapData();
|
|
1003
|
+
function mapCacheSet(key, value) {
|
|
1004
|
+
var data = getMapData(this, key), size = data.size;
|
|
1005
|
+
data.set(key, value);
|
|
1006
|
+
this.size += data.size == size ? 0 : 1;
|
|
1007
|
+
return this;
|
|
1042
1008
|
}
|
|
1043
|
-
module2.exports =
|
|
1044
|
-
}
|
|
1045
|
-
});
|
|
1046
|
-
|
|
1047
|
-
// node_modules/lodash/isBuffer.js
|
|
1048
|
-
var require_isBuffer = __commonJS({
|
|
1049
|
-
"node_modules/lodash/isBuffer.js"(exports, module2) {
|
|
1050
|
-
var root = require_root();
|
|
1051
|
-
var stubFalse = require_stubFalse();
|
|
1052
|
-
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1053
|
-
var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
|
|
1054
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1055
|
-
var Buffer2 = moduleExports ? root.Buffer : void 0;
|
|
1056
|
-
var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
|
|
1057
|
-
var isBuffer = nativeIsBuffer || stubFalse;
|
|
1058
|
-
module2.exports = isBuffer;
|
|
1009
|
+
module2.exports = mapCacheSet;
|
|
1059
1010
|
}
|
|
1060
1011
|
});
|
|
1061
1012
|
|
|
1062
|
-
// node_modules/lodash/
|
|
1063
|
-
var
|
|
1064
|
-
"node_modules/lodash/
|
|
1065
|
-
var
|
|
1066
|
-
var
|
|
1067
|
-
var
|
|
1068
|
-
var
|
|
1069
|
-
var
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
return false;
|
|
1077
|
-
}
|
|
1078
|
-
var proto = getPrototype(value);
|
|
1079
|
-
if (proto === null) {
|
|
1080
|
-
return true;
|
|
1013
|
+
// node_modules/lodash/_MapCache.js
|
|
1014
|
+
var require_MapCache = __commonJS({
|
|
1015
|
+
"node_modules/lodash/_MapCache.js"(exports, module2) {
|
|
1016
|
+
var mapCacheClear = require_mapCacheClear();
|
|
1017
|
+
var mapCacheDelete = require_mapCacheDelete();
|
|
1018
|
+
var mapCacheGet = require_mapCacheGet();
|
|
1019
|
+
var mapCacheHas = require_mapCacheHas();
|
|
1020
|
+
var mapCacheSet = require_mapCacheSet();
|
|
1021
|
+
function MapCache(entries) {
|
|
1022
|
+
var index = -1, length2 = entries == null ? 0 : entries.length;
|
|
1023
|
+
this.clear();
|
|
1024
|
+
while (++index < length2) {
|
|
1025
|
+
var entry = entries[index];
|
|
1026
|
+
this.set(entry[0], entry[1]);
|
|
1081
1027
|
}
|
|
1082
|
-
var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
1083
|
-
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
1084
1028
|
}
|
|
1085
|
-
|
|
1029
|
+
MapCache.prototype.clear = mapCacheClear;
|
|
1030
|
+
MapCache.prototype["delete"] = mapCacheDelete;
|
|
1031
|
+
MapCache.prototype.get = mapCacheGet;
|
|
1032
|
+
MapCache.prototype.has = mapCacheHas;
|
|
1033
|
+
MapCache.prototype.set = mapCacheSet;
|
|
1034
|
+
module2.exports = MapCache;
|
|
1086
1035
|
}
|
|
1087
1036
|
});
|
|
1088
1037
|
|
|
1089
|
-
// node_modules/lodash/
|
|
1090
|
-
var
|
|
1091
|
-
"node_modules/lodash/
|
|
1092
|
-
var
|
|
1093
|
-
var
|
|
1094
|
-
var
|
|
1095
|
-
var
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
var float32Tag = "[object Float32Array]";
|
|
1111
|
-
var float64Tag = "[object Float64Array]";
|
|
1112
|
-
var int8Tag = "[object Int8Array]";
|
|
1113
|
-
var int16Tag = "[object Int16Array]";
|
|
1114
|
-
var int32Tag = "[object Int32Array]";
|
|
1115
|
-
var uint8Tag = "[object Uint8Array]";
|
|
1116
|
-
var uint8ClampedTag = "[object Uint8ClampedArray]";
|
|
1117
|
-
var uint16Tag = "[object Uint16Array]";
|
|
1118
|
-
var uint32Tag = "[object Uint32Array]";
|
|
1119
|
-
var typedArrayTags = {};
|
|
1120
|
-
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
|
1121
|
-
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
|
1122
|
-
function baseIsTypedArray(value) {
|
|
1123
|
-
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
1038
|
+
// node_modules/lodash/_stackSet.js
|
|
1039
|
+
var require_stackSet = __commonJS({
|
|
1040
|
+
"node_modules/lodash/_stackSet.js"(exports, module2) {
|
|
1041
|
+
var ListCache = require_ListCache();
|
|
1042
|
+
var Map2 = require_Map();
|
|
1043
|
+
var MapCache = require_MapCache();
|
|
1044
|
+
var LARGE_ARRAY_SIZE = 200;
|
|
1045
|
+
function stackSet(key, value) {
|
|
1046
|
+
var data = this.__data__;
|
|
1047
|
+
if (data instanceof ListCache) {
|
|
1048
|
+
var pairs = data.__data__;
|
|
1049
|
+
if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
|
1050
|
+
pairs.push([key, value]);
|
|
1051
|
+
this.size = ++data.size;
|
|
1052
|
+
return this;
|
|
1053
|
+
}
|
|
1054
|
+
data = this.__data__ = new MapCache(pairs);
|
|
1055
|
+
}
|
|
1056
|
+
data.set(key, value);
|
|
1057
|
+
this.size = data.size;
|
|
1058
|
+
return this;
|
|
1124
1059
|
}
|
|
1125
|
-
module2.exports =
|
|
1060
|
+
module2.exports = stackSet;
|
|
1126
1061
|
}
|
|
1127
1062
|
});
|
|
1128
1063
|
|
|
1129
|
-
// node_modules/lodash/
|
|
1130
|
-
var
|
|
1131
|
-
"node_modules/lodash/
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1064
|
+
// node_modules/lodash/_Stack.js
|
|
1065
|
+
var require_Stack = __commonJS({
|
|
1066
|
+
"node_modules/lodash/_Stack.js"(exports, module2) {
|
|
1067
|
+
var ListCache = require_ListCache();
|
|
1068
|
+
var stackClear = require_stackClear();
|
|
1069
|
+
var stackDelete = require_stackDelete();
|
|
1070
|
+
var stackGet = require_stackGet();
|
|
1071
|
+
var stackHas = require_stackHas();
|
|
1072
|
+
var stackSet = require_stackSet();
|
|
1073
|
+
function Stack(entries) {
|
|
1074
|
+
var data = this.__data__ = new ListCache(entries);
|
|
1075
|
+
this.size = data.size;
|
|
1136
1076
|
}
|
|
1137
|
-
|
|
1077
|
+
Stack.prototype.clear = stackClear;
|
|
1078
|
+
Stack.prototype["delete"] = stackDelete;
|
|
1079
|
+
Stack.prototype.get = stackGet;
|
|
1080
|
+
Stack.prototype.has = stackHas;
|
|
1081
|
+
Stack.prototype.set = stackSet;
|
|
1082
|
+
module2.exports = Stack;
|
|
1138
1083
|
}
|
|
1139
1084
|
});
|
|
1140
1085
|
|
|
1141
|
-
// node_modules/lodash/
|
|
1142
|
-
var
|
|
1143
|
-
"node_modules/lodash/
|
|
1144
|
-
var
|
|
1145
|
-
var
|
|
1146
|
-
var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
|
|
1147
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1148
|
-
var freeProcess = moduleExports && freeGlobal.process;
|
|
1149
|
-
var nodeUtil = function() {
|
|
1086
|
+
// node_modules/lodash/_defineProperty.js
|
|
1087
|
+
var require_defineProperty = __commonJS({
|
|
1088
|
+
"node_modules/lodash/_defineProperty.js"(exports, module2) {
|
|
1089
|
+
var getNative = require_getNative();
|
|
1090
|
+
var defineProperty = function() {
|
|
1150
1091
|
try {
|
|
1151
|
-
var
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
}
|
|
1155
|
-
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
1092
|
+
var func = getNative(Object, "defineProperty");
|
|
1093
|
+
func({}, "", {});
|
|
1094
|
+
return func;
|
|
1156
1095
|
} catch (e2) {
|
|
1157
1096
|
}
|
|
1158
1097
|
}();
|
|
1159
|
-
module2.exports =
|
|
1098
|
+
module2.exports = defineProperty;
|
|
1160
1099
|
}
|
|
1161
1100
|
});
|
|
1162
1101
|
|
|
1163
|
-
// node_modules/lodash/
|
|
1164
|
-
var
|
|
1165
|
-
"node_modules/lodash/
|
|
1166
|
-
var
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1102
|
+
// node_modules/lodash/_baseAssignValue.js
|
|
1103
|
+
var require_baseAssignValue = __commonJS({
|
|
1104
|
+
"node_modules/lodash/_baseAssignValue.js"(exports, module2) {
|
|
1105
|
+
var defineProperty = require_defineProperty();
|
|
1106
|
+
function baseAssignValue(object, key, value) {
|
|
1107
|
+
if (key == "__proto__" && defineProperty) {
|
|
1108
|
+
defineProperty(object, key, {
|
|
1109
|
+
"configurable": true,
|
|
1110
|
+
"enumerable": true,
|
|
1111
|
+
"value": value,
|
|
1112
|
+
"writable": true
|
|
1113
|
+
});
|
|
1114
|
+
} else {
|
|
1115
|
+
object[key] = value;
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
module2.exports = baseAssignValue;
|
|
1172
1119
|
}
|
|
1173
1120
|
});
|
|
1174
1121
|
|
|
1175
|
-
// node_modules/lodash/
|
|
1176
|
-
var
|
|
1177
|
-
"node_modules/lodash/
|
|
1178
|
-
function safeGet(object, key) {
|
|
1179
|
-
if (key === "constructor" && typeof object[key] === "function") {
|
|
1180
|
-
return;
|
|
1181
|
-
}
|
|
1182
|
-
if (key == "__proto__") {
|
|
1183
|
-
return;
|
|
1184
|
-
}
|
|
1185
|
-
return object[key];
|
|
1186
|
-
}
|
|
1187
|
-
module2.exports = safeGet;
|
|
1188
|
-
}
|
|
1189
|
-
});
|
|
1190
|
-
|
|
1191
|
-
// node_modules/lodash/_assignValue.js
|
|
1192
|
-
var require_assignValue = __commonJS({
|
|
1193
|
-
"node_modules/lodash/_assignValue.js"(exports, module2) {
|
|
1122
|
+
// node_modules/lodash/_assignMergeValue.js
|
|
1123
|
+
var require_assignMergeValue = __commonJS({
|
|
1124
|
+
"node_modules/lodash/_assignMergeValue.js"(exports, module2) {
|
|
1194
1125
|
var baseAssignValue = require_baseAssignValue();
|
|
1195
1126
|
var eq = require_eq();
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
function assignValue(object, key, value) {
|
|
1199
|
-
var objValue = object[key];
|
|
1200
|
-
if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
|
|
1127
|
+
function assignMergeValue(object, key, value) {
|
|
1128
|
+
if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) {
|
|
1201
1129
|
baseAssignValue(object, key, value);
|
|
1202
1130
|
}
|
|
1203
1131
|
}
|
|
1204
|
-
module2.exports =
|
|
1132
|
+
module2.exports = assignMergeValue;
|
|
1205
1133
|
}
|
|
1206
1134
|
});
|
|
1207
1135
|
|
|
1208
|
-
// node_modules/lodash/
|
|
1209
|
-
var
|
|
1210
|
-
"node_modules/lodash/
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
|
|
1220
|
-
if (newValue === void 0) {
|
|
1221
|
-
newValue = source[key];
|
|
1222
|
-
}
|
|
1223
|
-
if (isNew) {
|
|
1224
|
-
baseAssignValue(object, key, newValue);
|
|
1225
|
-
} else {
|
|
1226
|
-
assignValue(object, key, newValue);
|
|
1136
|
+
// node_modules/lodash/_createBaseFor.js
|
|
1137
|
+
var require_createBaseFor = __commonJS({
|
|
1138
|
+
"node_modules/lodash/_createBaseFor.js"(exports, module2) {
|
|
1139
|
+
function createBaseFor(fromRight) {
|
|
1140
|
+
return function(object, iteratee, keysFunc) {
|
|
1141
|
+
var index = -1, iterable = Object(object), props = keysFunc(object), length2 = props.length;
|
|
1142
|
+
while (length2--) {
|
|
1143
|
+
var key = props[fromRight ? length2 : ++index];
|
|
1144
|
+
if (iteratee(iterable[key], key, iterable) === false) {
|
|
1145
|
+
break;
|
|
1146
|
+
}
|
|
1227
1147
|
}
|
|
1228
|
-
|
|
1229
|
-
|
|
1148
|
+
return object;
|
|
1149
|
+
};
|
|
1230
1150
|
}
|
|
1231
|
-
module2.exports =
|
|
1151
|
+
module2.exports = createBaseFor;
|
|
1232
1152
|
}
|
|
1233
1153
|
});
|
|
1234
1154
|
|
|
1235
|
-
// node_modules/lodash/
|
|
1236
|
-
var
|
|
1237
|
-
"node_modules/lodash/
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1155
|
+
// node_modules/lodash/_baseFor.js
|
|
1156
|
+
var require_baseFor = __commonJS({
|
|
1157
|
+
"node_modules/lodash/_baseFor.js"(exports, module2) {
|
|
1158
|
+
var createBaseFor = require_createBaseFor();
|
|
1159
|
+
var baseFor = createBaseFor();
|
|
1160
|
+
module2.exports = baseFor;
|
|
1161
|
+
}
|
|
1162
|
+
});
|
|
1163
|
+
|
|
1164
|
+
// node_modules/lodash/_cloneBuffer.js
|
|
1165
|
+
var require_cloneBuffer = __commonJS({
|
|
1166
|
+
"node_modules/lodash/_cloneBuffer.js"(exports, module2) {
|
|
1167
|
+
var root = require_root();
|
|
1168
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1169
|
+
var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
|
|
1170
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1171
|
+
var Buffer2 = moduleExports ? root.Buffer : void 0;
|
|
1172
|
+
var allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : void 0;
|
|
1173
|
+
function cloneBuffer(buffer, isDeep) {
|
|
1174
|
+
if (isDeep) {
|
|
1175
|
+
return buffer.slice();
|
|
1242
1176
|
}
|
|
1177
|
+
var length2 = buffer.length, result = allocUnsafe ? allocUnsafe(length2) : new buffer.constructor(length2);
|
|
1178
|
+
buffer.copy(result);
|
|
1243
1179
|
return result;
|
|
1244
1180
|
}
|
|
1245
|
-
module2.exports =
|
|
1181
|
+
module2.exports = cloneBuffer;
|
|
1246
1182
|
}
|
|
1247
1183
|
});
|
|
1248
1184
|
|
|
1249
|
-
// node_modules/lodash/
|
|
1250
|
-
var
|
|
1251
|
-
"node_modules/lodash/
|
|
1252
|
-
var
|
|
1253
|
-
var
|
|
1254
|
-
|
|
1255
|
-
var type = typeof value;
|
|
1256
|
-
length2 = length2 == null ? MAX_SAFE_INTEGER : length2;
|
|
1257
|
-
return !!length2 && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length2);
|
|
1258
|
-
}
|
|
1259
|
-
module2.exports = isIndex;
|
|
1185
|
+
// node_modules/lodash/_Uint8Array.js
|
|
1186
|
+
var require_Uint8Array = __commonJS({
|
|
1187
|
+
"node_modules/lodash/_Uint8Array.js"(exports, module2) {
|
|
1188
|
+
var root = require_root();
|
|
1189
|
+
var Uint8Array2 = root.Uint8Array;
|
|
1190
|
+
module2.exports = Uint8Array2;
|
|
1260
1191
|
}
|
|
1261
1192
|
});
|
|
1262
1193
|
|
|
1263
|
-
// node_modules/lodash/
|
|
1264
|
-
var
|
|
1265
|
-
"node_modules/lodash/
|
|
1266
|
-
var
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
var isIndex = require_isIndex();
|
|
1271
|
-
var isTypedArray = require_isTypedArray();
|
|
1272
|
-
var objectProto = Object.prototype;
|
|
1273
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1274
|
-
function arrayLikeKeys(value, inherited) {
|
|
1275
|
-
var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length2 = result.length;
|
|
1276
|
-
for (var key in value) {
|
|
1277
|
-
if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1278
|
-
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1279
|
-
isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1280
|
-
isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
|
|
1281
|
-
isIndex(key, length2)))) {
|
|
1282
|
-
result.push(key);
|
|
1283
|
-
}
|
|
1284
|
-
}
|
|
1194
|
+
// node_modules/lodash/_cloneArrayBuffer.js
|
|
1195
|
+
var require_cloneArrayBuffer = __commonJS({
|
|
1196
|
+
"node_modules/lodash/_cloneArrayBuffer.js"(exports, module2) {
|
|
1197
|
+
var Uint8Array2 = require_Uint8Array();
|
|
1198
|
+
function cloneArrayBuffer(arrayBuffer) {
|
|
1199
|
+
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
1200
|
+
new Uint8Array2(result).set(new Uint8Array2(arrayBuffer));
|
|
1285
1201
|
return result;
|
|
1286
1202
|
}
|
|
1287
|
-
module2.exports =
|
|
1203
|
+
module2.exports = cloneArrayBuffer;
|
|
1288
1204
|
}
|
|
1289
1205
|
});
|
|
1290
1206
|
|
|
1291
|
-
// node_modules/lodash/
|
|
1292
|
-
var
|
|
1293
|
-
"node_modules/lodash/
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1207
|
+
// node_modules/lodash/_cloneTypedArray.js
|
|
1208
|
+
var require_cloneTypedArray = __commonJS({
|
|
1209
|
+
"node_modules/lodash/_cloneTypedArray.js"(exports, module2) {
|
|
1210
|
+
var cloneArrayBuffer = require_cloneArrayBuffer();
|
|
1211
|
+
function cloneTypedArray(typedArray, isDeep) {
|
|
1212
|
+
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
|
1213
|
+
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
1214
|
+
}
|
|
1215
|
+
module2.exports = cloneTypedArray;
|
|
1216
|
+
}
|
|
1217
|
+
});
|
|
1218
|
+
|
|
1219
|
+
// node_modules/lodash/_copyArray.js
|
|
1220
|
+
var require_copyArray = __commonJS({
|
|
1221
|
+
"node_modules/lodash/_copyArray.js"(exports, module2) {
|
|
1222
|
+
function copyArray(source, array) {
|
|
1223
|
+
var index = -1, length2 = source.length;
|
|
1224
|
+
array || (array = Array(length2));
|
|
1225
|
+
while (++index < length2) {
|
|
1226
|
+
array[index] = source[index];
|
|
1300
1227
|
}
|
|
1301
|
-
return
|
|
1228
|
+
return array;
|
|
1302
1229
|
}
|
|
1303
|
-
module2.exports =
|
|
1230
|
+
module2.exports = copyArray;
|
|
1304
1231
|
}
|
|
1305
1232
|
});
|
|
1306
1233
|
|
|
1307
|
-
// node_modules/lodash/
|
|
1308
|
-
var
|
|
1309
|
-
"node_modules/lodash/
|
|
1234
|
+
// node_modules/lodash/_baseCreate.js
|
|
1235
|
+
var require_baseCreate = __commonJS({
|
|
1236
|
+
"node_modules/lodash/_baseCreate.js"(exports, module2) {
|
|
1310
1237
|
var isObject2 = require_isObject();
|
|
1311
|
-
var
|
|
1312
|
-
var
|
|
1313
|
-
|
|
1314
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1315
|
-
function baseKeysIn(object) {
|
|
1316
|
-
if (!isObject2(object)) {
|
|
1317
|
-
return nativeKeysIn(object);
|
|
1238
|
+
var objectCreate = Object.create;
|
|
1239
|
+
var baseCreate = /* @__PURE__ */ function() {
|
|
1240
|
+
function object() {
|
|
1318
1241
|
}
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
result.push(key);
|
|
1242
|
+
return function(proto) {
|
|
1243
|
+
if (!isObject2(proto)) {
|
|
1244
|
+
return {};
|
|
1323
1245
|
}
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1246
|
+
if (objectCreate) {
|
|
1247
|
+
return objectCreate(proto);
|
|
1248
|
+
}
|
|
1249
|
+
object.prototype = proto;
|
|
1250
|
+
var result = new object();
|
|
1251
|
+
object.prototype = void 0;
|
|
1252
|
+
return result;
|
|
1253
|
+
};
|
|
1254
|
+
}();
|
|
1255
|
+
module2.exports = baseCreate;
|
|
1328
1256
|
}
|
|
1329
1257
|
});
|
|
1330
1258
|
|
|
1331
|
-
// node_modules/lodash/
|
|
1332
|
-
var
|
|
1333
|
-
"node_modules/lodash/
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
1259
|
+
// node_modules/lodash/_overArg.js
|
|
1260
|
+
var require_overArg = __commonJS({
|
|
1261
|
+
"node_modules/lodash/_overArg.js"(exports, module2) {
|
|
1262
|
+
function overArg(func, transform) {
|
|
1263
|
+
return function(arg) {
|
|
1264
|
+
return func(transform(arg));
|
|
1265
|
+
};
|
|
1339
1266
|
}
|
|
1340
|
-
module2.exports =
|
|
1267
|
+
module2.exports = overArg;
|
|
1341
1268
|
}
|
|
1342
1269
|
});
|
|
1343
1270
|
|
|
1344
|
-
// node_modules/lodash/
|
|
1345
|
-
var
|
|
1346
|
-
"node_modules/lodash/
|
|
1347
|
-
var
|
|
1348
|
-
var
|
|
1349
|
-
|
|
1350
|
-
|
|
1271
|
+
// node_modules/lodash/_getPrototype.js
|
|
1272
|
+
var require_getPrototype = __commonJS({
|
|
1273
|
+
"node_modules/lodash/_getPrototype.js"(exports, module2) {
|
|
1274
|
+
var overArg = require_overArg();
|
|
1275
|
+
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
1276
|
+
module2.exports = getPrototype;
|
|
1277
|
+
}
|
|
1278
|
+
});
|
|
1279
|
+
|
|
1280
|
+
// node_modules/lodash/_isPrototype.js
|
|
1281
|
+
var require_isPrototype = __commonJS({
|
|
1282
|
+
"node_modules/lodash/_isPrototype.js"(exports, module2) {
|
|
1283
|
+
var objectProto = Object.prototype;
|
|
1284
|
+
function isPrototype(value) {
|
|
1285
|
+
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
|
|
1286
|
+
return value === proto;
|
|
1351
1287
|
}
|
|
1352
|
-
module2.exports =
|
|
1288
|
+
module2.exports = isPrototype;
|
|
1353
1289
|
}
|
|
1354
1290
|
});
|
|
1355
1291
|
|
|
1356
|
-
// node_modules/lodash/
|
|
1357
|
-
var
|
|
1358
|
-
"node_modules/lodash/
|
|
1359
|
-
var
|
|
1360
|
-
var
|
|
1361
|
-
var
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
var isArguments = require_isArguments();
|
|
1365
|
-
var isArray = require_isArray();
|
|
1366
|
-
var isArrayLikeObject = require_isArrayLikeObject();
|
|
1367
|
-
var isBuffer = require_isBuffer();
|
|
1368
|
-
var isFunction = require_isFunction();
|
|
1369
|
-
var isObject2 = require_isObject();
|
|
1370
|
-
var isPlainObject = require_isPlainObject();
|
|
1371
|
-
var isTypedArray = require_isTypedArray();
|
|
1372
|
-
var safeGet = require_safeGet();
|
|
1373
|
-
var toPlainObject = require_toPlainObject();
|
|
1374
|
-
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
|
|
1375
|
-
var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);
|
|
1376
|
-
if (stacked) {
|
|
1377
|
-
assignMergeValue(object, key, stacked);
|
|
1378
|
-
return;
|
|
1379
|
-
}
|
|
1380
|
-
var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
|
|
1381
|
-
var isCommon = newValue === void 0;
|
|
1382
|
-
if (isCommon) {
|
|
1383
|
-
var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
|
|
1384
|
-
newValue = srcValue;
|
|
1385
|
-
if (isArr || isBuff || isTyped) {
|
|
1386
|
-
if (isArray(objValue)) {
|
|
1387
|
-
newValue = objValue;
|
|
1388
|
-
} else if (isArrayLikeObject(objValue)) {
|
|
1389
|
-
newValue = copyArray(objValue);
|
|
1390
|
-
} else if (isBuff) {
|
|
1391
|
-
isCommon = false;
|
|
1392
|
-
newValue = cloneBuffer(srcValue, true);
|
|
1393
|
-
} else if (isTyped) {
|
|
1394
|
-
isCommon = false;
|
|
1395
|
-
newValue = cloneTypedArray(srcValue, true);
|
|
1396
|
-
} else {
|
|
1397
|
-
newValue = [];
|
|
1398
|
-
}
|
|
1399
|
-
} else if (isPlainObject(srcValue) || isArguments(srcValue)) {
|
|
1400
|
-
newValue = objValue;
|
|
1401
|
-
if (isArguments(objValue)) {
|
|
1402
|
-
newValue = toPlainObject(objValue);
|
|
1403
|
-
} else if (!isObject2(objValue) || isFunction(objValue)) {
|
|
1404
|
-
newValue = initCloneObject(srcValue);
|
|
1405
|
-
}
|
|
1406
|
-
} else {
|
|
1407
|
-
isCommon = false;
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
if (isCommon) {
|
|
1411
|
-
stack.set(srcValue, newValue);
|
|
1412
|
-
mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
|
|
1413
|
-
stack["delete"](srcValue);
|
|
1414
|
-
}
|
|
1415
|
-
assignMergeValue(object, key, newValue);
|
|
1292
|
+
// node_modules/lodash/_initCloneObject.js
|
|
1293
|
+
var require_initCloneObject = __commonJS({
|
|
1294
|
+
"node_modules/lodash/_initCloneObject.js"(exports, module2) {
|
|
1295
|
+
var baseCreate = require_baseCreate();
|
|
1296
|
+
var getPrototype = require_getPrototype();
|
|
1297
|
+
var isPrototype = require_isPrototype();
|
|
1298
|
+
function initCloneObject(object) {
|
|
1299
|
+
return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
|
|
1416
1300
|
}
|
|
1417
|
-
module2.exports =
|
|
1301
|
+
module2.exports = initCloneObject;
|
|
1418
1302
|
}
|
|
1419
1303
|
});
|
|
1420
1304
|
|
|
1421
|
-
// node_modules/lodash/
|
|
1422
|
-
var
|
|
1423
|
-
"node_modules/lodash/
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
var baseFor = require_baseFor();
|
|
1427
|
-
var baseMergeDeep = require_baseMergeDeep();
|
|
1428
|
-
var isObject2 = require_isObject();
|
|
1429
|
-
var keysIn = require_keysIn();
|
|
1430
|
-
var safeGet = require_safeGet();
|
|
1431
|
-
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
1432
|
-
if (object === source) {
|
|
1433
|
-
return;
|
|
1434
|
-
}
|
|
1435
|
-
baseFor(source, function(srcValue, key) {
|
|
1436
|
-
stack || (stack = new Stack());
|
|
1437
|
-
if (isObject2(srcValue)) {
|
|
1438
|
-
baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
|
|
1439
|
-
} else {
|
|
1440
|
-
var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
|
|
1441
|
-
if (newValue === void 0) {
|
|
1442
|
-
newValue = srcValue;
|
|
1443
|
-
}
|
|
1444
|
-
assignMergeValue(object, key, newValue);
|
|
1445
|
-
}
|
|
1446
|
-
}, keysIn);
|
|
1305
|
+
// node_modules/lodash/isObjectLike.js
|
|
1306
|
+
var require_isObjectLike = __commonJS({
|
|
1307
|
+
"node_modules/lodash/isObjectLike.js"(exports, module2) {
|
|
1308
|
+
function isObjectLike(value) {
|
|
1309
|
+
return value != null && typeof value == "object";
|
|
1447
1310
|
}
|
|
1448
|
-
module2.exports =
|
|
1311
|
+
module2.exports = isObjectLike;
|
|
1449
1312
|
}
|
|
1450
1313
|
});
|
|
1451
1314
|
|
|
1452
|
-
// node_modules/lodash/
|
|
1453
|
-
var
|
|
1454
|
-
"node_modules/lodash/
|
|
1455
|
-
|
|
1456
|
-
|
|
1315
|
+
// node_modules/lodash/_baseIsArguments.js
|
|
1316
|
+
var require_baseIsArguments = __commonJS({
|
|
1317
|
+
"node_modules/lodash/_baseIsArguments.js"(exports, module2) {
|
|
1318
|
+
var baseGetTag = require_baseGetTag();
|
|
1319
|
+
var isObjectLike = require_isObjectLike();
|
|
1320
|
+
var argsTag = "[object Arguments]";
|
|
1321
|
+
function baseIsArguments(value) {
|
|
1322
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
|
1457
1323
|
}
|
|
1458
|
-
module2.exports =
|
|
1324
|
+
module2.exports = baseIsArguments;
|
|
1459
1325
|
}
|
|
1460
1326
|
});
|
|
1461
1327
|
|
|
1462
|
-
// node_modules/lodash/
|
|
1463
|
-
var
|
|
1464
|
-
"node_modules/lodash/
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
return func.apply(thisArg, args);
|
|
1477
|
-
}
|
|
1478
|
-
module2.exports = apply;
|
|
1328
|
+
// node_modules/lodash/isArguments.js
|
|
1329
|
+
var require_isArguments = __commonJS({
|
|
1330
|
+
"node_modules/lodash/isArguments.js"(exports, module2) {
|
|
1331
|
+
var baseIsArguments = require_baseIsArguments();
|
|
1332
|
+
var isObjectLike = require_isObjectLike();
|
|
1333
|
+
var objectProto = Object.prototype;
|
|
1334
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1335
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
1336
|
+
var isArguments = baseIsArguments(/* @__PURE__ */ function() {
|
|
1337
|
+
return arguments;
|
|
1338
|
+
}()) ? baseIsArguments : function(value) {
|
|
1339
|
+
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
1340
|
+
};
|
|
1341
|
+
module2.exports = isArguments;
|
|
1479
1342
|
}
|
|
1480
1343
|
});
|
|
1481
1344
|
|
|
1482
|
-
// node_modules/lodash/
|
|
1483
|
-
var
|
|
1484
|
-
"node_modules/lodash/
|
|
1485
|
-
var
|
|
1486
|
-
|
|
1487
|
-
function overRest(func, start, transform) {
|
|
1488
|
-
start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
|
|
1489
|
-
return function() {
|
|
1490
|
-
var args = arguments, index = -1, length2 = nativeMax(args.length - start, 0), array = Array(length2);
|
|
1491
|
-
while (++index < length2) {
|
|
1492
|
-
array[index] = args[start + index];
|
|
1493
|
-
}
|
|
1494
|
-
index = -1;
|
|
1495
|
-
var otherArgs = Array(start + 1);
|
|
1496
|
-
while (++index < start) {
|
|
1497
|
-
otherArgs[index] = args[index];
|
|
1498
|
-
}
|
|
1499
|
-
otherArgs[start] = transform(array);
|
|
1500
|
-
return apply(func, this, otherArgs);
|
|
1501
|
-
};
|
|
1502
|
-
}
|
|
1503
|
-
module2.exports = overRest;
|
|
1345
|
+
// node_modules/lodash/isArray.js
|
|
1346
|
+
var require_isArray = __commonJS({
|
|
1347
|
+
"node_modules/lodash/isArray.js"(exports, module2) {
|
|
1348
|
+
var isArray = Array.isArray;
|
|
1349
|
+
module2.exports = isArray;
|
|
1504
1350
|
}
|
|
1505
1351
|
});
|
|
1506
1352
|
|
|
1507
|
-
// node_modules/lodash/
|
|
1508
|
-
var
|
|
1509
|
-
"node_modules/lodash/
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
};
|
|
1353
|
+
// node_modules/lodash/isLength.js
|
|
1354
|
+
var require_isLength = __commonJS({
|
|
1355
|
+
"node_modules/lodash/isLength.js"(exports, module2) {
|
|
1356
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
1357
|
+
function isLength(value) {
|
|
1358
|
+
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
1514
1359
|
}
|
|
1515
|
-
module2.exports =
|
|
1360
|
+
module2.exports = isLength;
|
|
1516
1361
|
}
|
|
1517
1362
|
});
|
|
1518
1363
|
|
|
1519
|
-
// node_modules/lodash/
|
|
1520
|
-
var
|
|
1521
|
-
"node_modules/lodash/
|
|
1522
|
-
var
|
|
1523
|
-
var
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
"enumerable": false,
|
|
1529
|
-
"value": constant(string),
|
|
1530
|
-
"writable": true
|
|
1531
|
-
});
|
|
1532
|
-
};
|
|
1533
|
-
module2.exports = baseSetToString;
|
|
1364
|
+
// node_modules/lodash/isArrayLike.js
|
|
1365
|
+
var require_isArrayLike = __commonJS({
|
|
1366
|
+
"node_modules/lodash/isArrayLike.js"(exports, module2) {
|
|
1367
|
+
var isFunction = require_isFunction();
|
|
1368
|
+
var isLength = require_isLength();
|
|
1369
|
+
function isArrayLike(value) {
|
|
1370
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
1371
|
+
}
|
|
1372
|
+
module2.exports = isArrayLike;
|
|
1534
1373
|
}
|
|
1535
1374
|
});
|
|
1536
1375
|
|
|
1537
|
-
// node_modules/lodash/
|
|
1538
|
-
var
|
|
1539
|
-
"node_modules/lodash/
|
|
1540
|
-
var
|
|
1541
|
-
var
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
var count = 0, lastCalled = 0;
|
|
1545
|
-
return function() {
|
|
1546
|
-
var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
|
|
1547
|
-
lastCalled = stamp;
|
|
1548
|
-
if (remaining > 0) {
|
|
1549
|
-
if (++count >= HOT_COUNT) {
|
|
1550
|
-
return arguments[0];
|
|
1551
|
-
}
|
|
1552
|
-
} else {
|
|
1553
|
-
count = 0;
|
|
1554
|
-
}
|
|
1555
|
-
return func.apply(void 0, arguments);
|
|
1556
|
-
};
|
|
1376
|
+
// node_modules/lodash/isArrayLikeObject.js
|
|
1377
|
+
var require_isArrayLikeObject = __commonJS({
|
|
1378
|
+
"node_modules/lodash/isArrayLikeObject.js"(exports, module2) {
|
|
1379
|
+
var isArrayLike = require_isArrayLike();
|
|
1380
|
+
var isObjectLike = require_isObjectLike();
|
|
1381
|
+
function isArrayLikeObject(value) {
|
|
1382
|
+
return isObjectLike(value) && isArrayLike(value);
|
|
1557
1383
|
}
|
|
1558
|
-
module2.exports =
|
|
1384
|
+
module2.exports = isArrayLikeObject;
|
|
1559
1385
|
}
|
|
1560
1386
|
});
|
|
1561
1387
|
|
|
1562
|
-
// node_modules/lodash/
|
|
1563
|
-
var
|
|
1564
|
-
"node_modules/lodash/
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
module2.exports =
|
|
1388
|
+
// node_modules/lodash/stubFalse.js
|
|
1389
|
+
var require_stubFalse = __commonJS({
|
|
1390
|
+
"node_modules/lodash/stubFalse.js"(exports, module2) {
|
|
1391
|
+
function stubFalse() {
|
|
1392
|
+
return false;
|
|
1393
|
+
}
|
|
1394
|
+
module2.exports = stubFalse;
|
|
1569
1395
|
}
|
|
1570
1396
|
});
|
|
1571
1397
|
|
|
1572
|
-
// node_modules/lodash/
|
|
1573
|
-
var
|
|
1574
|
-
"node_modules/lodash/
|
|
1575
|
-
var
|
|
1576
|
-
var
|
|
1577
|
-
var
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1398
|
+
// node_modules/lodash/isBuffer.js
|
|
1399
|
+
var require_isBuffer = __commonJS({
|
|
1400
|
+
"node_modules/lodash/isBuffer.js"(exports, module2) {
|
|
1401
|
+
var root = require_root();
|
|
1402
|
+
var stubFalse = require_stubFalse();
|
|
1403
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1404
|
+
var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
|
|
1405
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1406
|
+
var Buffer2 = moduleExports ? root.Buffer : void 0;
|
|
1407
|
+
var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
|
|
1408
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
|
1409
|
+
module2.exports = isBuffer;
|
|
1582
1410
|
}
|
|
1583
1411
|
});
|
|
1584
1412
|
|
|
1585
|
-
// node_modules/lodash/
|
|
1586
|
-
var
|
|
1587
|
-
"node_modules/lodash/
|
|
1588
|
-
var
|
|
1589
|
-
var
|
|
1590
|
-
var
|
|
1591
|
-
var
|
|
1592
|
-
|
|
1593
|
-
|
|
1413
|
+
// node_modules/lodash/isPlainObject.js
|
|
1414
|
+
var require_isPlainObject = __commonJS({
|
|
1415
|
+
"node_modules/lodash/isPlainObject.js"(exports, module2) {
|
|
1416
|
+
var baseGetTag = require_baseGetTag();
|
|
1417
|
+
var getPrototype = require_getPrototype();
|
|
1418
|
+
var isObjectLike = require_isObjectLike();
|
|
1419
|
+
var objectTag = "[object Object]";
|
|
1420
|
+
var funcProto = Function.prototype;
|
|
1421
|
+
var objectProto = Object.prototype;
|
|
1422
|
+
var funcToString = funcProto.toString;
|
|
1423
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1424
|
+
var objectCtorString = funcToString.call(Object);
|
|
1425
|
+
function isPlainObject(value) {
|
|
1426
|
+
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
|
1594
1427
|
return false;
|
|
1595
1428
|
}
|
|
1596
|
-
var
|
|
1597
|
-
if (
|
|
1598
|
-
return
|
|
1429
|
+
var proto = getPrototype(value);
|
|
1430
|
+
if (proto === null) {
|
|
1431
|
+
return true;
|
|
1599
1432
|
}
|
|
1600
|
-
|
|
1433
|
+
var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
1434
|
+
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
1601
1435
|
}
|
|
1602
|
-
module2.exports =
|
|
1436
|
+
module2.exports = isPlainObject;
|
|
1603
1437
|
}
|
|
1604
1438
|
});
|
|
1605
1439
|
|
|
1606
|
-
// node_modules/lodash/
|
|
1607
|
-
var
|
|
1608
|
-
"node_modules/lodash/
|
|
1609
|
-
var
|
|
1610
|
-
var
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1440
|
+
// node_modules/lodash/_baseIsTypedArray.js
|
|
1441
|
+
var require_baseIsTypedArray = __commonJS({
|
|
1442
|
+
"node_modules/lodash/_baseIsTypedArray.js"(exports, module2) {
|
|
1443
|
+
var baseGetTag = require_baseGetTag();
|
|
1444
|
+
var isLength = require_isLength();
|
|
1445
|
+
var isObjectLike = require_isObjectLike();
|
|
1446
|
+
var argsTag = "[object Arguments]";
|
|
1447
|
+
var arrayTag = "[object Array]";
|
|
1448
|
+
var boolTag = "[object Boolean]";
|
|
1449
|
+
var dateTag = "[object Date]";
|
|
1450
|
+
var errorTag = "[object Error]";
|
|
1451
|
+
var funcTag = "[object Function]";
|
|
1452
|
+
var mapTag = "[object Map]";
|
|
1453
|
+
var numberTag = "[object Number]";
|
|
1454
|
+
var objectTag = "[object Object]";
|
|
1455
|
+
var regexpTag = "[object RegExp]";
|
|
1456
|
+
var setTag = "[object Set]";
|
|
1457
|
+
var stringTag = "[object String]";
|
|
1458
|
+
var weakMapTag = "[object WeakMap]";
|
|
1459
|
+
var arrayBufferTag = "[object ArrayBuffer]";
|
|
1460
|
+
var dataViewTag = "[object DataView]";
|
|
1461
|
+
var float32Tag = "[object Float32Array]";
|
|
1462
|
+
var float64Tag = "[object Float64Array]";
|
|
1463
|
+
var int8Tag = "[object Int8Array]";
|
|
1464
|
+
var int16Tag = "[object Int16Array]";
|
|
1465
|
+
var int32Tag = "[object Int32Array]";
|
|
1466
|
+
var uint8Tag = "[object Uint8Array]";
|
|
1467
|
+
var uint8ClampedTag = "[object Uint8ClampedArray]";
|
|
1468
|
+
var uint16Tag = "[object Uint16Array]";
|
|
1469
|
+
var uint32Tag = "[object Uint32Array]";
|
|
1470
|
+
var typedArrayTags = {};
|
|
1471
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
|
1472
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
|
1473
|
+
function baseIsTypedArray(value) {
|
|
1474
|
+
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
1628
1475
|
}
|
|
1629
|
-
module2.exports =
|
|
1476
|
+
module2.exports = baseIsTypedArray;
|
|
1630
1477
|
}
|
|
1631
1478
|
});
|
|
1632
1479
|
|
|
1633
|
-
// node_modules/lodash/
|
|
1634
|
-
var
|
|
1635
|
-
"node_modules/lodash/
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
}
|
|
1641
|
-
module2.exports =
|
|
1480
|
+
// node_modules/lodash/_baseUnary.js
|
|
1481
|
+
var require_baseUnary = __commonJS({
|
|
1482
|
+
"node_modules/lodash/_baseUnary.js"(exports, module2) {
|
|
1483
|
+
function baseUnary(func) {
|
|
1484
|
+
return function(value) {
|
|
1485
|
+
return func(value);
|
|
1486
|
+
};
|
|
1487
|
+
}
|
|
1488
|
+
module2.exports = baseUnary;
|
|
1642
1489
|
}
|
|
1643
1490
|
});
|
|
1644
1491
|
|
|
1645
|
-
// node_modules/
|
|
1646
|
-
var
|
|
1647
|
-
"node_modules/
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1492
|
+
// node_modules/lodash/_nodeUtil.js
|
|
1493
|
+
var require_nodeUtil = __commonJS({
|
|
1494
|
+
"node_modules/lodash/_nodeUtil.js"(exports, module2) {
|
|
1495
|
+
var freeGlobal = require_freeGlobal();
|
|
1496
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1497
|
+
var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
|
|
1498
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1499
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
|
1500
|
+
var nodeUtil = function() {
|
|
1501
|
+
try {
|
|
1502
|
+
var types = freeModule && freeModule.require && freeModule.require("util").types;
|
|
1503
|
+
if (types) {
|
|
1504
|
+
return types;
|
|
1505
|
+
}
|
|
1506
|
+
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
1507
|
+
} catch (e2) {
|
|
1508
|
+
}
|
|
1509
|
+
}();
|
|
1510
|
+
module2.exports = nodeUtil;
|
|
1664
1511
|
}
|
|
1665
1512
|
});
|
|
1666
1513
|
|
|
1667
|
-
// node_modules/
|
|
1668
|
-
var
|
|
1669
|
-
"node_modules/
|
|
1670
|
-
(
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
var irregularSingles = {};
|
|
1686
|
-
function sanitizeRule(rule) {
|
|
1687
|
-
if (typeof rule === "string") {
|
|
1688
|
-
return new RegExp("^" + rule + "$", "i");
|
|
1689
|
-
}
|
|
1690
|
-
return rule;
|
|
1691
|
-
}
|
|
1692
|
-
function restoreCase(word, token2) {
|
|
1693
|
-
if (word === token2) return token2;
|
|
1694
|
-
if (word === word.toLowerCase()) return token2.toLowerCase();
|
|
1695
|
-
if (word === word.toUpperCase()) return token2.toUpperCase();
|
|
1696
|
-
if (word[0] === word[0].toUpperCase()) {
|
|
1697
|
-
return token2.charAt(0).toUpperCase() + token2.substr(1).toLowerCase();
|
|
1698
|
-
}
|
|
1699
|
-
return token2.toLowerCase();
|
|
1514
|
+
// node_modules/lodash/isTypedArray.js
|
|
1515
|
+
var require_isTypedArray = __commonJS({
|
|
1516
|
+
"node_modules/lodash/isTypedArray.js"(exports, module2) {
|
|
1517
|
+
var baseIsTypedArray = require_baseIsTypedArray();
|
|
1518
|
+
var baseUnary = require_baseUnary();
|
|
1519
|
+
var nodeUtil = require_nodeUtil();
|
|
1520
|
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
1521
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
1522
|
+
module2.exports = isTypedArray;
|
|
1523
|
+
}
|
|
1524
|
+
});
|
|
1525
|
+
|
|
1526
|
+
// node_modules/lodash/_safeGet.js
|
|
1527
|
+
var require_safeGet = __commonJS({
|
|
1528
|
+
"node_modules/lodash/_safeGet.js"(exports, module2) {
|
|
1529
|
+
function safeGet(object, key) {
|
|
1530
|
+
if (key === "constructor" && typeof object[key] === "function") {
|
|
1531
|
+
return;
|
|
1700
1532
|
}
|
|
1701
|
-
|
|
1702
|
-
return
|
|
1703
|
-
return args[index] || "";
|
|
1704
|
-
});
|
|
1533
|
+
if (key == "__proto__") {
|
|
1534
|
+
return;
|
|
1705
1535
|
}
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1536
|
+
return object[key];
|
|
1537
|
+
}
|
|
1538
|
+
module2.exports = safeGet;
|
|
1539
|
+
}
|
|
1540
|
+
});
|
|
1541
|
+
|
|
1542
|
+
// node_modules/lodash/_assignValue.js
|
|
1543
|
+
var require_assignValue = __commonJS({
|
|
1544
|
+
"node_modules/lodash/_assignValue.js"(exports, module2) {
|
|
1545
|
+
var baseAssignValue = require_baseAssignValue();
|
|
1546
|
+
var eq = require_eq();
|
|
1547
|
+
var objectProto = Object.prototype;
|
|
1548
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1549
|
+
function assignValue(object, key, value) {
|
|
1550
|
+
var objValue = object[key];
|
|
1551
|
+
if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
|
|
1552
|
+
baseAssignValue(object, key, value);
|
|
1714
1553
|
}
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1554
|
+
}
|
|
1555
|
+
module2.exports = assignValue;
|
|
1556
|
+
}
|
|
1557
|
+
});
|
|
1558
|
+
|
|
1559
|
+
// node_modules/lodash/_copyObject.js
|
|
1560
|
+
var require_copyObject = __commonJS({
|
|
1561
|
+
"node_modules/lodash/_copyObject.js"(exports, module2) {
|
|
1562
|
+
var assignValue = require_assignValue();
|
|
1563
|
+
var baseAssignValue = require_baseAssignValue();
|
|
1564
|
+
function copyObject(source, props, object, customizer) {
|
|
1565
|
+
var isNew = !object;
|
|
1566
|
+
object || (object = {});
|
|
1567
|
+
var index = -1, length2 = props.length;
|
|
1568
|
+
while (++index < length2) {
|
|
1569
|
+
var key = props[index];
|
|
1570
|
+
var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
|
|
1571
|
+
if (newValue === void 0) {
|
|
1572
|
+
newValue = source[key];
|
|
1573
|
+
}
|
|
1574
|
+
if (isNew) {
|
|
1575
|
+
baseAssignValue(object, key, newValue);
|
|
1576
|
+
} else {
|
|
1577
|
+
assignValue(object, key, newValue);
|
|
1723
1578
|
}
|
|
1724
|
-
return word;
|
|
1725
1579
|
}
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1580
|
+
return object;
|
|
1581
|
+
}
|
|
1582
|
+
module2.exports = copyObject;
|
|
1583
|
+
}
|
|
1584
|
+
});
|
|
1585
|
+
|
|
1586
|
+
// node_modules/lodash/_baseTimes.js
|
|
1587
|
+
var require_baseTimes = __commonJS({
|
|
1588
|
+
"node_modules/lodash/_baseTimes.js"(exports, module2) {
|
|
1589
|
+
function baseTimes(n, iteratee) {
|
|
1590
|
+
var index = -1, result = Array(n);
|
|
1591
|
+
while (++index < n) {
|
|
1592
|
+
result[index] = iteratee(index);
|
|
1593
|
+
}
|
|
1594
|
+
return result;
|
|
1595
|
+
}
|
|
1596
|
+
module2.exports = baseTimes;
|
|
1597
|
+
}
|
|
1598
|
+
});
|
|
1599
|
+
|
|
1600
|
+
// node_modules/lodash/_isIndex.js
|
|
1601
|
+
var require_isIndex = __commonJS({
|
|
1602
|
+
"node_modules/lodash/_isIndex.js"(exports, module2) {
|
|
1603
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
1604
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
1605
|
+
function isIndex(value, length2) {
|
|
1606
|
+
var type = typeof value;
|
|
1607
|
+
length2 = length2 == null ? MAX_SAFE_INTEGER : length2;
|
|
1608
|
+
return !!length2 && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length2);
|
|
1609
|
+
}
|
|
1610
|
+
module2.exports = isIndex;
|
|
1611
|
+
}
|
|
1612
|
+
});
|
|
1613
|
+
|
|
1614
|
+
// node_modules/lodash/_arrayLikeKeys.js
|
|
1615
|
+
var require_arrayLikeKeys = __commonJS({
|
|
1616
|
+
"node_modules/lodash/_arrayLikeKeys.js"(exports, module2) {
|
|
1617
|
+
var baseTimes = require_baseTimes();
|
|
1618
|
+
var isArguments = require_isArguments();
|
|
1619
|
+
var isArray = require_isArray();
|
|
1620
|
+
var isBuffer = require_isBuffer();
|
|
1621
|
+
var isIndex = require_isIndex();
|
|
1622
|
+
var isTypedArray = require_isTypedArray();
|
|
1623
|
+
var objectProto = Object.prototype;
|
|
1624
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1625
|
+
function arrayLikeKeys(value, inherited) {
|
|
1626
|
+
var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length2 = result.length;
|
|
1627
|
+
for (var key in value) {
|
|
1628
|
+
if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1629
|
+
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1630
|
+
isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1631
|
+
isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
|
|
1632
|
+
isIndex(key, length2)))) {
|
|
1633
|
+
result.push(key);
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
return result;
|
|
1637
|
+
}
|
|
1638
|
+
module2.exports = arrayLikeKeys;
|
|
1639
|
+
}
|
|
1640
|
+
});
|
|
1641
|
+
|
|
1642
|
+
// node_modules/lodash/_nativeKeysIn.js
|
|
1643
|
+
var require_nativeKeysIn = __commonJS({
|
|
1644
|
+
"node_modules/lodash/_nativeKeysIn.js"(exports, module2) {
|
|
1645
|
+
function nativeKeysIn(object) {
|
|
1646
|
+
var result = [];
|
|
1647
|
+
if (object != null) {
|
|
1648
|
+
for (var key in Object(object)) {
|
|
1649
|
+
result.push(key);
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
return result;
|
|
1653
|
+
}
|
|
1654
|
+
module2.exports = nativeKeysIn;
|
|
1655
|
+
}
|
|
1656
|
+
});
|
|
1657
|
+
|
|
1658
|
+
// node_modules/lodash/_baseKeysIn.js
|
|
1659
|
+
var require_baseKeysIn = __commonJS({
|
|
1660
|
+
"node_modules/lodash/_baseKeysIn.js"(exports, module2) {
|
|
1661
|
+
var isObject2 = require_isObject();
|
|
1662
|
+
var isPrototype = require_isPrototype();
|
|
1663
|
+
var nativeKeysIn = require_nativeKeysIn();
|
|
1664
|
+
var objectProto = Object.prototype;
|
|
1665
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1666
|
+
function baseKeysIn(object) {
|
|
1667
|
+
if (!isObject2(object)) {
|
|
1668
|
+
return nativeKeysIn(object);
|
|
1669
|
+
}
|
|
1670
|
+
var isProto = isPrototype(object), result = [];
|
|
1671
|
+
for (var key in object) {
|
|
1672
|
+
if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) {
|
|
1673
|
+
result.push(key);
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
return result;
|
|
1677
|
+
}
|
|
1678
|
+
module2.exports = baseKeysIn;
|
|
1679
|
+
}
|
|
1680
|
+
});
|
|
1681
|
+
|
|
1682
|
+
// node_modules/lodash/keysIn.js
|
|
1683
|
+
var require_keysIn = __commonJS({
|
|
1684
|
+
"node_modules/lodash/keysIn.js"(exports, module2) {
|
|
1685
|
+
var arrayLikeKeys = require_arrayLikeKeys();
|
|
1686
|
+
var baseKeysIn = require_baseKeysIn();
|
|
1687
|
+
var isArrayLike = require_isArrayLike();
|
|
1688
|
+
function keysIn(object) {
|
|
1689
|
+
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
1690
|
+
}
|
|
1691
|
+
module2.exports = keysIn;
|
|
1692
|
+
}
|
|
1693
|
+
});
|
|
1694
|
+
|
|
1695
|
+
// node_modules/lodash/toPlainObject.js
|
|
1696
|
+
var require_toPlainObject = __commonJS({
|
|
1697
|
+
"node_modules/lodash/toPlainObject.js"(exports, module2) {
|
|
1698
|
+
var copyObject = require_copyObject();
|
|
1699
|
+
var keysIn = require_keysIn();
|
|
1700
|
+
function toPlainObject(value) {
|
|
1701
|
+
return copyObject(value, keysIn(value));
|
|
1702
|
+
}
|
|
1703
|
+
module2.exports = toPlainObject;
|
|
1704
|
+
}
|
|
1705
|
+
});
|
|
1706
|
+
|
|
1707
|
+
// node_modules/lodash/_baseMergeDeep.js
|
|
1708
|
+
var require_baseMergeDeep = __commonJS({
|
|
1709
|
+
"node_modules/lodash/_baseMergeDeep.js"(exports, module2) {
|
|
1710
|
+
var assignMergeValue = require_assignMergeValue();
|
|
1711
|
+
var cloneBuffer = require_cloneBuffer();
|
|
1712
|
+
var cloneTypedArray = require_cloneTypedArray();
|
|
1713
|
+
var copyArray = require_copyArray();
|
|
1714
|
+
var initCloneObject = require_initCloneObject();
|
|
1715
|
+
var isArguments = require_isArguments();
|
|
1716
|
+
var isArray = require_isArray();
|
|
1717
|
+
var isArrayLikeObject = require_isArrayLikeObject();
|
|
1718
|
+
var isBuffer = require_isBuffer();
|
|
1719
|
+
var isFunction = require_isFunction();
|
|
1720
|
+
var isObject2 = require_isObject();
|
|
1721
|
+
var isPlainObject = require_isPlainObject();
|
|
1722
|
+
var isTypedArray = require_isTypedArray();
|
|
1723
|
+
var safeGet = require_safeGet();
|
|
1724
|
+
var toPlainObject = require_toPlainObject();
|
|
1725
|
+
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
|
|
1726
|
+
var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);
|
|
1727
|
+
if (stacked) {
|
|
1728
|
+
assignMergeValue(object, key, stacked);
|
|
1729
|
+
return;
|
|
1730
|
+
}
|
|
1731
|
+
var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
|
|
1732
|
+
var isCommon = newValue === void 0;
|
|
1733
|
+
if (isCommon) {
|
|
1734
|
+
var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
|
|
1735
|
+
newValue = srcValue;
|
|
1736
|
+
if (isArr || isBuff || isTyped) {
|
|
1737
|
+
if (isArray(objValue)) {
|
|
1738
|
+
newValue = objValue;
|
|
1739
|
+
} else if (isArrayLikeObject(objValue)) {
|
|
1740
|
+
newValue = copyArray(objValue);
|
|
1741
|
+
} else if (isBuff) {
|
|
1742
|
+
isCommon = false;
|
|
1743
|
+
newValue = cloneBuffer(srcValue, true);
|
|
1744
|
+
} else if (isTyped) {
|
|
1745
|
+
isCommon = false;
|
|
1746
|
+
newValue = cloneTypedArray(srcValue, true);
|
|
1747
|
+
} else {
|
|
1748
|
+
newValue = [];
|
|
1731
1749
|
}
|
|
1732
|
-
|
|
1733
|
-
|
|
1750
|
+
} else if (isPlainObject(srcValue) || isArguments(srcValue)) {
|
|
1751
|
+
newValue = objValue;
|
|
1752
|
+
if (isArguments(objValue)) {
|
|
1753
|
+
newValue = toPlainObject(objValue);
|
|
1754
|
+
} else if (!isObject2(objValue) || isFunction(objValue)) {
|
|
1755
|
+
newValue = initCloneObject(srcValue);
|
|
1734
1756
|
}
|
|
1735
|
-
|
|
1736
|
-
|
|
1757
|
+
} else {
|
|
1758
|
+
isCommon = false;
|
|
1759
|
+
}
|
|
1737
1760
|
}
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
if (replaceMap.hasOwnProperty(token2)) return false;
|
|
1743
|
-
return sanitizeWord(token2, token2, rules) === token2;
|
|
1744
|
-
};
|
|
1761
|
+
if (isCommon) {
|
|
1762
|
+
stack.set(srcValue, newValue);
|
|
1763
|
+
mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
|
|
1764
|
+
stack["delete"](srcValue);
|
|
1745
1765
|
}
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1766
|
+
assignMergeValue(object, key, newValue);
|
|
1767
|
+
}
|
|
1768
|
+
module2.exports = baseMergeDeep;
|
|
1769
|
+
}
|
|
1770
|
+
});
|
|
1771
|
+
|
|
1772
|
+
// node_modules/lodash/_baseMerge.js
|
|
1773
|
+
var require_baseMerge = __commonJS({
|
|
1774
|
+
"node_modules/lodash/_baseMerge.js"(exports, module2) {
|
|
1775
|
+
var Stack = require_Stack();
|
|
1776
|
+
var assignMergeValue = require_assignMergeValue();
|
|
1777
|
+
var baseFor = require_baseFor();
|
|
1778
|
+
var baseMergeDeep = require_baseMergeDeep();
|
|
1779
|
+
var isObject2 = require_isObject();
|
|
1780
|
+
var keysIn = require_keysIn();
|
|
1781
|
+
var safeGet = require_safeGet();
|
|
1782
|
+
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
1783
|
+
if (object === source) {
|
|
1784
|
+
return;
|
|
1749
1785
|
}
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
pluralize2.singular = replaceWord(
|
|
1761
|
-
irregularPlurals,
|
|
1762
|
-
irregularSingles,
|
|
1763
|
-
singularRules
|
|
1764
|
-
);
|
|
1765
|
-
pluralize2.isSingular = checkWord(
|
|
1766
|
-
irregularPlurals,
|
|
1767
|
-
irregularSingles,
|
|
1768
|
-
singularRules
|
|
1769
|
-
);
|
|
1770
|
-
pluralize2.addPluralRule = function(rule, replacement) {
|
|
1771
|
-
pluralRules.push([sanitizeRule(rule), replacement]);
|
|
1772
|
-
};
|
|
1773
|
-
pluralize2.addSingularRule = function(rule, replacement) {
|
|
1774
|
-
singularRules.push([sanitizeRule(rule), replacement]);
|
|
1775
|
-
};
|
|
1776
|
-
pluralize2.addUncountableRule = function(word) {
|
|
1777
|
-
if (typeof word === "string") {
|
|
1778
|
-
uncountables[word.toLowerCase()] = true;
|
|
1779
|
-
return;
|
|
1786
|
+
baseFor(source, function(srcValue, key) {
|
|
1787
|
+
stack || (stack = new Stack());
|
|
1788
|
+
if (isObject2(srcValue)) {
|
|
1789
|
+
baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
|
|
1790
|
+
} else {
|
|
1791
|
+
var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
|
|
1792
|
+
if (newValue === void 0) {
|
|
1793
|
+
newValue = srcValue;
|
|
1794
|
+
}
|
|
1795
|
+
assignMergeValue(object, key, newValue);
|
|
1780
1796
|
}
|
|
1781
|
-
|
|
1782
|
-
|
|
1797
|
+
}, keysIn);
|
|
1798
|
+
}
|
|
1799
|
+
module2.exports = baseMerge;
|
|
1800
|
+
}
|
|
1801
|
+
});
|
|
1802
|
+
|
|
1803
|
+
// node_modules/lodash/identity.js
|
|
1804
|
+
var require_identity = __commonJS({
|
|
1805
|
+
"node_modules/lodash/identity.js"(exports, module2) {
|
|
1806
|
+
function identity(value) {
|
|
1807
|
+
return value;
|
|
1808
|
+
}
|
|
1809
|
+
module2.exports = identity;
|
|
1810
|
+
}
|
|
1811
|
+
});
|
|
1812
|
+
|
|
1813
|
+
// node_modules/lodash/_apply.js
|
|
1814
|
+
var require_apply = __commonJS({
|
|
1815
|
+
"node_modules/lodash/_apply.js"(exports, module2) {
|
|
1816
|
+
function apply(func, thisArg, args) {
|
|
1817
|
+
switch (args.length) {
|
|
1818
|
+
case 0:
|
|
1819
|
+
return func.call(thisArg);
|
|
1820
|
+
case 1:
|
|
1821
|
+
return func.call(thisArg, args[0]);
|
|
1822
|
+
case 2:
|
|
1823
|
+
return func.call(thisArg, args[0], args[1]);
|
|
1824
|
+
case 3:
|
|
1825
|
+
return func.call(thisArg, args[0], args[1], args[2]);
|
|
1826
|
+
}
|
|
1827
|
+
return func.apply(thisArg, args);
|
|
1828
|
+
}
|
|
1829
|
+
module2.exports = apply;
|
|
1830
|
+
}
|
|
1831
|
+
});
|
|
1832
|
+
|
|
1833
|
+
// node_modules/lodash/_overRest.js
|
|
1834
|
+
var require_overRest = __commonJS({
|
|
1835
|
+
"node_modules/lodash/_overRest.js"(exports, module2) {
|
|
1836
|
+
var apply = require_apply();
|
|
1837
|
+
var nativeMax = Math.max;
|
|
1838
|
+
function overRest(func, start, transform) {
|
|
1839
|
+
start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
|
|
1840
|
+
return function() {
|
|
1841
|
+
var args = arguments, index = -1, length2 = nativeMax(args.length - start, 0), array = Array(length2);
|
|
1842
|
+
while (++index < length2) {
|
|
1843
|
+
array[index] = args[start + index];
|
|
1844
|
+
}
|
|
1845
|
+
index = -1;
|
|
1846
|
+
var otherArgs = Array(start + 1);
|
|
1847
|
+
while (++index < start) {
|
|
1848
|
+
otherArgs[index] = args[index];
|
|
1849
|
+
}
|
|
1850
|
+
otherArgs[start] = transform(array);
|
|
1851
|
+
return apply(func, this, otherArgs);
|
|
1783
1852
|
};
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1853
|
+
}
|
|
1854
|
+
module2.exports = overRest;
|
|
1855
|
+
}
|
|
1856
|
+
});
|
|
1857
|
+
|
|
1858
|
+
// node_modules/lodash/constant.js
|
|
1859
|
+
var require_constant = __commonJS({
|
|
1860
|
+
"node_modules/lodash/constant.js"(exports, module2) {
|
|
1861
|
+
function constant(value) {
|
|
1862
|
+
return function() {
|
|
1863
|
+
return value;
|
|
1789
1864
|
};
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
["that", "those"],
|
|
1808
|
-
// Words ending in with a consonant and `o`.
|
|
1809
|
-
["echo", "echoes"],
|
|
1810
|
-
["dingo", "dingoes"],
|
|
1811
|
-
["volcano", "volcanoes"],
|
|
1812
|
-
["tornado", "tornadoes"],
|
|
1813
|
-
["torpedo", "torpedoes"],
|
|
1814
|
-
// Ends with `us`.
|
|
1815
|
-
["genus", "genera"],
|
|
1816
|
-
["viscus", "viscera"],
|
|
1817
|
-
// Ends with `ma`.
|
|
1818
|
-
["stigma", "stigmata"],
|
|
1819
|
-
["stoma", "stomata"],
|
|
1820
|
-
["dogma", "dogmata"],
|
|
1821
|
-
["lemma", "lemmata"],
|
|
1822
|
-
["schema", "schemata"],
|
|
1823
|
-
["anathema", "anathemata"],
|
|
1824
|
-
// Other irregular rules.
|
|
1825
|
-
["ox", "oxen"],
|
|
1826
|
-
["axe", "axes"],
|
|
1827
|
-
["die", "dice"],
|
|
1828
|
-
["yes", "yeses"],
|
|
1829
|
-
["foot", "feet"],
|
|
1830
|
-
["eave", "eaves"],
|
|
1831
|
-
["goose", "geese"],
|
|
1832
|
-
["tooth", "teeth"],
|
|
1833
|
-
["quiz", "quizzes"],
|
|
1834
|
-
["human", "humans"],
|
|
1835
|
-
["proof", "proofs"],
|
|
1836
|
-
["carve", "carves"],
|
|
1837
|
-
["valve", "valves"],
|
|
1838
|
-
["looey", "looies"],
|
|
1839
|
-
["thief", "thieves"],
|
|
1840
|
-
["groove", "grooves"],
|
|
1841
|
-
["pickaxe", "pickaxes"],
|
|
1842
|
-
["passerby", "passersby"]
|
|
1843
|
-
].forEach(function(rule) {
|
|
1844
|
-
return pluralize2.addIrregularRule(rule[0], rule[1]);
|
|
1845
|
-
});
|
|
1846
|
-
[
|
|
1847
|
-
[/s?$/i, "s"],
|
|
1848
|
-
[/[^\u0000-\u007F]$/i, "$0"],
|
|
1849
|
-
[/([^aeiou]ese)$/i, "$1"],
|
|
1850
|
-
[/(ax|test)is$/i, "$1es"],
|
|
1851
|
-
[/(alias|[^aou]us|t[lm]as|gas|ris)$/i, "$1es"],
|
|
1852
|
-
[/(e[mn]u)s?$/i, "$1s"],
|
|
1853
|
-
[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i, "$1"],
|
|
1854
|
-
[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1i"],
|
|
1855
|
-
[/(alumn|alg|vertebr)(?:a|ae)$/i, "$1ae"],
|
|
1856
|
-
[/(seraph|cherub)(?:im)?$/i, "$1im"],
|
|
1857
|
-
[/(her|at|gr)o$/i, "$1oes"],
|
|
1858
|
-
[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i, "$1a"],
|
|
1859
|
-
[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, "$1a"],
|
|
1860
|
-
[/sis$/i, "ses"],
|
|
1861
|
-
[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i, "$1$2ves"],
|
|
1862
|
-
[/([^aeiouy]|qu)y$/i, "$1ies"],
|
|
1863
|
-
[/([^ch][ieo][ln])ey$/i, "$1ies"],
|
|
1864
|
-
[/(x|ch|ss|sh|zz)$/i, "$1es"],
|
|
1865
|
-
[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i, "$1ices"],
|
|
1866
|
-
[/\b((?:tit)?m|l)(?:ice|ouse)$/i, "$1ice"],
|
|
1867
|
-
[/(pe)(?:rson|ople)$/i, "$1ople"],
|
|
1868
|
-
[/(child)(?:ren)?$/i, "$1ren"],
|
|
1869
|
-
[/eaux$/i, "$0"],
|
|
1870
|
-
[/m[ae]n$/i, "men"],
|
|
1871
|
-
["thou", "you"]
|
|
1872
|
-
].forEach(function(rule) {
|
|
1873
|
-
return pluralize2.addPluralRule(rule[0], rule[1]);
|
|
1874
|
-
});
|
|
1875
|
-
[
|
|
1876
|
-
[/s$/i, ""],
|
|
1877
|
-
[/(ss)$/i, "$1"],
|
|
1878
|
-
[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i, "$1fe"],
|
|
1879
|
-
[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, "$1f"],
|
|
1880
|
-
[/ies$/i, "y"],
|
|
1881
|
-
[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, "$1ie"],
|
|
1882
|
-
[/\b(mon|smil)ies$/i, "$1ey"],
|
|
1883
|
-
[/\b((?:tit)?m|l)ice$/i, "$1ouse"],
|
|
1884
|
-
[/(seraph|cherub)im$/i, "$1"],
|
|
1885
|
-
[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i, "$1"],
|
|
1886
|
-
[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i, "$1sis"],
|
|
1887
|
-
[/(movie|twelve|abuse|e[mn]u)s$/i, "$1"],
|
|
1888
|
-
[/(test)(?:is|es)$/i, "$1is"],
|
|
1889
|
-
[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1us"],
|
|
1890
|
-
[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i, "$1um"],
|
|
1891
|
-
[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i, "$1on"],
|
|
1892
|
-
[/(alumn|alg|vertebr)ae$/i, "$1a"],
|
|
1893
|
-
[/(cod|mur|sil|vert|ind)ices$/i, "$1ex"],
|
|
1894
|
-
[/(matr|append)ices$/i, "$1ix"],
|
|
1895
|
-
[/(pe)(rson|ople)$/i, "$1rson"],
|
|
1896
|
-
[/(child)ren$/i, "$1"],
|
|
1897
|
-
[/(eau)x?$/i, "$1"],
|
|
1898
|
-
[/men$/i, "man"]
|
|
1899
|
-
].forEach(function(rule) {
|
|
1900
|
-
return pluralize2.addSingularRule(rule[0], rule[1]);
|
|
1865
|
+
}
|
|
1866
|
+
module2.exports = constant;
|
|
1867
|
+
}
|
|
1868
|
+
});
|
|
1869
|
+
|
|
1870
|
+
// node_modules/lodash/_baseSetToString.js
|
|
1871
|
+
var require_baseSetToString = __commonJS({
|
|
1872
|
+
"node_modules/lodash/_baseSetToString.js"(exports, module2) {
|
|
1873
|
+
var constant = require_constant();
|
|
1874
|
+
var defineProperty = require_defineProperty();
|
|
1875
|
+
var identity = require_identity();
|
|
1876
|
+
var baseSetToString = !defineProperty ? identity : function(func, string) {
|
|
1877
|
+
return defineProperty(func, "toString", {
|
|
1878
|
+
"configurable": true,
|
|
1879
|
+
"enumerable": false,
|
|
1880
|
+
"value": constant(string),
|
|
1881
|
+
"writable": true
|
|
1901
1882
|
});
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
"
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
// "chickpox", "smallpox"
|
|
2011
|
-
/sheep$/i
|
|
2012
|
-
].forEach(pluralize2.addUncountableRule);
|
|
2013
|
-
return pluralize2;
|
|
1883
|
+
};
|
|
1884
|
+
module2.exports = baseSetToString;
|
|
1885
|
+
}
|
|
1886
|
+
});
|
|
1887
|
+
|
|
1888
|
+
// node_modules/lodash/_shortOut.js
|
|
1889
|
+
var require_shortOut = __commonJS({
|
|
1890
|
+
"node_modules/lodash/_shortOut.js"(exports, module2) {
|
|
1891
|
+
var HOT_COUNT = 800;
|
|
1892
|
+
var HOT_SPAN = 16;
|
|
1893
|
+
var nativeNow = Date.now;
|
|
1894
|
+
function shortOut(func) {
|
|
1895
|
+
var count = 0, lastCalled = 0;
|
|
1896
|
+
return function() {
|
|
1897
|
+
var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
|
|
1898
|
+
lastCalled = stamp;
|
|
1899
|
+
if (remaining > 0) {
|
|
1900
|
+
if (++count >= HOT_COUNT) {
|
|
1901
|
+
return arguments[0];
|
|
1902
|
+
}
|
|
1903
|
+
} else {
|
|
1904
|
+
count = 0;
|
|
1905
|
+
}
|
|
1906
|
+
return func.apply(void 0, arguments);
|
|
1907
|
+
};
|
|
1908
|
+
}
|
|
1909
|
+
module2.exports = shortOut;
|
|
1910
|
+
}
|
|
1911
|
+
});
|
|
1912
|
+
|
|
1913
|
+
// node_modules/lodash/_setToString.js
|
|
1914
|
+
var require_setToString = __commonJS({
|
|
1915
|
+
"node_modules/lodash/_setToString.js"(exports, module2) {
|
|
1916
|
+
var baseSetToString = require_baseSetToString();
|
|
1917
|
+
var shortOut = require_shortOut();
|
|
1918
|
+
var setToString = shortOut(baseSetToString);
|
|
1919
|
+
module2.exports = setToString;
|
|
1920
|
+
}
|
|
1921
|
+
});
|
|
1922
|
+
|
|
1923
|
+
// node_modules/lodash/_baseRest.js
|
|
1924
|
+
var require_baseRest = __commonJS({
|
|
1925
|
+
"node_modules/lodash/_baseRest.js"(exports, module2) {
|
|
1926
|
+
var identity = require_identity();
|
|
1927
|
+
var overRest = require_overRest();
|
|
1928
|
+
var setToString = require_setToString();
|
|
1929
|
+
function baseRest(func, start) {
|
|
1930
|
+
return setToString(overRest(func, start, identity), func + "");
|
|
1931
|
+
}
|
|
1932
|
+
module2.exports = baseRest;
|
|
1933
|
+
}
|
|
1934
|
+
});
|
|
1935
|
+
|
|
1936
|
+
// node_modules/lodash/_isIterateeCall.js
|
|
1937
|
+
var require_isIterateeCall = __commonJS({
|
|
1938
|
+
"node_modules/lodash/_isIterateeCall.js"(exports, module2) {
|
|
1939
|
+
var eq = require_eq();
|
|
1940
|
+
var isArrayLike = require_isArrayLike();
|
|
1941
|
+
var isIndex = require_isIndex();
|
|
1942
|
+
var isObject2 = require_isObject();
|
|
1943
|
+
function isIterateeCall(value, index, object) {
|
|
1944
|
+
if (!isObject2(object)) {
|
|
1945
|
+
return false;
|
|
1946
|
+
}
|
|
1947
|
+
var type = typeof index;
|
|
1948
|
+
if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) {
|
|
1949
|
+
return eq(object[index], value);
|
|
1950
|
+
}
|
|
1951
|
+
return false;
|
|
1952
|
+
}
|
|
1953
|
+
module2.exports = isIterateeCall;
|
|
1954
|
+
}
|
|
1955
|
+
});
|
|
1956
|
+
|
|
1957
|
+
// node_modules/lodash/_createAssigner.js
|
|
1958
|
+
var require_createAssigner = __commonJS({
|
|
1959
|
+
"node_modules/lodash/_createAssigner.js"(exports, module2) {
|
|
1960
|
+
var baseRest = require_baseRest();
|
|
1961
|
+
var isIterateeCall = require_isIterateeCall();
|
|
1962
|
+
function createAssigner(assigner) {
|
|
1963
|
+
return baseRest(function(object, sources) {
|
|
1964
|
+
var index = -1, length2 = sources.length, customizer = length2 > 1 ? sources[length2 - 1] : void 0, guard = length2 > 2 ? sources[2] : void 0;
|
|
1965
|
+
customizer = assigner.length > 3 && typeof customizer == "function" ? (length2--, customizer) : void 0;
|
|
1966
|
+
if (guard && isIterateeCall(sources[0], sources[1], guard)) {
|
|
1967
|
+
customizer = length2 < 3 ? void 0 : customizer;
|
|
1968
|
+
length2 = 1;
|
|
1969
|
+
}
|
|
1970
|
+
object = Object(object);
|
|
1971
|
+
while (++index < length2) {
|
|
1972
|
+
var source = sources[index];
|
|
1973
|
+
if (source) {
|
|
1974
|
+
assigner(object, source, index, customizer);
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
return object;
|
|
1978
|
+
});
|
|
1979
|
+
}
|
|
1980
|
+
module2.exports = createAssigner;
|
|
1981
|
+
}
|
|
1982
|
+
});
|
|
1983
|
+
|
|
1984
|
+
// node_modules/lodash/merge.js
|
|
1985
|
+
var require_merge = __commonJS({
|
|
1986
|
+
"node_modules/lodash/merge.js"(exports, module2) {
|
|
1987
|
+
var baseMerge = require_baseMerge();
|
|
1988
|
+
var createAssigner = require_createAssigner();
|
|
1989
|
+
var merge2 = createAssigner(function(object, source, srcIndex) {
|
|
1990
|
+
baseMerge(object, source, srcIndex);
|
|
2014
1991
|
});
|
|
1992
|
+
module2.exports = merge2;
|
|
1993
|
+
}
|
|
1994
|
+
});
|
|
1995
|
+
|
|
1996
|
+
// node_modules/void-elements/index.js
|
|
1997
|
+
var require_void_elements = __commonJS({
|
|
1998
|
+
"node_modules/void-elements/index.js"(exports, module2) {
|
|
1999
|
+
module2.exports = {
|
|
2000
|
+
"area": true,
|
|
2001
|
+
"base": true,
|
|
2002
|
+
"br": true,
|
|
2003
|
+
"col": true,
|
|
2004
|
+
"embed": true,
|
|
2005
|
+
"hr": true,
|
|
2006
|
+
"img": true,
|
|
2007
|
+
"input": true,
|
|
2008
|
+
"link": true,
|
|
2009
|
+
"meta": true,
|
|
2010
|
+
"param": true,
|
|
2011
|
+
"source": true,
|
|
2012
|
+
"track": true,
|
|
2013
|
+
"wbr": true
|
|
2014
|
+
};
|
|
2015
2015
|
}
|
|
2016
2016
|
});
|
|
2017
2017
|
|
|
@@ -3674,16 +3674,249 @@ var vt = function() {
|
|
|
3674
3674
|
var St = "__sc-".concat(f, "__");
|
|
3675
3675
|
"undefined" != typeof window && (window[St] || (window[St] = 0), 1 === window[St] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window[St] += 1);
|
|
3676
3676
|
|
|
3677
|
-
// src/const/index.ts
|
|
3678
|
-
var TEXT_BASE_SIZE = 16;
|
|
3679
|
-
var VISIBLE_ENTITLEMENT_COUNT = 4;
|
|
3680
|
-
var MAX_VISIBLE_INVOICE_COUNT = 12;
|
|
3681
|
-
var DEBOUNCE_TIMEOUT = 250;
|
|
3682
|
-
var DEFAULT_CURRENCY = "USD";
|
|
3683
|
-
var MAXIMUM_SIGNIFICANT_DIGITS = 6;
|
|
3677
|
+
// src/const/index.ts
|
|
3678
|
+
var TEXT_BASE_SIZE = 16;
|
|
3679
|
+
var VISIBLE_ENTITLEMENT_COUNT = 4;
|
|
3680
|
+
var MAX_VISIBLE_INVOICE_COUNT = 12;
|
|
3681
|
+
var DEBOUNCE_TIMEOUT = 250;
|
|
3682
|
+
var DEFAULT_CURRENCY = "USD";
|
|
3683
|
+
var MAXIMUM_SIGNIFICANT_DIGITS = 6;
|
|
3684
|
+
|
|
3685
|
+
// src/hooks/useAvailablePlans.ts
|
|
3686
|
+
var import_react2 = require("react");
|
|
3687
|
+
|
|
3688
|
+
// src/utils/api.ts
|
|
3689
|
+
var import_pluralize = __toESM(require_pluralize());
|
|
3690
|
+
var getFeatureName = (feature, count = 0) => {
|
|
3691
|
+
const shouldBePlural = count === 0 || count > 1;
|
|
3692
|
+
const { name, singularName, pluralName } = feature;
|
|
3693
|
+
if (pluralName && shouldBePlural) {
|
|
3694
|
+
return pluralName;
|
|
3695
|
+
}
|
|
3696
|
+
if (singularName) {
|
|
3697
|
+
return shouldBePlural ? (0, import_pluralize.default)(singularName, count) : singularName;
|
|
3698
|
+
}
|
|
3699
|
+
return (0, import_pluralize.default)(name, count);
|
|
3700
|
+
};
|
|
3701
|
+
function getBillingPrice(billingPrice) {
|
|
3702
|
+
if (!billingPrice) {
|
|
3703
|
+
return;
|
|
3704
|
+
}
|
|
3705
|
+
const price = typeof billingPrice.priceDecimal === "string" ? Number(billingPrice.priceDecimal) : billingPrice.price;
|
|
3706
|
+
return { ...billingPrice, price };
|
|
3707
|
+
}
|
|
3708
|
+
var getAddOnPrice = (addOn, period) => {
|
|
3709
|
+
if (addOn.chargeType === ChargeType.oneTime) {
|
|
3710
|
+
return addOn.oneTimePrice;
|
|
3711
|
+
}
|
|
3712
|
+
if (period === "year") {
|
|
3713
|
+
return addOn.yearlyPrice;
|
|
3714
|
+
}
|
|
3715
|
+
return addOn.monthlyPrice;
|
|
3716
|
+
};
|
|
3717
|
+
var ChargeType = {
|
|
3718
|
+
oneTime: "one_time",
|
|
3719
|
+
recurring: "recurring",
|
|
3720
|
+
free: "free"
|
|
3721
|
+
};
|
|
3722
|
+
|
|
3723
|
+
// src/utils/color.ts
|
|
3724
|
+
function hexToHSL(color) {
|
|
3725
|
+
let r2 = 0;
|
|
3726
|
+
let g2 = 0;
|
|
3727
|
+
let b2 = 0;
|
|
3728
|
+
if (color.length == 4) {
|
|
3729
|
+
r2 = parseInt("0x" + color[1] + color[1]);
|
|
3730
|
+
g2 = parseInt("0x" + color[2] + color[2]);
|
|
3731
|
+
b2 = parseInt("0x" + color[3] + color[3]);
|
|
3732
|
+
} else if (color.length == 7) {
|
|
3733
|
+
r2 = parseInt("0x" + color[1] + color[2]);
|
|
3734
|
+
g2 = parseInt("0x" + color[3] + color[4]);
|
|
3735
|
+
b2 = parseInt("0x" + color[5] + color[6]);
|
|
3736
|
+
}
|
|
3737
|
+
r2 /= 255;
|
|
3738
|
+
g2 /= 255;
|
|
3739
|
+
b2 /= 255;
|
|
3740
|
+
const cmin = Math.min(r2, g2, b2);
|
|
3741
|
+
const cmax = Math.max(r2, g2, b2);
|
|
3742
|
+
const delta = cmax - cmin;
|
|
3743
|
+
let h = 0;
|
|
3744
|
+
let s2 = 0;
|
|
3745
|
+
let l2 = 0;
|
|
3746
|
+
if (delta == 0) h = 0;
|
|
3747
|
+
else if (cmax == r2) h = (g2 - b2) / delta % 6;
|
|
3748
|
+
else if (cmax == g2) h = (b2 - r2) / delta + 2;
|
|
3749
|
+
else h = (r2 - g2) / delta + 4;
|
|
3750
|
+
h = Math.round(h * 60);
|
|
3751
|
+
if (h < 0) h += 360;
|
|
3752
|
+
l2 = (cmax + cmin) / 2;
|
|
3753
|
+
s2 = delta == 0 ? 0 : delta / (1 - Math.abs(2 * l2 - 1));
|
|
3754
|
+
s2 = +(s2 * 100).toFixed(1);
|
|
3755
|
+
l2 = +(l2 * 100).toFixed(1);
|
|
3756
|
+
return { h, s: s2, l: l2 };
|
|
3757
|
+
}
|
|
3758
|
+
function hslToHex({ h, s: s2, l: l2 }) {
|
|
3759
|
+
s2 /= 100;
|
|
3760
|
+
l2 /= 100;
|
|
3761
|
+
const c2 = (1 - Math.abs(2 * l2 - 1)) * s2;
|
|
3762
|
+
const x2 = c2 * (1 - Math.abs(h / 60 % 2 - 1));
|
|
3763
|
+
const m2 = l2 - c2 / 2;
|
|
3764
|
+
let r2 = 0;
|
|
3765
|
+
let g2 = 0;
|
|
3766
|
+
let b2 = 0;
|
|
3767
|
+
if (0 <= h && h < 60) {
|
|
3768
|
+
r2 = c2;
|
|
3769
|
+
g2 = x2;
|
|
3770
|
+
b2 = 0;
|
|
3771
|
+
} else if (60 <= h && h < 120) {
|
|
3772
|
+
r2 = x2;
|
|
3773
|
+
g2 = c2;
|
|
3774
|
+
b2 = 0;
|
|
3775
|
+
} else if (120 <= h && h < 180) {
|
|
3776
|
+
r2 = 0;
|
|
3777
|
+
g2 = c2;
|
|
3778
|
+
b2 = x2;
|
|
3779
|
+
} else if (180 <= h && h < 240) {
|
|
3780
|
+
r2 = 0;
|
|
3781
|
+
g2 = x2;
|
|
3782
|
+
b2 = c2;
|
|
3783
|
+
} else if (240 <= h && h < 300) {
|
|
3784
|
+
r2 = x2;
|
|
3785
|
+
g2 = 0;
|
|
3786
|
+
b2 = c2;
|
|
3787
|
+
} else if (300 <= h && h < 360) {
|
|
3788
|
+
r2 = c2;
|
|
3789
|
+
g2 = 0;
|
|
3790
|
+
b2 = x2;
|
|
3791
|
+
}
|
|
3792
|
+
let rs = Math.round((r2 + m2) * 255).toString(16);
|
|
3793
|
+
let gs = Math.round((g2 + m2) * 255).toString(16);
|
|
3794
|
+
let bs = Math.round((b2 + m2) * 255).toString(16);
|
|
3795
|
+
if (rs.length == 1) rs = "0" + rs;
|
|
3796
|
+
if (gs.length == 1) gs = "0" + gs;
|
|
3797
|
+
if (bs.length == 1) bs = "0" + bs;
|
|
3798
|
+
return "#" + rs + gs + bs;
|
|
3799
|
+
}
|
|
3800
|
+
function adjustLightness(color, amount) {
|
|
3801
|
+
const { h, s: s2, l: l2 } = hexToHSL(color);
|
|
3802
|
+
return hslToHex({ h, s: s2, l: Math.max(Math.min(l2 + amount * 100, 100), 0) });
|
|
3803
|
+
}
|
|
3804
|
+
function lighten(color, amount) {
|
|
3805
|
+
return adjustLightness(color, amount);
|
|
3806
|
+
}
|
|
3807
|
+
function darken(color, amount) {
|
|
3808
|
+
return adjustLightness(color, -amount);
|
|
3809
|
+
}
|
|
3810
|
+
function hsla(color, amount) {
|
|
3811
|
+
const { h, s: s2, l: l2 } = hexToHSL(color);
|
|
3812
|
+
return `hsla(${h}, ${s2}%, ${l2}%, ${amount})`;
|
|
3813
|
+
}
|
|
3814
|
+
|
|
3815
|
+
// src/utils/date.ts
|
|
3816
|
+
function toPrettyDate(date, format) {
|
|
3817
|
+
return new Intl.DateTimeFormat("en-US", {
|
|
3818
|
+
month: "long",
|
|
3819
|
+
day: "numeric",
|
|
3820
|
+
year: "numeric",
|
|
3821
|
+
...format
|
|
3822
|
+
}).format(new Date(date));
|
|
3823
|
+
}
|
|
3824
|
+
function getMonthName(date, format) {
|
|
3825
|
+
return new Intl.DateTimeFormat("en-US", {
|
|
3826
|
+
month: "long",
|
|
3827
|
+
...format
|
|
3828
|
+
}).format(new Date(date));
|
|
3829
|
+
}
|
|
3830
|
+
function shortenPeriod(period) {
|
|
3831
|
+
switch (period) {
|
|
3832
|
+
case "month":
|
|
3833
|
+
return "mo";
|
|
3834
|
+
case "year":
|
|
3835
|
+
return "yr";
|
|
3836
|
+
}
|
|
3837
|
+
}
|
|
3838
|
+
|
|
3839
|
+
// src/utils/string.ts
|
|
3840
|
+
function camelToHyphen(str) {
|
|
3841
|
+
return str.replace(/([a-z][A-Z])/g, (g2) => `${g2[0]}-${g2[1].toLowerCase()}`);
|
|
3842
|
+
}
|
|
3843
|
+
function formatNumber(num) {
|
|
3844
|
+
return new Intl.NumberFormat("en-US").format(num);
|
|
3845
|
+
}
|
|
3846
|
+
function formatCurrency(amount, currency) {
|
|
3847
|
+
const resolvedCurrency = (currency || DEFAULT_CURRENCY).toUpperCase();
|
|
3848
|
+
try {
|
|
3849
|
+
const dollars = amount / 100;
|
|
3850
|
+
const formatValue = (value, symbol) => {
|
|
3851
|
+
let formatted = value.toFixed(1);
|
|
3852
|
+
if (formatted.endsWith(".0")) {
|
|
3853
|
+
formatted = formatted.slice(0, -2);
|
|
3854
|
+
}
|
|
3855
|
+
if (resolvedCurrency !== DEFAULT_CURRENCY) {
|
|
3856
|
+
return `${resolvedCurrency}${formatted}${symbol}`;
|
|
3857
|
+
}
|
|
3858
|
+
return `$${formatted}${symbol}`;
|
|
3859
|
+
};
|
|
3860
|
+
if (dollars >= 1e6) {
|
|
3861
|
+
return formatValue(dollars / 1e6, "M");
|
|
3862
|
+
}
|
|
3863
|
+
if (dollars >= 1e3) {
|
|
3864
|
+
return formatValue(dollars / 1e3, "k");
|
|
3865
|
+
}
|
|
3866
|
+
const hasManySignificantDigits = /[1-9]/.test(
|
|
3867
|
+
(amount % 1).toFixed(MAXIMUM_SIGNIFICANT_DIGITS)
|
|
3868
|
+
);
|
|
3869
|
+
return new Intl.NumberFormat("en-US", {
|
|
3870
|
+
style: "currency",
|
|
3871
|
+
currency: resolvedCurrency,
|
|
3872
|
+
...hasManySignificantDigits && {
|
|
3873
|
+
minimumSignificantDigits: 1,
|
|
3874
|
+
maximumSignificantDigits: 12
|
|
3875
|
+
}
|
|
3876
|
+
}).format(dollars);
|
|
3877
|
+
} catch (error) {
|
|
3878
|
+
console.error("Error formatting currency", error);
|
|
3879
|
+
return new Intl.NumberFormat("en-US", {
|
|
3880
|
+
style: "currency",
|
|
3881
|
+
maximumSignificantDigits: 12,
|
|
3882
|
+
currency: resolvedCurrency
|
|
3883
|
+
}).format(amount / 100);
|
|
3884
|
+
}
|
|
3885
|
+
}
|
|
3886
|
+
function formatOrdinal(n) {
|
|
3887
|
+
const enOrdinalRules = new Intl.PluralRules("en-US", { type: "ordinal" });
|
|
3888
|
+
const suffixes = /* @__PURE__ */ new Map([
|
|
3889
|
+
["one", "st"],
|
|
3890
|
+
["two", "nd"],
|
|
3891
|
+
["few", "rd"],
|
|
3892
|
+
["other", "th"]
|
|
3893
|
+
]);
|
|
3894
|
+
const rule = enOrdinalRules.select(n);
|
|
3895
|
+
const suffix = suffixes.get(rule);
|
|
3896
|
+
return `${n}${suffix}`;
|
|
3897
|
+
}
|
|
3898
|
+
function adjectify(str) {
|
|
3899
|
+
return `${str}ly`;
|
|
3900
|
+
}
|
|
3901
|
+
|
|
3902
|
+
// src/utils/style.ts
|
|
3903
|
+
function attr(key, value) {
|
|
3904
|
+
return typeof value !== "undefined" && lt`
|
|
3905
|
+
${key}: ${value};
|
|
3906
|
+
`;
|
|
3907
|
+
}
|
|
3908
|
+
attr.px = function propAsPx(key, value) {
|
|
3909
|
+
return typeof value !== "undefined" && lt`
|
|
3910
|
+
${key}: ${typeof value === "number" ? `${value}px` : value};
|
|
3911
|
+
`;
|
|
3912
|
+
};
|
|
3913
|
+
attr.rem = function propAsRem(key, value) {
|
|
3914
|
+
return typeof value !== "undefined" && lt`
|
|
3915
|
+
${key}: ${typeof value === "number" ? `${value / TEXT_BASE_SIZE}rem` : value};
|
|
3916
|
+
`;
|
|
3917
|
+
};
|
|
3684
3918
|
|
|
3685
3919
|
// src/hooks/useAvailablePlans.ts
|
|
3686
|
-
var import_react2 = require("react");
|
|
3687
3920
|
function useAvailablePlans(activePeriod) {
|
|
3688
3921
|
const { data, mode } = useEmbed();
|
|
3689
3922
|
const getAvailablePeriods = (0, import_react2.useCallback)(() => {
|
|
@@ -3700,7 +3933,7 @@ function useAvailablePlans(activePeriod) {
|
|
|
3700
3933
|
(plans) => {
|
|
3701
3934
|
const customPlanExist = plans.some((plan) => plan.custom);
|
|
3702
3935
|
const plansWithSelected = mode === "edit" ? plans.slice() : plans.filter(
|
|
3703
|
-
(plan) => activePeriod === "month" && plan.monthlyPrice || activePeriod === "year" && plan.yearlyPrice
|
|
3936
|
+
(plan) => activePeriod === "month" && plan.monthlyPrice || activePeriod === "year" && plan.yearlyPrice || plan.chargeType === ChargeType.oneTime
|
|
3704
3937
|
);
|
|
3705
3938
|
if (!customPlanExist) {
|
|
3706
3939
|
plansWithSelected.sort((a2, b2) => {
|
|
@@ -12388,6 +12621,8 @@ var en_default = {
|
|
|
12388
12621
|
"No limit": "No limit",
|
|
12389
12622
|
"No payment method selected": "No payment method selected",
|
|
12390
12623
|
"Not ready to cancel?": "Not ready to cancel?",
|
|
12624
|
+
"One time ": "One time",
|
|
12625
|
+
"one time ": "one time",
|
|
12391
12626
|
"Optionally add features to your subscription": "Optionally add features to your subscription",
|
|
12392
12627
|
"Other existing payment method": "Other existing payment method",
|
|
12393
12628
|
Overage: "Overage",
|
|
@@ -13113,7 +13348,7 @@ var EmbedProvider = ({
|
|
|
13113
13348
|
(0, import_react11.useEffect)(() => {
|
|
13114
13349
|
if (accessToken) {
|
|
13115
13350
|
const { headers = {} } = apiConfig ?? {};
|
|
13116
|
-
headers["X-Schematic-Components-Version"] = "0.7.
|
|
13351
|
+
headers["X-Schematic-Components-Version"] = "0.7.10";
|
|
13117
13352
|
headers["X-Schematic-Session-ID"] = sessionIdRef.current;
|
|
13118
13353
|
const config = new Configuration({
|
|
13119
13354
|
...apiConfig,
|
|
@@ -13175,225 +13410,6 @@ var useEmbed = () => (0, import_react12.useContext)(EmbedContext);
|
|
|
13175
13410
|
|
|
13176
13411
|
// src/hooks/useIsLightBackground.ts
|
|
13177
13412
|
var import_react13 = require("react");
|
|
13178
|
-
|
|
13179
|
-
// src/utils/api.ts
|
|
13180
|
-
var import_pluralize = __toESM(require_pluralize());
|
|
13181
|
-
var getFeatureName = (feature, count = 0) => {
|
|
13182
|
-
const shouldBePlural = count === 0 || count > 1;
|
|
13183
|
-
const { name, singularName, pluralName } = feature;
|
|
13184
|
-
if (pluralName && shouldBePlural) {
|
|
13185
|
-
return pluralName;
|
|
13186
|
-
}
|
|
13187
|
-
if (singularName) {
|
|
13188
|
-
return shouldBePlural ? (0, import_pluralize.default)(singularName, count) : singularName;
|
|
13189
|
-
}
|
|
13190
|
-
return (0, import_pluralize.default)(name, count);
|
|
13191
|
-
};
|
|
13192
|
-
function getBillingPrice(billingPrice) {
|
|
13193
|
-
if (!billingPrice) {
|
|
13194
|
-
return;
|
|
13195
|
-
}
|
|
13196
|
-
const price = typeof billingPrice.priceDecimal === "string" ? Number(billingPrice.priceDecimal) : billingPrice.price;
|
|
13197
|
-
return { ...billingPrice, price };
|
|
13198
|
-
}
|
|
13199
|
-
|
|
13200
|
-
// src/utils/color.ts
|
|
13201
|
-
function hexToHSL(color) {
|
|
13202
|
-
let r2 = 0;
|
|
13203
|
-
let g2 = 0;
|
|
13204
|
-
let b2 = 0;
|
|
13205
|
-
if (color.length == 4) {
|
|
13206
|
-
r2 = parseInt("0x" + color[1] + color[1]);
|
|
13207
|
-
g2 = parseInt("0x" + color[2] + color[2]);
|
|
13208
|
-
b2 = parseInt("0x" + color[3] + color[3]);
|
|
13209
|
-
} else if (color.length == 7) {
|
|
13210
|
-
r2 = parseInt("0x" + color[1] + color[2]);
|
|
13211
|
-
g2 = parseInt("0x" + color[3] + color[4]);
|
|
13212
|
-
b2 = parseInt("0x" + color[5] + color[6]);
|
|
13213
|
-
}
|
|
13214
|
-
r2 /= 255;
|
|
13215
|
-
g2 /= 255;
|
|
13216
|
-
b2 /= 255;
|
|
13217
|
-
const cmin = Math.min(r2, g2, b2);
|
|
13218
|
-
const cmax = Math.max(r2, g2, b2);
|
|
13219
|
-
const delta = cmax - cmin;
|
|
13220
|
-
let h = 0;
|
|
13221
|
-
let s2 = 0;
|
|
13222
|
-
let l2 = 0;
|
|
13223
|
-
if (delta == 0) h = 0;
|
|
13224
|
-
else if (cmax == r2) h = (g2 - b2) / delta % 6;
|
|
13225
|
-
else if (cmax == g2) h = (b2 - r2) / delta + 2;
|
|
13226
|
-
else h = (r2 - g2) / delta + 4;
|
|
13227
|
-
h = Math.round(h * 60);
|
|
13228
|
-
if (h < 0) h += 360;
|
|
13229
|
-
l2 = (cmax + cmin) / 2;
|
|
13230
|
-
s2 = delta == 0 ? 0 : delta / (1 - Math.abs(2 * l2 - 1));
|
|
13231
|
-
s2 = +(s2 * 100).toFixed(1);
|
|
13232
|
-
l2 = +(l2 * 100).toFixed(1);
|
|
13233
|
-
return { h, s: s2, l: l2 };
|
|
13234
|
-
}
|
|
13235
|
-
function hslToHex({ h, s: s2, l: l2 }) {
|
|
13236
|
-
s2 /= 100;
|
|
13237
|
-
l2 /= 100;
|
|
13238
|
-
const c2 = (1 - Math.abs(2 * l2 - 1)) * s2;
|
|
13239
|
-
const x2 = c2 * (1 - Math.abs(h / 60 % 2 - 1));
|
|
13240
|
-
const m2 = l2 - c2 / 2;
|
|
13241
|
-
let r2 = 0;
|
|
13242
|
-
let g2 = 0;
|
|
13243
|
-
let b2 = 0;
|
|
13244
|
-
if (0 <= h && h < 60) {
|
|
13245
|
-
r2 = c2;
|
|
13246
|
-
g2 = x2;
|
|
13247
|
-
b2 = 0;
|
|
13248
|
-
} else if (60 <= h && h < 120) {
|
|
13249
|
-
r2 = x2;
|
|
13250
|
-
g2 = c2;
|
|
13251
|
-
b2 = 0;
|
|
13252
|
-
} else if (120 <= h && h < 180) {
|
|
13253
|
-
r2 = 0;
|
|
13254
|
-
g2 = c2;
|
|
13255
|
-
b2 = x2;
|
|
13256
|
-
} else if (180 <= h && h < 240) {
|
|
13257
|
-
r2 = 0;
|
|
13258
|
-
g2 = x2;
|
|
13259
|
-
b2 = c2;
|
|
13260
|
-
} else if (240 <= h && h < 300) {
|
|
13261
|
-
r2 = x2;
|
|
13262
|
-
g2 = 0;
|
|
13263
|
-
b2 = c2;
|
|
13264
|
-
} else if (300 <= h && h < 360) {
|
|
13265
|
-
r2 = c2;
|
|
13266
|
-
g2 = 0;
|
|
13267
|
-
b2 = x2;
|
|
13268
|
-
}
|
|
13269
|
-
let rs = Math.round((r2 + m2) * 255).toString(16);
|
|
13270
|
-
let gs = Math.round((g2 + m2) * 255).toString(16);
|
|
13271
|
-
let bs = Math.round((b2 + m2) * 255).toString(16);
|
|
13272
|
-
if (rs.length == 1) rs = "0" + rs;
|
|
13273
|
-
if (gs.length == 1) gs = "0" + gs;
|
|
13274
|
-
if (bs.length == 1) bs = "0" + bs;
|
|
13275
|
-
return "#" + rs + gs + bs;
|
|
13276
|
-
}
|
|
13277
|
-
function adjustLightness(color, amount) {
|
|
13278
|
-
const { h, s: s2, l: l2 } = hexToHSL(color);
|
|
13279
|
-
return hslToHex({ h, s: s2, l: Math.max(Math.min(l2 + amount * 100, 100), 0) });
|
|
13280
|
-
}
|
|
13281
|
-
function lighten(color, amount) {
|
|
13282
|
-
return adjustLightness(color, amount);
|
|
13283
|
-
}
|
|
13284
|
-
function darken(color, amount) {
|
|
13285
|
-
return adjustLightness(color, -amount);
|
|
13286
|
-
}
|
|
13287
|
-
function hsla(color, amount) {
|
|
13288
|
-
const { h, s: s2, l: l2 } = hexToHSL(color);
|
|
13289
|
-
return `hsla(${h}, ${s2}%, ${l2}%, ${amount})`;
|
|
13290
|
-
}
|
|
13291
|
-
|
|
13292
|
-
// src/utils/date.ts
|
|
13293
|
-
function toPrettyDate(date, format) {
|
|
13294
|
-
return new Intl.DateTimeFormat("en-US", {
|
|
13295
|
-
month: "long",
|
|
13296
|
-
day: "numeric",
|
|
13297
|
-
year: "numeric",
|
|
13298
|
-
...format
|
|
13299
|
-
}).format(new Date(date));
|
|
13300
|
-
}
|
|
13301
|
-
function getMonthName(date, format) {
|
|
13302
|
-
return new Intl.DateTimeFormat("en-US", {
|
|
13303
|
-
month: "long",
|
|
13304
|
-
...format
|
|
13305
|
-
}).format(new Date(date));
|
|
13306
|
-
}
|
|
13307
|
-
function shortenPeriod(period) {
|
|
13308
|
-
switch (period) {
|
|
13309
|
-
case "month":
|
|
13310
|
-
return "mo";
|
|
13311
|
-
case "year":
|
|
13312
|
-
return "yr";
|
|
13313
|
-
}
|
|
13314
|
-
}
|
|
13315
|
-
|
|
13316
|
-
// src/utils/string.ts
|
|
13317
|
-
function camelToHyphen(str) {
|
|
13318
|
-
return str.replace(/([a-z][A-Z])/g, (g2) => `${g2[0]}-${g2[1].toLowerCase()}`);
|
|
13319
|
-
}
|
|
13320
|
-
function formatNumber(num) {
|
|
13321
|
-
return new Intl.NumberFormat("en-US").format(num);
|
|
13322
|
-
}
|
|
13323
|
-
function formatCurrency(amount, currency) {
|
|
13324
|
-
const resolvedCurrency = (currency || DEFAULT_CURRENCY).toUpperCase();
|
|
13325
|
-
try {
|
|
13326
|
-
const dollars = amount / 100;
|
|
13327
|
-
const formatValue = (value, symbol) => {
|
|
13328
|
-
let formatted = value.toFixed(1);
|
|
13329
|
-
if (formatted.endsWith(".0")) {
|
|
13330
|
-
formatted = formatted.slice(0, -2);
|
|
13331
|
-
}
|
|
13332
|
-
if (resolvedCurrency !== DEFAULT_CURRENCY) {
|
|
13333
|
-
return `${resolvedCurrency}${formatted}${symbol}`;
|
|
13334
|
-
}
|
|
13335
|
-
return `$${formatted}${symbol}`;
|
|
13336
|
-
};
|
|
13337
|
-
if (dollars >= 1e6) {
|
|
13338
|
-
return formatValue(dollars / 1e6, "M");
|
|
13339
|
-
}
|
|
13340
|
-
if (dollars >= 1e3) {
|
|
13341
|
-
return formatValue(dollars / 1e3, "k");
|
|
13342
|
-
}
|
|
13343
|
-
const hasManySignificantDigits = /[1-9]/.test(
|
|
13344
|
-
(amount % 1).toFixed(MAXIMUM_SIGNIFICANT_DIGITS)
|
|
13345
|
-
);
|
|
13346
|
-
return new Intl.NumberFormat("en-US", {
|
|
13347
|
-
style: "currency",
|
|
13348
|
-
currency: resolvedCurrency,
|
|
13349
|
-
...hasManySignificantDigits && {
|
|
13350
|
-
minimumSignificantDigits: 1,
|
|
13351
|
-
maximumSignificantDigits: 12
|
|
13352
|
-
}
|
|
13353
|
-
}).format(dollars);
|
|
13354
|
-
} catch (error) {
|
|
13355
|
-
console.error("Error formatting currency", error);
|
|
13356
|
-
return new Intl.NumberFormat("en-US", {
|
|
13357
|
-
style: "currency",
|
|
13358
|
-
maximumSignificantDigits: 12,
|
|
13359
|
-
currency: resolvedCurrency
|
|
13360
|
-
}).format(amount / 100);
|
|
13361
|
-
}
|
|
13362
|
-
}
|
|
13363
|
-
function formatOrdinal(n) {
|
|
13364
|
-
const enOrdinalRules = new Intl.PluralRules("en-US", { type: "ordinal" });
|
|
13365
|
-
const suffixes = /* @__PURE__ */ new Map([
|
|
13366
|
-
["one", "st"],
|
|
13367
|
-
["two", "nd"],
|
|
13368
|
-
["few", "rd"],
|
|
13369
|
-
["other", "th"]
|
|
13370
|
-
]);
|
|
13371
|
-
const rule = enOrdinalRules.select(n);
|
|
13372
|
-
const suffix = suffixes.get(rule);
|
|
13373
|
-
return `${n}${suffix}`;
|
|
13374
|
-
}
|
|
13375
|
-
function adjectify(str) {
|
|
13376
|
-
return `${str}ly`;
|
|
13377
|
-
}
|
|
13378
|
-
|
|
13379
|
-
// src/utils/style.ts
|
|
13380
|
-
function attr(key, value) {
|
|
13381
|
-
return typeof value !== "undefined" && lt`
|
|
13382
|
-
${key}: ${value};
|
|
13383
|
-
`;
|
|
13384
|
-
}
|
|
13385
|
-
attr.px = function propAsPx(key, value) {
|
|
13386
|
-
return typeof value !== "undefined" && lt`
|
|
13387
|
-
${key}: ${typeof value === "number" ? `${value}px` : value};
|
|
13388
|
-
`;
|
|
13389
|
-
};
|
|
13390
|
-
attr.rem = function propAsRem(key, value) {
|
|
13391
|
-
return typeof value !== "undefined" && lt`
|
|
13392
|
-
${key}: ${typeof value === "number" ? `${value / TEXT_BASE_SIZE}rem` : value};
|
|
13393
|
-
`;
|
|
13394
|
-
};
|
|
13395
|
-
|
|
13396
|
-
// src/hooks/useIsLightBackground.ts
|
|
13397
13413
|
function useIsLightBackground() {
|
|
13398
13414
|
const theme = nt();
|
|
13399
13415
|
const isLightBackground = (0, import_react13.useMemo)(() => {
|
|
@@ -15081,7 +15097,7 @@ var Sidebar = ({
|
|
|
15081
15097
|
newPriceId: priceId,
|
|
15082
15098
|
addOnIds: addOns.reduce((acc, addOn) => {
|
|
15083
15099
|
if (addOn.isSelected && !selectedPlan.companyCanTrial) {
|
|
15084
|
-
const addOnPriceId = (
|
|
15100
|
+
const addOnPriceId = getAddOnPrice(addOn, planPeriod)?.id;
|
|
15085
15101
|
if (addOnPriceId) {
|
|
15086
15102
|
acc.push({
|
|
15087
15103
|
addOnId: addOn.id,
|
|
@@ -15211,7 +15227,7 @@ var Sidebar = ({
|
|
|
15211
15227
|
]);
|
|
15212
15228
|
const willPlanChange = typeof selectedPlan !== "undefined" && !selectedPlan.current;
|
|
15213
15229
|
const removedAddOns = currentAddOns.filter(
|
|
15214
|
-
(current) => !selectedAddOns.some((selected) => current.id === selected.id)
|
|
15230
|
+
(current) => !selectedAddOns.some((selected) => current.id === selected.id) && current.planPeriod !== "one-time"
|
|
15215
15231
|
);
|
|
15216
15232
|
const addedAddOns = selectedAddOns.filter(
|
|
15217
15233
|
(selected) => !currentAddOns.some((current) => selected.id === current.id)
|
|
@@ -15771,9 +15787,10 @@ var Sidebar = ({
|
|
|
15771
15787
|
addOn.planPrice,
|
|
15772
15788
|
selectedPlanBillingPrice?.currency
|
|
15773
15789
|
),
|
|
15774
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("sub", { children: [
|
|
15775
|
-
"
|
|
15776
|
-
shortenPeriod(
|
|
15790
|
+
addOn.planPeriod !== "one-time" && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("sub", { children: [
|
|
15791
|
+
"`/$",
|
|
15792
|
+
shortenPeriod(planPeriod),
|
|
15793
|
+
"`"
|
|
15777
15794
|
] })
|
|
15778
15795
|
]
|
|
15779
15796
|
}
|
|
@@ -15784,9 +15801,7 @@ var Sidebar = ({
|
|
|
15784
15801
|
);
|
|
15785
15802
|
}),
|
|
15786
15803
|
selectedAddOns.map((addOn, index) => {
|
|
15787
|
-
const { price: addOnPrice, currency: addOnCurrency } = getBillingPrice(
|
|
15788
|
-
planPeriod === "year" ? addOn.yearlyPrice : addOn.monthlyPrice
|
|
15789
|
-
) || {};
|
|
15804
|
+
const { price: addOnPrice, currency: addOnCurrency } = getBillingPrice(getAddOnPrice(addOn, planPeriod)) || {};
|
|
15790
15805
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
15791
15806
|
Flex,
|
|
15792
15807
|
{
|
|
@@ -15813,9 +15828,10 @@ var Sidebar = ({
|
|
|
15813
15828
|
$color: theme.typography.text.color,
|
|
15814
15829
|
children: [
|
|
15815
15830
|
formatCurrency(addOnPrice ?? 0, addOnCurrency),
|
|
15816
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("sub", { children: [
|
|
15817
|
-
"
|
|
15818
|
-
shortenPeriod(planPeriod)
|
|
15831
|
+
addOn.chargeType !== ChargeType.oneTime && /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("sub", { children: [
|
|
15832
|
+
"`/$",
|
|
15833
|
+
shortenPeriod(planPeriod),
|
|
15834
|
+
"`"
|
|
15819
15835
|
] })
|
|
15820
15836
|
]
|
|
15821
15837
|
}
|
|
@@ -16184,9 +16200,7 @@ var AddOns = ({ addOns, toggle, isLoading, period }) => {
|
|
|
16184
16200
|
$gridTemplateColumns: "repeat(auto-fill, minmax(300px, 1fr))",
|
|
16185
16201
|
$gap: "1rem",
|
|
16186
16202
|
children: addOns.map((addOn, index) => {
|
|
16187
|
-
const { price, currency } = getBillingPrice(
|
|
16188
|
-
period === "year" ? addOn.yearlyPrice : addOn.monthlyPrice
|
|
16189
|
-
) || {};
|
|
16203
|
+
const { price, currency } = getBillingPrice(getAddOnPrice(addOn, period)) || {};
|
|
16190
16204
|
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
16191
16205
|
Flex,
|
|
16192
16206
|
{
|
|
@@ -16222,7 +16236,7 @@ var AddOns = ({ addOns, toggle, isLoading, period }) => {
|
|
|
16222
16236
|
children: addOn.description
|
|
16223
16237
|
}
|
|
16224
16238
|
) }),
|
|
16225
|
-
addOn[periodKey] && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Box, { children: [
|
|
16239
|
+
(addOn[periodKey] || addOn.chargeType === ChargeType.oneTime) && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Box, { children: [
|
|
16226
16240
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
16227
16241
|
Text,
|
|
16228
16242
|
{
|
|
@@ -16233,17 +16247,14 @@ var AddOns = ({ addOns, toggle, isLoading, period }) => {
|
|
|
16233
16247
|
children: formatCurrency(price ?? 0, currency)
|
|
16234
16248
|
}
|
|
16235
16249
|
),
|
|
16236
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.
|
|
16250
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
16237
16251
|
Text,
|
|
16238
16252
|
{
|
|
16239
16253
|
$font: theme.typography.heading2.fontFamily,
|
|
16240
16254
|
$size: 16 / 30 * theme.typography.heading2.fontSize,
|
|
16241
16255
|
$weight: theme.typography.heading2.fontWeight,
|
|
16242
16256
|
$color: theme.typography.heading2.color,
|
|
16243
|
-
children:
|
|
16244
|
-
"/",
|
|
16245
|
-
period
|
|
16246
|
-
]
|
|
16257
|
+
children: addOn.chargeType === ChargeType.oneTime ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, { children: ' t("one time") ' }) : `/${period}`
|
|
16247
16258
|
}
|
|
16248
16259
|
)
|
|
16249
16260
|
] }),
|
|
@@ -17233,7 +17244,7 @@ var CheckoutDialog = ({ top = 0 }) => {
|
|
|
17233
17244
|
addOnIds: (updates.addOns || addOns).reduce(
|
|
17234
17245
|
(acc, addOn) => {
|
|
17235
17246
|
if (addOn.isSelected) {
|
|
17236
|
-
const addOnPriceId = (
|
|
17247
|
+
const addOnPriceId = getAddOnPrice(addOn, period)?.id;
|
|
17237
17248
|
if (addOnPriceId) {
|
|
17238
17249
|
acc.push({
|
|
17239
17250
|
addOnId: addOn.id,
|