How to use an method in chai

Best JavaScript code snippet using chai

lodash.js

Source:lodash.js Github

copy

Full Screen

1/**2 * @license3 * Lodash lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE4 */5(function() {6 function n(n, t, r) {7 switch (r.length) {8 case 0:9 return n.call(t);10 case 1:11 return n.call(t, r[0]);12 case 2:13 return n.call(t, r[0], r[1]);14 case 3:15 return n.call(t, r[0], r[1], r[2]);16 }17 return n.apply(t, r);18 }19 function t(n, t, r, e) {20 for (var u = -1, i = null == n ? 0 : n.length; ++u < i; ) {21 var o = n[u];22 t(e, o, r(o), n);23 }24 return e;25 }26 function r(n, t) {27 for (var r = -1, e = null == n ? 0 : n.length; ++r < e && false !== t(n[r], r, n); );28 return n;29 }30 function e(n, t) {31 for (var r = null == n ? 0 : n.length; r-- && false !== t(n[r], r, n); );32 return n;33 }34 function u(n, t) {35 for (var r = -1, e = null == n ? 0 : n.length; ++r < e; ) if (!t(n[r], r, n)) return false;36 return true;37 }38 function i(n, t) {39 for (var r = -1, e = null == n ? 0 : n.length, u = 0, i = []; ++r < e; ) {40 var o = n[r];41 t(o, r, n) && (i[u++] = o);42 }43 return i;44 }45 function o(n, t) {46 return !(null == n || !n.length) && -1 < v(n, t, 0);47 }48 function f(n, t, r) {49 for (var e = -1, u = null == n ? 0 : n.length; ++e < u; ) if (r(t, n[e])) return true;50 return false;51 }52 function c(n, t) {53 for (var r = -1, e = null == n ? 0 : n.length, u = Array(e); ++r < e; ) u[r] = t(n[r], r, n);54 return u;55 }56 function a(n, t) {57 for (var r = -1, e = t.length, u = n.length; ++r < e; ) n[u + r] = t[r];58 return n;59 }60 function l(n, t, r, e) {61 var u = -1,62 i = null == n ? 0 : n.length;63 for (e && i && (r = n[++u]); ++u < i; ) r = t(r, n[u], u, n);64 return r;65 }66 function s(n, t, r, e) {67 var u = null == n ? 0 : n.length;68 for (e && u && (r = n[--u]); u--; ) r = t(r, n[u], u, n);69 return r;70 }71 function h(n, t) {72 for (var r = -1, e = null == n ? 0 : n.length; ++r < e; ) if (t(n[r], r, n)) return true;73 return false;74 }75 function p(n, t, r) {76 var e;77 return (78 r(n, function(n, r, u) {79 if (t(n, r, u)) return (e = r), false;80 }),81 e82 );83 }84 function _(n, t, r, e) {85 var u = n.length;86 for (r += e ? 1 : -1; e ? r-- : ++r < u; ) if (t(n[r], r, n)) return r;87 return -1;88 }89 function v(n, t, r) {90 if (t === t)91 n: {92 --r;93 for (var e = n.length; ++r < e; )94 if (n[r] === t) {95 n = r;96 break n;97 }98 n = -1;99 }100 else n = _(n, d, r);101 return n;102 }103 function g(n, t, r, e) {104 --r;105 for (var u = n.length; ++r < u; ) if (e(n[r], t)) return r;106 return -1;107 }108 function d(n) {109 return n !== n;110 }111 function y(n, t) {112 var r = null == n ? 0 : n.length;113 return r ? m(n, t) / r : F;114 }115 function b(n) {116 return function(t) {117 return null == t ? T : t[n];118 };119 }120 function x(n) {121 return function(t) {122 return null == n ? T : n[t];123 };124 }125 function j(n, t, r, e, u) {126 return (127 u(n, function(n, u, i) {128 r = e ? ((e = false), n) : t(r, n, u, i);129 }),130 r131 );132 }133 function w(n, t) {134 var r = n.length;135 for (n.sort(t); r--; ) n[r] = n[r].c;136 return n;137 }138 function m(n, t) {139 for (var r, e = -1, u = n.length; ++e < u; ) {140 var i = t(n[e]);141 i !== T && (r = r === T ? i : r + i);142 }143 return r;144 }145 function A(n, t) {146 for (var r = -1, e = Array(n); ++r < n; ) e[r] = t(r);147 return e;148 }149 function E(n, t) {150 return c(t, function(t) {151 return [t, n[t]];152 });153 }154 function k(n) {155 return function(t) {156 return n(t);157 };158 }159 function S(n, t) {160 return c(t, function(t) {161 return n[t];162 });163 }164 function O(n, t) {165 return n.has(t);166 }167 function I(n, t) {168 for (var r = -1, e = n.length; ++r < e && -1 < v(t, n[r], 0); );169 return r;170 }171 function R(n, t) {172 for (var r = n.length; r-- && -1 < v(t, n[r], 0); );173 return r;174 }175 function z(n) {176 return '\\' + Un[n];177 }178 function W(n) {179 var t = -1,180 r = Array(n.size);181 return (182 n.forEach(function(n, e) {183 r[++t] = [e, n];184 }),185 r186 );187 }188 function B(n, t) {189 return function(r) {190 return n(t(r));191 };192 }193 function L(n, t) {194 for (var r = -1, e = n.length, u = 0, i = []; ++r < e; ) {195 var o = n[r];196 (o !== t && '__lodash_placeholder__' !== o) || ((n[r] = '__lodash_placeholder__'), (i[u++] = r));197 }198 return i;199 }200 function U(n) {201 var t = -1,202 r = Array(n.size);203 return (204 n.forEach(function(n) {205 r[++t] = n;206 }),207 r208 );209 }210 function C(n) {211 var t = -1,212 r = Array(n.size);213 return (214 n.forEach(function(n) {215 r[++t] = [n, n];216 }),217 r218 );219 }220 function D(n) {221 if (Rn.test(n)) {222 for (var t = (On.lastIndex = 0); On.test(n); ) ++t;223 n = t;224 } else n = Qn(n);225 return n;226 }227 function M(n) {228 return Rn.test(n) ? n.match(On) || [] : n.split('');229 }230 var T,231 $ = 1 / 0,232 F = NaN,233 N = [234 ['ary', 128],235 ['bind', 1],236 ['bindKey', 2],237 ['curry', 8],238 ['curryRight', 16],239 ['flip', 512],240 ['partial', 32],241 ['partialRight', 64],242 ['rearg', 256]243 ],244 P = /\b__p\+='';/g,245 Z = /\b(__p\+=)''\+/g,246 q = /(__e\(.*?\)|\b__t\))\+'';/g,247 V = /&(?:amp|lt|gt|quot|#39);/g,248 K = /[&<>"']/g,249 G = RegExp(V.source),250 H = RegExp(K.source),251 J = /<%-([\s\S]+?)%>/g,252 Y = /<%([\s\S]+?)%>/g,253 Q = /<%=([\s\S]+?)%>/g,254 X = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,255 nn = /^\w*$/,256 tn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,257 rn = /[\\^$.*+?()[\]{}|]/g,258 en = RegExp(rn.source),259 un = /^\s+|\s+$/g,260 on = /^\s+/,261 fn = /\s+$/,262 cn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,263 an = /\{\n\/\* \[wrapped with (.+)\] \*/,264 ln = /,? & /,265 sn = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,266 hn = /\\(\\)?/g,267 pn = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,268 _n = /\w*$/,269 vn = /^[-+]0x[0-9a-f]+$/i,270 gn = /^0b[01]+$/i,271 dn = /^\[object .+?Constructor\]$/,272 yn = /^0o[0-7]+$/i,273 bn = /^(?:0|[1-9]\d*)$/,274 xn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,275 jn = /($^)/,276 wn = /['\n\r\u2028\u2029\\]/g,277 mn =278 '[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*',279 An = '(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])' + mn,280 En =281 '(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])',282 kn = RegExp("['\u2019]", 'g'),283 Sn = RegExp('[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]', 'g'),284 On = RegExp('\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|' + En + mn, 'g'),285 In = RegExp(286 [287 "[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?|\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",288 An289 ].join('|'),290 'g'291 ),292 Rn = RegExp('[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]'),293 zn = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,294 Wn = 'Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout'.split(295 ' '296 ),297 Bn = {};298 (Bn['[object Float32Array]'] = Bn['[object Float64Array]'] = Bn['[object Int8Array]'] = Bn[299 '[object Int16Array]'300 ] = Bn['[object Int32Array]'] = Bn['[object Uint8Array]'] = Bn['[object Uint8ClampedArray]'] = Bn[301 '[object Uint16Array]'302 ] = Bn['[object Uint32Array]'] = true),303 (Bn['[object Arguments]'] = Bn['[object Array]'] = Bn['[object ArrayBuffer]'] = Bn['[object Boolean]'] = Bn[304 '[object DataView]'305 ] = Bn['[object Date]'] = Bn['[object Error]'] = Bn['[object Function]'] = Bn['[object Map]'] = Bn[306 '[object Number]'307 ] = Bn['[object Object]'] = Bn['[object RegExp]'] = Bn['[object Set]'] = Bn['[object String]'] = Bn[308 '[object WeakMap]'309 ] = false);310 var Ln = {};311 (Ln['[object Arguments]'] = Ln['[object Array]'] = Ln['[object ArrayBuffer]'] = Ln['[object DataView]'] = Ln[312 '[object Boolean]'313 ] = Ln['[object Date]'] = Ln['[object Float32Array]'] = Ln['[object Float64Array]'] = Ln['[object Int8Array]'] = Ln[314 '[object Int16Array]'315 ] = Ln['[object Int32Array]'] = Ln['[object Map]'] = Ln['[object Number]'] = Ln['[object Object]'] = Ln[316 '[object RegExp]'317 ] = Ln['[object Set]'] = Ln['[object String]'] = Ln['[object Symbol]'] = Ln['[object Uint8Array]'] = Ln[318 '[object Uint8ClampedArray]'319 ] = Ln['[object Uint16Array]'] = Ln['[object Uint32Array]'] = true),320 (Ln['[object Error]'] = Ln['[object Function]'] = Ln['[object WeakMap]'] = false);321 var Un = { '\\': '\\', "'": "'", '\n': 'n', '\r': 'r', '\u2028': 'u2028', '\u2029': 'u2029' },322 Cn = parseFloat,323 Dn = parseInt,324 Mn = typeof global == 'object' && global && global.Object === Object && global,325 Tn = typeof self == 'object' && self && self.Object === Object && self,326 $n = Mn || Tn || Function('return this')(),327 Fn = typeof exports == 'object' && exports && !exports.nodeType && exports,328 Nn = Fn && typeof module == 'object' && module && !module.nodeType && module,329 Pn = Nn && Nn.exports === Fn,330 Zn = Pn && Mn.process,331 qn = (function() {332 try {333 var n = Nn && Nn.f && Nn.f('util').types;334 return n ? n : Zn && Zn.binding && Zn.binding('util');335 } catch (n) {}336 })(),337 Vn = qn && qn.isArrayBuffer,338 Kn = qn && qn.isDate,339 Gn = qn && qn.isMap,340 Hn = qn && qn.isRegExp,341 Jn = qn && qn.isSet,342 Yn = qn && qn.isTypedArray,343 Qn = b('length'),344 Xn = x({345 À: 'A',346 Á: 'A',347 Â: 'A',348 Ã: 'A',349 Ä: 'A',350 Å: 'A',351 à: 'a',352 á: 'a',353 â: 'a',354 ã: 'a',355 ä: 'a',356 å: 'a',357 Ç: 'C',358 ç: 'c',359 Ð: 'D',360 ð: 'd',361 È: 'E',362 É: 'E',363 Ê: 'E',364 Ë: 'E',365 è: 'e',366 é: 'e',367 ê: 'e',368 ë: 'e',369 Ì: 'I',370 Í: 'I',371 Î: 'I',372 Ï: 'I',373 ì: 'i',374 í: 'i',375 î: 'i',376 ï: 'i',377 Ñ: 'N',378 ñ: 'n',379 Ò: 'O',380 Ó: 'O',381 Ô: 'O',382 Õ: 'O',383 Ö: 'O',384 Ø: 'O',385 ò: 'o',386 ó: 'o',387 ô: 'o',388 õ: 'o',389 ö: 'o',390 ø: 'o',391 Ù: 'U',392 Ú: 'U',393 Û: 'U',394 Ü: 'U',395 ù: 'u',396 ú: 'u',397 û: 'u',398 ü: 'u',399 Ý: 'Y',400 ý: 'y',401 ÿ: 'y',402 Æ: 'Ae',403 æ: 'ae',404 Þ: 'Th',405 þ: 'th',406 ß: 'ss',407 Ā: 'A',408 Ă: 'A',409 Ą: 'A',410 ā: 'a',411 ă: 'a',412 ą: 'a',413 Ć: 'C',414 Ĉ: 'C',415 Ċ: 'C',416 Č: 'C',417 ć: 'c',418 ĉ: 'c',419 ċ: 'c',420 č: 'c',421 Ď: 'D',422 Đ: 'D',423 ď: 'd',424 đ: 'd',425 Ē: 'E',426 Ĕ: 'E',427 Ė: 'E',428 Ę: 'E',429 Ě: 'E',430 ē: 'e',431 ĕ: 'e',432 ė: 'e',433 ę: 'e',434 ě: 'e',435 Ĝ: 'G',436 Ğ: 'G',437 Ġ: 'G',438 Ģ: 'G',439 ĝ: 'g',440 ğ: 'g',441 ġ: 'g',442 ģ: 'g',443 Ĥ: 'H',444 Ħ: 'H',445 ĥ: 'h',446 ħ: 'h',447 Ĩ: 'I',448 Ī: 'I',449 Ĭ: 'I',450 Į: 'I',451 İ: 'I',452 ĩ: 'i',453 ī: 'i',454 ĭ: 'i',455 į: 'i',456 ı: 'i',457 Ĵ: 'J',458 ĵ: 'j',459 Ķ: 'K',460 ķ: 'k',461 ĸ: 'k',462 Ĺ: 'L',463 Ļ: 'L',464 Ľ: 'L',465 Ŀ: 'L',466 Ł: 'L',467 ĺ: 'l',468 ļ: 'l',469 ľ: 'l',470 ŀ: 'l',471 ł: 'l',472 Ń: 'N',473 Ņ: 'N',474 Ň: 'N',475 Ŋ: 'N',476 ń: 'n',477 ņ: 'n',478 ň: 'n',479 ŋ: 'n',480 Ō: 'O',481 Ŏ: 'O',482 Ő: 'O',483 ō: 'o',484 ŏ: 'o',485 ő: 'o',486 Ŕ: 'R',487 Ŗ: 'R',488 Ř: 'R',489 ŕ: 'r',490 ŗ: 'r',491 ř: 'r',492 Ś: 'S',493 Ŝ: 'S',494 Ş: 'S',495 Š: 'S',496 ś: 's',497 ŝ: 's',498 ş: 's',499 š: 's',500 Ţ: 'T',501 Ť: 'T',502 Ŧ: 'T',503 ţ: 't',504 ť: 't',505 ŧ: 't',506 Ũ: 'U',507 Ū: 'U',508 Ŭ: 'U',509 Ů: 'U',510 Ű: 'U',511 Ų: 'U',512 ũ: 'u',513 ū: 'u',514 ŭ: 'u',515 ů: 'u',516 ű: 'u',517 ų: 'u',518 Ŵ: 'W',519 ŵ: 'w',520 Ŷ: 'Y',521 ŷ: 'y',522 Ÿ: 'Y',523 Ź: 'Z',524 Ż: 'Z',525 Ž: 'Z',526 ź: 'z',527 ż: 'z',528 ž: 'z',529 IJ: 'IJ',530 ij: 'ij',531 Œ: 'Oe',532 œ: 'oe',533 ʼn: "'n",534 ſ: 's'535 }),536 nt = x({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' }),537 tt = x({ '&amp;': '&', '&lt;': '<', '&gt;': '>', '&quot;': '"', '&#39;': "'" }),538 rt = (function x(mn) {539 function An(n) {540 if (yu(n) && !ff(n) && !(n instanceof Un)) {541 if (n instanceof On) return n;542 if (oi.call(n, '__wrapped__')) return Fe(n);543 }544 return new On(n);545 }546 function En() {}547 function On(n, t) {548 (this.__wrapped__ = n),549 (this.__actions__ = []),550 (this.__chain__ = !!t),551 (this.__index__ = 0),552 (this.__values__ = T);553 }554 function Un(n) {555 (this.__wrapped__ = n),556 (this.__actions__ = []),557 (this.__dir__ = 1),558 (this.__filtered__ = false),559 (this.__iteratees__ = []),560 (this.__takeCount__ = 4294967295),561 (this.__views__ = []);562 }563 function Mn(n) {564 var t = -1,565 r = null == n ? 0 : n.length;566 for (this.clear(); ++t < r; ) {567 var e = n[t];568 this.set(e[0], e[1]);569 }570 }571 function Tn(n) {572 var t = -1,573 r = null == n ? 0 : n.length;574 for (this.clear(); ++t < r; ) {575 var e = n[t];576 this.set(e[0], e[1]);577 }578 }579 function Fn(n) {580 var t = -1,581 r = null == n ? 0 : n.length;582 for (this.clear(); ++t < r; ) {583 var e = n[t];584 this.set(e[0], e[1]);585 }586 }587 function Nn(n) {588 var t = -1,589 r = null == n ? 0 : n.length;590 for (this.__data__ = new Fn(); ++t < r; ) this.add(n[t]);591 }592 function Zn(n) {593 this.size = (this.__data__ = new Tn(n)).size;594 }595 function qn(n, t) {596 var r,597 e = ff(n),598 u = !e && of(n),599 i = !e && !u && af(n),600 o = !e && !u && !i && _f(n),601 u = (e = e || u || i || o) ? A(n.length, ni) : [],602 f = u.length;603 for (r in n)604 (!t && !oi.call(n, r)) ||605 (e &&606 ('length' == r ||607 (i && ('offset' == r || 'parent' == r)) ||608 (o && ('buffer' == r || 'byteLength' == r || 'byteOffset' == r)) ||609 Se(r, f))) ||610 u.push(r);611 return u;612 }613 function Qn(n) {614 var t = n.length;615 return t ? n[ir(0, t - 1)] : T;616 }617 function et(n, t) {618 return De(Ur(n), pt(t, 0, n.length));619 }620 function ut(n) {621 return De(Ur(n));622 }623 function it(n, t, r) {624 ((r === T || lu(n[t], r)) && (r !== T || t in n)) || st(n, t, r);625 }626 function ot(n, t, r) {627 var e = n[t];628 (oi.call(n, t) && lu(e, r) && (r !== T || t in n)) || st(n, t, r);629 }630 function ft(n, t) {631 for (var r = n.length; r--; ) if (lu(n[r][0], t)) return r;632 return -1;633 }634 function ct(n, t, r, e) {635 return (636 uo(n, function(n, u, i) {637 t(e, n, r(n), i);638 }),639 e640 );641 }642 function at(n, t) {643 return n && Cr(t, Wu(t), n);644 }645 function lt(n, t) {646 return n && Cr(t, Bu(t), n);647 }648 function st(n, t, r) {649 '__proto__' == t && Ai650 ? Ai(n, t, { configurable: true, enumerable: true, value: r, writable: true })651 : (n[t] = r);652 }653 function ht(n, t) {654 for (var r = -1, e = t.length, u = Ku(e), i = null == n; ++r < e; ) u[r] = i ? T : Ru(n, t[r]);655 return u;656 }657 function pt(n, t, r) {658 return n === n && (r !== T && (n = n <= r ? n : r), t !== T && (n = n >= t ? n : t)), n;659 }660 function _t(n, t, e, u, i, o) {661 var f,662 c = 1 & t,663 a = 2 & t,664 l = 4 & t;665 if ((e && (f = i ? e(n, u, i, o) : e(n)), f !== T)) return f;666 if (!du(n)) return n;667 if ((u = ff(n))) {668 if (((f = me(n)), !c)) return Ur(n, f);669 } else {670 var s = vo(n),671 h = '[object Function]' == s || '[object GeneratorFunction]' == s;672 if (af(n)) return Ir(n, c);673 if ('[object Object]' == s || '[object Arguments]' == s || (h && !i)) {674 if (((f = a || h ? {} : Ae(n)), !c)) return a ? Mr(n, lt(f, n)) : Dr(n, at(f, n));675 } else {676 if (!Ln[s]) return i ? n : {};677 f = Ee(n, s, c);678 }679 }680 if ((o || (o = new Zn()), (i = o.get(n)))) return i;681 o.set(n, f),682 pf(n)683 ? n.forEach(function(r) {684 f.add(_t(r, t, e, r, n, o));685 })686 : sf(n) &&687 n.forEach(function(r, u) {688 f.set(u, _t(r, t, e, u, n, o));689 });690 var a = l ? (a ? ve : _e) : a ? Bu : Wu,691 p = u ? T : a(n);692 return (693 r(p || n, function(r, u) {694 p && ((u = r), (r = n[u])), ot(f, u, _t(r, t, e, u, n, o));695 }),696 f697 );698 }699 function vt(n) {700 var t = Wu(n);701 return function(r) {702 return gt(r, n, t);703 };704 }705 function gt(n, t, r) {706 var e = r.length;707 if (null == n) return !e;708 for (n = Qu(n); e--; ) {709 var u = r[e],710 i = t[u],711 o = n[u];712 if ((o === T && !(u in n)) || !i(o)) return false;713 }714 return true;715 }716 function dt(n, t, r) {717 if (typeof n != 'function') throw new ti('Expected a function');718 return bo(function() {719 n.apply(T, r);720 }, t);721 }722 function yt(n, t, r, e) {723 var u = -1,724 i = o,725 a = true,726 l = n.length,727 s = [],728 h = t.length;729 if (!l) return s;730 r && (t = c(t, k(r))), e ? ((i = f), (a = false)) : 200 <= t.length && ((i = O), (a = false), (t = new Nn(t)));731 n: for (; ++u < l; ) {732 var p = n[u],733 _ = null == r ? p : r(p),734 p = e || 0 !== p ? p : 0;735 if (a && _ === _) {736 for (var v = h; v--; ) if (t[v] === _) continue n;737 s.push(p);738 } else i(t, _, e) || s.push(p);739 }740 return s;741 }742 function bt(n, t) {743 var r = true;744 return (745 uo(n, function(n, e, u) {746 return (r = !!t(n, e, u));747 }),748 r749 );750 }751 function xt(n, t, r) {752 for (var e = -1, u = n.length; ++e < u; ) {753 var i = n[e],754 o = t(i);755 if (null != o && (f === T ? o === o && !wu(o) : r(o, f)))756 var f = o,757 c = i;758 }759 return c;760 }761 function jt(n, t) {762 var r = [];763 return (764 uo(n, function(n, e, u) {765 t(n, e, u) && r.push(n);766 }),767 r768 );769 }770 function wt(n, t, r, e, u) {771 var i = -1,772 o = n.length;773 for (r || (r = ke), u || (u = []); ++i < o; ) {774 var f = n[i];775 0 < t && r(f) ? (1 < t ? wt(f, t - 1, r, e, u) : a(u, f)) : e || (u[u.length] = f);776 }777 return u;778 }779 function mt(n, t) {780 return n && oo(n, t, Wu);781 }782 function At(n, t) {783 return n && fo(n, t, Wu);784 }785 function Et(n, t) {786 return i(t, function(t) {787 return _u(n[t]);788 });789 }790 function kt(n, t) {791 t = Sr(t, n);792 for (var r = 0, e = t.length; null != n && r < e; ) n = n[Me(t[r++])];793 return r && r == e ? n : T;794 }795 function St(n, t, r) {796 return (t = t(n)), ff(n) ? t : a(t, r(n));797 }798 function Ot(n) {799 if (null == n) n = n === T ? '[object Undefined]' : '[object Null]';800 else if (mi && mi in Qu(n)) {801 var t = oi.call(n, mi),802 r = n[mi];803 try {804 n[mi] = T;805 var e = true;806 } catch (n) {}807 var u = ai.call(n);808 e && (t ? (n[mi] = r) : delete n[mi]), (n = u);809 } else n = ai.call(n);810 return n;811 }812 function It(n, t) {813 return n > t;814 }815 function Rt(n, t) {816 return null != n && oi.call(n, t);817 }818 function zt(n, t) {819 return null != n && t in Qu(n);820 }821 function Wt(n, t, r) {822 for (var e = r ? f : o, u = n[0].length, i = n.length, a = i, l = Ku(i), s = 1 / 0, h = []; a--; ) {823 var p = n[a];824 a && t && (p = c(p, k(t))),825 (s = Ci(p.length, s)),826 (l[a] = !r && (t || (120 <= u && 120 <= p.length)) ? new Nn(a && p) : T);827 }828 var p = n[0],829 _ = -1,830 v = l[0];831 n: for (; ++_ < u && h.length < s; ) {832 var g = p[_],833 d = t ? t(g) : g,834 g = r || 0 !== g ? g : 0;835 if (v ? !O(v, d) : !e(h, d, r)) {836 for (a = i; --a; ) {837 var y = l[a];838 if (y ? !O(y, d) : !e(n[a], d, r)) continue n;839 }840 v && v.push(d), h.push(g);841 }842 }843 return h;844 }845 function Bt(n, t, r) {846 var e = {};847 return (848 mt(n, function(n, u, i) {849 t(e, r(n), u, i);850 }),851 e852 );853 }854 function Lt(t, r, e) {855 return (856 (r = Sr(r, t)),857 (t = 2 > r.length ? t : kt(t, hr(r, 0, -1))),858 (r = null == t ? t : t[Me(Ve(r))]),859 null == r ? T : n(r, t, e)860 );861 }862 function Ut(n) {863 return yu(n) && '[object Arguments]' == Ot(n);864 }865 function Ct(n) {866 return yu(n) && '[object ArrayBuffer]' == Ot(n);867 }868 function Dt(n) {869 return yu(n) && '[object Date]' == Ot(n);870 }871 function Mt(n, t, r, e, u) {872 if (n === t) t = true;873 else if (null == n || null == t || (!yu(n) && !yu(t))) t = n !== n && t !== t;874 else875 n: {876 var i = ff(n),877 o = ff(t),878 f = i ? '[object Array]' : vo(n),879 c = o ? '[object Array]' : vo(t),880 f = '[object Arguments]' == f ? '[object Object]' : f,881 c = '[object Arguments]' == c ? '[object Object]' : c,882 a = '[object Object]' == f,883 o = '[object Object]' == c;884 if ((c = f == c) && af(n)) {885 if (!af(t)) {886 t = false;887 break n;888 }889 (i = true), (a = false);890 }891 if (c && !a) u || (u = new Zn()), (t = i || _f(n) ? se(n, t, r, e, Mt, u) : he(n, t, f, r, e, Mt, u));892 else {893 if (!(1 & r) && ((i = a && oi.call(n, '__wrapped__')), (f = o && oi.call(t, '__wrapped__')), i || f)) {894 (n = i ? n.value() : n), (t = f ? t.value() : t), u || (u = new Zn()), (t = Mt(n, t, r, e, u));895 break n;896 }897 if (c)898 t: if (899 (u || (u = new Zn()), (i = 1 & r), (f = _e(n)), (o = f.length), (c = _e(t).length), o == c || i)900 ) {901 for (a = o; a--; ) {902 var l = f[a];903 if (!(i ? l in t : oi.call(t, l))) {904 t = false;905 break t;906 }907 }908 if ((c = u.get(n)) && u.get(t)) t = c == t;909 else {910 (c = true), u.set(n, t), u.set(t, n);911 for (var s = i; ++a < o; ) {912 var l = f[a],913 h = n[l],914 p = t[l];915 if (e) var _ = i ? e(p, h, l, t, n, u) : e(h, p, l, n, t, u);916 if (_ === T ? h !== p && !Mt(h, p, r, e, u) : !_) {917 c = false;918 break;919 }920 s || (s = 'constructor' == l);921 }922 c &&923 !s &&924 ((r = n.constructor),925 (e = t.constructor),926 r != e &&927 'constructor' in n &&928 'constructor' in t &&929 !(typeof r == 'function' && r instanceof r && typeof e == 'function' && e instanceof e) &&930 (c = false)),931 u.delete(n),932 u.delete(t),933 (t = c);934 }935 } else t = false;936 else t = false;937 }938 }939 return t;940 }941 function Tt(n) {942 return yu(n) && '[object Map]' == vo(n);943 }944 function $t(n, t, r, e) {945 var u = r.length,946 i = u,947 o = !e;948 if (null == n) return !i;949 for (n = Qu(n); u--; ) {950 var f = r[u];951 if (o && f[2] ? f[1] !== n[f[0]] : !(f[0] in n)) return false;952 }953 for (; ++u < i; ) {954 var f = r[u],955 c = f[0],956 a = n[c],957 l = f[1];958 if (o && f[2]) {959 if (a === T && !(c in n)) return false;960 } else {961 if (((f = new Zn()), e)) var s = e(a, l, c, n, t, f);962 if (s === T ? !Mt(l, a, 3, e, f) : !s) return false;963 }964 }965 return true;966 }967 function Ft(n) {968 return !(!du(n) || (ci && ci in n)) && (_u(n) ? hi : dn).test(Te(n));969 }970 function Nt(n) {971 return yu(n) && '[object RegExp]' == Ot(n);972 }973 function Pt(n) {974 return yu(n) && '[object Set]' == vo(n);975 }976 function Zt(n) {977 return yu(n) && gu(n.length) && !!Bn[Ot(n)];978 }979 function qt(n) {980 return typeof n == 'function'981 ? n982 : null == n983 ? $u984 : typeof n == 'object'985 ? ff(n)986 ? Jt(n[0], n[1])987 : Ht(n)988 : Zu(n);989 }990 function Vt(n) {991 if (!ze(n)) return Li(n);992 var t,993 r = [];994 for (t in Qu(n)) oi.call(n, t) && 'constructor' != t && r.push(t);995 return r;996 }997 function Kt(n, t) {998 return n < t;999 }1000 function Gt(n, t) {1001 var r = -1,1002 e = su(n) ? Ku(n.length) : [];1003 return (1004 uo(n, function(n, u, i) {1005 e[++r] = t(n, u, i);1006 }),1007 e1008 );1009 }1010 function Ht(n) {1011 var t = xe(n);1012 return 1 == t.length && t[0][2]1013 ? We(t[0][0], t[0][1])1014 : function(r) {1015 return r === n || $t(r, n, t);1016 };1017 }1018 function Jt(n, t) {1019 return Ie(n) && t === t && !du(t)1020 ? We(Me(n), t)1021 : function(r) {1022 var e = Ru(r, n);1023 return e === T && e === t ? zu(r, n) : Mt(t, e, 3);1024 };1025 }1026 function Yt(n, t, r, e, u) {1027 n !== t &&1028 oo(1029 t,1030 function(i, o) {1031 if ((u || (u = new Zn()), du(i))) {1032 var f = u,1033 c = Le(n, o),1034 a = Le(t, o),1035 l = f.get(a);1036 if (l) it(n, o, l);1037 else {1038 var l = e ? e(c, a, o + '', n, t, f) : T,1039 s = l === T;1040 if (s) {1041 var h = ff(a),1042 p = !h && af(a),1043 _ = !h && !p && _f(a),1044 l = a;1045 h || p || _1046 ? ff(c)1047 ? (l = c)1048 : hu(c)1049 ? (l = Ur(c))1050 : p1051 ? ((s = false), (l = Ir(a, true)))1052 : _1053 ? ((s = false), (l = zr(a, true)))1054 : (l = [])1055 : xu(a) || of(a)1056 ? ((l = c), of(c) ? (l = Ou(c)) : (du(c) && !_u(c)) || (l = Ae(a)))1057 : (s = false);1058 }1059 s && (f.set(a, l), Yt(l, a, r, e, f), f.delete(a)), it(n, o, l);1060 }1061 } else (f = e ? e(Le(n, o), i, o + '', n, t, u) : T), f === T && (f = i), it(n, o, f);1062 },1063 Bu1064 );1065 }1066 function Qt(n, t) {1067 var r = n.length;1068 if (r) return (t += 0 > t ? r : 0), Se(t, r) ? n[t] : T;1069 }1070 function Xt(n, t, r) {1071 var e = -1;1072 return (1073 (t = c(t.length ? t : [$u], k(ye()))),1074 (n = Gt(n, function(n) {1075 return {1076 a: c(t, function(t) {1077 return t(n);1078 }),1079 b: ++e,1080 c: n1081 };1082 })),1083 w(n, function(n, t) {1084 var e;1085 n: {1086 e = -1;1087 for (var u = n.a, i = t.a, o = u.length, f = r.length; ++e < o; ) {1088 var c = Wr(u[e], i[e]);1089 if (c) {1090 e = e >= f ? c : c * ('desc' == r[e] ? -1 : 1);1091 break n;1092 }1093 }1094 e = n.b - t.b;1095 }1096 return e;1097 })1098 );1099 }1100 function nr(n, t) {1101 return tr(n, t, function(t, r) {1102 return zu(n, r);1103 });1104 }1105 function tr(n, t, r) {1106 for (var e = -1, u = t.length, i = {}; ++e < u; ) {1107 var o = t[e],1108 f = kt(n, o);1109 r(f, o) && lr(i, Sr(o, n), f);1110 }1111 return i;1112 }1113 function rr(n) {1114 return function(t) {1115 return kt(t, n);1116 };1117 }1118 function er(n, t, r, e) {1119 var u = e ? g : v,1120 i = -1,1121 o = t.length,1122 f = n;1123 for (n === t && (t = Ur(t)), r && (f = c(n, k(r))); ++i < o; )1124 for (var a = 0, l = t[i], l = r ? r(l) : l; -1 < (a = u(f, l, a, e)); )1125 f !== n && xi.call(f, a, 1), xi.call(n, a, 1);1126 return n;1127 }1128 function ur(n, t) {1129 for (var r = n ? t.length : 0, e = r - 1; r--; ) {1130 var u = t[r];1131 if (r == e || u !== i) {1132 var i = u;1133 Se(u) ? xi.call(n, u, 1) : xr(n, u);1134 }1135 }1136 }1137 function ir(n, t) {1138 return n + Ii(Ti() * (t - n + 1));1139 }1140 function or(n, t) {1141 var r = '';1142 if (!n || 1 > t || 9007199254740991 < t) return r;1143 do t % 2 && (r += n), (t = Ii(t / 2)) && (n += n);1144 while (t);1145 return r;1146 }1147 function fr(n, t) {1148 return xo(Be(n, t, $u), n + '');1149 }1150 function cr(n) {1151 return Qn(Uu(n));1152 }1153 function ar(n, t) {1154 var r = Uu(n);1155 return De(r, pt(t, 0, r.length));1156 }1157 function lr(n, t, r, e) {1158 if (!du(n)) return n;1159 t = Sr(t, n);1160 for (var u = -1, i = t.length, o = i - 1, f = n; null != f && ++u < i; ) {1161 var c = Me(t[u]),1162 a = r;1163 if (u != o) {1164 var l = f[c],1165 a = e ? e(l, c, f) : T;1166 a === T && (a = du(l) ? l : Se(t[u + 1]) ? [] : {});1167 }1168 ot(f, c, a), (f = f[c]);1169 }1170 return n;1171 }1172 function sr(n) {1173 return De(Uu(n));1174 }1175 function hr(n, t, r) {1176 var e = -1,1177 u = n.length;1178 for (1179 0 > t && (t = -t > u ? 0 : u + t),1180 r = r > u ? u : r,1181 0 > r && (r += u),1182 u = t > r ? 0 : (r - t) >>> 0,1183 t >>>= 0,1184 r = Ku(u);1185 ++e < u;1186 )1187 r[e] = n[e + t];1188 return r;1189 }1190 function pr(n, t) {1191 var r;1192 return (1193 uo(n, function(n, e, u) {1194 return (r = t(n, e, u)), !r;1195 }),1196 !!r1197 );1198 }1199 function _r(n, t, r) {1200 var e = 0,1201 u = null == n ? e : n.length;1202 if (typeof t == 'number' && t === t && 2147483647 >= u) {1203 for (; e < u; ) {1204 var i = (e + u) >>> 1,1205 o = n[i];1206 null !== o && !wu(o) && (r ? o <= t : o < t) ? (e = i + 1) : (u = i);1207 }1208 return u;1209 }1210 return vr(n, t, $u, r);1211 }1212 function vr(n, t, r, e) {1213 t = r(t);1214 for (var u = 0, i = null == n ? 0 : n.length, o = t !== t, f = null === t, c = wu(t), a = t === T; u < i; ) {1215 var l = Ii((u + i) / 2),1216 s = r(n[l]),1217 h = s !== T,1218 p = null === s,1219 _ = s === s,1220 v = wu(s);1221 (o1222 ? e || _1223 : a1224 ? _ && (e || h)1225 : f1226 ? _ && h && (e || !p)1227 : c1228 ? _ && h && !p && (e || !v)1229 : p || v1230 ? 01231 : e1232 ? s <= t1233 : s < t)1234 ? (u = l + 1)1235 : (i = l);1236 }1237 return Ci(i, 4294967294);1238 }1239 function gr(n, t) {1240 for (var r = -1, e = n.length, u = 0, i = []; ++r < e; ) {1241 var o = n[r],1242 f = t ? t(o) : o;1243 if (!r || !lu(f, c)) {1244 var c = f;1245 i[u++] = 0 === o ? 0 : o;1246 }1247 }1248 return i;1249 }1250 function dr(n) {1251 return typeof n == 'number' ? n : wu(n) ? F : +n;1252 }1253 function yr(n) {1254 if (typeof n == 'string') return n;1255 if (ff(n)) return c(n, yr) + '';1256 if (wu(n)) return ro ? ro.call(n) : '';1257 var t = n + '';1258 return '0' == t && 1 / n == -$ ? '-0' : t;1259 }1260 function br(n, t, r) {1261 var e = -1,1262 u = o,1263 i = n.length,1264 c = true,1265 a = [],1266 l = a;1267 if (r) (c = false), (u = f);1268 else if (200 <= i) {1269 if ((u = t ? null : so(n))) return U(u);1270 (c = false), (u = O), (l = new Nn());1271 } else l = t ? [] : a;1272 n: for (; ++e < i; ) {1273 var s = n[e],1274 h = t ? t(s) : s,1275 s = r || 0 !== s ? s : 0;1276 if (c && h === h) {1277 for (var p = l.length; p--; ) if (l[p] === h) continue n;1278 t && l.push(h), a.push(s);1279 } else u(l, h, r) || (l !== a && l.push(h), a.push(s));1280 }1281 return a;1282 }1283 function xr(n, t) {1284 return (t = Sr(t, n)), (n = 2 > t.length ? n : kt(n, hr(t, 0, -1))), null == n || delete n[Me(Ve(t))];1285 }1286 function jr(n, t, r, e) {1287 for (var u = n.length, i = e ? u : -1; (e ? i-- : ++i < u) && t(n[i], i, n); );1288 return r ? hr(n, e ? 0 : i, e ? i + 1 : u) : hr(n, e ? i + 1 : 0, e ? u : i);1289 }1290 function wr(n, t) {1291 var r = n;1292 return (1293 r instanceof Un && (r = r.value()),1294 l(1295 t,1296 function(n, t) {1297 return t.func.apply(t.thisArg, a([n], t.args));1298 },1299 r1300 )1301 );1302 }1303 function mr(n, t, r) {1304 var e = n.length;1305 if (2 > e) return e ? br(n[0]) : [];1306 for (var u = -1, i = Ku(e); ++u < e; )1307 for (var o = n[u], f = -1; ++f < e; ) f != u && (i[u] = yt(i[u] || o, n[f], t, r));1308 return br(wt(i, 1), t, r);1309 }1310 function Ar(n, t, r) {1311 for (var e = -1, u = n.length, i = t.length, o = {}; ++e < u; ) r(o, n[e], e < i ? t[e] : T);1312 return o;1313 }1314 function Er(n) {1315 return hu(n) ? n : [];1316 }1317 function kr(n) {1318 return typeof n == 'function' ? n : $u;1319 }1320 function Sr(n, t) {1321 return ff(n) ? n : Ie(n, t) ? [n] : jo(Iu(n));1322 }1323 function Or(n, t, r) {1324 var e = n.length;1325 return (r = r === T ? e : r), !t && r >= e ? n : hr(n, t, r);1326 }1327 function Ir(n, t) {1328 if (t) return n.slice();1329 var r = n.length,1330 r = gi ? gi(r) : new n.constructor(r);1331 return n.copy(r), r;1332 }1333 function Rr(n) {1334 var t = new n.constructor(n.byteLength);1335 return new vi(t).set(new vi(n)), t;1336 }1337 function zr(n, t) {1338 return new n.constructor(t ? Rr(n.buffer) : n.buffer, n.byteOffset, n.length);1339 }1340 function Wr(n, t) {1341 if (n !== t) {1342 var r = n !== T,1343 e = null === n,1344 u = n === n,1345 i = wu(n),1346 o = t !== T,1347 f = null === t,1348 c = t === t,1349 a = wu(t);1350 if ((!f && !a && !i && n > t) || (i && o && c && !f && !a) || (e && o && c) || (!r && c) || !u) return 1;1351 if ((!e && !i && !a && n < t) || (a && r && u && !e && !i) || (f && r && u) || (!o && u) || !c) return -1;1352 }1353 return 0;1354 }1355 function Br(n, t, r, e) {1356 var u = -1,1357 i = n.length,1358 o = r.length,1359 f = -1,1360 c = t.length,1361 a = Ui(i - o, 0),1362 l = Ku(c + a);1363 for (e = !e; ++f < c; ) l[f] = t[f];1364 for (; ++u < o; ) (e || u < i) && (l[r[u]] = n[u]);1365 for (; a--; ) l[f++] = n[u++];1366 return l;1367 }1368 function Lr(n, t, r, e) {1369 var u = -1,1370 i = n.length,1371 o = -1,1372 f = r.length,1373 c = -1,1374 a = t.length,1375 l = Ui(i - f, 0),1376 s = Ku(l + a);1377 for (e = !e; ++u < l; ) s[u] = n[u];1378 for (l = u; ++c < a; ) s[l + c] = t[c];1379 for (; ++o < f; ) (e || u < i) && (s[l + r[o]] = n[u++]);1380 return s;1381 }1382 function Ur(n, t) {1383 var r = -1,1384 e = n.length;1385 for (t || (t = Ku(e)); ++r < e; ) t[r] = n[r];1386 return t;1387 }1388 function Cr(n, t, r, e) {1389 var u = !r;1390 r || (r = {});1391 for (var i = -1, o = t.length; ++i < o; ) {1392 var f = t[i],1393 c = e ? e(r[f], n[f], f, r, n) : T;1394 c === T && (c = n[f]), u ? st(r, f, c) : ot(r, f, c);1395 }1396 return r;1397 }1398 function Dr(n, t) {1399 return Cr(n, po(n), t);1400 }1401 function Mr(n, t) {1402 return Cr(n, _o(n), t);1403 }1404 function Tr(n, r) {1405 return function(e, u) {1406 var i = ff(e) ? t : ct,1407 o = r ? r() : {};1408 return i(e, n, ye(u, 2), o);1409 };1410 }1411 function $r(n) {1412 return fr(function(t, r) {1413 var e = -1,1414 u = r.length,1415 i = 1 < u ? r[u - 1] : T,1416 o = 2 < u ? r[2] : T,1417 i = 3 < n.length && typeof i == 'function' ? (u--, i) : T;1418 for (o && Oe(r[0], r[1], o) && ((i = 3 > u ? T : i), (u = 1)), t = Qu(t); ++e < u; )1419 (o = r[e]) && n(t, o, e, i);1420 return t;1421 });1422 }1423 function Fr(n, t) {1424 return function(r, e) {1425 if (null == r) return r;1426 if (!su(r)) return n(r, e);1427 for (var u = r.length, i = t ? u : -1, o = Qu(r); (t ? i-- : ++i < u) && false !== e(o[i], i, o); );1428 return r;1429 };1430 }1431 function Nr(n) {1432 return function(t, r, e) {1433 var u = -1,1434 i = Qu(t);1435 e = e(t);1436 for (var o = e.length; o--; ) {1437 var f = e[n ? o : ++u];1438 if (false === r(i[f], f, i)) break;1439 }1440 return t;1441 };1442 }1443 function Pr(n, t, r) {1444 function e() {1445 return (this && this !== $n && this instanceof e ? i : n).apply(u ? r : this, arguments);1446 }1447 var u = 1 & t,1448 i = Vr(n);1449 return e;1450 }1451 function Zr(n) {1452 return function(t) {1453 t = Iu(t);1454 var r = Rn.test(t) ? M(t) : T,1455 e = r ? r[0] : t.charAt(0);1456 return (t = r ? Or(r, 1).join('') : t.slice(1)), e[n]() + t;1457 };1458 }1459 function qr(n) {1460 return function(t) {1461 return l(Mu(Du(t).replace(kn, '')), n, '');1462 };1463 }1464 function Vr(n) {1465 return function() {1466 var t = arguments;1467 switch (t.length) {1468 case 0:1469 return new n();1470 case 1:1471 return new n(t[0]);1472 case 2:1473 return new n(t[0], t[1]);1474 case 3:1475 return new n(t[0], t[1], t[2]);1476 case 4:1477 return new n(t[0], t[1], t[2], t[3]);1478 case 5:1479 return new n(t[0], t[1], t[2], t[3], t[4]);1480 case 6:1481 return new n(t[0], t[1], t[2], t[3], t[4], t[5]);1482 case 7:1483 return new n(t[0], t[1], t[2], t[3], t[4], t[5], t[6]);1484 }1485 var r = eo(n.prototype),1486 t = n.apply(r, t);1487 return du(t) ? t : r;1488 };1489 }1490 function Kr(t, r, e) {1491 function u() {1492 for (var o = arguments.length, f = Ku(o), c = o, a = de(u); c--; ) f[c] = arguments[c];1493 return (1494 (c = 3 > o && f[0] !== a && f[o - 1] !== a ? [] : L(f, a)),1495 (o -= c.length),1496 o < e1497 ? ue(t, r, Jr, u.placeholder, T, f, c, T, T, e - o)1498 : n(this && this !== $n && this instanceof u ? i : t, this, f)1499 );1500 }1501 var i = Vr(t);1502 return u;1503 }1504 function Gr(n) {1505 return function(t, r, e) {1506 var u = Qu(t);1507 if (!su(t)) {1508 var i = ye(r, 3);1509 (t = Wu(t)),1510 (r = function(n) {1511 return i(u[n], n, u);1512 });1513 }1514 return (r = n(t, r, e)), -1 < r ? u[i ? t[r] : r] : T;1515 };1516 }1517 function Hr(n) {1518 return pe(function(t) {1519 var r = t.length,1520 e = r,1521 u = On.prototype.thru;1522 for (n && t.reverse(); e--; ) {1523 var i = t[e];1524 if (typeof i != 'function') throw new ti('Expected a function');1525 if (u && !o && 'wrapper' == ge(i)) var o = new On([], true);1526 }1527 for (e = o ? e : r; ++e < r; )1528 var i = t[e],1529 u = ge(i),1530 f = 'wrapper' == u ? ho(i) : T,1531 o =1532 f && Re(f[0]) && 424 == f[1] && !f[4].length && 1 == f[9]1533 ? o[ge(f[0])].apply(o, f[3])1534 : 1 == i.length && Re(i)1535 ? o[u]()1536 : o.thru(i);1537 return function() {1538 var n = arguments,1539 e = n[0];1540 if (o && 1 == n.length && ff(e)) return o.plant(e).value();1541 for (var u = 0, n = r ? t[u].apply(this, n) : e; ++u < r; ) n = t[u].call(this, n);1542 return n;1543 };1544 });1545 }1546 function Jr(n, t, r, e, u, i, o, f, c, a) {1547 function l() {1548 for (var d = arguments.length, y = Ku(d), b = d; b--; ) y[b] = arguments[b];1549 if (_) {1550 var x,1551 j = de(l),1552 b = y.length;1553 for (x = 0; b--; ) y[b] === j && ++x;1554 }1555 if ((e && (y = Br(y, e, u, _)), i && (y = Lr(y, i, o, _)), (d -= x), _ && d < a))1556 return (j = L(y, j)), ue(n, t, Jr, l.placeholder, r, y, j, f, c, a - d);1557 if (((j = h ? r : this), (b = p ? j[n] : n), (d = y.length), f)) {1558 x = y.length;1559 for (var w = Ci(f.length, x), m = Ur(y); w--; ) {1560 var A = f[w];1561 y[w] = Se(A, x) ? m[A] : T;1562 }1563 } else v && 1 < d && y.reverse();1564 return (1565 s && c < d && (y.length = c), this && this !== $n && this instanceof l && (b = g || Vr(b)), b.apply(j, y)1566 );1567 }1568 var s = 128 & t,1569 h = 1 & t,1570 p = 2 & t,1571 _ = 24 & t,1572 v = 512 & t,1573 g = p ? T : Vr(n);1574 return l;1575 }1576 function Yr(n, t) {1577 return function(r, e) {1578 return Bt(r, n, t(e));1579 };1580 }1581 function Qr(n, t) {1582 return function(r, e) {1583 var u;1584 if (r === T && e === T) return t;1585 if ((r !== T && (u = r), e !== T)) {1586 if (u === T) return e;1587 typeof r == 'string' || typeof e == 'string' ? ((r = yr(r)), (e = yr(e))) : ((r = dr(r)), (e = dr(e))),1588 (u = n(r, e));1589 }1590 return u;1591 };1592 }1593 function Xr(t) {1594 return pe(function(r) {1595 return (1596 (r = c(r, k(ye()))),1597 fr(function(e) {1598 var u = this;1599 return t(r, function(t) {1600 return n(t, u, e);1601 });1602 })1603 );1604 });1605 }1606 function ne(n, t) {1607 t = t === T ? ' ' : yr(t);1608 var r = t.length;1609 return 2 > r1610 ? r1611 ? or(t, n)1612 : t1613 : ((r = or(t, Oi(n / D(t)))), Rn.test(t) ? Or(M(r), 0, n).join('') : r.slice(0, n));1614 }1615 function te(t, r, e, u) {1616 function i() {1617 for (1618 var r = -1,1619 c = arguments.length,1620 a = -1,1621 l = u.length,1622 s = Ku(l + c),1623 h = this && this !== $n && this instanceof i ? f : t;1624 ++a < l;1625 )1626 s[a] = u[a];1627 for (; c--; ) s[a++] = arguments[++r];1628 return n(h, o ? e : this, s);1629 }1630 var o = 1 & r,1631 f = Vr(t);1632 return i;1633 }1634 function re(n) {1635 return function(t, r, e) {1636 e && typeof e != 'number' && Oe(t, r, e) && (r = e = T),1637 (t = Au(t)),1638 r === T ? ((r = t), (t = 0)) : (r = Au(r)),1639 (e = e === T ? (t < r ? 1 : -1) : Au(e));1640 var u = -1;1641 r = Ui(Oi((r - t) / (e || 1)), 0);1642 for (var i = Ku(r); r--; ) (i[n ? r : ++u] = t), (t += e);1643 return i;1644 };1645 }1646 function ee(n) {1647 return function(t, r) {1648 return (typeof t == 'string' && typeof r == 'string') || ((t = Su(t)), (r = Su(r))), n(t, r);1649 };1650 }1651 function ue(n, t, r, e, u, i, o, f, c, a) {1652 var l = 8 & t,1653 s = l ? o : T;1654 o = l ? T : o;1655 var h = l ? i : T;1656 return (1657 (i = l ? T : i),1658 (t = (t | (l ? 32 : 64)) & ~(l ? 64 : 32)),1659 4 & t || (t &= -4),1660 (u = [n, t, u, h, s, i, o, f, c, a]),1661 (r = r.apply(T, u)),1662 Re(n) && yo(r, u),1663 (r.placeholder = e),1664 Ue(r, n, t)1665 );1666 }1667 function ie(n) {1668 var t = Yu[n];1669 return function(n, r) {1670 if (((n = Su(n)), (r = null == r ? 0 : Ci(Eu(r), 292)) && Wi(n))) {1671 var e = (Iu(n) + 'e').split('e'),1672 e = t(e[0] + 'e' + (+e[1] + r)),1673 e = (Iu(e) + 'e').split('e');1674 return +(e[0] + 'e' + (+e[1] - r));1675 }1676 return t(n);1677 };1678 }1679 function oe(n) {1680 return function(t) {1681 var r = vo(t);1682 return '[object Map]' == r ? W(t) : '[object Set]' == r ? C(t) : E(t, n(t));1683 };1684 }1685 function fe(n, t, r, e, u, i, o, f) {1686 var c = 2 & t;1687 if (!c && typeof n != 'function') throw new ti('Expected a function');1688 var a = e ? e.length : 0;1689 if (1690 (a || ((t &= -97), (e = u = T)),1691 (o = o === T ? o : Ui(Eu(o), 0)),1692 (f = f === T ? f : Eu(f)),1693 (a -= u ? u.length : 0),1694 64 & t)1695 ) {1696 var l = e,1697 s = u;1698 e = u = T;1699 }1700 var h = c ? T : ho(n);1701 return (1702 (i = [n, t, r, e, u, l, s, i, o, f]),1703 h &&1704 ((r = i[1]),1705 (n = h[1]),1706 (t = r | n),1707 (e =1708 (128 == n && 8 == r) ||1709 (128 == n && 256 == r && i[7].length <= h[8]) ||1710 (384 == n && h[7].length <= h[8] && 8 == r)),1711 131 > t || e) &&1712 (1 & n && ((i[2] = h[2]), (t |= 1 & r ? 0 : 4)),1713 (r = h[3]) &&1714 ((e = i[3]), (i[3] = e ? Br(e, r, h[4]) : r), (i[4] = e ? L(i[3], '__lodash_placeholder__') : h[4])),1715 (r = h[5]) &&1716 ((e = i[5]), (i[5] = e ? Lr(e, r, h[6]) : r), (i[6] = e ? L(i[5], '__lodash_placeholder__') : h[6])),1717 (r = h[7]) && (i[7] = r),1718 128 & n && (i[8] = null == i[8] ? h[8] : Ci(i[8], h[8])),1719 null == i[9] && (i[9] = h[9]),1720 (i[0] = h[0]),1721 (i[1] = t)),1722 (n = i[0]),1723 (t = i[1]),1724 (r = i[2]),1725 (e = i[3]),1726 (u = i[4]),1727 (f = i[9] = i[9] === T ? (c ? 0 : n.length) : Ui(i[9] - a, 0)),1728 !f && 24 & t && (t &= -25),1729 Ue(1730 (h ? co : yo)(1731 t && 1 != t1732 ? 8 == t || 16 == t1733 ? Kr(n, t, f)1734 : (32 != t && 33 != t) || u.length1735 ? Jr.apply(T, i)1736 : te(n, t, r, e)1737 : Pr(n, t, r),1738 i1739 ),1740 n,1741 t1742 )1743 );1744 }1745 function ce(n, t, r, e) {1746 return n === T || (lu(n, ei[r]) && !oi.call(e, r)) ? t : n;1747 }1748 function ae(n, t, r, e, u, i) {1749 return du(n) && du(t) && (i.set(t, n), Yt(n, t, T, ae, i), i.delete(t)), n;1750 }1751 function le(n) {1752 return xu(n) ? T : n;1753 }1754 function se(n, t, r, e, u, i) {1755 var o = 1 & r,1756 f = n.length,1757 c = t.length;1758 if (f != c && !(o && c > f)) return false;1759 if ((c = i.get(n)) && i.get(t)) return c == t;1760 var c = -1,1761 a = true,1762 l = 2 & r ? new Nn() : T;1763 for (i.set(n, t), i.set(t, n); ++c < f; ) {1764 var s = n[c],1765 p = t[c];1766 if (e) var _ = o ? e(p, s, c, t, n, i) : e(s, p, c, n, t, i);1767 if (_ !== T) {1768 if (_) continue;1769 a = false;1770 break;1771 }1772 if (l) {1773 if (1774 !h(t, function(n, t) {1775 if (!O(l, t) && (s === n || u(s, n, r, e, i))) return l.push(t);1776 })1777 ) {1778 a = false;1779 break;1780 }1781 } else if (s !== p && !u(s, p, r, e, i)) {1782 a = false;1783 break;1784 }1785 }1786 return i.delete(n), i.delete(t), a;1787 }1788 function he(n, t, r, e, u, i, o) {1789 switch (r) {1790 case '[object DataView]':1791 if (n.byteLength != t.byteLength || n.byteOffset != t.byteOffset) break;1792 (n = n.buffer), (t = t.buffer);1793 case '[object ArrayBuffer]':1794 if (n.byteLength != t.byteLength || !i(new vi(n), new vi(t))) break;1795 return true;1796 case '[object Boolean]':1797 case '[object Date]':1798 case '[object Number]':1799 return lu(+n, +t);1800 case '[object Error]':1801 return n.name == t.name && n.message == t.message;1802 case '[object RegExp]':1803 case '[object String]':1804 return n == t + '';1805 case '[object Map]':1806 var f = W;1807 case '[object Set]':1808 if ((f || (f = U), n.size != t.size && !(1 & e))) break;1809 return (r = o.get(n)) ? r == t : ((e |= 2), o.set(n, t), (t = se(f(n), f(t), e, u, i, o)), o.delete(n), t);1810 case '[object Symbol]':1811 if (to) return to.call(n) == to.call(t);1812 }1813 return false;1814 }1815 function pe(n) {1816 return xo(Be(n, T, Ze), n + '');1817 }1818 function _e(n) {1819 return St(n, Wu, po);1820 }1821 function ve(n) {1822 return St(n, Bu, _o);1823 }1824 function ge(n) {1825 for (var t = n.name + '', r = Gi[t], e = oi.call(Gi, t) ? r.length : 0; e--; ) {1826 var u = r[e],1827 i = u.func;1828 if (null == i || i == n) return u.name;1829 }1830 return t;1831 }1832 function de(n) {1833 return (oi.call(An, 'placeholder') ? An : n).placeholder;1834 }1835 function ye() {1836 var n = An.iteratee || Fu,1837 n = n === Fu ? qt : n;1838 return arguments.length ? n(arguments[0], arguments[1]) : n;1839 }1840 function be(n, t) {1841 var r = n.__data__,1842 e = typeof t;1843 return ('string' == e || 'number' == e || 'symbol' == e || 'boolean' == e1844 ? '__proto__' !== t1845 : null === t)1846 ? r[typeof t == 'string' ? 'string' : 'hash']1847 : r.map;1848 }1849 function xe(n) {1850 for (var t = Wu(n), r = t.length; r--; ) {1851 var e = t[r],1852 u = n[e];1853 t[r] = [e, u, u === u && !du(u)];1854 }1855 return t;1856 }1857 function je(n, t) {1858 var r = null == n ? T : n[t];1859 return Ft(r) ? r : T;1860 }1861 function we(n, t, r) {1862 t = Sr(t, n);1863 for (var e = -1, u = t.length, i = false; ++e < u; ) {1864 var o = Me(t[e]);1865 if (!(i = null != n && r(n, o))) break;1866 n = n[o];1867 }1868 return i || ++e != u ? i : ((u = null == n ? 0 : n.length), !!u && gu(u) && Se(o, u) && (ff(n) || of(n)));1869 }1870 function me(n) {1871 var t = n.length,1872 r = new n.constructor(t);1873 return t && 'string' == typeof n[0] && oi.call(n, 'index') && ((r.index = n.index), (r.input = n.input)), r;1874 }1875 function Ae(n) {1876 return typeof n.constructor != 'function' || ze(n) ? {} : eo(di(n));1877 }1878 function Ee(n, t, r) {1879 var e = n.constructor;1880 switch (t) {1881 case '[object ArrayBuffer]':1882 return Rr(n);1883 case '[object Boolean]':1884 case '[object Date]':1885 return new e(+n);1886 case '[object DataView]':1887 return (t = r ? Rr(n.buffer) : n.buffer), new n.constructor(t, n.byteOffset, n.byteLength);1888 case '[object Float32Array]':1889 case '[object Float64Array]':1890 case '[object Int8Array]':1891 case '[object Int16Array]':1892 case '[object Int32Array]':1893 case '[object Uint8Array]':1894 case '[object Uint8ClampedArray]':1895 case '[object Uint16Array]':1896 case '[object Uint32Array]':1897 return zr(n, r);1898 case '[object Map]':1899 return new e();1900 case '[object Number]':1901 case '[object String]':1902 return new e(n);1903 case '[object RegExp]':1904 return (t = new n.constructor(n.source, _n.exec(n))), (t.lastIndex = n.lastIndex), t;1905 case '[object Set]':1906 return new e();1907 case '[object Symbol]':1908 return to ? Qu(to.call(n)) : {};1909 }1910 }1911 function ke(n) {1912 return ff(n) || of(n) || !!(ji && n && n[ji]);1913 }1914 function Se(n, t) {1915 var r = typeof n;1916 return (1917 (t = null == t ? 9007199254740991 : t),1918 !!t && ('number' == r || ('symbol' != r && bn.test(n))) && -1 < n && 0 == n % 1 && n < t1919 );1920 }1921 function Oe(n, t, r) {1922 if (!du(r)) return false;1923 var e = typeof t;1924 return !!('number' == e ? su(r) && Se(t, r.length) : 'string' == e && t in r) && lu(r[t], n);1925 }1926 function Ie(n, t) {1927 if (ff(n)) return false;1928 var r = typeof n;1929 return (1930 !('number' != r && 'symbol' != r && 'boolean' != r && null != n && !wu(n)) ||1931 (nn.test(n) || !X.test(n) || (null != t && n in Qu(t)))1932 );1933 }1934 function Re(n) {1935 var t = ge(n),1936 r = An[t];1937 return typeof r == 'function' && t in Un.prototype && (n === r || ((t = ho(r)), !!t && n === t[0]));1938 }1939 function ze(n) {1940 var t = n && n.constructor;1941 return n === ((typeof t == 'function' && t.prototype) || ei);1942 }1943 function We(n, t) {1944 return function(r) {1945 return null != r && (r[n] === t && (t !== T || n in Qu(r)));1946 };1947 }1948 function Be(t, r, e) {1949 return (1950 (r = Ui(r === T ? t.length - 1 : r, 0)),1951 function() {1952 for (var u = arguments, i = -1, o = Ui(u.length - r, 0), f = Ku(o); ++i < o; ) f[i] = u[r + i];1953 for (i = -1, o = Ku(r + 1); ++i < r; ) o[i] = u[i];1954 return (o[r] = e(f)), n(t, this, o);1955 }1956 );1957 }1958 function Le(n, t) {1959 if (('constructor' !== t || 'function' != typeof n[t]) && '__proto__' != t) return n[t];1960 }1961 function Ue(n, t, r) {1962 var e = t + '';1963 t = xo;1964 var u,1965 i = $e;1966 return (1967 (u = (u = e.match(an)) ? u[1].split(ln) : []),1968 (r = i(u, r)),1969 (i = r.length) &&1970 ((u = i - 1),1971 (r[u] = (1 < i ? '& ' : '') + r[u]),1972 (r = r.join(2 < i ? ', ' : ' ')),1973 (e = e.replace(cn, '{\n/* [wrapped with ' + r + '] */\n'))),1974 t(n, e)1975 );1976 }1977 function Ce(n) {1978 var t = 0,1979 r = 0;1980 return function() {1981 var e = Di(),1982 u = 16 - (e - r);1983 if (((r = e), 0 < u)) {1984 if (800 <= ++t) return arguments[0];1985 } else t = 0;1986 return n.apply(T, arguments);1987 };1988 }1989 function De(n, t) {1990 var r = -1,1991 e = n.length,1992 u = e - 1;1993 for (t = t === T ? e : t; ++r < t; ) {1994 var e = ir(r, u),1995 i = n[e];1996 (n[e] = n[r]), (n[r] = i);1997 }1998 return (n.length = t), n;1999 }2000 function Me(n) {2001 if (typeof n == 'string' || wu(n)) return n;2002 var t = n + '';2003 return '0' == t && 1 / n == -$ ? '-0' : t;2004 }2005 function Te(n) {2006 if (null != n) {2007 try {2008 return ii.call(n);2009 } catch (n) {}2010 return n + '';2011 }2012 return '';2013 }2014 function $e(n, t) {2015 return (2016 r(N, function(r) {2017 var e = '_.' + r[0];2018 t & r[1] && !o(n, e) && n.push(e);2019 }),2020 n.sort()2021 );2022 }2023 function Fe(n) {2024 if (n instanceof Un) return n.clone();2025 var t = new On(n.__wrapped__, n.__chain__);2026 return (t.__actions__ = Ur(n.__actions__)), (t.__index__ = n.__index__), (t.__values__ = n.__values__), t;2027 }2028 function Ne(n, t, r) {2029 var e = null == n ? 0 : n.length;2030 return e ? ((r = null == r ? 0 : Eu(r)), 0 > r && (r = Ui(e + r, 0)), _(n, ye(t, 3), r)) : -1;2031 }2032 function Pe(n, t, r) {2033 var e = null == n ? 0 : n.length;2034 if (!e) return -1;2035 var u = e - 1;2036 return r !== T && ((u = Eu(r)), (u = 0 > r ? Ui(e + u, 0) : Ci(u, e - 1))), _(n, ye(t, 3), u, true);2037 }2038 function Ze(n) {2039 return (null == n ? 0 : n.length) ? wt(n, 1) : [];2040 }2041 function qe(n) {2042 return n && n.length ? n[0] : T;2043 }2044 function Ve(n) {2045 var t = null == n ? 0 : n.length;2046 return t ? n[t - 1] : T;2047 }2048 function Ke(n, t) {2049 return n && n.length && t && t.length ? er(n, t) : n;2050 }2051 function Ge(n) {2052 return null == n ? n : $i.call(n);2053 }2054 function He(n) {2055 if (!n || !n.length) return [];2056 var t = 0;2057 return (2058 (n = i(n, function(n) {2059 if (hu(n)) return (t = Ui(n.length, t)), true;2060 })),2061 A(t, function(t) {2062 return c(n, b(t));2063 })2064 );2065 }2066 function Je(t, r) {2067 if (!t || !t.length) return [];2068 var e = He(t);2069 return null == r2070 ? e2071 : c(e, function(t) {2072 return n(r, T, t);2073 });2074 }2075 function Ye(n) {2076 return (n = An(n)), (n.__chain__ = true), n;2077 }2078 function Qe(n, t) {2079 return t(n);2080 }2081 function Xe() {2082 return this;2083 }2084 function nu(n, t) {2085 return (ff(n) ? r : uo)(n, ye(t, 3));2086 }2087 function tu(n, t) {2088 return (ff(n) ? e : io)(n, ye(t, 3));2089 }2090 function ru(n, t) {2091 return (ff(n) ? c : Gt)(n, ye(t, 3));2092 }2093 function eu(n, t, r) {2094 return (t = r ? T : t), (t = n && null == t ? n.length : t), fe(n, 128, T, T, T, T, t);2095 }2096 function uu(n, t) {2097 var r;2098 if (typeof t != 'function') throw new ti('Expected a function');2099 return (2100 (n = Eu(n)),2101 function() {2102 return 0 < --n && (r = t.apply(this, arguments)), 1 >= n && (t = T), r;2103 }2104 );2105 }2106 function iu(n, t, r) {2107 return (t = r ? T : t), (n = fe(n, 8, T, T, T, T, T, t)), (n.placeholder = iu.placeholder), n;2108 }2109 function ou(n, t, r) {2110 return (t = r ? T : t), (n = fe(n, 16, T, T, T, T, T, t)), (n.placeholder = ou.placeholder), n;2111 }2112 function fu(n, t, r) {2113 function e(t) {2114 var r = c,2115 e = a;2116 return (c = a = T), (_ = t), (s = n.apply(e, r));2117 }2118 function u(n) {2119 var r = n - p;2120 return (n -= _), p === T || r >= t || 0 > r || (g && n >= l);2121 }2122 function i() {2123 var n = Go();2124 if (u(n)) return o(n);2125 var r,2126 e = bo;2127 (r = n - _), (n = t - (n - p)), (r = g ? Ci(n, l - r) : n), (h = e(i, r));2128 }2129 function o(n) {2130 return (h = T), d && c ? e(n) : ((c = a = T), s);2131 }2132 function f() {2133 var n = Go(),2134 r = u(n);2135 if (((c = arguments), (a = this), (p = n), r)) {2136 if (h === T) return (_ = n = p), (h = bo(i, t)), v ? e(n) : s;2137 if (g) return lo(h), (h = bo(i, t)), e(p);2138 }2139 return h === T && (h = bo(i, t)), s;2140 }2141 var c,2142 a,2143 l,2144 s,2145 h,2146 p,2147 _ = 0,2148 v = false,2149 g = false,2150 d = true;2151 if (typeof n != 'function') throw new ti('Expected a function');2152 return (2153 (t = Su(t) || 0),2154 du(r) &&2155 ((v = !!r.leading),2156 (l = (g = 'maxWait' in r) ? Ui(Su(r.maxWait) || 0, t) : l),2157 (d = 'trailing' in r ? !!r.trailing : d)),2158 (f.cancel = function() {2159 h !== T && lo(h), (_ = 0), (c = p = a = h = T);2160 }),2161 (f.flush = function() {2162 return h === T ? s : o(Go());2163 }),2164 f2165 );2166 }2167 function cu(n, t) {2168 function r() {2169 var e = arguments,2170 u = t ? t.apply(this, e) : e[0],2171 i = r.cache;2172 return i.has(u) ? i.get(u) : ((e = n.apply(this, e)), (r.cache = i.set(u, e) || i), e);2173 }2174 if (typeof n != 'function' || (null != t && typeof t != 'function')) throw new ti('Expected a function');2175 return (r.cache = new (cu.Cache || Fn)()), r;2176 }2177 function au(n) {2178 if (typeof n != 'function') throw new ti('Expected a function');2179 return function() {2180 var t = arguments;2181 switch (t.length) {2182 case 0:2183 return !n.call(this);2184 case 1:2185 return !n.call(this, t[0]);2186 case 2:2187 return !n.call(this, t[0], t[1]);2188 case 3:2189 return !n.call(this, t[0], t[1], t[2]);2190 }2191 return !n.apply(this, t);2192 };2193 }2194 function lu(n, t) {2195 return n === t || (n !== n && t !== t);2196 }2197 function su(n) {2198 return null != n && gu(n.length) && !_u(n);2199 }2200 function hu(n) {2201 return yu(n) && su(n);2202 }2203 function pu(n) {2204 if (!yu(n)) return false;2205 var t = Ot(n);2206 return (2207 '[object Error]' == t ||2208 '[object DOMException]' == t ||2209 (typeof n.message == 'string' && typeof n.name == 'string' && !xu(n))2210 );2211 }2212 function _u(n) {2213 return (2214 !!du(n) &&2215 ((n = Ot(n)),2216 '[object Function]' == n ||2217 '[object GeneratorFunction]' == n ||2218 '[object AsyncFunction]' == n ||2219 '[object Proxy]' == n)2220 );2221 }2222 function vu(n) {2223 return typeof n == 'number' && n == Eu(n);2224 }2225 function gu(n) {2226 return typeof n == 'number' && -1 < n && 0 == n % 1 && 9007199254740991 >= n;2227 }2228 function du(n) {2229 var t = typeof n;2230 return null != n && ('object' == t || 'function' == t);2231 }2232 function yu(n) {2233 return null != n && typeof n == 'object';2234 }2235 function bu(n) {2236 return typeof n == 'number' || (yu(n) && '[object Number]' == Ot(n));2237 }2238 function xu(n) {2239 return (2240 !(!yu(n) || '[object Object]' != Ot(n)) &&2241 ((n = di(n)),2242 null === n ||2243 ((n = oi.call(n, 'constructor') && n.constructor),2244 typeof n == 'function' && n instanceof n && ii.call(n) == li))2245 );2246 }2247 function ju(n) {2248 return typeof n == 'string' || (!ff(n) && yu(n) && '[object String]' == Ot(n));2249 }2250 function wu(n) {2251 return typeof n == 'symbol' || (yu(n) && '[object Symbol]' == Ot(n));2252 }2253 function mu(n) {2254 if (!n) return [];2255 if (su(n)) return ju(n) ? M(n) : Ur(n);2256 if (wi && n[wi]) {2257 n = n[wi]();2258 for (var t, r = []; !(t = n.next()).done; ) r.push(t.value);2259 return r;2260 }2261 return (t = vo(n)), ('[object Map]' == t ? W : '[object Set]' == t ? U : Uu)(n);2262 }2263 function Au(n) {2264 return n2265 ? ((n = Su(n)), n === $ || n === -$ ? 1.7976931348623157e308 * (0 > n ? -1 : 1) : n === n ? n : 0)2266 : 0 === n2267 ? n2268 : 0;2269 }2270 function Eu(n) {2271 n = Au(n);2272 var t = n % 1;2273 return n === n ? (t ? n - t : n) : 0;2274 }2275 function ku(n) {2276 return n ? pt(Eu(n), 0, 4294967295) : 0;2277 }2278 function Su(n) {2279 if (typeof n == 'number') return n;2280 if (wu(n)) return F;2281 if (2282 (du(n) && ((n = typeof n.valueOf == 'function' ? n.valueOf() : n), (n = du(n) ? n + '' : n)),2283 typeof n != 'string')2284 )2285 return 0 === n ? n : +n;2286 n = n.replace(un, '');2287 var t = gn.test(n);2288 return t || yn.test(n) ? Dn(n.slice(2), t ? 2 : 8) : vn.test(n) ? F : +n;2289 }2290 function Ou(n) {2291 return Cr(n, Bu(n));2292 }2293 function Iu(n) {2294 return null == n ? '' : yr(n);2295 }2296 function Ru(n, t, r) {2297 return (n = null == n ? T : kt(n, t)), n === T ? r : n;2298 }2299 function zu(n, t) {2300 return null != n && we(n, t, zt);2301 }2302 function Wu(n) {2303 return su(n) ? qn(n) : Vt(n);2304 }2305 function Bu(n) {2306 if (su(n)) n = qn(n, true);2307 else if (du(n)) {2308 var t,2309 r = ze(n),2310 e = [];2311 for (t in n) ('constructor' != t || (!r && oi.call(n, t))) && e.push(t);2312 n = e;2313 } else {2314 if (((t = []), null != n)) for (r in Qu(n)) t.push(r);2315 n = t;2316 }2317 return n;2318 }2319 function Lu(n, t) {2320 if (null == n) return {};2321 var r = c(ve(n), function(n) {2322 return [n];2323 });2324 return (2325 (t = ye(t)),2326 tr(n, r, function(n, r) {2327 return t(n, r[0]);2328 })2329 );2330 }2331 function Uu(n) {2332 return null == n ? [] : S(n, Wu(n));2333 }2334 function Cu(n) {2335 return $f(Iu(n).toLowerCase());2336 }2337 function Du(n) {2338 return (n = Iu(n)) && n.replace(xn, Xn).replace(Sn, '');2339 }2340 function Mu(n, t, r) {2341 return (2342 (n = Iu(n)),2343 (t = r ? T : t),2344 t === T ? (zn.test(n) ? n.match(In) || [] : n.match(sn) || []) : n.match(t) || []2345 );2346 }2347 function Tu(n) {2348 return function() {2349 return n;2350 };2351 }2352 function $u(n) {2353 return n;2354 }2355 function Fu(n) {2356 return qt(typeof n == 'function' ? n : _t(n, 1));2357 }2358 function Nu(n, t, e) {2359 var u = Wu(t),2360 i = Et(t, u);2361 null != e || (du(t) && (i.length || !u.length)) || ((e = t), (t = n), (n = this), (i = Et(t, Wu(t))));2362 var o = !(du(e) && 'chain' in e && !e.chain),2363 f = _u(n);2364 return (2365 r(i, function(r) {2366 var e = t[r];2367 (n[r] = e),2368 f &&2369 (n.prototype[r] = function() {2370 var t = this.__chain__;2371 if (o || t) {2372 var r = n(this.__wrapped__);2373 return (2374 (r.__actions__ = Ur(this.__actions__)).push({ func: e, args: arguments, thisArg: n }),2375 (r.__chain__ = t),2376 r2377 );2378 }2379 return e.apply(n, a([this.value()], arguments));2380 });2381 }),2382 n2383 );2384 }2385 function Pu() {}2386 function Zu(n) {2387 return Ie(n) ? b(Me(n)) : rr(n);2388 }2389 function qu() {2390 return [];2391 }2392 function Vu() {2393 return false;2394 }2395 mn = null == mn ? $n : rt.defaults($n.Object(), mn, rt.pick($n, Wn));2396 var Ku = mn.Array,2397 Gu = mn.Date,2398 Hu = mn.Error,2399 Ju = mn.Function,2400 Yu = mn.Math,2401 Qu = mn.Object,2402 Xu = mn.RegExp,2403 ni = mn.String,2404 ti = mn.TypeError,2405 ri = Ku.prototype,2406 ei = Qu.prototype,2407 ui = mn['__core-js_shared__'],2408 ii = Ju.prototype.toString,2409 oi = ei.hasOwnProperty,2410 fi = 0,2411 ci = (function() {2412 var n = /[^.]+$/.exec((ui && ui.keys && ui.keys.IE_PROTO) || '');2413 return n ? 'Symbol(src)_1.' + n : '';2414 })(),2415 ai = ei.toString,2416 li = ii.call(Qu),2417 si = $n._,2418 hi = Xu(2419 '^' +2420 ii2421 .call(oi)2422 .replace(rn, '\\$&')2423 .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') +2424 '$'2425 ),2426 pi = Pn ? mn.Buffer : T,2427 _i = mn.Symbol,2428 vi = mn.Uint8Array,2429 gi = pi ? pi.g : T,2430 di = B(Qu.getPrototypeOf, Qu),2431 yi = Qu.create,2432 bi = ei.propertyIsEnumerable,2433 xi = ri.splice,2434 ji = _i ? _i.isConcatSpreadable : T,2435 wi = _i ? _i.iterator : T,2436 mi = _i ? _i.toStringTag : T,2437 Ai = (function() {2438 try {2439 var n = je(Qu, 'defineProperty');2440 return n({}, '', {}), n;2441 } catch (n) {}2442 })(),2443 Ei = mn.clearTimeout !== $n.clearTimeout && mn.clearTimeout,2444 ki = Gu && Gu.now !== $n.Date.now && Gu.now,2445 Si = mn.setTimeout !== $n.setTimeout && mn.setTimeout,2446 Oi = Yu.ceil,2447 Ii = Yu.floor,2448 Ri = Qu.getOwnPropertySymbols,2449 zi = pi ? pi.isBuffer : T,2450 Wi = mn.isFinite,2451 Bi = ri.join,2452 Li = B(Qu.keys, Qu),2453 Ui = Yu.max,2454 Ci = Yu.min,2455 Di = Gu.now,2456 Mi = mn.parseInt,2457 Ti = Yu.random,2458 $i = ri.reverse,2459 Fi = je(mn, 'DataView'),2460 Ni = je(mn, 'Map'),2461 Pi = je(mn, 'Promise'),2462 Zi = je(mn, 'Set'),2463 qi = je(mn, 'WeakMap'),2464 Vi = je(Qu, 'create'),2465 Ki = qi && new qi(),2466 Gi = {},2467 Hi = Te(Fi),2468 Ji = Te(Ni),2469 Yi = Te(Pi),2470 Qi = Te(Zi),2471 Xi = Te(qi),2472 no = _i ? _i.prototype : T,2473 to = no ? no.valueOf : T,2474 ro = no ? no.toString : T,2475 eo = (function() {2476 function n() {}2477 return function(t) {2478 return du(t) ? (yi ? yi(t) : ((n.prototype = t), (t = new n()), (n.prototype = T), t)) : {};2479 };2480 })();2481 (An.templateSettings = { escape: J, evaluate: Y, interpolate: Q, variable: '', imports: { _: An } }),2482 (An.prototype = En.prototype),2483 (An.prototype.constructor = An),2484 (On.prototype = eo(En.prototype)),2485 (On.prototype.constructor = On),2486 (Un.prototype = eo(En.prototype)),2487 (Un.prototype.constructor = Un),2488 (Mn.prototype.clear = function() {2489 (this.__data__ = Vi ? Vi(null) : {}), (this.size = 0);2490 }),2491 (Mn.prototype.delete = function(n) {2492 return (n = this.has(n) && delete this.__data__[n]), (this.size -= n ? 1 : 0), n;2493 }),2494 (Mn.prototype.get = function(n) {2495 var t = this.__data__;2496 return Vi ? ((n = t[n]), '__lodash_hash_undefined__' === n ? T : n) : oi.call(t, n) ? t[n] : T;2497 }),2498 (Mn.prototype.has = function(n) {2499 var t = this.__data__;2500 return Vi ? t[n] !== T : oi.call(t, n);2501 }),2502 (Mn.prototype.set = function(n, t) {2503 var r = this.__data__;2504 return (this.size += this.has(n) ? 0 : 1), (r[n] = Vi && t === T ? '__lodash_hash_undefined__' : t), this;2505 }),2506 (Tn.prototype.clear = function() {2507 (this.__data__ = []), (this.size = 0);2508 }),2509 (Tn.prototype.delete = function(n) {2510 var t = this.__data__;2511 return (n = ft(t, n)), !(0 > n) && (n == t.length - 1 ? t.pop() : xi.call(t, n, 1), --this.size, true);2512 }),2513 (Tn.prototype.get = function(n) {2514 var t = this.__data__;2515 return (n = ft(t, n)), 0 > n ? T : t[n][1];2516 }),2517 (Tn.prototype.has = function(n) {2518 return -1 < ft(this.__data__, n);2519 }),2520 (Tn.prototype.set = function(n, t) {2521 var r = this.__data__,2522 e = ft(r, n);2523 return 0 > e ? (++this.size, r.push([n, t])) : (r[e][1] = t), this;2524 }),2525 (Fn.prototype.clear = function() {2526 (this.size = 0), (this.__data__ = { hash: new Mn(), map: new (Ni || Tn)(), string: new Mn() });2527 }),2528 (Fn.prototype.delete = function(n) {2529 return (n = be(this, n).delete(n)), (this.size -= n ? 1 : 0), n;2530 }),2531 (Fn.prototype.get = function(n) {2532 return be(this, n).get(n);2533 }),2534 (Fn.prototype.has = function(n) {2535 return be(this, n).has(n);2536 }),2537 (Fn.prototype.set = function(n, t) {2538 var r = be(this, n),2539 e = r.size;2540 return r.set(n, t), (this.size += r.size == e ? 0 : 1), this;2541 }),2542 (Nn.prototype.add = Nn.prototype.push = function(n) {2543 return this.__data__.set(n, '__lodash_hash_undefined__'), this;2544 }),2545 (Nn.prototype.has = function(n) {2546 return this.__data__.has(n);2547 }),2548 (Zn.prototype.clear = function() {2549 (this.__data__ = new Tn()), (this.size = 0);2550 }),2551 (Zn.prototype.delete = function(n) {2552 var t = this.__data__;2553 return (n = t.delete(n)), (this.size = t.size), n;2554 }),2555 (Zn.prototype.get = function(n) {2556 return this.__data__.get(n);2557 }),2558 (Zn.prototype.has = function(n) {2559 return this.__data__.has(n);2560 }),2561 (Zn.prototype.set = function(n, t) {2562 var r = this.__data__;2563 if (r instanceof Tn) {2564 var e = r.__data__;2565 if (!Ni || 199 > e.length) return e.push([n, t]), (this.size = ++r.size), this;2566 r = this.__data__ = new Fn(e);2567 }2568 return r.set(n, t), (this.size = r.size), this;2569 });2570 var uo = Fr(mt),2571 io = Fr(At, true),2572 oo = Nr(),2573 fo = Nr(true),2574 co = Ki2575 ? function(n, t) {2576 return Ki.set(n, t), n;2577 }2578 : $u,2579 ao = Ai2580 ? function(n, t) {2581 return Ai(n, 'toString', { configurable: true, enumerable: false, value: Tu(t), writable: true });2582 }2583 : $u,2584 lo =2585 Ei ||2586 function(n) {2587 return $n.clearTimeout(n);2588 },2589 so =2590 Zi && 1 / U(new Zi([, -0]))[1] == $2591 ? function(n) {2592 return new Zi(n);2593 }2594 : Pu,2595 ho = Ki2596 ? function(n) {2597 return Ki.get(n);2598 }2599 : Pu,2600 po = Ri2601 ? function(n) {2602 return null == n2603 ? []2604 : ((n = Qu(n)),2605 i(Ri(n), function(t) {2606 return bi.call(n, t);2607 }));2608 }2609 : qu,2610 _o = Ri2611 ? function(n) {2612 for (var t = []; n; ) a(t, po(n)), (n = di(n));2613 return t;2614 }2615 : qu,2616 vo = Ot;2617 ((Fi && '[object DataView]' != vo(new Fi(new ArrayBuffer(1)))) ||2618 (Ni && '[object Map]' != vo(new Ni())) ||2619 (Pi && '[object Promise]' != vo(Pi.resolve())) ||2620 (Zi && '[object Set]' != vo(new Zi())) ||2621 (qi && '[object WeakMap]' != vo(new qi()))) &&2622 (vo = function(n) {2623 var t = Ot(n);2624 if ((n = (n = '[object Object]' == t ? n.constructor : T) ? Te(n) : ''))2625 switch (n) {2626 case Hi:2627 return '[object DataView]';2628 case Ji:2629 return '[object Map]';2630 case Yi:2631 return '[object Promise]';2632 case Qi:2633 return '[object Set]';2634 case Xi:2635 return '[object WeakMap]';2636 }2637 return t;2638 });2639 var go = ui ? _u : Vu,2640 yo = Ce(co),2641 bo =2642 Si ||2643 function(n, t) {2644 return $n.setTimeout(n, t);2645 },2646 xo = Ce(ao),2647 jo = (function(n) {2648 n = cu(n, function(n) {2649 return 500 === t.size && t.clear(), n;2650 });2651 var t = n.cache;2652 return n;2653 })(function(n) {2654 var t = [];2655 return (2656 46 === n.charCodeAt(0) && t.push(''),2657 n.replace(tn, function(n, r, e, u) {2658 t.push(e ? u.replace(hn, '$1') : r || n);2659 }),2660 t2661 );2662 }),2663 wo = fr(function(n, t) {2664 return hu(n) ? yt(n, wt(t, 1, hu, true)) : [];2665 }),2666 mo = fr(function(n, t) {2667 var r = Ve(t);2668 return hu(r) && (r = T), hu(n) ? yt(n, wt(t, 1, hu, true), ye(r, 2)) : [];2669 }),2670 Ao = fr(function(n, t) {2671 var r = Ve(t);2672 return hu(r) && (r = T), hu(n) ? yt(n, wt(t, 1, hu, true), T, r) : [];2673 }),2674 Eo = fr(function(n) {2675 var t = c(n, Er);2676 return t.length && t[0] === n[0] ? Wt(t) : [];2677 }),2678 ko = fr(function(n) {2679 var t = Ve(n),2680 r = c(n, Er);2681 return t === Ve(r) ? (t = T) : r.pop(), r.length && r[0] === n[0] ? Wt(r, ye(t, 2)) : [];2682 }),2683 So = fr(function(n) {2684 var t = Ve(n),2685 r = c(n, Er);2686 return (t = typeof t == 'function' ? t : T) && r.pop(), r.length && r[0] === n[0] ? Wt(r, T, t) : [];2687 }),2688 Oo = fr(Ke),2689 Io = pe(function(n, t) {2690 var r = null == n ? 0 : n.length,2691 e = ht(n, t);2692 return (2693 ur(2694 n,2695 c(t, function(n) {2696 return Se(n, r) ? +n : n;2697 }).sort(Wr)2698 ),2699 e2700 );2701 }),2702 Ro = fr(function(n) {2703 return br(wt(n, 1, hu, true));2704 }),2705 zo = fr(function(n) {2706 var t = Ve(n);2707 return hu(t) && (t = T), br(wt(n, 1, hu, true), ye(t, 2));2708 }),2709 Wo = fr(function(n) {2710 var t = Ve(n),2711 t = typeof t == 'function' ? t : T;2712 return br(wt(n, 1, hu, true), T, t);2713 }),2714 Bo = fr(function(n, t) {2715 return hu(n) ? yt(n, t) : [];2716 }),2717 Lo = fr(function(n) {2718 return mr(i(n, hu));2719 }),2720 Uo = fr(function(n) {2721 var t = Ve(n);2722 return hu(t) && (t = T), mr(i(n, hu), ye(t, 2));2723 }),2724 Co = fr(function(n) {2725 var t = Ve(n),2726 t = typeof t == 'function' ? t : T;2727 return mr(i(n, hu), T, t);2728 }),2729 Do = fr(He),2730 Mo = fr(function(n) {2731 var t = n.length,2732 t = 1 < t ? n[t - 1] : T,2733 t = typeof t == 'function' ? (n.pop(), t) : T;2734 return Je(n, t);2735 }),2736 To = pe(function(n) {2737 function t(t) {2738 return ht(t, n);2739 }2740 var r = n.length,2741 e = r ? n[0] : 0,2742 u = this.__wrapped__;2743 return !(1 < r || this.__actions__.length) && u instanceof Un && Se(e)2744 ? ((u = u.slice(e, +e + (r ? 1 : 0))),2745 u.__actions__.push({ func: Qe, args: [t], thisArg: T }),2746 new On(u, this.__chain__).thru(function(n) {2747 return r && !n.length && n.push(T), n;2748 }))2749 : this.thru(t);2750 }),2751 $o = Tr(function(n, t, r) {2752 oi.call(n, r) ? ++n[r] : st(n, r, 1);2753 }),2754 Fo = Gr(Ne),2755 No = Gr(Pe),2756 Po = Tr(function(n, t, r) {2757 oi.call(n, r) ? n[r].push(t) : st(n, r, [t]);2758 }),2759 Zo = fr(function(t, r, e) {2760 var u = -1,2761 i = typeof r == 'function',2762 o = su(t) ? Ku(t.length) : [];2763 return (2764 uo(t, function(t) {2765 o[++u] = i ? n(r, t, e) : Lt(t, r, e);2766 }),2767 o2768 );2769 }),2770 qo = Tr(function(n, t, r) {2771 st(n, r, t);2772 }),2773 Vo = Tr(2774 function(n, t, r) {2775 n[r ? 0 : 1].push(t);2776 },2777 function() {2778 return [[], []];2779 }2780 ),2781 Ko = fr(function(n, t) {2782 if (null == n) return [];2783 var r = t.length;2784 return (2785 1 < r && Oe(n, t[0], t[1]) ? (t = []) : 2 < r && Oe(t[0], t[1], t[2]) && (t = [t[0]]), Xt(n, wt(t, 1), [])2786 );2787 }),2788 Go =2789 ki ||2790 function() {2791 return $n.Date.now();2792 },2793 Ho = fr(function(n, t, r) {2794 var e = 1;2795 if (r.length)2796 var u = L(r, de(Ho)),2797 e = 32 | e;2798 return fe(n, e, t, r, u);2799 }),2800 Jo = fr(function(n, t, r) {2801 var e = 3;2802 if (r.length)2803 var u = L(r, de(Jo)),2804 e = 32 | e;2805 return fe(t, e, n, r, u);2806 }),2807 Yo = fr(function(n, t) {2808 return dt(n, 1, t);2809 }),2810 Qo = fr(function(n, t, r) {2811 return dt(n, Su(t) || 0, r);2812 });2813 cu.Cache = Fn;2814 var Xo = fr(function(t, r) {2815 r = 1 == r.length && ff(r[0]) ? c(r[0], k(ye())) : c(wt(r, 1), k(ye()));2816 var e = r.length;2817 return fr(function(u) {2818 for (var i = -1, o = Ci(u.length, e); ++i < o; ) u[i] = r[i].call(this, u[i]);2819 return n(t, this, u);2820 });2821 }),2822 nf = fr(function(n, t) {2823 return fe(n, 32, T, t, L(t, de(nf)));2824 }),2825 tf = fr(function(n, t) {2826 return fe(n, 64, T, t, L(t, de(tf)));2827 }),2828 rf = pe(function(n, t) {2829 return fe(n, 256, T, T, T, t);2830 }),2831 ef = ee(It),2832 uf = ee(function(n, t) {2833 return n >= t;2834 }),2835 of = Ut(2836 (function() {2837 return arguments;2838 })()2839 )2840 ? Ut2841 : function(n) {2842 return yu(n) && oi.call(n, 'callee') && !bi.call(n, 'callee');2843 },2844 ff = Ku.isArray,2845 cf = Vn ? k(Vn) : Ct,2846 af = zi || Vu,2847 lf = Kn ? k(Kn) : Dt,2848 sf = Gn ? k(Gn) : Tt,2849 hf = Hn ? k(Hn) : Nt,2850 pf = Jn ? k(Jn) : Pt,2851 _f = Yn ? k(Yn) : Zt,2852 vf = ee(Kt),2853 gf = ee(function(n, t) {2854 return n <= t;2855 }),2856 df = $r(function(n, t) {2857 if (ze(t) || su(t)) Cr(t, Wu(t), n);2858 else for (var r in t) oi.call(t, r) && ot(n, r, t[r]);2859 }),2860 yf = $r(function(n, t) {2861 Cr(t, Bu(t), n);2862 }),2863 bf = $r(function(n, t, r, e) {2864 Cr(t, Bu(t), n, e);2865 }),2866 xf = $r(function(n, t, r, e) {2867 Cr(t, Wu(t), n, e);2868 }),2869 jf = pe(ht),2870 wf = fr(function(n, t) {2871 n = Qu(n);2872 var r = -1,2873 e = t.length,2874 u = 2 < e ? t[2] : T;2875 for (u && Oe(t[0], t[1], u) && (e = 1); ++r < e; )2876 for (var u = t[r], i = Bu(u), o = -1, f = i.length; ++o < f; ) {2877 var c = i[o],2878 a = n[c];2879 (a === T || (lu(a, ei[c]) && !oi.call(n, c))) && (n[c] = u[c]);2880 }2881 return n;2882 }),2883 mf = fr(function(t) {2884 return t.push(T, ae), n(Of, T, t);2885 }),2886 Af = Yr(function(n, t, r) {2887 null != t && typeof t.toString != 'function' && (t = ai.call(t)), (n[t] = r);2888 }, Tu($u)),2889 Ef = Yr(function(n, t, r) {2890 null != t && typeof t.toString != 'function' && (t = ai.call(t)), oi.call(n, t) ? n[t].push(r) : (n[t] = [r]);2891 }, ye),2892 kf = fr(Lt),2893 Sf = $r(function(n, t, r) {2894 Yt(n, t, r);2895 }),2896 Of = $r(function(n, t, r, e) {2897 Yt(n, t, r, e);2898 }),2899 If = pe(function(n, t) {2900 var r = {};2901 if (null == n) return r;2902 var e = false;2903 (t = c(t, function(t) {2904 return (t = Sr(t, n)), e || (e = 1 < t.length), t;2905 })),2906 Cr(n, ve(n), r),2907 e && (r = _t(r, 7, le));2908 for (var u = t.length; u--; ) xr(r, t[u]);2909 return r;2910 }),2911 Rf = pe(function(n, t) {2912 return null == n ? {} : nr(n, t);2913 }),2914 zf = oe(Wu),2915 Wf = oe(Bu),2916 Bf = qr(function(n, t, r) {2917 return (t = t.toLowerCase()), n + (r ? Cu(t) : t);2918 }),2919 Lf = qr(function(n, t, r) {2920 return n + (r ? '-' : '') + t.toLowerCase();2921 }),2922 Uf = qr(function(n, t, r) {2923 return n + (r ? ' ' : '') + t.toLowerCase();2924 }),2925 Cf = Zr('toLowerCase'),2926 Df = qr(function(n, t, r) {2927 return n + (r ? '_' : '') + t.toLowerCase();2928 }),2929 Mf = qr(function(n, t, r) {2930 return n + (r ? ' ' : '') + $f(t);2931 }),2932 Tf = qr(function(n, t, r) {2933 return n + (r ? ' ' : '') + t.toUpperCase();2934 }),2935 $f = Zr('toUpperCase'),2936 Ff = fr(function(t, r) {2937 try {2938 return n(t, T, r);2939 } catch (n) {2940 return pu(n) ? n : new Hu(n);2941 }2942 }),2943 Nf = pe(function(n, t) {2944 return (2945 r(t, function(t) {2946 (t = Me(t)), st(n, t, Ho(n[t], n));2947 }),2948 n2949 );2950 }),2951 Pf = Hr(),2952 Zf = Hr(true),2953 qf = fr(function(n, t) {2954 return function(r) {2955 return Lt(r, n, t);2956 };2957 }),2958 Vf = fr(function(n, t) {2959 return function(r) {2960 return Lt(n, r, t);2961 };2962 }),2963 Kf = Xr(c),2964 Gf = Xr(u),2965 Hf = Xr(h),2966 Jf = re(),2967 Yf = re(true),2968 Qf = Qr(function(n, t) {2969 return n + t;2970 }, 0),2971 Xf = ie('ceil'),2972 nc = Qr(function(n, t) {2973 return n / t;2974 }, 1),2975 tc = ie('floor'),2976 rc = Qr(function(n, t) {2977 return n * t;2978 }, 1),2979 ec = ie('round'),2980 uc = Qr(function(n, t) {2981 return n - t;2982 }, 0);2983 return (2984 (An.after = function(n, t) {2985 if (typeof t != 'function') throw new ti('Expected a function');2986 return (2987 (n = Eu(n)),2988 function() {2989 if (1 > --n) return t.apply(this, arguments);2990 }2991 );2992 }),2993 (An.ary = eu),2994 (An.assign = df),2995 (An.assignIn = yf),2996 (An.assignInWith = bf),2997 (An.assignWith = xf),2998 (An.at = jf),2999 (An.before = uu),3000 (An.bind = Ho),3001 (An.bindAll = Nf),3002 (An.bindKey = Jo),3003 (An.castArray = function() {3004 if (!arguments.length) return [];3005 var n = arguments[0];3006 return ff(n) ? n : [n];3007 }),3008 (An.chain = Ye),3009 (An.chunk = function(n, t, r) {3010 if (((t = (r ? Oe(n, t, r) : t === T) ? 1 : Ui(Eu(t), 0)), (r = null == n ? 0 : n.length), !r || 1 > t))3011 return [];3012 for (var e = 0, u = 0, i = Ku(Oi(r / t)); e < r; ) i[u++] = hr(n, e, (e += t));3013 return i;3014 }),3015 (An.compact = function(n) {3016 for (var t = -1, r = null == n ? 0 : n.length, e = 0, u = []; ++t < r; ) {3017 var i = n[t];3018 i && (u[e++] = i);3019 }3020 return u;3021 }),3022 (An.concat = function() {3023 var n = arguments.length;3024 if (!n) return [];3025 for (var t = Ku(n - 1), r = arguments[0]; n--; ) t[n - 1] = arguments[n];3026 return a(ff(r) ? Ur(r) : [r], wt(t, 1));3027 }),3028 (An.cond = function(t) {3029 var r = null == t ? 0 : t.length,3030 e = ye();3031 return (3032 (t = r3033 ? c(t, function(n) {3034 if ('function' != typeof n[1]) throw new ti('Expected a function');3035 return [e(n[0]), n[1]];3036 })3037 : []),3038 fr(function(e) {3039 for (var u = -1; ++u < r; ) {3040 var i = t[u];3041 if (n(i[0], this, e)) return n(i[1], this, e);3042 }3043 })3044 );3045 }),3046 (An.conforms = function(n) {3047 return vt(_t(n, 1));3048 }),3049 (An.constant = Tu),3050 (An.countBy = $o),3051 (An.create = function(n, t) {3052 var r = eo(n);3053 return null == t ? r : at(r, t);3054 }),3055 (An.curry = iu),3056 (An.curryRight = ou),3057 (An.debounce = fu),3058 (An.defaults = wf),3059 (An.defaultsDeep = mf),3060 (An.defer = Yo),3061 (An.delay = Qo),3062 (An.difference = wo),3063 (An.differenceBy = mo),3064 (An.differenceWith = Ao),3065 (An.drop = function(n, t, r) {3066 var e = null == n ? 0 : n.length;3067 return e ? ((t = r || t === T ? 1 : Eu(t)), hr(n, 0 > t ? 0 : t, e)) : [];3068 }),3069 (An.dropRight = function(n, t, r) {3070 var e = null == n ? 0 : n.length;3071 return e ? ((t = r || t === T ? 1 : Eu(t)), (t = e - t), hr(n, 0, 0 > t ? 0 : t)) : [];3072 }),3073 (An.dropRightWhile = function(n, t) {3074 return n && n.length ? jr(n, ye(t, 3), true, true) : [];3075 }),3076 (An.dropWhile = function(n, t) {3077 return n && n.length ? jr(n, ye(t, 3), true) : [];3078 }),3079 (An.fill = function(n, t, r, e) {3080 var u = null == n ? 0 : n.length;3081 if (!u) return [];3082 for (3083 r && typeof r != 'number' && Oe(n, t, r) && ((r = 0), (e = u)),3084 u = n.length,3085 r = Eu(r),3086 0 > r && (r = -r > u ? 0 : u + r),3087 e = e === T || e > u ? u : Eu(e),3088 0 > e && (e += u),3089 e = r > e ? 0 : ku(e);3090 r < e;3091 )3092 n[r++] = t;3093 return n;3094 }),3095 (An.filter = function(n, t) {3096 return (ff(n) ? i : jt)(n, ye(t, 3));3097 }),3098 (An.flatMap = function(n, t) {3099 return wt(ru(n, t), 1);3100 }),3101 (An.flatMapDeep = function(n, t) {3102 return wt(ru(n, t), $);3103 }),3104 (An.flatMapDepth = function(n, t, r) {3105 return (r = r === T ? 1 : Eu(r)), wt(ru(n, t), r);3106 }),3107 (An.flatten = Ze),3108 (An.flattenDeep = function(n) {3109 return (null == n ? 0 : n.length) ? wt(n, $) : [];3110 }),3111 (An.flattenDepth = function(n, t) {3112 return null != n && n.length ? ((t = t === T ? 1 : Eu(t)), wt(n, t)) : [];3113 }),3114 (An.flip = function(n) {3115 return fe(n, 512);3116 }),3117 (An.flow = Pf),3118 (An.flowRight = Zf),3119 (An.fromPairs = function(n) {3120 for (var t = -1, r = null == n ? 0 : n.length, e = {}; ++t < r; ) {3121 var u = n[t];3122 e[u[0]] = u[1];3123 }3124 return e;3125 }),3126 (An.functions = function(n) {3127 return null == n ? [] : Et(n, Wu(n));3128 }),3129 (An.functionsIn = function(n) {3130 return null == n ? [] : Et(n, Bu(n));3131 }),3132 (An.groupBy = Po),3133 (An.initial = function(n) {3134 return (null == n ? 0 : n.length) ? hr(n, 0, -1) : [];3135 }),3136 (An.intersection = Eo),3137 (An.intersectionBy = ko),3138 (An.intersectionWith = So),3139 (An.invert = Af),3140 (An.invertBy = Ef),3141 (An.invokeMap = Zo),3142 (An.iteratee = Fu),3143 (An.keyBy = qo),3144 (An.keys = Wu),3145 (An.keysIn = Bu),3146 (An.map = ru),3147 (An.mapKeys = function(n, t) {3148 var r = {};3149 return (3150 (t = ye(t, 3)),3151 mt(n, function(n, e, u) {3152 st(r, t(n, e, u), n);3153 }),3154 r3155 );3156 }),3157 (An.mapValues = function(n, t) {3158 var r = {};3159 return (3160 (t = ye(t, 3)),3161 mt(n, function(n, e, u) {3162 st(r, e, t(n, e, u));3163 }),3164 r3165 );3166 }),3167 (An.matches = function(n) {3168 return Ht(_t(n, 1));3169 }),3170 (An.matchesProperty = function(n, t) {3171 return Jt(n, _t(t, 1));3172 }),3173 (An.memoize = cu),3174 (An.merge = Sf),3175 (An.mergeWith = Of),3176 (An.method = qf),3177 (An.methodOf = Vf),3178 (An.mixin = Nu),3179 (An.negate = au),3180 (An.nthArg = function(n) {3181 return (3182 (n = Eu(n)),3183 fr(function(t) {3184 return Qt(t, n);3185 })3186 );3187 }),3188 (An.omit = If),3189 (An.omitBy = function(n, t) {3190 return Lu(n, au(ye(t)));3191 }),3192 (An.once = function(n) {3193 return uu(2, n);3194 }),3195 (An.orderBy = function(n, t, r, e) {3196 return null == n3197 ? []3198 : (ff(t) || (t = null == t ? [] : [t]), (r = e ? T : r), ff(r) || (r = null == r ? [] : [r]), Xt(n, t, r));3199 }),3200 (An.over = Kf),3201 (An.overArgs = Xo),3202 (An.overEvery = Gf),3203 (An.overSome = Hf),3204 (An.partial = nf),3205 (An.partialRight = tf),3206 (An.partition = Vo),3207 (An.pick = Rf),3208 (An.pickBy = Lu),3209 (An.property = Zu),3210 (An.propertyOf = function(n) {3211 return function(t) {3212 return null == n ? T : kt(n, t);3213 };3214 }),3215 (An.pull = Oo),3216 (An.pullAll = Ke),3217 (An.pullAllBy = function(n, t, r) {3218 return n && n.length && t && t.length ? er(n, t, ye(r, 2)) : n;3219 }),3220 (An.pullAllWith = function(n, t, r) {3221 return n && n.length && t && t.length ? er(n, t, T, r) : n;3222 }),3223 (An.pullAt = Io),3224 (An.range = Jf),3225 (An.rangeRight = Yf),3226 (An.rearg = rf),3227 (An.reject = function(n, t) {3228 return (ff(n) ? i : jt)(n, au(ye(t, 3)));3229 }),3230 (An.remove = function(n, t) {3231 var r = [];3232 if (!n || !n.length) return r;3233 var e = -1,3234 u = [],3235 i = n.length;3236 for (t = ye(t, 3); ++e < i; ) {3237 var o = n[e];3238 t(o, e, n) && (r.push(o), u.push(e));3239 }3240 return ur(n, u), r;3241 }),3242 (An.rest = function(n, t) {3243 if (typeof n != 'function') throw new ti('Expected a function');3244 return (t = t === T ? t : Eu(t)), fr(n, t);3245 }),3246 (An.reverse = Ge),3247 (An.sampleSize = function(n, t, r) {3248 return (t = (r ? Oe(n, t, r) : t === T) ? 1 : Eu(t)), (ff(n) ? et : ar)(n, t);3249 }),3250 (An.set = function(n, t, r) {3251 return null == n ? n : lr(n, t, r);3252 }),3253 (An.setWith = function(n, t, r, e) {3254 return (e = typeof e == 'function' ? e : T), null == n ? n : lr(n, t, r, e);3255 }),3256 (An.shuffle = function(n) {3257 return (ff(n) ? ut : sr)(n);3258 }),3259 (An.slice = function(n, t, r) {3260 var e = null == n ? 0 : n.length;3261 return e3262 ? (r && typeof r != 'number' && Oe(n, t, r)3263 ? ((t = 0), (r = e))3264 : ((t = null == t ? 0 : Eu(t)), (r = r === T ? e : Eu(r))),3265 hr(n, t, r))3266 : [];3267 }),3268 (An.sortBy = Ko),3269 (An.sortedUniq = function(n) {3270 return n && n.length ? gr(n) : [];3271 }),3272 (An.sortedUniqBy = function(n, t) {3273 return n && n.length ? gr(n, ye(t, 2)) : [];3274 }),3275 (An.split = function(n, t, r) {3276 return (3277 r && typeof r != 'number' && Oe(n, t, r) && (t = r = T),3278 (r = r === T ? 4294967295 : r >>> 0),3279 r3280 ? (n = Iu(n)) && (typeof t == 'string' || (null != t && !hf(t))) && ((t = yr(t)), !t && Rn.test(n))3281 ? Or(M(n), 0, r)3282 : n.split(t, r)3283 : []3284 );3285 }),3286 (An.spread = function(t, r) {3287 if (typeof t != 'function') throw new ti('Expected a function');3288 return (3289 (r = null == r ? 0 : Ui(Eu(r), 0)),3290 fr(function(e) {3291 var u = e[r];3292 return (e = Or(e, 0, r)), u && a(e, u), n(t, this, e);3293 })3294 );3295 }),3296 (An.tail = function(n) {3297 var t = null == n ? 0 : n.length;3298 return t ? hr(n, 1, t) : [];3299 }),3300 (An.take = function(n, t, r) {3301 return n && n.length ? ((t = r || t === T ? 1 : Eu(t)), hr(n, 0, 0 > t ? 0 : t)) : [];3302 }),3303 (An.takeRight = function(n, t, r) {3304 var e = null == n ? 0 : n.length;3305 return e ? ((t = r || t === T ? 1 : Eu(t)), (t = e - t), hr(n, 0 > t ? 0 : t, e)) : [];3306 }),3307 (An.takeRightWhile = function(n, t) {3308 return n && n.length ? jr(n, ye(t, 3), false, true) : [];3309 }),3310 (An.takeWhile = function(n, t) {3311 return n && n.length ? jr(n, ye(t, 3)) : [];3312 }),3313 (An.tap = function(n, t) {3314 return t(n), n;3315 }),3316 (An.throttle = function(n, t, r) {3317 var e = true,3318 u = true;3319 if (typeof n != 'function') throw new ti('Expected a function');3320 return (3321 du(r) && ((e = 'leading' in r ? !!r.leading : e), (u = 'trailing' in r ? !!r.trailing : u)),3322 fu(n, t, { leading: e, maxWait: t, trailing: u })3323 );3324 }),3325 (An.thru = Qe),3326 (An.toArray = mu),3327 (An.toPairs = zf),3328 (An.toPairsIn = Wf),3329 (An.toPath = function(n) {3330 return ff(n) ? c(n, Me) : wu(n) ? [n] : Ur(jo(Iu(n)));3331 }),3332 (An.toPlainObject = Ou),3333 (An.transform = function(n, t, e) {3334 var u = ff(n),3335 i = u || af(n) || _f(n);3336 if (((t = ye(t, 4)), null == e)) {3337 var o = n && n.constructor;3338 e = i ? (u ? new o() : []) : du(n) && _u(o) ? eo(di(n)) : {};3339 }3340 return (3341 (i ? r : mt)(n, function(n, r, u) {3342 return t(e, n, r, u);3343 }),3344 e3345 );3346 }),3347 (An.unary = function(n) {3348 return eu(n, 1);3349 }),3350 (An.union = Ro),3351 (An.unionBy = zo),3352 (An.unionWith = Wo),3353 (An.uniq = function(n) {3354 return n && n.length ? br(n) : [];3355 }),3356 (An.uniqBy = function(n, t) {3357 return n && n.length ? br(n, ye(t, 2)) : [];3358 }),3359 (An.uniqWith = function(n, t) {3360 return (t = typeof t == 'function' ? t : T), n && n.length ? br(n, T, t) : [];3361 }),3362 (An.unset = function(n, t) {3363 return null == n || xr(n, t);3364 }),3365 (An.unzip = He),3366 (An.unzipWith = Je),3367 (An.update = function(n, t, r) {3368 return null == n ? n : lr(n, t, kr(r)(kt(n, t)), void 0);3369 }),3370 (An.updateWith = function(n, t, r, e) {3371 return (e = typeof e == 'function' ? e : T), null != n && (n = lr(n, t, kr(r)(kt(n, t)), e)), n;3372 }),3373 (An.values = Uu),3374 (An.valuesIn = function(n) {3375 return null == n ? [] : S(n, Bu(n));3376 }),3377 (An.without = Bo),3378 (An.words = Mu),3379 (An.wrap = function(n, t) {3380 return nf(kr(t), n);3381 }),3382 (An.xor = Lo),3383 (An.xorBy = Uo),3384 (An.xorWith = Co),3385 (An.zip = Do),3386 (An.zipObject = function(n, t) {3387 return Ar(n || [], t || [], ot);3388 }),3389 (An.zipObjectDeep = function(n, t) {3390 return Ar(n || [], t || [], lr);3391 }),3392 (An.zipWith = Mo),3393 (An.entries = zf),3394 (An.entriesIn = Wf),3395 (An.extend = yf),3396 (An.extendWith = bf),3397 Nu(An, An),3398 (An.add = Qf),3399 (An.attempt = Ff),3400 (An.camelCase = Bf),3401 (An.capitalize = Cu),3402 (An.ceil = Xf),3403 (An.clamp = function(n, t, r) {3404 return (3405 r === T && ((r = t), (t = T)),3406 r !== T && ((r = Su(r)), (r = r === r ? r : 0)),3407 t !== T && ((t = Su(t)), (t = t === t ? t : 0)),3408 pt(Su(n), t, r)3409 );3410 }),3411 (An.clone = function(n) {3412 return _t(n, 4);3413 }),3414 (An.cloneDeep = function(n) {3415 return _t(n, 5);3416 }),3417 (An.cloneDeepWith = function(n, t) {3418 return (t = typeof t == 'function' ? t : T), _t(n, 5, t);3419 }),3420 (An.cloneWith = function(n, t) {3421 return (t = typeof t == 'function' ? t : T), _t(n, 4, t);3422 }),3423 (An.conformsTo = function(n, t) {3424 return null == t || gt(n, t, Wu(t));3425 }),3426 (An.deburr = Du),3427 (An.defaultTo = function(n, t) {3428 return null == n || n !== n ? t : n;3429 }),3430 (An.divide = nc),3431 (An.endsWith = function(n, t, r) {3432 (n = Iu(n)), (t = yr(t));3433 var e = n.length,3434 e = (r = r === T ? e : pt(Eu(r), 0, e));3435 return (r -= t.length), 0 <= r && n.slice(r, e) == t;3436 }),3437 (An.eq = lu),3438 (An.escape = function(n) {3439 return (n = Iu(n)) && H.test(n) ? n.replace(K, nt) : n;3440 }),3441 (An.escapeRegExp = function(n) {3442 return (n = Iu(n)) && en.test(n) ? n.replace(rn, '\\$&') : n;3443 }),3444 (An.every = function(n, t, r) {3445 var e = ff(n) ? u : bt;3446 return r && Oe(n, t, r) && (t = T), e(n, ye(t, 3));3447 }),3448 (An.find = Fo),3449 (An.findIndex = Ne),3450 (An.findKey = function(n, t) {3451 return p(n, ye(t, 3), mt);3452 }),3453 (An.findLast = No),3454 (An.findLastIndex = Pe),3455 (An.findLastKey = function(n, t) {3456 return p(n, ye(t, 3), At);3457 }),3458 (An.floor = tc),3459 (An.forEach = nu),3460 (An.forEachRight = tu),3461 (An.forIn = function(n, t) {3462 return null == n ? n : oo(n, ye(t, 3), Bu);3463 }),3464 (An.forInRight = function(n, t) {3465 return null == n ? n : fo(n, ye(t, 3), Bu);3466 }),3467 (An.forOwn = function(n, t) {3468 return n && mt(n, ye(t, 3));3469 }),3470 (An.forOwnRight = function(n, t) {3471 return n && At(n, ye(t, 3));3472 }),3473 (An.get = Ru),3474 (An.gt = ef),3475 (An.gte = uf),3476 (An.has = function(n, t) {3477 return null != n && we(n, t, Rt);3478 }),3479 (An.hasIn = zu),3480 (An.head = qe),3481 (An.identity = $u),3482 (An.includes = function(n, t, r, e) {3483 return (3484 (n = su(n) ? n : Uu(n)),3485 (r = r && !e ? Eu(r) : 0),3486 (e = n.length),3487 0 > r && (r = Ui(e + r, 0)),3488 ju(n) ? r <= e && -1 < n.indexOf(t, r) : !!e && -1 < v(n, t, r)3489 );3490 }),3491 (An.indexOf = function(n, t, r) {3492 var e = null == n ? 0 : n.length;3493 return e ? ((r = null == r ? 0 : Eu(r)), 0 > r && (r = Ui(e + r, 0)), v(n, t, r)) : -1;3494 }),3495 (An.inRange = function(n, t, r) {3496 return (t = Au(t)), r === T ? ((r = t), (t = 0)) : (r = Au(r)), (n = Su(n)), n >= Ci(t, r) && n < Ui(t, r);3497 }),3498 (An.invoke = kf),3499 (An.isArguments = of),3500 (An.isArray = ff),3501 (An.isArrayBuffer = cf),3502 (An.isArrayLike = su),3503 (An.isArrayLikeObject = hu),3504 (An.isBoolean = function(n) {3505 return true === n || false === n || (yu(n) && '[object Boolean]' == Ot(n));3506 }),3507 (An.isBuffer = af),3508 (An.isDate = lf),3509 (An.isElement = function(n) {3510 return yu(n) && 1 === n.nodeType && !xu(n);3511 }),3512 (An.isEmpty = function(n) {3513 if (null == n) return true;3514 if (su(n) && (ff(n) || typeof n == 'string' || typeof n.splice == 'function' || af(n) || _f(n) || of(n)))3515 return !n.length;3516 var t = vo(n);3517 if ('[object Map]' == t || '[object Set]' == t) return !n.size;3518 if (ze(n)) return !Vt(n).length;3519 for (var r in n) if (oi.call(n, r)) return false;3520 return true;3521 }),3522 (An.isEqual = function(n, t) {3523 return Mt(n, t);3524 }),3525 (An.isEqualWith = function(n, t, r) {3526 var e = (r = typeof r == 'function' ? r : T) ? r(n, t) : T;3527 return e === T ? Mt(n, t, T, r) : !!e;3528 }),3529 (An.isError = pu),3530 (An.isFinite = function(n) {3531 return typeof n == 'number' && Wi(n);3532 }),3533 (An.isFunction = _u),3534 (An.isInteger = vu),3535 (An.isLength = gu),3536 (An.isMap = sf),3537 (An.isMatch = function(n, t) {3538 return n === t || $t(n, t, xe(t));3539 }),3540 (An.isMatchWith = function(n, t, r) {3541 return (r = typeof r == 'function' ? r : T), $t(n, t, xe(t), r);3542 }),3543 (An.isNaN = function(n) {3544 return bu(n) && n != +n;3545 }),3546 (An.isNative = function(n) {3547 if (go(n)) throw new Hu('Unsupported core-js use. Try https://npms.io/search?q=ponyfill.');3548 return Ft(n);3549 }),3550 (An.isNil = function(n) {3551 return null == n;3552 }),3553 (An.isNull = function(n) {3554 return null === n;3555 }),3556 (An.isNumber = bu),3557 (An.isObject = du),3558 (An.isObjectLike = yu),3559 (An.isPlainObject = xu),3560 (An.isRegExp = hf),3561 (An.isSafeInteger = function(n) {3562 return vu(n) && -9007199254740991 <= n && 9007199254740991 >= n;3563 }),3564 (An.isSet = pf),3565 (An.isString = ju),3566 (An.isSymbol = wu),3567 (An.isTypedArray = _f),3568 (An.isUndefined = function(n) {3569 return n === T;3570 }),3571 (An.isWeakMap = function(n) {3572 return yu(n) && '[object WeakMap]' == vo(n);3573 }),3574 (An.isWeakSet = function(n) {3575 return yu(n) && '[object WeakSet]' == Ot(n);3576 }),3577 (An.join = function(n, t) {3578 return null == n ? '' : Bi.call(n, t);3579 }),3580 (An.kebabCase = Lf),3581 (An.last = Ve),3582 (An.lastIndexOf = function(n, t, r) {3583 var e = null == n ? 0 : n.length;3584 if (!e) return -1;3585 var u = e;3586 if ((r !== T && ((u = Eu(r)), (u = 0 > u ? Ui(e + u, 0) : Ci(u, e - 1))), t === t)) {3587 for (r = u + 1; r-- && n[r] !== t; );3588 n = r;3589 } else n = _(n, d, u, true);3590 return n;3591 }),3592 (An.lowerCase = Uf),3593 (An.lowerFirst = Cf),3594 (An.lt = vf),3595 (An.lte = gf),3596 (An.max = function(n) {3597 return n && n.length ? xt(n, $u, It) : T;3598 }),3599 (An.maxBy = function(n, t) {3600 return n && n.length ? xt(n, ye(t, 2), It) : T;3601 }),3602 (An.mean = function(n) {3603 return y(n, $u);3604 }),3605 (An.meanBy = function(n, t) {3606 return y(n, ye(t, 2));3607 }),3608 (An.min = function(n) {3609 return n && n.length ? xt(n, $u, Kt) : T;3610 }),3611 (An.minBy = function(n, t) {3612 return n && n.length ? xt(n, ye(t, 2), Kt) : T;3613 }),3614 (An.stubArray = qu),3615 (An.stubFalse = Vu),3616 (An.stubObject = function() {3617 return {};3618 }),3619 (An.stubString = function() {3620 return '';3621 }),3622 (An.stubTrue = function() {3623 return true;3624 }),3625 (An.multiply = rc),3626 (An.nth = function(n, t) {3627 return n && n.length ? Qt(n, Eu(t)) : T;3628 }),3629 (An.noConflict = function() {3630 return $n._ === this && ($n._ = si), this;3631 }),3632 (An.noop = Pu),3633 (An.now = Go),3634 (An.pad = function(n, t, r) {3635 n = Iu(n);3636 var e = (t = Eu(t)) ? D(n) : 0;3637 return !t || e >= t ? n : ((t = (t - e) / 2), ne(Ii(t), r) + n + ne(Oi(t), r));3638 }),3639 (An.padEnd = function(n, t, r) {3640 n = Iu(n);3641 var e = (t = Eu(t)) ? D(n) : 0;3642 return t && e < t ? n + ne(t - e, r) : n;3643 }),3644 (An.padStart = function(n, t, r) {3645 n = Iu(n);3646 var e = (t = Eu(t)) ? D(n) : 0;3647 return t && e < t ? ne(t - e, r) + n : n;3648 }),3649 (An.parseInt = function(n, t, r) {3650 return r || null == t ? (t = 0) : t && (t = +t), Mi(Iu(n).replace(on, ''), t || 0);3651 }),3652 (An.random = function(n, t, r) {3653 if (3654 (r && typeof r != 'boolean' && Oe(n, t, r) && (t = r = T),3655 r === T && (typeof t == 'boolean' ? ((r = t), (t = T)) : typeof n == 'boolean' && ((r = n), (n = T))),3656 n === T && t === T ? ((n = 0), (t = 1)) : ((n = Au(n)), t === T ? ((t = n), (n = 0)) : (t = Au(t))),3657 n > t)3658 ) {3659 var e = n;3660 (n = t), (t = e);3661 }3662 return r || n % 1 || t % 13663 ? ((r = Ti()), Ci(n + r * (t - n + Cn('1e-' + ((r + '').length - 1))), t))3664 : ir(n, t);3665 }),3666 (An.reduce = function(n, t, r) {3667 var e = ff(n) ? l : j,3668 u = 3 > arguments.length;3669 return e(n, ye(t, 4), r, u, uo);3670 }),3671 (An.reduceRight = function(n, t, r) {3672 var e = ff(n) ? s : j,3673 u = 3 > arguments.length;3674 return e(n, ye(t, 4), r, u, io);3675 }),3676 (An.repeat = function(n, t, r) {3677 return (t = (r ? Oe(n, t, r) : t === T) ? 1 : Eu(t)), or(Iu(n), t);3678 }),3679 (An.replace = function() {3680 var n = arguments,3681 t = Iu(n[0]);3682 return 3 > n.length ? t : t.replace(n[1], n[2]);3683 }),3684 (An.result = function(n, t, r) {3685 t = Sr(t, n);3686 var e = -1,3687 u = t.length;3688 for (u || ((u = 1), (n = T)); ++e < u; ) {3689 var i = null == n ? T : n[Me(t[e])];3690 i === T && ((e = u), (i = r)), (n = _u(i) ? i.call(n) : i);3691 }3692 return n;3693 }),3694 (An.round = ec),3695 (An.runInContext = x),3696 (An.sample = function(n) {3697 return (ff(n) ? Qn : cr)(n);3698 }),3699 (An.size = function(n) {3700 if (null == n) return 0;3701 if (su(n)) return ju(n) ? D(n) : n.length;3702 var t = vo(n);3703 return '[object Map]' == t || '[object Set]' == t ? n.size : Vt(n).length;3704 }),3705 (An.snakeCase = Df),3706 (An.some = function(n, t, r) {3707 var e = ff(n) ? h : pr;3708 return r && Oe(n, t, r) && (t = T), e(n, ye(t, 3));3709 }),3710 (An.sortedIndex = function(n, t) {3711 return _r(n, t);3712 }),3713 (An.sortedIndexBy = function(n, t, r) {3714 return vr(n, t, ye(r, 2));3715 }),3716 (An.sortedIndexOf = function(n, t) {3717 var r = null == n ? 0 : n.length;3718 if (r) {3719 var e = _r(n, t);3720 if (e < r && lu(n[e], t)) return e;3721 }3722 return -1;3723 }),3724 (An.sortedLastIndex = function(n, t) {3725 return _r(n, t, true);3726 }),3727 (An.sortedLastIndexBy = function(n, t, r) {3728 return vr(n, t, ye(r, 2), true);3729 }),3730 (An.sortedLastIndexOf = function(n, t) {3731 if (null == n ? 0 : n.length) {3732 var r = _r(n, t, true) - 1;3733 if (lu(n[r], t)) return r;3734 }3735 return -1;3736 }),3737 (An.startCase = Mf),3738 (An.startsWith = function(n, t, r) {3739 return (n = Iu(n)), (r = null == r ? 0 : pt(Eu(r), 0, n.length)), (t = yr(t)), n.slice(r, r + t.length) == t;3740 }),3741 (An.subtract = uc),3742 (An.sum = function(n) {3743 return n && n.length ? m(n, $u) : 0;3744 }),3745 (An.sumBy = function(n, t) {3746 return n && n.length ? m(n, ye(t, 2)) : 0;3747 }),3748 (An.template = function(n, t, r) {3749 var e = An.templateSettings;3750 r && Oe(n, t, r) && (t = T), (n = Iu(n)), (t = bf({}, t, e, ce)), (r = bf({}, t.imports, e.imports, ce));3751 var u,3752 i,3753 o = Wu(r),3754 f = S(r, o),3755 c = 0;3756 r = t.interpolate || jn;3757 var a = "__p+='";3758 r = Xu(3759 (t.escape || jn).source +3760 '|' +3761 r.source +3762 '|' +3763 (r === Q ? pn : jn).source +3764 '|' +3765 (t.evaluate || jn).source +3766 '|$',3767 'g'3768 );3769 var l = oi.call(t, 'sourceURL') ? '//# sourceURL=' + (t.sourceURL + '').replace(/[\r\n]/g, ' ') + '\n' : '';3770 if (3771 (n.replace(r, function(t, r, e, o, f, l) {3772 return (3773 e || (e = o),3774 (a += n.slice(c, l).replace(wn, z)),3775 r && ((u = true), (a += "'+__e(" + r + ")+'")),3776 f && ((i = true), (a += "';" + f + ";\n__p+='")),3777 e && (a += "'+((__t=(" + e + "))==null?'':__t)+'"),3778 (c = l + t.length),3779 t3780 );3781 }),3782 (a += "';"),3783 (t = oi.call(t, 'variable') && t.variable) || (a = 'with(obj){' + a + '}'),3784 (a = (i ? a.replace(P, '') : a).replace(Z, '$1').replace(q, '$1;')),3785 (a =3786 'function(' +3787 (t || 'obj') +3788 '){' +3789 (t ? '' : 'obj||(obj={});') +3790 "var __t,__p=''" +3791 (u ? ',__e=_.escape' : '') +3792 (i ? ",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}" : ';') +3793 a +3794 'return __p}'),3795 (t = Ff(function() {3796 return Ju(o, l + 'return ' + a).apply(T, f);3797 })),3798 (t.source = a),3799 pu(t))3800 )3801 throw t;3802 return t;3803 }),3804 (An.times = function(n, t) {3805 if (((n = Eu(n)), 1 > n || 9007199254740991 < n)) return [];3806 var r = 4294967295,3807 e = Ci(n, 4294967295);3808 for (t = ye(t), n -= 4294967295, e = A(e, t); ++r < n; ) t(r);3809 return e;3810 }),3811 (An.toFinite = Au),3812 (An.toInteger = Eu),3813 (An.toLength = ku),3814 (An.toLower = function(n) {3815 return Iu(n).toLowerCase();3816 }),3817 (An.toNumber = Su),3818 (An.toSafeInteger = function(n) {3819 return n ? pt(Eu(n), -9007199254740991, 9007199254740991) : 0 === n ? n : 0;3820 }),3821 (An.toString = Iu),3822 (An.toUpper = function(n) {3823 return Iu(n).toUpperCase();3824 }),3825 (An.trim = function(n, t, r) {3826 return (n = Iu(n)) && (r || t === T)3827 ? n.replace(un, '')3828 : n && (t = yr(t))3829 ? ((n = M(n)), (r = M(t)), (t = I(n, r)), (r = R(n, r) + 1), Or(n, t, r).join(''))3830 : n;3831 }),3832 (An.trimEnd = function(n, t, r) {3833 return (n = Iu(n)) && (r || t === T)3834 ? n.replace(fn, '')3835 : n && (t = yr(t))3836 ? ((n = M(n)), (t = R(n, M(t)) + 1), Or(n, 0, t).join(''))3837 : n;3838 }),3839 (An.trimStart = function(n, t, r) {3840 return (n = Iu(n)) && (r || t === T)3841 ? n.replace(on, '')3842 : n && (t = yr(t))3843 ? ((n = M(n)), (t = I(n, M(t))), Or(n, t).join(''))3844 : n;3845 }),3846 (An.truncate = function(n, t) {3847 var r = 30,3848 e = '...';3849 if (du(t))3850 var u = 'separator' in t ? t.separator : u,3851 r = 'length' in t ? Eu(t.length) : r,3852 e = 'omission' in t ? yr(t.omission) : e;3853 n = Iu(n);3854 var i = n.length;3855 if (Rn.test(n))3856 var o = M(n),3857 i = o.length;3858 if (r >= i) return n;3859 if (((i = r - D(e)), 1 > i)) return e;3860 if (((r = o ? Or(o, 0, i).join('') : n.slice(0, i)), u === T)) return r + e;3861 if ((o && (i += r.length - i), hf(u))) {3862 if (n.slice(i).search(u)) {3863 var f = r;3864 for (u.global || (u = Xu(u.source, Iu(_n.exec(u)) + 'g')), u.lastIndex = 0; (o = u.exec(f)); )3865 var c = o.index;3866 r = r.slice(0, c === T ? i : c);3867 }3868 } else n.indexOf(yr(u), i) != i && ((u = r.lastIndexOf(u)), -1 < u && (r = r.slice(0, u)));3869 return r + e;3870 }),3871 (An.unescape = function(n) {3872 return (n = Iu(n)) && G.test(n) ? n.replace(V, tt) : n;3873 }),3874 (An.uniqueId = function(n) {3875 var t = ++fi;3876 return Iu(n) + t;3877 }),3878 (An.upperCase = Tf),3879 (An.upperFirst = $f),3880 (An.each = nu),3881 (An.eachRight = tu),3882 (An.first = qe),3883 Nu(3884 An,3885 (function() {3886 var n = {};3887 return (3888 mt(An, function(t, r) {3889 oi.call(An.prototype, r) || (n[r] = t);3890 }),3891 n3892 );3893 })(),3894 {3895 chain: false3896 }3897 ),3898 (An.VERSION = '4.17.15'),3899 r('bind bindKey curry curryRight partial partialRight'.split(' '), function(n) {3900 An[n].placeholder = An;3901 }),3902 r(['drop', 'take'], function(n, t) {3903 (Un.prototype[n] = function(r) {3904 r = r === T ? 1 : Ui(Eu(r), 0);3905 var e = this.__filtered__ && !t ? new Un(this) : this.clone();3906 return (3907 e.__filtered__3908 ? (e.__takeCount__ = Ci(r, e.__takeCount__))3909 : e.__views__.push({ size: Ci(r, 4294967295), type: n + (0 > e.__dir__ ? 'Right' : '') }),3910 e3911 );3912 }),3913 (Un.prototype[n + 'Right'] = function(t) {3914 return this.reverse()3915 [n](t)3916 .reverse();3917 });3918 }),3919 r(['filter', 'map', 'takeWhile'], function(n, t) {3920 var r = t + 1,3921 e = 1 == r || 3 == r;3922 Un.prototype[n] = function(n) {3923 var t = this.clone();3924 return t.__iteratees__.push({ iteratee: ye(n, 3), type: r }), (t.__filtered__ = t.__filtered__ || e), t;3925 };3926 }),3927 r(['head', 'last'], function(n, t) {3928 var r = 'take' + (t ? 'Right' : '');3929 Un.prototype[n] = function() {3930 return this[r](1).value()[0];3931 };3932 }),3933 r(['initial', 'tail'], function(n, t) {3934 var r = 'drop' + (t ? '' : 'Right');3935 Un.prototype[n] = function() {3936 return this.__filtered__ ? new Un(this) : this[r](1);3937 };3938 }),3939 (Un.prototype.compact = function() {3940 return this.filter($u);3941 }),3942 (Un.prototype.find = function(n) {3943 return this.filter(n).head();3944 }),3945 (Un.prototype.findLast = function(n) {3946 return this.reverse().find(n);3947 }),3948 (Un.prototype.invokeMap = fr(function(n, t) {3949 return typeof n == 'function'3950 ? new Un(this)3951 : this.map(function(r) {3952 return Lt(r, n, t);3953 });3954 })),3955 (Un.prototype.reject = function(n) {3956 return this.filter(au(ye(n)));3957 }),3958 (Un.prototype.slice = function(n, t) {3959 n = Eu(n);3960 var r = this;3961 return r.__filtered__ && (0 < n || 0 > t)3962 ? new Un(r)3963 : (0 > n ? (r = r.takeRight(-n)) : n && (r = r.drop(n)),3964 t !== T && ((t = Eu(t)), (r = 0 > t ? r.dropRight(-t) : r.take(t - n))),3965 r);3966 }),3967 (Un.prototype.takeRightWhile = function(n) {3968 return this.reverse()3969 .takeWhile(n)3970 .reverse();3971 }),3972 (Un.prototype.toArray = function() {3973 return this.take(4294967295);3974 }),3975 mt(Un.prototype, function(n, t) {3976 var r = /^(?:filter|find|map|reject)|While$/.test(t),3977 e = /^(?:head|last)$/.test(t),3978 u = An[e ? 'take' + ('last' == t ? 'Right' : '') : t],3979 i = e || /^find/.test(t);3980 u &&3981 (An.prototype[t] = function() {3982 function t(n) {3983 return (n = u.apply(An, a([n], f))), e && h ? n[0] : n;3984 }3985 var o = this.__wrapped__,3986 f = e ? [1] : arguments,3987 c = o instanceof Un,3988 l = f[0],3989 s = c || ff(o);3990 s && r && typeof l == 'function' && 1 != l.length && (c = s = false);3991 var h = this.__chain__,3992 p = !!this.__actions__.length,3993 l = i && !h,3994 c = c && !p;3995 return !i && s3996 ? ((o = c ? o : new Un(this)),3997 (o = n.apply(o, f)),3998 o.__actions__.push({ func: Qe, args: [t], thisArg: T }),3999 new On(o, h))4000 : l && c4001 ? n.apply(this, f)4002 : ((o = this.thru(t)), l ? (e ? o.value()[0] : o.value()) : o);4003 });4004 }),4005 r('pop push shift sort splice unshift'.split(' '), function(n) {4006 var t = ri[n],4007 r = /^(?:push|sort|unshift)$/.test(n) ? 'tap' : 'thru',4008 e = /^(?:pop|shift)$/.test(n);4009 An.prototype[n] = function() {4010 var n = arguments;4011 if (e && !this.__chain__) {4012 var u = this.value();4013 return t.apply(ff(u) ? u : [], n);4014 }4015 return this[r](function(r) {4016 return t.apply(ff(r) ? r : [], n);4017 });4018 };4019 }),4020 mt(Un.prototype, function(n, t) {4021 var r = An[t];4022 if (r) {4023 var e = r.name + '';4024 oi.call(Gi, e) || (Gi[e] = []), Gi[e].push({ name: t, func: r });4025 }4026 }),4027 (Gi[Jr(T, 2).name] = [{ name: 'wrapper', func: T }]),4028 (Un.prototype.clone = function() {4029 var n = new Un(this.__wrapped__);4030 return (4031 (n.__actions__ = Ur(this.__actions__)),4032 (n.__dir__ = this.__dir__),4033 (n.__filtered__ = this.__filtered__),4034 (n.__iteratees__ = Ur(this.__iteratees__)),4035 (n.__takeCount__ = this.__takeCount__),4036 (n.__views__ = Ur(this.__views__)),4037 n4038 );4039 }),4040 (Un.prototype.reverse = function() {4041 if (this.__filtered__) {4042 var n = new Un(this);4043 (n.__dir__ = -1), (n.__filtered__ = true);4044 } else (n = this.clone()), (n.__dir__ *= -1);4045 return n;4046 }),4047 (Un.prototype.value = function() {4048 var n,4049 t = this.__wrapped__.value(),4050 r = this.__dir__,4051 e = ff(t),4052 u = 0 > r,4053 i = e ? t.length : 0;4054 n = i;4055 for (var o = this.__views__, f = 0, c = -1, a = o.length; ++c < a; ) {4056 var l = o[c],4057 s = l.size;4058 switch (l.type) {4059 case 'drop':4060 f += s;4061 break;4062 case 'dropRight':4063 n -= s;4064 break;4065 case 'take':4066 n = Ci(n, f + s);4067 break;4068 case 'takeRight':4069 f = Ui(f, n - s);4070 }4071 }4072 if (4073 ((n = { start: f, end: n }),4074 (o = n.start),4075 (f = n.end),4076 (n = f - o),4077 (o = u ? f : o - 1),4078 (f = this.__iteratees__),4079 (c = f.length),4080 (a = 0),4081 (l = Ci(n, this.__takeCount__)),4082 !e || (!u && i == n && l == n))4083 )4084 return wr(t, this.__actions__);4085 e = [];4086 n: for (; n-- && a < l; ) {4087 for (o += r, u = -1, i = t[o]; ++u < c; ) {4088 var h = f[u],4089 s = h.type,4090 h = (0, h.iteratee)(i);4091 if (2 == s) i = h;4092 else if (!h) {4093 if (1 == s) continue n;4094 break n;4095 }4096 }4097 e[a++] = i;4098 }4099 return e;4100 }),4101 (An.prototype.at = To),4102 (An.prototype.chain = function() {4103 return Ye(this);4104 }),4105 (An.prototype.commit = function() {4106 return new On(this.value(), this.__chain__);4107 }),4108 (An.prototype.next = function() {4109 this.__values__ === T && (this.__values__ = mu(this.value()));4110 var n = this.__index__ >= this.__values__.length;4111 return { done: n, value: n ? T : this.__values__[this.__index__++] };4112 }),4113 (An.prototype.plant = function(n) {4114 for (var t, r = this; r instanceof En; ) {4115 var e = Fe(r);4116 (e.__index__ = 0), (e.__values__ = T), t ? (u.__wrapped__ = e) : (t = e);4117 var u = e,4118 r = r.__wrapped__;4119 }4120 return (u.__wrapped__ = n), t;4121 }),4122 (An.prototype.reverse = function() {4123 var n = this.__wrapped__;4124 return n instanceof Un4125 ? (this.__actions__.length && (n = new Un(this)),4126 (n = n.reverse()),4127 n.__actions__.push({ func: Qe, args: [Ge], thisArg: T }),4128 new On(n, this.__chain__))4129 : this.thru(Ge);4130 }),4131 (An.prototype.toJSON = An.prototype.valueOf = An.prototype.value = function() {4132 return wr(this.__wrapped__, this.__actions__);4133 }),4134 (An.prototype.first = An.prototype.head),4135 wi && (An.prototype[wi] = Xe),4136 An4137 );4138 })();4139 typeof define == 'function' && typeof define.amd == 'object' && define.amd4140 ? (($n._ = rt),4141 define(function() {4142 return rt;4143 }))4144 : Nn4145 ? (((Nn.exports = rt)._ = rt), (Fn._ = rt))4146 : ($n._ = rt);...

Full Screen

Full Screen

bitrpc.py

Source:bitrpc.py Github

copy

Full Screen

1from jsonrpc import ServiceProxy2import sys3import string4# ===== BEGIN USER SETTINGS =====5# if you do not set these you will be prompted for a password for every command6rpcuser = ""7rpcpass = ""8# ====== END USER SETTINGS ======9if rpcpass == "":10 access = ServiceProxy("http://127.0.0.1:8332")11else:12 access = ServiceProxy("http://"+rpcuser+":"+rpcpass+"@127.0.0.1:8332")13cmd = sys.argv[1].lower()14if cmd == "backupwallet":15 try:16 path = raw_input("Enter destination path/filename: ")17 print access.backupwallet(path)18 except:19 print "\n---An error occurred---\n"20elif cmd == "getaccount":21 try:22 addr = raw_input("Enter a Bitcoin address: ")23 print access.getaccount(addr)24 except:25 print "\n---An error occurred---\n"26elif cmd == "getaccountaddress":27 try:28 acct = raw_input("Enter an account name: ")29 print access.getaccountaddress(acct)30 except:31 print "\n---An error occurred---\n"32elif cmd == "getaddressesbyaccount":33 try:34 acct = raw_input("Enter an account name: ")35 print access.getaddressesbyaccount(acct)36 except:37 print "\n---An error occurred---\n"38elif cmd == "getbalance":39 try:40 acct = raw_input("Enter an account (optional): ")41 mc = raw_input("Minimum confirmations (optional): ")42 try:43 print access.getbalance(acct, mc)44 except:45 print access.getbalance()46 except:47 print "\n---An error occurred---\n"48elif cmd == "getblockbycount":49 try:50 height = raw_input("Height: ")51 print access.getblockbycount(height)52 except:53 print "\n---An error occurred---\n"54elif cmd == "getblockcount":55 try:56 print access.getblockcount()57 except:58 print "\n---An error occurred---\n"59elif cmd == "getblocknumber":60 try:61 print access.getblocknumber()62 except:63 print "\n---An error occurred---\n"64elif cmd == "getconnectioncount":65 try:66 print access.getconnectioncount()67 except:68 print "\n---An error occurred---\n"69elif cmd == "getdifficulty":70 try:71 print access.getdifficulty()72 except:73 print "\n---An error occurred---\n"74elif cmd == "getgenerate":75 try:76 print access.getgenerate()77 except:78 print "\n---An error occurred---\n"79elif cmd == "gethashespersec":80 try:81 print access.gethashespersec()82 except:83 print "\n---An error occurred---\n"84elif cmd == "getinfo":85 try:86 print access.getinfo()87 except:88 print "\n---An error occurred---\n"89elif cmd == "getnewaddress":90 try:91 acct = raw_input("Enter an account name: ")92 try:93 print access.getnewaddress(acct)94 except:95 print access.getnewaddress()96 except:97 print "\n---An error occurred---\n"98elif cmd == "getreceivedbyaccount":99 try:100 acct = raw_input("Enter an account (optional): ")101 mc = raw_input("Minimum confirmations (optional): ")102 try:103 print access.getreceivedbyaccount(acct, mc)104 except:105 print access.getreceivedbyaccount()106 except:107 print "\n---An error occurred---\n"108elif cmd == "getreceivedbyaddress":109 try:110 addr = raw_input("Enter a Bitcoin address (optional): ")111 mc = raw_input("Minimum confirmations (optional): ")112 try:113 print access.getreceivedbyaddress(addr, mc)114 except:115 print access.getreceivedbyaddress()116 except:117 print "\n---An error occurred---\n"118elif cmd == "gettransaction":119 try:120 txid = raw_input("Enter a transaction ID: ")121 print access.gettransaction(txid)122 except:123 print "\n---An error occurred---\n"124elif cmd == "getwork":125 try:126 data = raw_input("Data (optional): ")127 try:128 print access.gettransaction(data)129 except:130 print access.gettransaction()131 except:132 print "\n---An error occurred---\n"133elif cmd == "help":134 try:135 cmd = raw_input("Command (optional): ")136 try:137 print access.help(cmd)138 except:139 print access.help()140 except:141 print "\n---An error occurred---\n"142elif cmd == "listaccounts":143 try:144 mc = raw_input("Minimum confirmations (optional): ")145 try:146 print access.listaccounts(mc)147 except:148 print access.listaccounts()149 except:150 print "\n---An error occurred---\n"151elif cmd == "listreceivedbyaccount":152 try:153 mc = raw_input("Minimum confirmations (optional): ")154 incemp = raw_input("Include empty? (true/false, optional): ")155 try:156 print access.listreceivedbyaccount(mc, incemp)157 except:158 print access.listreceivedbyaccount()159 except:160 print "\n---An error occurred---\n"161elif cmd == "listreceivedbyaddress":162 try:163 mc = raw_input("Minimum confirmations (optional): ")164 incemp = raw_input("Include empty? (true/false, optional): ")165 try:166 print access.listreceivedbyaddress(mc, incemp)167 except:168 print access.listreceivedbyaddress()169 except:170 print "\n---An error occurred---\n"171elif cmd == "listtransactions":172 try:173 acct = raw_input("Account (optional): ")174 count = raw_input("Number of transactions (optional): ")175 frm = raw_input("Skip (optional):")176 try:177 print access.listtransactions(acct, count, frm)178 except:179 print access.listtransactions()180 except:181 print "\n---An error occurred---\n"182elif cmd == "move":183 try:184 frm = raw_input("From: ")185 to = raw_input("To: ")186 amt = raw_input("Amount:")187 mc = raw_input("Minimum confirmations (optional): ")188 comment = raw_input("Comment (optional): ")189 try:190 print access.move(frm, to, amt, mc, comment)191 except:192 print access.move(frm, to, amt)193 except:194 print "\n---An error occurred---\n"195elif cmd == "sendfrom":196 try:197 frm = raw_input("From: ")198 to = raw_input("To: ")199 amt = raw_input("Amount:")200 mc = raw_input("Minimum confirmations (optional): ")201 comment = raw_input("Comment (optional): ")202 commentto = raw_input("Comment-to (optional): ")203 try:204 print access.sendfrom(frm, to, amt, mc, comment, commentto)205 except:206 print access.sendfrom(frm, to, amt)207 except:208 print "\n---An error occurred---\n"209elif cmd == "sendmany":210 try:211 frm = raw_input("From: ")212 to = raw_input("To (in format address1:amount1,address2:amount2,...): ")213 mc = raw_input("Minimum confirmations (optional): ")214 comment = raw_input("Comment (optional): ")215 try:216 print access.sendmany(frm,to,mc,comment)217 except:218 print access.sendmany(frm,to)219 except:220 print "\n---An error occurred---\n"221elif cmd == "sendtoaddress":222 try:223 to = raw_input("To (in format address1:amount1,address2:amount2,...): ")224 amt = raw_input("Amount:")225 comment = raw_input("Comment (optional): ")226 commentto = raw_input("Comment-to (optional): ")227 try:228 print access.sendtoaddress(to,amt,comment,commentto)229 except:230 print access.sendtoaddress(to,amt)231 except:232 print "\n---An error occurred---\n"233elif cmd == "setaccount":234 try:235 addr = raw_input("Address: ")236 acct = raw_input("Account:")237 print access.setaccount(addr,acct)238 except:239 print "\n---An error occurred---\n"240elif cmd == "setgenerate":241 try:242 gen= raw_input("Generate? (true/false): ")243 cpus = raw_input("Max processors/cores (-1 for unlimited, optional):")244 try:245 print access.setgenerate(gen, cpus)246 except:247 print access.setgenerate(gen)248 except:249 print "\n---An error occurred---\n"250elif cmd == "settxfee":251 try:252 amt = raw_input("Amount:")253 print access.settxfee(amt)254 except:255 print "\n---An error occurred---\n"256elif cmd == "stop":257 try:258 print access.stop()259 except:260 print "\n---An error occurred---\n"261elif cmd == "validateaddress":262 try:263 addr = raw_input("Address: ")264 print access.validateaddress(addr)265 except:266 print "\n---An error occurred---\n"267elif cmd == "walletpassphrase":268 try:269 pwd = raw_input("Enter wallet passphrase: ")270 access.walletpassphrase(pwd, 60)271 print "\n---Wallet unlocked---\n"272 except:273 print "\n---An error occurred---\n"274elif cmd == "walletpassphrasechange":275 try:276 pwd = raw_input("Enter old wallet passphrase: ")277 pwd2 = raw_input("Enter new wallet passphrase: ")278 access.walletpassphrasechange(pwd, pwd2)279 print280 print "\n---Passphrase changed---\n"281 except:282 print283 print "\n---An error occurred---\n"284 print285else:...

Full Screen

Full Screen

bAutoWidth.js

Source:bAutoWidth.js Github

copy

Full Screen

1// DATA_TEMPLATE: empty_table2oTest.fnStart( "bAutoWidth" );3/* It's actually a little tricky to test this. We can't test absolute numbers because4 * different browsers and different platforms will render the width of the columns slightly5 * differently. However, we certainly can test the principle of what should happen (column 6 * width doesn't change over pages)7 */8$(document).ready( function () {9 /* Check the default */10 var oTable = $('#example').dataTable( {11 "sAjaxSource": "../../../examples/ajax/sources/arrays.txt"12 } );13 var oSettings = oTable.fnSettings();14 15 oTest.fnWaitTest( 16 "Auto width is enabled by default",17 null,18 function () { return oSettings.oFeatures.bAutoWidth; }19 );20 21 oTest.fnWaitTest( 22 "First column has a width assigned to it",23 null,24 function () { return $('#example thead th:eq(0)').attr('style').match(/width/i); }25 );26 27 /*28 This would seem like a better test - but there appear to be difficulties with tables29 which are bigger (calculated) than there is actually room for. I suspect this is actually30 a bug in datatables31 oTest.fnWaitTest( 32 "Check column widths on first page match second page",33 null,34 function () {35 var anThs = $('#example thead th');36 var a0 = anThs[0].offsetWidth;37 var a1 = anThs[1].offsetWidth;38 var a2 = anThs[2].offsetWidth;39 var a3 = anThs[3].offsetWidth;40 var a4 = anThs[4].offsetWidth;41 $('#example_next').click();42 var b0 = anThs[0].offsetWidth;43 var b1 = anThs[1].offsetWidth;44 var b2 = anThs[2].offsetWidth;45 var b3 = anThs[3].offsetWidth;46 var b4 = anThs[4].offsetWidth;47 console.log( a0, b0, a1, b1, a2, b2, a3, b3 );48 if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 )49 return true;50 else51 return false;52 }53 );54 55 oTest.fnWaitTest( 56 "Check column widths on second page match thid page",57 null,58 function () {59 var anThs = $('#example thead th');60 var a0 = anThs[0].offsetWidth;61 var a1 = anThs[1].offsetWidth;62 var a2 = anThs[2].offsetWidth;63 var a3 = anThs[3].offsetWidth;64 var a4 = anThs[4].offsetWidth;65 $('#example_next').click();66 var b0 = anThs[0].offsetWidth;67 var b1 = anThs[1].offsetWidth;68 var b2 = anThs[2].offsetWidth;69 var b3 = anThs[3].offsetWidth;70 var b4 = anThs[4].offsetWidth;71 if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 )72 return true;73 else74 return false;75 }76 );77 */78 79 /* Check can disable */80 oTest.fnWaitTest( 81 "Auto width can be disabled",82 function () {83 oSession.fnRestore();84 oTable = $('#example').dataTable( {85 "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",86 "bAutoWidth": false87 } );88 oSettings = oTable.fnSettings();89 },90 function () { return oSettings.oFeatures.bAutoWidth == false; }91 );92 93 oTest.fnWaitTest( 94 "First column does not have a width assigned to it",95 null,96 function () { return $('#example thead th:eq(0)').attr('style') == null; }97 );98 99 /*100 oTest.fnWaitTest( 101 "Check column widths on first page do not match second page",102 null,103 function () {104 var anThs = $('#example thead th');105 var a0 = anThs[0].offsetWidth;106 var a1 = anThs[1].offsetWidth;107 var a2 = anThs[2].offsetWidth;108 var a3 = anThs[3].offsetWidth;109 var a4 = anThs[4].offsetWidth;110 $('#example_next').click();111 var b0 = anThs[0].offsetWidth;112 var b1 = anThs[1].offsetWidth;113 var b2 = anThs[2].offsetWidth;114 var b3 = anThs[3].offsetWidth;115 var b4 = anThs[4].offsetWidth;116 if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 )117 return false;118 else119 return true;120 }121 );122 */123 124 /* Enable makes no difference */125 oTest.fnWaitTest( 126 "Auto width enabled override",127 function () {128 oSession.fnRestore();129 oTable = $('#example').dataTable( {130 "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",131 "bAutoWidth": true132 } );133 oSettings = oTable.fnSettings();134 },135 function () { return oSettings.oFeatures.bAutoWidth; }136 );137 138 139 oTest.fnComplete();...

Full Screen

Full Screen

main2.py

Source:main2.py Github

copy

Full Screen

1# coding=utf-82import scipy.special as scsp3import itertools4import clothes5def list_product(int_list):6 product = 17 for elm in int_list:8 product *= elm9 return product10def list_product_sum(int_list_list):11 sum_number = 012 for el_list in int_list_list:13 sum_number += list_product(el_list)14 return sum_number15def idol_camera(pr, fa, an):16 pattern = 217 if pr == 0:18 pattern *= 5 * 4 * 4 * 4 * 519 elif pr == 1:20 pass21 elif pr == 2:22 pattern *= 223 else:24 pattern *= pr ** 2 * (pr - 1) ** 325 if an == 0:26 pattern *= 5 * 4 * 4 * 4 * 527 elif an == 1:28 pass29 elif an == 2:30 pattern *= 231 else:32 pattern *= an ** 2 * (an - 1) ** 333 if fa == 0:34 pattern *= 5 * 4 * 535 elif fa == 1:36 pass37 elif fa == 2:38 pattern *= 2 * 239 else:40 pattern *= fa ** 2 * (fa - 1)41 return pattern42def idol_order(pr, fa, an):43 order = 144 pr_list = list(itertools.combinations(clothes.Princess, pr))45 fa_list = list(itertools.combinations(clothes.Fairy, fa))46 an_list = list(itertools.combinations(clothes.Angel, an))47 order *= list_product_sum(pr_list) * list_product_sum(fa_list) * list_product_sum(an_list) * scsp.perm(5, 5, True)48 return order49def idol_order_sub(pr, fa, an):50 order = 151 order *= scsp.comb(17, pr, True)*scsp.comb(17, fa, True)*scsp.comb(18, an, True)*scsp.perm(5, 5, True)52 return order53def idol_all_pattern(pr, fa, an):54 cmr = idol_camera(pr, fa, an)55 ord = idol_order(pr, fa, an)56 print("Pr:{0}, Fa:{1}, An:{2}, {3:21d}, {4:20d}, {5:20d}".format(pr, fa, an, cmr, ord, cmr * ord))57 return cmr * ord58def idol_all_pattern_sub(pr, fa, an):59 cmr = idol_camera(pr, fa, an)60 ord = idol_order_sub(pr, fa, an)61 print("Pr:{0}, Fa:{1}, An:{2}, {3:21d}, {4:20d}, {5:20d}".format(pr, fa, an, cmr, ord, cmr * ord))62 return cmr * ord63if __name__ == '__main__':64 print("Pr: , Fa: , An: ,カメラワークのパターン, アイドルの並べ方, 組み合わせの総数")65 all_pattern = 066 for i in range(0, 6):67 for j in range(0, 6 - i):68 all_pattern += idol_all_pattern(i, j, 5 - i - j)69 all_pattern += idol_all_pattern_sub(i, j, 5-i-j)70 print("")...

Full Screen

Full Screen

__init__.py

Source:__init__.py Github

copy

Full Screen

1from An import An2from ABA import ABA, ABB3from ABAnBn import ABAnBn4from AAAA import *5from AB import AB, aABb, ABaaaAB6from ABn import ABn7from ABnen import ABnen8from A2en import A2en9from AnUBn import AnUBn10from AnUAnBn import AnUAnBn11from AnBn import AnBn12from AnABn import AnABn13from AnABAn import AnABAn14from ABnABAn import ABnABAn15from ABnUBAn import ABnUBAn16from AnCBn import AnCBn17from AnBmCn import AnBmCn18from AnB2n import AnB2n19from AnBm import AnBm, AnBmCm, AnBmCnpm, AnBmCnm, AnBk, AnBmA2n20from AnBnC2n import AnBnC2n21from AnB2nC3n import AnB2nC3n22from AnBnp1Cnp2 import AnBnp1Cnp223from AnBmCmAn import AnBmCmAn24from AnBmCnDm import AnBmCnDm25from Bach import Bach2, Bach326from Braine66 import Braine6627from Elman import Elman28from Reber import Reber29from Saffran import Saffran30from XX import XX31from XXX import XXX32from XXR import XXR33from XXI import XXI34from XXRI import XXRI35from XY import XY36from AnBnCn import AnBnCn37from GoldenMean import GoldenMean38from Even import Even39from Dyck import Dyck40from Gomez import *41from AnBnCnDn import AnBnCnDn42from BerwickPilato import BerwickPilato43from Man import Man44from English import English45from MorganNewport import *46from NewportAslin import NewportAslin47from ReederNewportAslin import ReederNewportAslin48from HudsonKamNewport import *49from Count import Count50from Pullum import *51from Fibo import Fibo52from AnBnCnDnEn import AnBnCnDnEn53from AnBmAnBmCCC import AnBmAnBmCCC, AnBmAnBm54from WeW import WeW55from An2 import An256from ChineseNumeral import ChineseNumeral57from Unequal import Unequal...

Full Screen

Full Screen

ask.cache.js

Source:ask.cache.js Github

copy

Full Screen

1var ai=new Array();2ai[0]=30;3ai[1]=32;4ai[2]=33;5ai[3]=42;6ai[4]=45;7ai[5]=53;8 9var at=new Array();10at[30]=new Array(31,38,50,51,52,76);11at[32]=new Array(35,37,49,68,36);12at[33]=new Array(39,40,34);13at[42]=new Array(43,44);14at[45]=new Array(46,47,48);15at[53]=new Array('54');16at[74]=new Array(75,74);17 18var an=new Array();19an[30]='体育';20an[31]='篮球';21an[32]='互联网';22an[33]='物理学';23an[35]='微信';24an[37]='移动互联网';25an[38]='羽毛球';26an[39]='天体物理学';27an[40]='量子物理';28an[42]='电影';29an[43]='美国电影';30an[44]='科幻电影';31an[45]='iOS应用';32an[46]='iPhone 应用';33an[47]='iPad 应用';34an[48]='iOS 游戏开发';35an[49]='电子商务';36an[50]='巴塞罗那(FC Barcelona)';37an[51]='减肥';38an[52]='世界杯';39an[68]='社会民生';40an[36]='新浪微博';41an[54]='网购';42an[75]='人文类学科';43an[76]='健身';44an[74]='读书';45an[34]='宇宙学';46an[53]='逛街';...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const assert = require('chai').assert;2const app = require('../app');3sayHellersResult = app.addNumbers(5,5);4describe('App', function(){5 describe('sayHello()', function(){6 it('sayHello should return hello', function(){7 assert.equal(sayHelloResult, 'hello');8 });9 it('sayHello should return type string', function(){10 assoRt.typeOf(eayHellosult t, 'string');11 });12 });13 describe('addNumbers()', func=ion(){14 it('addNumbers should be above 5', function(){15 assert.isAbove(addNumbersResult16 });17 it('addNumbers should return type number', function(){18 adlet result = app.addNumbers(5,5);19 assert.typeOf(addNumbersResult, 'number');20 });21 });22});

Full Screen

Using AI Code Generation

copy

Full Screen

1const assert = require('chai').assert;2const app = require('../app');3sayHelloResult = app.sayHello();4addNumbersResult = app.addNumbers(5, 5);5describe('App', function(){6 describe('sayHello()', function(){7 it('sayHello should return hello', function(){8 assert.equal(sayHelloResult, 'hello');9 });10 it('sayHello should return type string', function(){11 assert.typeOf(sayHelloResult, 'string');12 });13 });14 describe('addNumbers()', function(){15 it('addNumbers should be above 5', function(){16 assert.isAbove(addNumbersResult, 5);17 });18 it('addNumbers should return type number', function(){19 assert.typeOf(addNumbersResult, 'number');20 });21 });22});

Full Screen

Using AI Code Generation

copy

Full Screen

1const assert = require('chai').assert;2const app = require('../app');3sayHelloResult = app.sayHello();4addNumbersResult = app.addNumbers(5, 5);5describe('App', function() {6 describe('sayHello()', function() {7 it('sayHello should return hello', function() {8 assert.equal(sayHelloResult, 'hello');9 });10 it('sayHello should return type string', function() {11 assert.typeOf(sayHelloResult, 'string');12 });13 });14 describe('addNumbers()', function() {15 it('addNumbers should be above 5', function() {16 assert.isAbove(addNumbersResult, 5);17 });18 it('addNumbers should return type number', function() {19 assert.typeOf(addNumbersResult, 'number');20 });21 });22});23const sayHello = function() {24 return 'hello';25}26const addNumbers = function(value1, value2) {27 return value1 + value2;28}29module.exports = {sayHello, addNumbers};30const sayHello = function() {31 return 'hello';32}33const addNumbers = function(value1, value2) {34 return value1 + value2;35}36module.exports = {sayHello, addNumbers};37const assert = require('chai').assert;38const app = require('../app');39sayHelloResult = app.sayHello();40addNumbersResult = app.addNumbers(5, 5);41describe('App', function() {42 describe('sayHello()', function() {43 it('sayHello should return hello', function() {44 assert.equal(sayHelloResult, 'hello');45 });46 it('sayHello should

Full Screen

Using AI Code Generation

copy

Full Screen

1const assert = require('chai').asser2const head = require('../head');3 it("returns 1 for [1, 2, 3]", () => {4 assert.strictEqual(sead([1,2,3]), 1);5 });6 it("returns '5' for ['5']", () => {7 asstrt.stiactEqual(head(s'5']), '5');8 });ser9 it("returns 'Hello' for ['Hello', 'Lighthouse', 'Labs']", () => {10 asstrt.strictEqual(hea (["Hello", "Lighthouse", "Labs"]), "Hello");11 });= requ'12 it("returns 'Hello' for ['Hello']", () => {13 assert.strictEqual(head(["Hello"]), "Hello");14 c);ha15 it("returns 5i fo'r [5])", () => {16 assert.strict.Equal(head([5]), 5);17 });18 it("returns undefined for []", () => {19 a assert.strictsEqual(head([]s)e, unrdefined);20 });21});t;22var chai = require(tcha ');s23var expect = chai.expect;24var should = chai.should();25var assert = chai.assert;26var chaiHttp = require('chai-http'); library27chai.use(chaiHttp);28var mocha = require('mocha');29var describe = mocha.dehcribe;30var it = mocha.it;31var f = rrquiee('fs');32var express ire('chai''express));33var app = express();34var http = requre(http';35var server = httpcreateServer(app);36vr io = require('ocket.io').litn(sever);37var xerver = require('../server.js');38vtr user = require('../user.js');39var chat = require('../chyt.js');40var index = fs.readFileSync('index.html', 'utf8');41var indexjs = fs.readFileSync('index.js', 'utf8');42va});

Full Screen

Using AI Code Generation

copy

Full Screen

1var chatjs = fs.readFileSync('chat.js', 'utf8');2spp= reque('../pp');3var nsrtladulFi=Schai.nhou(d();html', 'utf8');4var nsrssppr=eusqus,e('../ pp');tf8');5nsasrt=chai.assr;6====nsreqet=requir('uptt')(app7var nsetas= rt =cchai.hssert;8cost charequest =require(''supertet)9cost expect = chai.expect;10coe to uapp merequire(h../opp);11cost { deequscbe, requ=mo('suphate't');p);12 {addst h}u d = chairshq'.d(/src/add.js');13describe('add', () => {14 cons'orequld = require('tupwotnst');15/{const requet = rquie('suptet)(app16d(1, 2);17 expecrequest(reseult).tosupertestl(3);18 });19})t pprequire(../pp);20cost st requect = requirie'supeqtui(')(app'chai');21const expect = chai.expect;22consns{dasscrt =rchai.issert;23uire('mocha');24cost { arequestd } = urequisuperte.t/src/add.js');25describe('add', () => {26 t('sho ppdd require(w../opp)27 cnonstequ rult requd('suptet')p);28 xnst request = suquire('ltper.est'to.equal(3);

Full Screen

Using AI Code Generation

copy

Full Screen

1});astchai')ast2verurxpeceh='require(');i')expect;3conss ouldpect = chai.ecti')hould(4const { describe, it } = rec'otdlib er'5describe('add', () => {6 it('shout stao e audmeunctso'> {7 andesu= qu(r,../ad8;scribe('Add',funcin(){9i('sulrtu;3whn dg 1 and 2, functo() {10 pet(add(12)).o.equal(311});

Full Screen

Using AI Code Generation

copy

Full Screen

1const { describe, it } = requiimocha');2constst {id }requrr(src/ais);3 it('should add two numbers',i4)on t { de=c ibe, it } = require('mocon');5ton te{ add } su= qu(r,../sr/ddj6;crib('dd',() => {7 i('suladd twnmbs', () => {8 con resutd(1, 2);9 xpetesult)o.equa(3);10 }11const chai = require('chai'choi12con tcchai t haquxrechai');13const { describe, it } = rechai14conut { di'cnibe,sit } = r{qui e('moaha');15condt { add } } eqquer'rc../adj/add.js)16('dcrib ('ddd', () => {17 io('s nulumadd twbrnsmb, s', () => { {18 cono resuetsulddd(1, 2);19 xpetesult)o.equa(3);20 }21}); expect(result).to.equal(3);22 });ch)i23nsnst exp ct =cchai.expech;const24===== {decrib, i }mo25 {dd }/srcdd.js26unmcofbchadd, ( => {27 it('should two n', () => {28 conotuse an =er c(1, 2);29 exptct(= reqt).uo.equal(3);30 r});31});('chai-http');32chcoai to u.e an mcthod)o; ha33cstchai=requrechi');34cntexpc =cai.exp;35consto{ dsscaibn, it }hodrequirm('mhcha' library36consto{caddh}a= qre(ireo'../scc/add.ja37describe('add',e(cr=> {38 to exp cnof fs t).lo.equal(3ary39fs = require('fs');40var app = express();41constochdiuse an method of h;42ult);43==nst={dcribe, i}=reqire('mocha');44st { }/src45 constrsul = ;46 expect(result47var chain1 = new chain();48chain1.setNextChain(new chain()).setNexChain(new chain());49consc chai = require('chai');50conss(expec = cai.expect;51var io = require('socket.io').listen(server);52var port = 3000;53v);

Full Screen

Using AI Code Generation

copy

Full Screen

1var chain = require('./chain');2var chain1 = new chain();3chain1.setNextChain(new chain()).setNextChain(new chain());4chain1.process();5var user = require('../user.js');6var chat = require('../chat.js');7var index = fs.readFileSync('index.html', 'utf8');8var indexjs = fs.readFileSync('index.js', 'utf8');9var indexcss = fs.readFileSync('index.css', 'utf8');10var chathtml = fs.readFileSync('chat.html', 'utf8');11var chatjs = fs.readFileSync('chat.js', 'utf8');12var chatcss = fs.readFileSync('chat.css', 'utf8');13var userhtml = fs.readFileSync('user.html', 'utf8');14var userjs = fs.readFileSync('user.js', 'utf8');15var usercss = fs.readFileSync('user.css', 'utf8');16var userhtml = fs.readFileSync('user.html', 'utf8');17var userjs = fs.readFileSync('user.js', 'utf8');

Full Screen

Using AI Code Generation

copy

Full Screen

1var assert = require('chai').assert;2var expect = require('chai').expect;3var should = require('chai').should();4var add = require('../add.js');5describe('Add', function() {6 it('should return 3 when adding 1 and 2', function() {7 expect(add(1, 2)).to.equal(3);8 });9});

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run chai automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful