returnnull==a?e:Array.prototype.map&&a.map===Array.prototype.map?a.map(b,c):(d.each(a,function(a,d,f){e[e.length]=b.call(c,a,d,f)}),e)},d.reduce=function(a,b,c,e){varf=arguments.length>2;if(null==a&&(a=[]),l&&a.reduce===l)returne&&(b=d.bind(b,e)),f?a.reduce(b,c):a.reduce(b);if(d.each(a,function(a,d,g){f?c=b.call(e,c,a,d,g):(c=a,f=!0)}),!f)thrownewTypeError("Reduce of empty array with no initial value");returnc},d.zip=function(a){returnd.map(a[0],function(b,c){returnb.map(a,function(a){returna[c]})})},d.extend=function(a){returnd.each(Array.prototype.slice.call(arguments,1),function(b){for(varcinb)void0!==b[c]&&(a[c]=b[c])}),a},d.contains=function(a,b){if(!n){for(varc=0,d=a.length;d>c;c++)if(a[c]===b)return!0;return!1}returna.indexOf(b)>-1},d.every=function(a,b,c){b||(b=d.identity);varf=!0;returnnull==a?f:m&&a.every===m?a.every(b,c):(d.each(a,function(a,d,g){return(f=f&&b.call(c,a,d,g))?void0:e}),!!f)},d.indexOf=function(a,b){if(null==a)return-1;varc=0,d=a.length;if(n&&a.indexOf===n)returna.indexOf(b);for(;d>c;c++)if(a[c]===b)returnc;return-1};varp=function(){};d.bind=function(a,b){varc,e;if(o&&a.bind===o)returno.apply(a,i.call(arguments,1));if(!d.isFunction(a))thrownewTypeError;returnc=i.call(arguments,2),e=function(){if(!(thisinstanceofe))returna.apply(b,c.concat(i.call(arguments)));p.prototype=a.prototype;vard=newp;p.prototype=null;varf=a.apply(d,c.concat(i.call(arguments)));returnObject(f)===f?f:d}},d.get=function(a,b,c){if(c=d.isNone(c)?null:c,d.isNone(b)||!d.isString(b)||!a)returnc;if(""===b)returna;vare=b.split("."),f=e.splice(0,1)[0];returna.hasOwnProperty(f)?d.get(a[f],e.join("."),c):c},d.isFunction=function(a){try{return/^\s*\bfunction\b/.test(a)}catch(b){return!1}},d.isNone=function(a){returnnull===a||void0===a},d.isString=function(a){return"[object String]"===j.call(a)},d.isNumber=function(a){return"[object Number]"===j.call(a)},d.isDate=function(a){return"[object Date]"===j.call(a)},d.isObject=function(a){return"[object Object]"===j.call(a)},d.isArray=function(a){return"[object Array]"===j.call(a)},d.isElement=function(a){return!d.isNone(a)&&!d.isNone(a.nodeType)&&1===a.nodeType},d.isEmptyObject=function(a){if(d.isObject(a)){for(varbina)if(g.hasOwnProperty.call(a,b))return!1;return!0}return!1},d.bool=function(a){returnd.isNone(a)?null:"true"===a||"1"===a||1===a||a===!0?!0:"false"===a||"0"===a||0===a||a===!1?!1:null},d.assert=function(a,b){if(!a)throwb||"Assertion Failed"},d.getUUID=function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(a){varb=16*Math.random()|0,c="x"===a?b:3&b|8;returnc.toString(16)})},d.getTimestamp=function(){vara=newDate;returna.getTime()},d.trim=function(a){returna.replace(/^\s+|\s+$/g,"")},d.capitalize=function(a){returna.charAt(0).toUpperCase()+a.substr(1)},d.camelCase=function(a){varb=a.split("-");returnb.length>1&&(a=b[0],a+=d.map(b.slice(1),function(a){returna[0].toUpperCase()+a.substr(1)}).join("")),a},d.truncate=function(a,b){returna?(b=b?b:50,a.length<b?a:(a=a.substr(0,b-3),d.trim(a)+"...")):""},d.hash=function(a){for(varb=0,c=0,d=a.length;d>c;c++)b=31*b+a.charCodeAt(c)<<0;return(Math.pow(2,31)+b).toString()},d.rgbToHex=function(a,b,c){return"#"+((1<<24)+(a<<16)+(b<<8)+c).toString(16).slice(1)},c.EMB_DEBUG===!0&&(window._=d),b.exports=d},{conf:"AqyHQT"}],16:[function(a,b){varc=a("./utils.js"),d=a("./dom.js"),e=a("./browser.js"),f=function(){this.init()};f.prototype.init=function(){this._elements=[],this._listening=!1},f.prototype.viewable=function(a){if(!a.getBoundingClientRect)return!0;varb;try{b=a.getBoundingClientRect()}catch(c){return!1}returnb.bottom>=0&&b.right>=0&&b.top<=(window.innerHeight||document.documentElement.clientHeight)&&b.left<=(window.innerWidth||document.documentElement.clientWidth)},f.prototype.check=function(){this.freeze=!0;vara=[];c.each(this._elements,c.bind(function(b,c){if(this.viewable(b.elem)){try{b.func.call(this)}catch(d){e.console.log(d)}a.push(c)}},this)),c.each(a,function(a){this._elements.splice(a,1)},this),0===this._elements.length&&this.stop(),this.freeze=!1},