context.js 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874
  1. ! function(t) {
  2. function n(e) {
  3. if (o[e]) return o[e].exports;
  4. var i = o[e] = {
  5. exports: {},
  6. id: e,
  7. loaded: !1
  8. };
  9. return t[e].call(i.exports, i, i.exports, n), i.loaded = !0, i.exports
  10. }
  11. var o = {};
  12. return n.m = t, n.c = o, n.p = "", n(0)
  13. }([function(t, n, o) {
  14. window.BootstrapMenu = o(1)
  15. }, function(t, n, o) {
  16. "use strict";
  17. function e(t) {
  18. var n = f('<div class="dropdown bootstrapMenu" style="z-index:10000;position:absolute;" />'),
  19. o = f('<ul class="dropdown-menu" style="position:static;display:block;font-size:0.9em;" />'),
  20. e = [];
  21. e[0] = [], p.each(t.options.actionsGroups, function(t, n) {
  22. e[n + 1] = []
  23. });
  24. var i = !1;
  25. p.each(t.options.actions, function(n, o) {
  26. var r = !1;
  27. p.each(t.options.actionsGroups, function(t, n) {
  28. p.contains(t, o) && (e[n + 1].push(o), r = !0)
  29. }), r === !1 && e[0].push(o), "undefined" != typeof n.iconClass && (i = !0)
  30. });
  31. var r = !0;
  32. return p.each(e, function(n) {
  33. 0 != n.length && (r === !1 && o.append('<li class="divider"></li>'), r = !1, p.each(n, function(n) {
  34. var e = t.options.actions[n];
  35. i === !0 ? o.append('<li role="presentation" data-action="' + n + '"><a href="#" role="menuitem"><i class="fa fa-fw fa-lg ' + (e.iconClass || "") + '"></i> <span class="actionName"></span></a></li>') : o.append('<li role="presentation" data-action="' + n + '"><a href="#" role="menuitem"><span class="actionName"></span></a></li>')
  36. }), o.append('<li role="presentation" class="noActionsMessage disabled"><a href="#" role="menuitem"><span>' + t.options.noActionsMessage + "</span></a></li>"))
  37. }), n.append(o)
  38. }
  39. function i(t) {
  40. var n = null;
  41. switch (t.options.menuEvent) {
  42. case "click":
  43. n = "click";
  44. break;
  45. case "right-click":
  46. n = "contextmenu";
  47. break;
  48. case "hover":
  49. n = "mouseenter";
  50. break;
  51. default:
  52. throw new Error("Unknown BootstrapMenu 'menuEvent' option")
  53. }
  54. t.$container.on(n + t.namespace, t.selector, function(n) {
  55. var o = f(this);
  56. return t.open(o, n), !1
  57. })
  58. }
  59. function r(t) {
  60. t.$container.off(t.namespace)
  61. }
  62. function s(t) {
  63. var n = t.options._actionSelectEvent + t.namespace;
  64. t.$menu.on(n, function(n) {
  65. n.preventDefault(), n.stopPropagation();
  66. var o = f(n.target),
  67. e = o.closest("[data-action]");
  68. if (e && e.length && !e.is(".disabled")) {
  69. var i = e.data("action"),
  70. r = t.options.fetchElementData(t.$openTarget);
  71. t.options.actions[i].onClick(r), t.close()
  72. }
  73. })
  74. }
  75. function c(t) {
  76. t.$menu.off(t.namespace)
  77. }
  78. function a(t) {
  79. switch (t.options.menuEvent) {
  80. case "click":
  81. break;
  82. case "right-click":
  83. break;
  84. case "hover":
  85. var n = t.$openTarget.add(t.$menu);
  86. n.on("mouseleave" + t.closeNamespace, function(o) {
  87. var e = o.toElement || o.relatedTarget;
  88. t.$openTarget.is(e) || t.$menu.is(e) || (n.off(t.closeNamespace), t.close())
  89. });
  90. break;
  91. default:
  92. throw new Error("Unknown BootstrapMenu 'menuEvent' option")
  93. }
  94. t.$container.on("click" + t.closeNamespace, function() {
  95. t.close()
  96. })
  97. }
  98. function u(t) {
  99. t.$container.off(t.closeNamespace)
  100. }
  101. var l = o(2),
  102. f = o(3);
  103. o(4);
  104. var p = function() {
  105. throw new Error("Custom lodash build for BootstrapMenu. lodash chaining is not included")
  106. };
  107. p.noop = o(6), p.each = o(7), p.contains = o(34), p.extend = o(42), p.uniqueId = o(49), p.isFunction = o(19);
  108. var h = {
  109. container: "body",
  110. fetchElementData: p.noop,
  111. menuSource: "mouse",
  112. menuPosition: "belowLeft",
  113. menuEvent: "right-click",
  114. actionsGroups: [],
  115. noActionsMessage: "No available actions",
  116. _actionSelectEvent: "click"
  117. },
  118. d = function(t, n) {
  119. this.selector = t, this.options = p.extend({}, h, n), this.namespace = p.uniqueId(".BootstrapMenu_"), this.closeNamespace = p.uniqueId(".BootstrapMenuClose_"), this.init()
  120. },
  121. v = [];
  122. d.prototype.init = function() {
  123. this.$container = f(this.options.container), this.$menu = e(this), this.$menuList = this.$menu.children(), this.$menu.hide().appendTo(this.$container), this.$openTarget = null, this.openEvent = null, i(this), s(this), v.push(this)
  124. }, d.prototype.updatePosition = function() {
  125. var t = null,
  126. n = null,
  127. o = null;
  128. switch (this.options.menuSource) {
  129. case "element":
  130. n = this.$openTarget;
  131. break;
  132. case "mouse":
  133. n = this.openEvent;
  134. break;
  135. default:
  136. throw new Error("Unknown BootstrapMenu 'menuSource' option")
  137. }
  138. switch (this.options.menuPosition) {
  139. case "belowRight":
  140. t = "right top", o = "right bottom";
  141. break;
  142. case "belowLeft":
  143. t = "left top", o = "left bottom";
  144. break;
  145. case "aboveRight":
  146. t = "right bottom", o = "right top";
  147. break;
  148. case "aboveLeft":
  149. t = "left bottom", o = "left top";
  150. break;
  151. default:
  152. throw new Error("Unknown BootstrapMenu 'menuPosition' option")
  153. }
  154. this.$menu.css({
  155. display: "block"
  156. }), this.$menu.css({
  157. height: this.$menuList.height(),
  158. width: this.$menuList.width()
  159. }), this.$menu.position({
  160. my: t,
  161. at: o,
  162. of: n
  163. })
  164. }, d.prototype.open = function(t, n) {
  165. var o = this;
  166. d.closeAll(), this.$openTarget = t, this.openEvent = n;
  167. var e = o.options.fetchElementData(o.$openTarget),
  168. i = this.$menu.find("[data-action]"),
  169. r = this.$menu.find(".noActionsMessage");
  170. i.show(), r.hide();
  171. var s = 0;
  172. i.each(function() {
  173. var t = f(this),
  174. n = t.data("action"),
  175. i = o.options.actions[n],
  176. r = i.classNames || null;
  177. return r && p.isFunction(r) && (r = r(e)), t.attr("class", l(r || "")), i.isShown && i.isShown(e) === !1 ? void t.hide() : (s++, t.find(".actionName").html(p.isFunction(i.name) && i.name(e) || i.name), void(i.isEnabled && i.isEnabled(e) === !1 && t.addClass("disabled")))
  178. }), 0 === s && r.show(), this.updatePosition(), this.$menu.show(), a(this)
  179. }, d.prototype.close = function() {
  180. this.$menu.hide(), u(this)
  181. }, d.prototype.destroy = function() {
  182. this.close(), r(this), c(this)
  183. }, d.closeAll = function() {
  184. p.each(v, function(t) {
  185. t.close()
  186. })
  187. }, t.exports = d
  188. }, function(t, n, o) {
  189. var e, i;
  190. /*!
  191. Copyright (c) 2016 Jed Watson.
  192. Licensed under the MIT License (MIT), see
  193. http://jedwatson.github.io/classnames
  194. */
  195. ! function() {
  196. "use strict";
  197. function o() {
  198. for (var t = [], n = 0; n < arguments.length; n++) {
  199. var e = arguments[n];
  200. if (e) {
  201. var i = typeof e;
  202. if ("string" === i || "number" === i) t.push(e);
  203. else if (Array.isArray(e)) t.push(o.apply(null, e));
  204. else if ("object" === i)
  205. for (var s in e) r.call(e, s) && e[s] && t.push(s)
  206. }
  207. }
  208. return t.join(" ")
  209. }
  210. var r = {}.hasOwnProperty;
  211. "undefined" != typeof t && t.exports ? t.exports = o : (e = [], i = function() {
  212. return o
  213. }.apply(n, e), !(void 0 !== i && (t.exports = i)))
  214. }()
  215. }, function(t, n) {
  216. t.exports = jQuery
  217. }, function(t, n, o) {
  218. var e, i, r;
  219. /*!
  220. * jQuery UI Position 1.12.0
  221. * http://jqueryui.com
  222. *
  223. * Copyright jQuery Foundation and other contributors
  224. * Released under the MIT license.
  225. * http://jquery.org/license
  226. *
  227. * http://api.jqueryui.com/position/
  228. */
  229. ! function(s) {
  230. i = [o(3), o(5)], e = s, r = "function" == typeof e ? e.apply(n, i) : e, !(void 0 !== r && (t.exports = r))
  231. }(function(t) {
  232. return function() {
  233. function n(t, n, o) {
  234. return [parseFloat(t[0]) * (h.test(t[0]) ? n / 100 : 1), parseFloat(t[1]) * (h.test(t[1]) ? o / 100 : 1)]
  235. }
  236. function o(n, o) {
  237. return parseInt(t.css(n, o), 10) || 0
  238. }
  239. function e(n) {
  240. var o = n[0];
  241. return 9 === o.nodeType ? {
  242. width: n.width(),
  243. height: n.height(),
  244. offset: {
  245. top: 0,
  246. left: 0
  247. }
  248. } : t.isWindow(o) ? {
  249. width: n.width(),
  250. height: n.height(),
  251. offset: {
  252. top: n.scrollTop(),
  253. left: n.scrollLeft()
  254. }
  255. } : o.preventDefault ? {
  256. width: 0,
  257. height: 0,
  258. offset: {
  259. top: o.pageY,
  260. left: o.pageX
  261. }
  262. } : {
  263. width: n.outerWidth(),
  264. height: n.outerHeight(),
  265. offset: n.offset()
  266. }
  267. }
  268. var i, r, s = Math.max,
  269. c = Math.abs,
  270. a = Math.round,
  271. u = /left|center|right/,
  272. l = /top|center|bottom/,
  273. f = /[\+\-]\d+(\.[\d]+)?%?/,
  274. p = /^\w+/,
  275. h = /%$/,
  276. d = t.fn.position;
  277. r = function() {
  278. var n = t("<div>").css("position", "absolute").appendTo("body").offset({
  279. top: 1.5,
  280. left: 1.5
  281. }),
  282. o = 1.5 === n.offset().top;
  283. return n.remove(), r = function() {
  284. return o
  285. }, o
  286. }, t.position = {
  287. scrollbarWidth: function() {
  288. if (void 0 !== i) return i;
  289. var n, o, e = t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),
  290. r = e.children()[0];
  291. return t("body").append(e), n = r.offsetWidth, e.css("overflow", "scroll"), o = r.offsetWidth, n === o && (o = e[0].clientWidth), e.remove(), i = n - o
  292. },
  293. getScrollInfo: function(n) {
  294. var o = n.isWindow || n.isDocument ? "" : n.element.css("overflow-x"),
  295. e = n.isWindow || n.isDocument ? "" : n.element.css("overflow-y"),
  296. i = "scroll" === o || "auto" === o && n.width < n.element[0].scrollWidth,
  297. r = "scroll" === e || "auto" === e && n.height < n.element[0].scrollHeight;
  298. return {
  299. width: r ? t.position.scrollbarWidth() : 0,
  300. height: i ? t.position.scrollbarWidth() : 0
  301. }
  302. },
  303. getWithinInfo: function(n) {
  304. var o = t(n || window),
  305. e = t.isWindow(o[0]),
  306. i = !!o[0] && 9 === o[0].nodeType,
  307. r = !e && !i;
  308. return {
  309. element: o,
  310. isWindow: e,
  311. isDocument: i,
  312. offset: r ? t(n).offset() : {
  313. left: 0,
  314. top: 0
  315. },
  316. scrollLeft: o.scrollLeft(),
  317. scrollTop: o.scrollTop(),
  318. width: o.outerWidth(),
  319. height: o.outerHeight()
  320. }
  321. }
  322. }, t.fn.position = function(i) {
  323. if (!i || !i.of) return d.apply(this, arguments);
  324. i = t.extend({}, i);
  325. var h, v, m, g, y, w, x = t(i.of),
  326. b = t.position.getWithinInfo(i.within),
  327. $ = t.position.getScrollInfo(b),
  328. W = (i.collision || "flip").split(" "),
  329. k = {};
  330. return w = e(x), x[0].preventDefault && (i.at = "left top"), v = w.width, m = w.height, g = w.offset, y = t.extend({}, g), t.each(["my", "at"], function() {
  331. var t, n, o = (i[this] || "").split(" ");
  332. 1 === o.length && (o = u.test(o[0]) ? o.concat(["center"]) : l.test(o[0]) ? ["center"].concat(o) : ["center", "center"]), o[0] = u.test(o[0]) ? o[0] : "center", o[1] = l.test(o[1]) ? o[1] : "center", t = f.exec(o[0]), n = f.exec(o[1]), k[this] = [t ? t[0] : 0, n ? n[0] : 0], i[this] = [p.exec(o[0])[0], p.exec(o[1])[0]]
  333. }), 1 === W.length && (W[1] = W[0]), "right" === i.at[0] ? y.left += v : "center" === i.at[0] && (y.left += v / 2), "bottom" === i.at[1] ? y.top += m : "center" === i.at[1] && (y.top += m / 2), h = n(k.at, v, m), y.left += h[0], y.top += h[1], this.each(function() {
  334. var e, u, l = t(this),
  335. f = l.outerWidth(),
  336. p = l.outerHeight(),
  337. d = o(this, "marginLeft"),
  338. w = o(this, "marginTop"),
  339. E = f + d + o(this, "marginRight") + $.width,
  340. T = p + w + o(this, "marginBottom") + $.height,
  341. j = t.extend({}, y),
  342. P = n(k.my, l.outerWidth(), l.outerHeight());
  343. "right" === i.my[0] ? j.left -= f : "center" === i.my[0] && (j.left -= f / 2), "bottom" === i.my[1] ? j.top -= p : "center" === i.my[1] && (j.top -= p / 2), j.left += P[0], j.top += P[1], r() || (j.left = a(j.left), j.top = a(j.top)), e = {
  344. marginLeft: d,
  345. marginTop: w
  346. }, t.each(["left", "top"], function(n, o) {
  347. t.ui.position[W[n]] && t.ui.position[W[n]][o](j, {
  348. targetWidth: v,
  349. targetHeight: m,
  350. elemWidth: f,
  351. elemHeight: p,
  352. collisionPosition: e,
  353. collisionWidth: E,
  354. collisionHeight: T,
  355. offset: [h[0] + P[0], h[1] + P[1]],
  356. my: i.my,
  357. at: i.at,
  358. within: b,
  359. elem: l
  360. })
  361. }), i.using && (u = function(t) {
  362. var n = g.left - j.left,
  363. o = n + v - f,
  364. e = g.top - j.top,
  365. r = e + m - p,
  366. a = {
  367. target: {
  368. element: x,
  369. left: g.left,
  370. top: g.top,
  371. width: v,
  372. height: m
  373. },
  374. element: {
  375. element: l,
  376. left: j.left,
  377. top: j.top,
  378. width: f,
  379. height: p
  380. },
  381. horizontal: o < 0 ? "left" : n > 0 ? "right" : "center",
  382. vertical: r < 0 ? "top" : e > 0 ? "bottom" : "middle"
  383. };
  384. v < f && c(n + o) < v && (a.horizontal = "center"), m < p && c(e + r) < m && (a.vertical = "middle"), s(c(n), c(o)) > s(c(e), c(r)) ? a.important = "horizontal" : a.important = "vertical", i.using.call(this, t, a)
  385. }), l.offset(t.extend(j, {
  386. using: u
  387. }))
  388. })
  389. }, t.ui.position = {
  390. fit: {
  391. left: function(t, n) {
  392. var o, e = n.within,
  393. i = e.isWindow ? e.scrollLeft : e.offset.left,
  394. r = e.width,
  395. c = t.left - n.collisionPosition.marginLeft,
  396. a = i - c,
  397. u = c + n.collisionWidth - r - i;
  398. n.collisionWidth > r ? a > 0 && u <= 0 ? (o = t.left + a + n.collisionWidth - r - i, t.left += a - o) : u > 0 && a <= 0 ? t.left = i : a > u ? t.left = i + r - n.collisionWidth : t.left = i : a > 0 ? t.left += a : u > 0 ? t.left -= u : t.left = s(t.left - c, t.left)
  399. },
  400. top: function(t, n) {
  401. var o, e = n.within,
  402. i = e.isWindow ? e.scrollTop : e.offset.top,
  403. r = n.within.height,
  404. c = t.top - n.collisionPosition.marginTop,
  405. a = i - c,
  406. u = c + n.collisionHeight - r - i;
  407. n.collisionHeight > r ? a > 0 && u <= 0 ? (o = t.top + a + n.collisionHeight - r - i, t.top += a - o) : u > 0 && a <= 0 ? t.top = i : a > u ? t.top = i + r - n.collisionHeight : t.top = i : a > 0 ? t.top += a : u > 0 ? t.top -= u : t.top = s(t.top - c, t.top)
  408. }
  409. },
  410. flip: {
  411. left: function(t, n) {
  412. var o, e, i = n.within,
  413. r = i.offset.left + i.scrollLeft,
  414. s = i.width,
  415. a = i.isWindow ? i.scrollLeft : i.offset.left,
  416. u = t.left - n.collisionPosition.marginLeft,
  417. l = u - a,
  418. f = u + n.collisionWidth - s - a,
  419. p = "left" === n.my[0] ? -n.elemWidth : "right" === n.my[0] ? n.elemWidth : 0,
  420. h = "left" === n.at[0] ? n.targetWidth : "right" === n.at[0] ? -n.targetWidth : 0,
  421. d = -2 * n.offset[0];
  422. l < 0 ? (o = t.left + p + h + d + n.collisionWidth - s - r, (o < 0 || o < c(l)) && (t.left += p + h + d)) : f > 0 && (e = t.left - n.collisionPosition.marginLeft + p + h + d - a, (e > 0 || c(e) < f) && (t.left += p + h + d))
  423. },
  424. top: function(t, n) {
  425. var o, e, i = n.within,
  426. r = i.offset.top + i.scrollTop,
  427. s = i.height,
  428. a = i.isWindow ? i.scrollTop : i.offset.top,
  429. u = t.top - n.collisionPosition.marginTop,
  430. l = u - a,
  431. f = u + n.collisionHeight - s - a,
  432. p = "top" === n.my[1],
  433. h = p ? -n.elemHeight : "bottom" === n.my[1] ? n.elemHeight : 0,
  434. d = "top" === n.at[1] ? n.targetHeight : "bottom" === n.at[1] ? -n.targetHeight : 0,
  435. v = -2 * n.offset[1];
  436. l < 0 ? (e = t.top + h + d + v + n.collisionHeight - s - r, (e < 0 || e < c(l)) && (t.top += h + d + v)) : f > 0 && (o = t.top - n.collisionPosition.marginTop + h + d + v - a, (o > 0 || c(o) < f) && (t.top += h + d + v))
  437. }
  438. },
  439. flipfit: {
  440. left: function() {
  441. t.ui.position.flip.left.apply(this, arguments), t.ui.position.fit.left.apply(this, arguments)
  442. },
  443. top: function() {
  444. t.ui.position.flip.top.apply(this, arguments), t.ui.position.fit.top.apply(this, arguments)
  445. }
  446. }
  447. }
  448. }(), t.ui.position
  449. })
  450. }, function(t, n, o) {
  451. var e, i, r;
  452. ! function(s) {
  453. i = [o(3)], e = s, r = "function" == typeof e ? e.apply(n, i) : e, !(void 0 !== r && (t.exports = r))
  454. }(function(t) {
  455. return t.ui = t.ui || {}, t.ui.version = "1.12.0"
  456. })
  457. }, function(t, n) {
  458. function o() {}
  459. t.exports = o
  460. }, function(t, n, o) {
  461. t.exports = o(8)
  462. }, function(t, n, o) {
  463. var e = o(9),
  464. i = o(10),
  465. r = o(31),
  466. s = r(e, i);
  467. t.exports = s
  468. }, function(t, n) {
  469. function o(t, n) {
  470. for (var o = -1, e = t.length; ++o < e && n(t[o], o, t) !== !1;);
  471. return t
  472. }
  473. t.exports = o
  474. }, function(t, n, o) {
  475. var e = o(11),
  476. i = o(30),
  477. r = i(e);
  478. t.exports = r
  479. }, function(t, n, o) {
  480. function e(t, n) {
  481. return i(t, n, r)
  482. }
  483. var i = o(12),
  484. r = o(16);
  485. t.exports = e
  486. }, function(t, n, o) {
  487. var e = o(13),
  488. i = e();
  489. t.exports = i
  490. }, function(t, n, o) {
  491. function e(t) {
  492. return function(n, o, e) {
  493. for (var r = i(n), s = e(n), c = s.length, a = t ? c : -1; t ? a-- : ++a < c;) {
  494. var u = s[a];
  495. if (o(r[u], u, r) === !1) break
  496. }
  497. return n
  498. }
  499. }
  500. var i = o(14);
  501. t.exports = e
  502. }, function(t, n, o) {
  503. function e(t) {
  504. return i(t) ? t : Object(t)
  505. }
  506. var i = o(15);
  507. t.exports = e
  508. }, function(t, n) {
  509. function o(t) {
  510. var n = typeof t;
  511. return !!t && ("object" == n || "function" == n)
  512. }
  513. t.exports = o
  514. }, function(t, n, o) {
  515. var e = o(17),
  516. i = o(21),
  517. r = o(15),
  518. s = o(25),
  519. c = e(Object, "keys"),
  520. a = c ? function(t) {
  521. var n = null == t ? void 0 : t.constructor;
  522. return "function" == typeof n && n.prototype === t || "function" != typeof t && i(t) ? s(t) : r(t) ? c(t) : []
  523. } : s;
  524. t.exports = a
  525. }, function(t, n, o) {
  526. function e(t, n) {
  527. var o = null == t ? void 0 : t[n];
  528. return i(o) ? o : void 0
  529. }
  530. var i = o(18);
  531. t.exports = e
  532. }, function(t, n, o) {
  533. function e(t) {
  534. return null != t && (i(t) ? l.test(a.call(t)) : r(t) && s.test(t))
  535. }
  536. var i = o(19),
  537. r = o(20),
  538. s = /^\[object .+?Constructor\]$/,
  539. c = Object.prototype,
  540. a = Function.prototype.toString,
  541. u = c.hasOwnProperty,
  542. l = RegExp("^" + a.call(u).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
  543. t.exports = e
  544. }, function(t, n, o) {
  545. function e(t) {
  546. return i(t) && c.call(t) == r
  547. }
  548. var i = o(15),
  549. r = "[object Function]",
  550. s = Object.prototype,
  551. c = s.toString;
  552. t.exports = e
  553. }, function(t, n) {
  554. function o(t) {
  555. return !!t && "object" == typeof t
  556. }
  557. t.exports = o
  558. }, function(t, n, o) {
  559. function e(t) {
  560. return null != t && r(i(t))
  561. }
  562. var i = o(22),
  563. r = o(24);
  564. t.exports = e
  565. }, function(t, n, o) {
  566. var e = o(23),
  567. i = e("length");
  568. t.exports = i
  569. }, function(t, n) {
  570. function o(t) {
  571. return function(n) {
  572. return null == n ? void 0 : n[t]
  573. }
  574. }
  575. t.exports = o
  576. }, function(t, n) {
  577. function o(t) {
  578. return "number" == typeof t && t > -1 && t % 1 == 0 && t <= e
  579. }
  580. var e = 9007199254740991;
  581. t.exports = o
  582. }, function(t, n, o) {
  583. function e(t) {
  584. for (var n = a(t), o = n.length, e = o && t.length, u = !!e && c(e) && (r(t) || i(t)), f = -1, p = []; ++f < o;) {
  585. var h = n[f];
  586. (u && s(h, e) || l.call(t, h)) && p.push(h)
  587. }
  588. return p
  589. }
  590. var i = o(26),
  591. r = o(27),
  592. s = o(28),
  593. c = o(24),
  594. a = o(29),
  595. u = Object.prototype,
  596. l = u.hasOwnProperty;
  597. t.exports = e
  598. }, function(t, n, o) {
  599. function e(t) {
  600. return r(t) && i(t) && c.call(t, "callee") && !a.call(t, "callee")
  601. }
  602. var i = o(21),
  603. r = o(20),
  604. s = Object.prototype,
  605. c = s.hasOwnProperty,
  606. a = s.propertyIsEnumerable;
  607. t.exports = e
  608. }, function(t, n, o) {
  609. var e = o(17),
  610. i = o(24),
  611. r = o(20),
  612. s = "[object Array]",
  613. c = Object.prototype,
  614. a = c.toString,
  615. u = e(Array, "isArray"),
  616. l = u || function(t) {
  617. return r(t) && i(t.length) && a.call(t) == s
  618. };
  619. t.exports = l
  620. }, function(t, n) {
  621. function o(t, n) {
  622. return t = "number" == typeof t || e.test(t) ? +t : -1, n = null == n ? i : n, t > -1 && t % 1 == 0 && t < n
  623. }
  624. var e = /^\d+$/,
  625. i = 9007199254740991;
  626. t.exports = o
  627. }, function(t, n, o) {
  628. function e(t) {
  629. if (null == t) return [];
  630. a(t) || (t = Object(t));
  631. var n = t.length;
  632. n = n && c(n) && (r(t) || i(t)) && n || 0;
  633. for (var o = t.constructor, e = -1, u = "function" == typeof o && o.prototype === t, f = Array(n), p = n > 0; ++e < n;) f[e] = e + "";
  634. for (var h in t) p && s(h, n) || "constructor" == h && (u || !l.call(t, h)) || f.push(h);
  635. return f
  636. }
  637. var i = o(26),
  638. r = o(27),
  639. s = o(28),
  640. c = o(24),
  641. a = o(15),
  642. u = Object.prototype,
  643. l = u.hasOwnProperty;
  644. t.exports = e
  645. }, function(t, n, o) {
  646. function e(t, n) {
  647. return function(o, e) {
  648. var c = o ? i(o) : 0;
  649. if (!r(c)) return t(o, e);
  650. for (var a = n ? c : -1, u = s(o);
  651. (n ? a-- : ++a < c) && e(u[a], a, u) !== !1;);
  652. return o
  653. }
  654. }
  655. var i = o(22),
  656. r = o(24),
  657. s = o(14);
  658. t.exports = e
  659. }, function(t, n, o) {
  660. function e(t, n) {
  661. return function(o, e, s) {
  662. return "function" == typeof e && void 0 === s && r(o) ? t(o, e) : n(o, i(e, s, 3))
  663. }
  664. }
  665. var i = o(32),
  666. r = o(27);
  667. t.exports = e
  668. }, function(t, n, o) {
  669. function e(t, n, o) {
  670. if ("function" != typeof t) return i;
  671. if (void 0 === n) return t;
  672. switch (o) {
  673. case 1:
  674. return function(o) {
  675. return t.call(n, o)
  676. };
  677. case 3:
  678. return function(o, e, i) {
  679. return t.call(n, o, e, i)
  680. };
  681. case 4:
  682. return function(o, e, i, r) {
  683. return t.call(n, o, e, i, r)
  684. };
  685. case 5:
  686. return function(o, e, i, r, s) {
  687. return t.call(n, o, e, i, r, s)
  688. }
  689. }
  690. return function() {
  691. return t.apply(n, arguments)
  692. }
  693. }
  694. var i = o(33);
  695. t.exports = e
  696. }, function(t, n) {
  697. function o(t) {
  698. return t
  699. }
  700. t.exports = o
  701. }, function(t, n, o) {
  702. t.exports = o(35)
  703. }, function(t, n, o) {
  704. function e(t, n, o, e) {
  705. var p = t ? r(t) : 0;
  706. return a(p) || (t = l(t), p = t.length), o = "number" != typeof o || e && c(n, o, e) ? 0 : o < 0 ? f(p + o, 0) : o || 0, "string" == typeof t || !s(t) && u(t) ? o <= p && t.indexOf(n, o) > -1 : !!p && i(t, n, o) > -1
  707. }
  708. var i = o(36),
  709. r = o(22),
  710. s = o(27),
  711. c = o(38),
  712. a = o(24),
  713. u = o(39),
  714. l = o(40),
  715. f = Math.max;
  716. t.exports = e
  717. }, function(t, n, o) {
  718. function e(t, n, o) {
  719. if (n !== n) return i(t, o);
  720. for (var e = o - 1, r = t.length; ++e < r;)
  721. if (t[e] === n) return e;
  722. return -1
  723. }
  724. var i = o(37);
  725. t.exports = e
  726. }, function(t, n) {
  727. function o(t, n, o) {
  728. for (var e = t.length, i = n + (o ? 0 : -1); o ? i-- : ++i < e;) {
  729. var r = t[i];
  730. if (r !== r) return i
  731. }
  732. return -1
  733. }
  734. t.exports = o
  735. }, function(t, n, o) {
  736. function e(t, n, o) {
  737. if (!s(o)) return !1;
  738. var e = typeof n;
  739. if ("number" == e ? i(o) && r(n, o.length) : "string" == e && n in o) {
  740. var c = o[n];
  741. return t === t ? t === c : c !== c
  742. }
  743. return !1
  744. }
  745. var i = o(21),
  746. r = o(28),
  747. s = o(15);
  748. t.exports = e
  749. }, function(t, n, o) {
  750. function e(t) {
  751. return "string" == typeof t || i(t) && c.call(t) == r
  752. }
  753. var i = o(20),
  754. r = "[object String]",
  755. s = Object.prototype,
  756. c = s.toString;
  757. t.exports = e
  758. }, function(t, n, o) {
  759. function e(t) {
  760. return i(t, r(t))
  761. }
  762. var i = o(41),
  763. r = o(16);
  764. t.exports = e
  765. }, function(t, n) {
  766. function o(t, n) {
  767. for (var o = -1, e = n.length, i = Array(e); ++o < e;) i[o] = t[n[o]];
  768. return i
  769. }
  770. t.exports = o
  771. }, function(t, n, o) {
  772. t.exports = o(43)
  773. }, function(t, n, o) {
  774. var e = o(44),
  775. i = o(45),
  776. r = o(47),
  777. s = r(function(t, n, o) {
  778. return o ? e(t, n, o) : i(t, n)
  779. });
  780. t.exports = s
  781. }, function(t, n, o) {
  782. function e(t, n, o) {
  783. for (var e = -1, r = i(n), s = r.length; ++e < s;) {
  784. var c = r[e],
  785. a = t[c],
  786. u = o(a, n[c], c, t, n);
  787. (u === u ? u === a : a !== a) && (void 0 !== a || c in t) || (t[c] = u)
  788. }
  789. return t
  790. }
  791. var i = o(16);
  792. t.exports = e
  793. }, function(t, n, o) {
  794. function e(t, n) {
  795. return null == n ? t : i(n, r(n), t)
  796. }
  797. var i = o(46),
  798. r = o(16);
  799. t.exports = e
  800. }, function(t, n) {
  801. function o(t, n, o) {
  802. o || (o = {});
  803. for (var e = -1, i = n.length; ++e < i;) {
  804. var r = n[e];
  805. o[r] = t[r]
  806. }
  807. return o
  808. }
  809. t.exports = o
  810. }, function(t, n, o) {
  811. function e(t) {
  812. return s(function(n, o) {
  813. var e = -1,
  814. s = null == n ? 0 : o.length,
  815. c = s > 2 ? o[s - 2] : void 0,
  816. a = s > 2 ? o[2] : void 0,
  817. u = s > 1 ? o[s - 1] : void 0;
  818. for ("function" == typeof c ? (c = i(c, u, 5), s -= 2) : (c = "function" == typeof u ? u : void 0, s -= c ? 1 : 0), a && r(o[0], o[1], a) && (c = s < 3 ? void 0 : c, s = 1); ++e < s;) {
  819. var l = o[e];
  820. l && t(n, l, c)
  821. }
  822. return n
  823. })
  824. }
  825. var i = o(32),
  826. r = o(38),
  827. s = o(48);
  828. t.exports = e
  829. }, function(t, n) {
  830. function o(t, n) {
  831. if ("function" != typeof t) throw new TypeError(e);
  832. return n = i(void 0 === n ? t.length - 1 : +n || 0, 0),
  833. function() {
  834. for (var o = arguments, e = -1, r = i(o.length - n, 0), s = Array(r); ++e < r;) s[e] = o[n + e];
  835. switch (n) {
  836. case 0:
  837. return t.call(this, s);
  838. case 1:
  839. return t.call(this, o[0], s);
  840. case 2:
  841. return t.call(this, o[0], o[1], s)
  842. }
  843. var c = Array(n + 1);
  844. for (e = -1; ++e < n;) c[e] = o[e];
  845. return c[n] = s, t.apply(this, c)
  846. }
  847. }
  848. var e = "Expected a function",
  849. i = Math.max;
  850. t.exports = o
  851. }, function(t, n, o) {
  852. function e(t) {
  853. var n = ++r;
  854. return i(t) + n
  855. }
  856. var i = o(50),
  857. r = 0;
  858. t.exports = e
  859. }, function(t, n) {
  860. function o(t) {
  861. return null == t ? "" : t + ""
  862. }
  863. t.exports = o
  864. }]);