text: /*!
   * ZUI: 数组辅助方法 - v1.5.0 - 2016-12-08
   * http://zui.sexy
   * GitHub: https://github.com/easysoft/zui.git 
   * Copyright (c) 2016 cnezsoft.com; Licensed MIT
   */
  !function(){"use strict";var r="function";Array.prototype.forEach||(Array.prototype.forEach=function(t){var o=this.length;if(typeof t!=r)throw new TypeError;for(var e=arguments[1],n=0;o>n;n++)n in this&&t.call(e,this[n],n,this)}),Array.isArray||(Array.isArray=function(r){return"[object Array]"===Object.toString.call(r)}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(r){var t=this.length,o=Number(arguments[1]);for(isNaN(o)?o=t-1:(o=0>o?Math.ceil(o):Math.floor(o),0>o?o+=t:o>=t&&(o=t-1));o>-1;o--)if(o in this&&this[o]===r)return o;return-1}),Array.prototype.every||(Array.prototype.every=function(t){var o=this.length;if(typeof t!=r)throw new TypeError;for(var e=arguments[1],n=0;o>n;n++)if(n in this&&!t.call(e,this[n],n,this))return!1;return!0}),Array.prototype.filter||(Array.prototype.filter=function(t){var o=this.length;if(typeof t!=r)throw new TypeError;for(var e=[],n=arguments[1],a=0;o>a;a++)if(a in this){var i=this[a];t.call(n,i,a,this)&&e.push(i)}return e}),Array.prototype.indexOf||(Array.prototype.indexOf=function(r){var t=this.length,o=Number(arguments[1])||0;for(o=0>o?Math.ceil(o):Math.floor(o),0>o&&(o+=t);t>o;o++)if(o in this&&this[o]===r)return o;return-1}),Array.prototype.map||(Array.prototype.map=function(t){var o=this.length;if(typeof t!=r)throw new TypeError;for(var e=new Array(o),n=arguments[1],a=0;o>a;a++)a in this&&(e[a]=t.call(n,this[a],a,this));return e}),Array.prototype.mawherep||(Array.prototype.where=function(t,o){o=o||[];var e,n,a;return this.forEach(function(i){n=!0;for(var y in t)if(e=t[y],typeof e===r?n=e(i):(a=i[y],n=a&&a===e),!n)break;n&&o.push(i)}),o}),Array.prototype.groupBy||(Array.prototype.groupBy=function(r){var t={};return this.forEach(function(o){var e=o[r];e||(e="unkown"),t[e]||(t[e]=[]),t[e].push(o)}),t}),Array.prototype.has||(Array.prototype.has=function(t){var o,e,n,a=!1;return this.forEach(function(i){e=!0;for(var y in t)if(o=t[y],typeof o===r?e=o(i):(n=i[y],e=n&&n===o),!e)break;return e?(a=!0,!1):void 0}),a})}();