@douyinfe/semi-illustrations 2.1.0 → 2.1.1
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.
|
@@ -96,7 +96,166 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
-
/***/
|
|
99
|
+
/***/ 0:
|
|
100
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
101
|
+
|
|
102
|
+
module.exports = __webpack_require__("8Kkt");
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
/***/ }),
|
|
106
|
+
|
|
107
|
+
/***/ "0/JC":
|
|
108
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
109
|
+
|
|
110
|
+
var global = __webpack_require__("oNh+");
|
|
111
|
+
var isObject = __webpack_require__("H3h0");
|
|
112
|
+
|
|
113
|
+
var document = global.document;
|
|
114
|
+
// typeof document.createElement is 'object' in old IE
|
|
115
|
+
var EXISTS = isObject(document) && isObject(document.createElement);
|
|
116
|
+
|
|
117
|
+
module.exports = function (it) {
|
|
118
|
+
return EXISTS ? document.createElement(it) : {};
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
/***/ }),
|
|
123
|
+
|
|
124
|
+
/***/ "0fQ6":
|
|
125
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
126
|
+
|
|
127
|
+
var uncurryThis = __webpack_require__("XQ/X");
|
|
128
|
+
var hasOwn = __webpack_require__("PIIU");
|
|
129
|
+
var toIndexedObject = __webpack_require__("VcbD");
|
|
130
|
+
var indexOf = __webpack_require__("A551").indexOf;
|
|
131
|
+
var hiddenKeys = __webpack_require__("lyTg");
|
|
132
|
+
|
|
133
|
+
var push = uncurryThis([].push);
|
|
134
|
+
|
|
135
|
+
module.exports = function (object, names) {
|
|
136
|
+
var O = toIndexedObject(object);
|
|
137
|
+
var i = 0;
|
|
138
|
+
var result = [];
|
|
139
|
+
var key;
|
|
140
|
+
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
|
141
|
+
// Don't enum bug & hidden keys
|
|
142
|
+
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
|
143
|
+
~indexOf(result, key) || push(result, key);
|
|
144
|
+
}
|
|
145
|
+
return result;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
/***/ }),
|
|
150
|
+
|
|
151
|
+
/***/ "0foe":
|
|
152
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
153
|
+
|
|
154
|
+
"use strict";
|
|
155
|
+
|
|
156
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
157
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
158
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
159
|
+
|
|
160
|
+
// Nashorn ~ JDK8 bug
|
|
161
|
+
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
162
|
+
|
|
163
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
164
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
165
|
+
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
166
|
+
var descriptor = getOwnPropertyDescriptor(this, V);
|
|
167
|
+
return !!descriptor && descriptor.enumerable;
|
|
168
|
+
} : $propertyIsEnumerable;
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
/***/ }),
|
|
172
|
+
|
|
173
|
+
/***/ "3Mt6":
|
|
174
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
175
|
+
|
|
176
|
+
var global = __webpack_require__("oNh+");
|
|
177
|
+
var call = __webpack_require__("9fDQ");
|
|
178
|
+
var isObject = __webpack_require__("H3h0");
|
|
179
|
+
var isSymbol = __webpack_require__("au4q");
|
|
180
|
+
var getMethod = __webpack_require__("fEH3");
|
|
181
|
+
var ordinaryToPrimitive = __webpack_require__("S0cN");
|
|
182
|
+
var wellKnownSymbol = __webpack_require__("HVcX");
|
|
183
|
+
|
|
184
|
+
var TypeError = global.TypeError;
|
|
185
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
186
|
+
|
|
187
|
+
// `ToPrimitive` abstract operation
|
|
188
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
|
189
|
+
module.exports = function (input, pref) {
|
|
190
|
+
if (!isObject(input) || isSymbol(input)) return input;
|
|
191
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
192
|
+
var result;
|
|
193
|
+
if (exoticToPrim) {
|
|
194
|
+
if (pref === undefined) pref = 'default';
|
|
195
|
+
result = call(exoticToPrim, input, pref);
|
|
196
|
+
if (!isObject(result) || isSymbol(result)) return result;
|
|
197
|
+
throw TypeError("Can't convert object to primitive value");
|
|
198
|
+
}
|
|
199
|
+
if (pref === undefined) pref = 'number';
|
|
200
|
+
return ordinaryToPrimitive(input, pref);
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
/***/ }),
|
|
205
|
+
|
|
206
|
+
/***/ "5Jdw":
|
|
207
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
208
|
+
|
|
209
|
+
var fails = __webpack_require__("XU0c");
|
|
210
|
+
|
|
211
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
212
|
+
module.exports = !fails(function () {
|
|
213
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
214
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
215
|
+
});
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
/***/ }),
|
|
219
|
+
|
|
220
|
+
/***/ "5TyG":
|
|
221
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
222
|
+
|
|
223
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
224
|
+
var V8_VERSION = __webpack_require__("Qb90");
|
|
225
|
+
var fails = __webpack_require__("XU0c");
|
|
226
|
+
|
|
227
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
228
|
+
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
229
|
+
var symbol = Symbol();
|
|
230
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
231
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
232
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
233
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
234
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
/***/ }),
|
|
239
|
+
|
|
240
|
+
/***/ "64g+":
|
|
241
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
242
|
+
|
|
243
|
+
var DESCRIPTORS = __webpack_require__("5Jdw");
|
|
244
|
+
var fails = __webpack_require__("XU0c");
|
|
245
|
+
var createElement = __webpack_require__("0/JC");
|
|
246
|
+
|
|
247
|
+
// Thank's IE8 for his funny defineProperty
|
|
248
|
+
module.exports = !DESCRIPTORS && !fails(function () {
|
|
249
|
+
// eslint-disable-next-line es/no-object-defineproperty -- requied for testing
|
|
250
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
251
|
+
get: function () { return 7; }
|
|
252
|
+
}).a != 7;
|
|
253
|
+
});
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
/***/ }),
|
|
257
|
+
|
|
258
|
+
/***/ "8Kkt":
|
|
100
259
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101
260
|
|
|
102
261
|
"use strict";
|
|
@@ -128,7 +287,7 @@ var assign_default = /*#__PURE__*/__webpack_require__.n(object_assign);
|
|
|
128
287
|
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"}
|
|
129
288
|
var external_root_React_commonjs2_react_commonjs_react_amd_react_ = __webpack_require__("cDcd");
|
|
130
289
|
|
|
131
|
-
// CONCATENATED MODULE: ./
|
|
290
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationConstructionDark.js
|
|
132
291
|
|
|
133
292
|
|
|
134
293
|
|
|
@@ -261,7 +420,7 @@ function SvgComponent(props) {
|
|
|
261
420
|
}
|
|
262
421
|
|
|
263
422
|
/* harmony default export */ var IllustrationConstructionDark = (SvgComponent);
|
|
264
|
-
// CONCATENATED MODULE: ./
|
|
423
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationConstruction.js
|
|
265
424
|
|
|
266
425
|
|
|
267
426
|
|
|
@@ -391,7 +550,7 @@ function IllustrationConstruction_SvgComponent(props) {
|
|
|
391
550
|
}
|
|
392
551
|
|
|
393
552
|
/* harmony default export */ var IllustrationConstruction = (IllustrationConstruction_SvgComponent);
|
|
394
|
-
// CONCATENATED MODULE: ./
|
|
553
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationFailureDark.js
|
|
395
554
|
|
|
396
555
|
|
|
397
556
|
|
|
@@ -646,7 +805,7 @@ function IllustrationFailureDark_SvgComponent(props) {
|
|
|
646
805
|
}
|
|
647
806
|
|
|
648
807
|
/* harmony default export */ var IllustrationFailureDark = (IllustrationFailureDark_SvgComponent);
|
|
649
|
-
// CONCATENATED MODULE: ./
|
|
808
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationFailure.js
|
|
650
809
|
|
|
651
810
|
|
|
652
811
|
|
|
@@ -904,7 +1063,7 @@ function IllustrationFailure_SvgComponent(props) {
|
|
|
904
1063
|
}
|
|
905
1064
|
|
|
906
1065
|
/* harmony default export */ var IllustrationFailure = (IllustrationFailure_SvgComponent);
|
|
907
|
-
// CONCATENATED MODULE: ./
|
|
1066
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationIdleDark.js
|
|
908
1067
|
|
|
909
1068
|
|
|
910
1069
|
|
|
@@ -1013,7 +1172,7 @@ function IllustrationIdleDark_SvgComponent(props) {
|
|
|
1013
1172
|
}
|
|
1014
1173
|
|
|
1015
1174
|
/* harmony default export */ var IllustrationIdleDark = (IllustrationIdleDark_SvgComponent);
|
|
1016
|
-
// CONCATENATED MODULE: ./
|
|
1175
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationIdle.js
|
|
1017
1176
|
|
|
1018
1177
|
|
|
1019
1178
|
|
|
@@ -1131,7 +1290,7 @@ function IllustrationIdle_SvgComponent(props) {
|
|
|
1131
1290
|
}
|
|
1132
1291
|
|
|
1133
1292
|
/* harmony default export */ var IllustrationIdle = (IllustrationIdle_SvgComponent);
|
|
1134
|
-
// CONCATENATED MODULE: ./
|
|
1293
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationNoAccessDark.js
|
|
1135
1294
|
|
|
1136
1295
|
|
|
1137
1296
|
|
|
@@ -1226,7 +1385,7 @@ function IllustrationNoAccessDark_SvgComponent(props) {
|
|
|
1226
1385
|
}
|
|
1227
1386
|
|
|
1228
1387
|
/* harmony default export */ var IllustrationNoAccessDark = (IllustrationNoAccessDark_SvgComponent);
|
|
1229
|
-
// CONCATENATED MODULE: ./
|
|
1388
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationNoAccess.js
|
|
1230
1389
|
|
|
1231
1390
|
|
|
1232
1391
|
|
|
@@ -1328,7 +1487,7 @@ function IllustrationNoAccess_SvgComponent(props) {
|
|
|
1328
1487
|
}
|
|
1329
1488
|
|
|
1330
1489
|
/* harmony default export */ var IllustrationNoAccess = (IllustrationNoAccess_SvgComponent);
|
|
1331
|
-
// CONCATENATED MODULE: ./
|
|
1490
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationNoContentDark.js
|
|
1332
1491
|
|
|
1333
1492
|
|
|
1334
1493
|
|
|
@@ -1431,7 +1590,7 @@ function IllustrationNoContentDark_SvgComponent(props) {
|
|
|
1431
1590
|
}
|
|
1432
1591
|
|
|
1433
1592
|
/* harmony default export */ var IllustrationNoContentDark = (IllustrationNoContentDark_SvgComponent);
|
|
1434
|
-
// CONCATENATED MODULE: ./
|
|
1593
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationNoContent.js
|
|
1435
1594
|
|
|
1436
1595
|
|
|
1437
1596
|
|
|
@@ -1534,7 +1693,7 @@ function IllustrationNoContent_SvgComponent(props) {
|
|
|
1534
1693
|
}
|
|
1535
1694
|
|
|
1536
1695
|
/* harmony default export */ var IllustrationNoContent = (IllustrationNoContent_SvgComponent);
|
|
1537
|
-
// CONCATENATED MODULE: ./
|
|
1696
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationNoResultDark.js
|
|
1538
1697
|
|
|
1539
1698
|
|
|
1540
1699
|
|
|
@@ -1635,7 +1794,7 @@ function IllustrationNoResultDark_SvgComponent(props) {
|
|
|
1635
1794
|
}
|
|
1636
1795
|
|
|
1637
1796
|
/* harmony default export */ var IllustrationNoResultDark = (IllustrationNoResultDark_SvgComponent);
|
|
1638
|
-
// CONCATENATED MODULE: ./
|
|
1797
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationNoResult.js
|
|
1639
1798
|
|
|
1640
1799
|
|
|
1641
1800
|
|
|
@@ -1739,7 +1898,7 @@ function IllustrationNoResult_SvgComponent(props) {
|
|
|
1739
1898
|
}
|
|
1740
1899
|
|
|
1741
1900
|
/* harmony default export */ var IllustrationNoResult = (IllustrationNoResult_SvgComponent);
|
|
1742
|
-
// CONCATENATED MODULE: ./
|
|
1901
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationNotFoundDark.js
|
|
1743
1902
|
|
|
1744
1903
|
|
|
1745
1904
|
|
|
@@ -1829,7 +1988,7 @@ function IllustrationNotFoundDark_SvgComponent(props) {
|
|
|
1829
1988
|
}
|
|
1830
1989
|
|
|
1831
1990
|
/* harmony default export */ var IllustrationNotFoundDark = (IllustrationNotFoundDark_SvgComponent);
|
|
1832
|
-
// CONCATENATED MODULE: ./
|
|
1991
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationNotFound.js
|
|
1833
1992
|
|
|
1834
1993
|
|
|
1835
1994
|
|
|
@@ -1920,7 +2079,7 @@ function IllustrationNotFound_SvgComponent(props) {
|
|
|
1920
2079
|
}
|
|
1921
2080
|
|
|
1922
2081
|
/* harmony default export */ var IllustrationNotFound = (IllustrationNotFound_SvgComponent);
|
|
1923
|
-
// CONCATENATED MODULE: ./
|
|
2082
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationSuccessDark.js
|
|
1924
2083
|
|
|
1925
2084
|
|
|
1926
2085
|
|
|
@@ -2010,7 +2169,7 @@ function IllustrationSuccessDark_SvgComponent(props) {
|
|
|
2010
2169
|
}
|
|
2011
2170
|
|
|
2012
2171
|
/* harmony default export */ var IllustrationSuccessDark = (IllustrationSuccessDark_SvgComponent);
|
|
2013
|
-
// CONCATENATED MODULE: ./
|
|
2172
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/IllustrationSuccess.js
|
|
2014
2173
|
|
|
2015
2174
|
|
|
2016
2175
|
|
|
@@ -2098,7 +2257,7 @@ function IllustrationSuccess_SvgComponent(props) {
|
|
|
2098
2257
|
}
|
|
2099
2258
|
|
|
2100
2259
|
/* harmony default export */ var IllustrationSuccess = (IllustrationSuccess_SvgComponent);
|
|
2101
|
-
// CONCATENATED MODULE: ./
|
|
2260
|
+
// CONCATENATED MODULE: ./lib/es/illustrations/index.js
|
|
2102
2261
|
|
|
2103
2262
|
|
|
2104
2263
|
|
|
@@ -2115,166 +2274,7 @@ function IllustrationSuccess_SvgComponent(props) {
|
|
|
2115
2274
|
|
|
2116
2275
|
|
|
2117
2276
|
|
|
2118
|
-
// CONCATENATED MODULE: ./
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
/***/ }),
|
|
2122
|
-
|
|
2123
|
-
/***/ 0:
|
|
2124
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2125
|
-
|
|
2126
|
-
module.exports = __webpack_require__("/7QA");
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
/***/ }),
|
|
2130
|
-
|
|
2131
|
-
/***/ "0/JC":
|
|
2132
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2133
|
-
|
|
2134
|
-
var global = __webpack_require__("oNh+");
|
|
2135
|
-
var isObject = __webpack_require__("H3h0");
|
|
2136
|
-
|
|
2137
|
-
var document = global.document;
|
|
2138
|
-
// typeof document.createElement is 'object' in old IE
|
|
2139
|
-
var EXISTS = isObject(document) && isObject(document.createElement);
|
|
2140
|
-
|
|
2141
|
-
module.exports = function (it) {
|
|
2142
|
-
return EXISTS ? document.createElement(it) : {};
|
|
2143
|
-
};
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
/***/ }),
|
|
2147
|
-
|
|
2148
|
-
/***/ "0fQ6":
|
|
2149
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2150
|
-
|
|
2151
|
-
var uncurryThis = __webpack_require__("XQ/X");
|
|
2152
|
-
var hasOwn = __webpack_require__("PIIU");
|
|
2153
|
-
var toIndexedObject = __webpack_require__("VcbD");
|
|
2154
|
-
var indexOf = __webpack_require__("A551").indexOf;
|
|
2155
|
-
var hiddenKeys = __webpack_require__("lyTg");
|
|
2156
|
-
|
|
2157
|
-
var push = uncurryThis([].push);
|
|
2158
|
-
|
|
2159
|
-
module.exports = function (object, names) {
|
|
2160
|
-
var O = toIndexedObject(object);
|
|
2161
|
-
var i = 0;
|
|
2162
|
-
var result = [];
|
|
2163
|
-
var key;
|
|
2164
|
-
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
|
2165
|
-
// Don't enum bug & hidden keys
|
|
2166
|
-
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
|
2167
|
-
~indexOf(result, key) || push(result, key);
|
|
2168
|
-
}
|
|
2169
|
-
return result;
|
|
2170
|
-
};
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
/***/ }),
|
|
2174
|
-
|
|
2175
|
-
/***/ "0foe":
|
|
2176
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2177
|
-
|
|
2178
|
-
"use strict";
|
|
2179
|
-
|
|
2180
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
2181
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2182
|
-
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2183
|
-
|
|
2184
|
-
// Nashorn ~ JDK8 bug
|
|
2185
|
-
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
2186
|
-
|
|
2187
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
2188
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
2189
|
-
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
2190
|
-
var descriptor = getOwnPropertyDescriptor(this, V);
|
|
2191
|
-
return !!descriptor && descriptor.enumerable;
|
|
2192
|
-
} : $propertyIsEnumerable;
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
/***/ }),
|
|
2196
|
-
|
|
2197
|
-
/***/ "3Mt6":
|
|
2198
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2199
|
-
|
|
2200
|
-
var global = __webpack_require__("oNh+");
|
|
2201
|
-
var call = __webpack_require__("9fDQ");
|
|
2202
|
-
var isObject = __webpack_require__("H3h0");
|
|
2203
|
-
var isSymbol = __webpack_require__("au4q");
|
|
2204
|
-
var getMethod = __webpack_require__("fEH3");
|
|
2205
|
-
var ordinaryToPrimitive = __webpack_require__("S0cN");
|
|
2206
|
-
var wellKnownSymbol = __webpack_require__("HVcX");
|
|
2207
|
-
|
|
2208
|
-
var TypeError = global.TypeError;
|
|
2209
|
-
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
2210
|
-
|
|
2211
|
-
// `ToPrimitive` abstract operation
|
|
2212
|
-
// https://tc39.es/ecma262/#sec-toprimitive
|
|
2213
|
-
module.exports = function (input, pref) {
|
|
2214
|
-
if (!isObject(input) || isSymbol(input)) return input;
|
|
2215
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
2216
|
-
var result;
|
|
2217
|
-
if (exoticToPrim) {
|
|
2218
|
-
if (pref === undefined) pref = 'default';
|
|
2219
|
-
result = call(exoticToPrim, input, pref);
|
|
2220
|
-
if (!isObject(result) || isSymbol(result)) return result;
|
|
2221
|
-
throw TypeError("Can't convert object to primitive value");
|
|
2222
|
-
}
|
|
2223
|
-
if (pref === undefined) pref = 'number';
|
|
2224
|
-
return ordinaryToPrimitive(input, pref);
|
|
2225
|
-
};
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
/***/ }),
|
|
2229
|
-
|
|
2230
|
-
/***/ "5Jdw":
|
|
2231
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2232
|
-
|
|
2233
|
-
var fails = __webpack_require__("XU0c");
|
|
2234
|
-
|
|
2235
|
-
// Detect IE8's incomplete defineProperty implementation
|
|
2236
|
-
module.exports = !fails(function () {
|
|
2237
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2238
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
2239
|
-
});
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
/***/ }),
|
|
2243
|
-
|
|
2244
|
-
/***/ "5TyG":
|
|
2245
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2246
|
-
|
|
2247
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
2248
|
-
var V8_VERSION = __webpack_require__("Qb90");
|
|
2249
|
-
var fails = __webpack_require__("XU0c");
|
|
2250
|
-
|
|
2251
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
2252
|
-
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
2253
|
-
var symbol = Symbol();
|
|
2254
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
|
2255
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
2256
|
-
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
2257
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
2258
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
2259
|
-
});
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
/***/ }),
|
|
2263
|
-
|
|
2264
|
-
/***/ "64g+":
|
|
2265
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2266
|
-
|
|
2267
|
-
var DESCRIPTORS = __webpack_require__("5Jdw");
|
|
2268
|
-
var fails = __webpack_require__("XU0c");
|
|
2269
|
-
var createElement = __webpack_require__("0/JC");
|
|
2270
|
-
|
|
2271
|
-
// Thank's IE8 for his funny defineProperty
|
|
2272
|
-
module.exports = !DESCRIPTORS && !fails(function () {
|
|
2273
|
-
// eslint-disable-next-line es/no-object-defineproperty -- requied for testing
|
|
2274
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
2275
|
-
get: function () { return 7; }
|
|
2276
|
-
}).a != 7;
|
|
2277
|
-
});
|
|
2277
|
+
// CONCATENATED MODULE: ./lib/es/index.js
|
|
2278
2278
|
|
|
2279
2279
|
|
|
2280
2280
|
/***/ }),
|