").addClass(r.timer_progress_class)),f.addClass(r.timer_paused_class),o.append(f)),r.slide_number&&((l=t("
").addClass(r.slide_number_class)).append("
of
"),o.append(l)),r.bullets&&(u=t("
").addClass(r.bullets_container_class),o.append(u),g.children().each(function(e,n){var i=t("- ").attr("data-orbit-slide",e);u.append(i)})),r.stack_on_small&&o.addClass(r.stack_on_small_class),p.update_slide_number(0)},p._goto=function(e,n){if(e===m)return!1;"object"==typeof d&&d.restart();var i=g.children(),o="next";!0,e=i.length?e=0:e<0&&(e=i.length-1);var a=t(i.get(m)),s=t(i.get(e));a.css("zIndex",2),s.css("zIndex",4).addClass("active"),g.trigger("orbit:before-slide-change"),r.before_slide_change();var c=function(){var t=function(){m=e,!1,!0===n&&(d=p.create_timer()).start(),p.update_slide_number(m),g.trigger("orbit:after-slide-change",[{slide_number:m,total_slides:i.length}]),r.after_slide_change(m,i.length)};g.height()!=s.height()?g.animate({height:s.height()},250,"linear",t):t()};if(1===i.length)return c(),!1;var l=function(){"next"===o&&h.next(a,s,c),"prev"===o&&h.prev(a,s,c)};s.height()>g.height()?g.animate({height:s.height()},250,"linear",l):l()},p.next=function(t){t.stopImmediatePropagation(),t.preventDefault(),p._goto(m+1)},p.prev=function(t){t.stopImmediatePropagation(),t.preventDefault(),p._goto(m-1)},p.link_custom=function(e){e.preventDefault();var n=t(this).attr("data-orbit-link");if("string"==typeof n&&""!=(n=t.trim(n))){var i=o.find("[data-orbit-slide="+n+"]");-1!=i.index()&&p._goto(i.index())}},p.link_bullet=function(e){var n=t(this).attr("data-orbit-slide");"string"==typeof n&&""!=(n=t.trim(n))&&p._goto(n)},p.timer_callback=function(){p._goto(m+1,!0)},p.compute_dimensions=function(){var e=t(g.children().get(m)).height();r.variable_height||g.children().each(function(){t(this).height()>e&&(e=t(this).height())}),g.height(e)},p.create_timer=function(){return new a(o.find("."+r.timer_container_class),r,p.timer_callback)},p.stop_timer=function(){"object"==typeof d&&d.stop()},p.toggle_timer=function(){o.find("."+r.timer_container_class).hasClass(r.timer_paused_class)?(void 0===d&&(d=p.create_timer()),d.start()):"object"==typeof d&&d.stop()},p.init=function(){p.build_markup(),r.timer&&(d=p.create_timer()).start(),h=new c(g),"slide"===r.animation&&(h=new s(g)),o.on("click","."+r.next_class,p.next),o.on("click","."+r.prev_class,p.prev),o.on("click","[data-orbit-slide]",p.link_bullet),o.on("click",p.toggle_timer),o.on("touchstart.fndtn.orbit",function(t){t.touches||(t=t.originalEvent);var e={start_page_x:t.touches[0].pageX,start_page_y:t.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:void 0};o.data("swipe-transition",e),t.stopPropagation()}).on("touchmove.fndtn.orbit",function(t){if(t.touches||(t=t.originalEvent),!(t.touches.length>1||t.scale&&1!==t.scale)){var e=o.data("swipe-transition");if(void 0===e&&(e={}),e.delta_x=t.touches[0].pageX-e.start_page_x,void 0===e.is_scrolling&&(e.is_scrolling=!!(e.is_scrolling||Math.abs(e.delta_x)>>0,o=0;if("function"!=typeof e)throw new TypeError;if(0==r&&1==arguments.length)throw new TypeError;if(arguments.length>=2)n=arguments[1];else for(;;){if(o in i){n=i[o++];break}if(++o>=r)throw new TypeError}for(;o]*>/,g=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,m=/^(?:body|html)$/i,v=["val","css","html","text","data","width","height","offset"],y=l.createElement("table"),b=l.createElement("tr"),_={tr:l.createElement("tbody"),tbody:y,thead:y,tfoot:y,td:b,th:b,"*":l.createElement("div")},w=/complete|loaded|interactive/,x=/^\.([\w-]+)$/,E=/^#([\w-]*)$/,C=/^[\w-]+$/,T={},k=T.toString,j={},N=l.createElement("div");function S(t){return null==t?String(t):T[k.call(t)]||"object"}function O(t){return"function"==S(t)}function M(t){return null!=t&&t==t.window}function A(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function F(t){return"object"==S(t)}function P(t){return F(t)&&!M(t)&&t.__proto__==Object.prototype}function D(t){return t instanceof Array}function z(t){return"number"==typeof t.length}function L(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function Z(t){return t in f?f[t]:f[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function $(t,e){return"number"!=typeof e||d[L(t)]?e:e+"px"}function H(t){return"children"in t?s.call(t.children):n.map(t.childNodes,function(t){if(1==t.nodeType)return t})}function I(e,i){return i===t?n(e):n(e).filter(i)}function R(t,e,n,i){return O(e)?e.call(t,n,i):e}function q(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function B(e,n){var i=e.className,r=i&&i.baseVal!==t;if(n===t)return r?i.baseVal:i;r?i.baseVal=n:e.className=n}function W(t){var e;try{return t?"true"==t||"false"!=t&&("null"==t?null:isNaN(e=Number(t))?/^[\[\{]/.test(t)?n.parseJSON(t):t:e):t}catch(e){return t}}return j.matches=function(t,e){if(!t||1!==t.nodeType)return!1;var n=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,r=t.parentNode,o=!r;return o&&(r=N).appendChild(t),i=~j.qsa(r,e).indexOf(t),o&&N.removeChild(t),i},r=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},o=function(t){return c.call(t,function(e,n){return t.indexOf(e)==n})},j.fragment=function(e,i,r){e.replace&&(e=e.replace(g,"<$1>$2>")),i===t&&(i=p.test(e)&&RegExp.$1),i in _||(i="*");var o,a,c=_[i];return c.innerHTML=""+e,a=n.each(s.call(c.childNodes),function(){c.removeChild(this)}),P(r)&&(o=n(a),n.each(r,function(t,e){v.indexOf(t)>-1?o[t](e):o.attr(t,e)})),a},j.Z=function(t,e){return(t=t||[]).__proto__=n.fn,t.selector=e||"",t},j.isZ=function(t){return t instanceof j.Z},j.init=function(e,i){if(e){if(O(e))return n(l).ready(e);if(j.isZ(e))return e;var r;if(D(e))o=e,r=c.call(o,function(t){return null!=t});else if(F(e))r=[P(e)?n.extend({},e):e],e=null;else if(p.test(e))r=j.fragment(e.trim(),RegExp.$1,i),e=null;else{if(i!==t)return n(i).find(e);r=j.qsa(l,e)}return j.Z(r,e)}return j.Z();var o},(n=function(t,e){return j.init(t,e)}).extend=function(n){var i,r=s.call(arguments,1);return"boolean"==typeof n&&(i=n,n=r.shift()),r.forEach(function(r){!function n(i,r,o){for(e in r)o&&(P(r[e])||D(r[e]))?(P(r[e])&&!P(i[e])&&(i[e]={}),D(r[e])&&!D(i[e])&&(i[e]=[]),n(i[e],r[e],o)):r[e]!==t&&(i[e]=r[e])}(n,r,i)}),n},j.qsa=function(t,e){var n;return A(t)&&E.test(e)?(n=t.getElementById(RegExp.$1))?[n]:[]:1!==t.nodeType&&9!==t.nodeType?[]:s.call(x.test(e)?t.getElementsByClassName(RegExp.$1):C.test(e)?t.getElementsByTagName(e):t.querySelectorAll(e))},n.contains=function(t,e){return t!==e&&t.contains(e)},n.type=S,n.isFunction=O,n.isWindow=M,n.isArray=D,n.isPlainObject=P,n.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},n.inArray=function(t,e,n){return a.indexOf.call(e,t,n)},n.camelCase=r,n.trim=function(t){return t.trim()},n.uuid=0,n.support={},n.expr={},n.map=function(t,e){var i,r,o,a,s=[];if(z(t))for(r=0;r0?n.fn.concat.apply([],a):a},n.each=function(t,e){var n,i;if(z(t)){for(n=0;n=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return a.every.call(this,function(e,n){return!1!==t.call(e,n,e)}),this},filter:function(t){return O(t)?this.not(this.not(t)):n(c.call(this,function(e){return j.matches(e,t)}))},add:function(t,e){return n(o(this.concat(n(t,e))))},is:function(t){return this.length>0&&j.matches(this[0],t)},not:function(e){var i=[];if(O(e)&&e.call!==t)this.each(function(t){e.call(this,t)||i.push(this)});else{var r="string"==typeof e?this.filter(e):z(e)&&O(e.item)?s.call(e):n(e);this.forEach(function(t){r.indexOf(t)<0&&i.push(t)})}return n(i)},has:function(t){return this.filter(function(){return F(t)?n.contains(this,t):n(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!F(t)?t:n(t)},last:function(){var t=this[this.length-1];return t&&!F(t)?t:n(t)},find:function(t){var e=this;return"object"==typeof t?n(t).filter(function(){var t=this;return a.some.call(e,function(e){return n.contains(e,t)})}):1==this.length?n(j.qsa(this[0],t)):this.map(function(){return j.qsa(this,t)})},closest:function(t,e){var i=this[0],r=!1;for("object"==typeof t&&(r=n(t));i&&!(r?r.indexOf(i)>=0:j.matches(i,t));)i=i!==e&&!A(i)&&i.parentNode;return n(i)},parents:function(t){for(var e=[],i=this;i.length>0;)i=n.map(i,function(t){if((t=t.parentNode)&&!A(t)&&e.indexOf(t)<0)return e.push(t),t});return I(e,t)},parent:function(t){return I(o(this.pluck("parentNode")),t)},children:function(t){return I(this.map(function(){return H(this)}),t)},contents:function(){return this.map(function(){return s.call(this.childNodes)})},siblings:function(t){return I(this.map(function(t,e){return c.call(H(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return n.map(this,function(e){return e[t]})},show:function(){return this.each(function(){var t,e,n;"none"==this.style.display&&(this.style.display=null),"none"==h(this,"").getPropertyValue("display")&&(this.style.display=(t=this.nodeName,u[t]||(e=l.createElement(t),l.body.appendChild(e),n=h(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),u[t]=n),u[t]))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var e=O(t);if(this[0]&&!e)var i=n(t).get(0),r=i.parentNode||this.length>1;return this.each(function(o){n(this).wrapAll(e?t.call(this,o):r?i.cloneNode(!0):i)})},wrapAll:function(t){if(this[0]){var e;for(n(this[0]).before(t=n(t));(e=t.children()).length;)t=e.first();n(t).append(this)}return this},wrapInner:function(t){var e=O(t);return this.each(function(i){var r=n(this),o=r.contents(),a=e?t.call(this,i):t;o.length?o.wrapAll(a):r.append(a)})},unwrap:function(){return this.parent().each(function(){n(this).replaceWith(n(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var i=n(this);(e===t?"none"==i.css("display"):e)?i.show():i.hide()})},prev:function(t){return n(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return n(this.pluck("nextElementSibling")).filter(t||"*")},html:function(e){return e===t?this.length>0?this[0].innerHTML:null:this.each(function(t){var i=this.innerHTML;n(this).empty().append(R(this,e,t,i))})},text:function(e){return e===t?this.length>0?this[0].textContent:null:this.each(function(){this.textContent=e})},attr:function(n,i){var r;return"string"==typeof n&&i===t?0==this.length||1!==this[0].nodeType?t:"value"==n&&"INPUT"==this[0].nodeName?this.val():!(r=this[0].getAttribute(n))&&n in this[0]?this[0][n]:r:this.each(function(t){if(1===this.nodeType)if(F(n))for(e in n)q(this,e,n[e]);else q(this,n,R(this,i,t,this.getAttribute(n)))})},removeAttr:function(t){return this.each(function(){1===this.nodeType&&q(this,t)})},prop:function(e,n){return n===t?this[0]&&this[0][e]:this.each(function(t){this[e]=R(this,n,t,this[e])})},data:function(e,n){var i=this.attr("data-"+L(e),n);return null!==i?W(i):t},val:function(e){return e===t?this[0]&&(this[0].multiple?n(this[0]).find("option").filter(function(t){return this.selected}).pluck("value"):this[0].value):this.each(function(t){this.value=R(this,e,t,this.value)})},offset:function(t){if(t)return this.each(function(e){var i=n(this),r=R(this,t,e,i.offset()),o=i.offsetParent().offset(),a={top:r.top-o.top,left:r.left-o.left};"static"==i.css("position")&&(a.position="relative"),i.css(a)});if(0==this.length)return null;var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(t,n){if(arguments.length<2&&"string"==typeof t)return this[0]&&(this[0].style[r(t)]||h(this[0],"").getPropertyValue(t));var i="";if("string"==S(t))n||0===n?i=L(t)+":"+$(t,n):this.each(function(){this.style.removeProperty(L(t))});else for(e in t)t[e]||0===t[e]?i+=L(e)+":"+$(e,t[e])+";":this.each(function(){this.style.removeProperty(L(e))});return this.each(function(){this.style.cssText+=";"+i})},index:function(t){return t?this.indexOf(n(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return a.some.call(this,function(t){return this.test(B(t))},Z(t))},addClass:function(t){return this.each(function(e){i=[];var r=B(this);R(this,t,e,r).split(/\s+/g).forEach(function(t){n(this).hasClass(t)||i.push(t)},this),i.length&&B(this,r+(r?" ":"")+i.join(" "))})},removeClass:function(e){return this.each(function(n){if(e===t)return B(this,"");i=B(this),R(this,e,n,i).split(/\s+/g).forEach(function(t){i=i.replace(Z(t)," ")}),B(this,i.trim())})},toggleClass:function(e,i){return this.each(function(r){var o=n(this);R(this,e,r,B(this)).split(/\s+/g).forEach(function(e){(i===t?!o.hasClass(e):i)?o.addClass(e):o.removeClass(e)})})},scrollTop:function(){if(this.length)return"scrollTop"in this[0]?this[0].scrollTop:this[0].scrollY},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),i=this.offset(),r=m.test(e[0].nodeName)?{top:0,left:0}:e.offset();return i.top-=parseFloat(n(t).css("margin-top"))||0,i.left-=parseFloat(n(t).css("margin-left"))||0,r.top+=parseFloat(n(e[0]).css("border-top-width"))||0,r.left+=parseFloat(n(e[0]).css("border-left-width"))||0,{top:i.top-r.top,left:i.left-r.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||l.body;t&&!m.test(t.nodeName)&&"static"==n(t).css("position");)t=t.offsetParent;return t})}},n.fn.detach=n.fn.remove,["width","height"].forEach(function(e){n.fn[e]=function(i){var r,o=this[0],a=e.replace(/./,function(t){return t[0].toUpperCase()});return i===t?M(o)?o["inner"+a]:A(o)?o.documentElement["offset"+a]:(r=this.offset())&&r[e]:this.each(function(t){(o=n(this)).css(e,R(this,i,t,o[e]()))})}}),["after","prepend","before","append"].forEach(function(t,e){var i=e%2;n.fn[t]=function(){var t,r,o=n.map(arguments,function(e){return"object"==(t=S(e))||"array"==t||null==e?e:j.fragment(e)}),a=this.length>1;return o.length<1?this:this.each(function(t,s){r=i?s:s.parentNode,s=0==e?s.nextSibling:1==e?s.firstChild:2==e?s:null,o.forEach(function(t){if(a)t=t.cloneNode(!0);else if(!r)return n(t).remove();!function t(e,n){for(var i in n(e),e.childNodes)t(e.childNodes[i],n)}(r.insertBefore(t,s),function(t){null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||window.eval.call(window,t.innerHTML)})})})},n.fn[i?t+"To":"insert"+(e?"Before":"After")]=function(e){return n(e)[t](this),this}}),j.Z.prototype=n.fn,j.uniq=o,j.deserializeValue=W,n.zepto=j,n}();window.Zepto=Zepto,"$"in window||(window.$=Zepto),function(t){function e(t){var e=this.os={},n=this.browser={},i=t.match(/WebKit\/([\d.]+)/),r=t.match(/(Android)\s+([\d.]+)/),o=t.match(/(iPad).*OS\s([\d_]+)/),a=!o&&t.match(/(iPhone\sOS)\s([\d_]+)/),s=t.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),c=s&&t.match(/TouchPad/),l=t.match(/Kindle\/([\d.]+)/),u=t.match(/Silk\/([\d._]+)/),f=t.match(/(BlackBerry).*Version\/([\d.]+)/),h=t.match(/(BB10).*Version\/([\d.]+)/),d=t.match(/(RIM\sTablet\sOS)\s([\d.]+)/),p=t.match(/PlayBook/),g=t.match(/Chrome\/([\d.]+)/)||t.match(/CriOS\/([\d.]+)/),m=t.match(/Firefox\/([\d.]+)/);(n.webkit=!!i)&&(n.version=i[1]),r&&(e.android=!0,e.version=r[2]),a&&(e.ios=e.iphone=!0,e.version=a[2].replace(/_/g,".")),o&&(e.ios=e.ipad=!0,e.version=o[2].replace(/_/g,".")),s&&(e.webos=!0,e.version=s[2]),c&&(e.touchpad=!0),f&&(e.blackberry=!0,e.version=f[2]),h&&(e.bb10=!0,e.version=h[2]),d&&(e.rimtabletos=!0,e.version=d[2]),p&&(n.playbook=!0),l&&(e.kindle=!0,e.version=l[1]),u&&(n.silk=!0,n.version=u[1]),!u&&e.android&&t.match(/Kindle Fire/)&&(n.silk=!0),g&&(n.chrome=!0,n.version=g[1]),m&&(n.firefox=!0,n.version=m[1]),e.tablet=!!(o||p||r&&!t.match(/Mobile/)||m&&t.match(/Tablet/)),e.phone=!(e.tablet||!(r||a||s||f||h||g&&t.match(/Android/)||g&&t.match(/CriOS\/([\d.]+)/)||m&&t.match(/Mobile/)))}e.call(t,navigator.userAgent),t.__detect=e}(Zepto),function(t){t.zepto.qsa;var e={},n=1,i={},r={mouseenter:"mouseover",mouseleave:"mouseout"};function o(t){return t._zid||(t._zid=n++)}function a(t,n,i,r){if((n=s(n)).ns)var a=(c=n.ns,new RegExp("(?:^| )"+c.replace(" "," .* ?")+"(?: |$)"));var c;return(e[o(t)]||[]).filter(function(t){return t&&(!n.e||t.e==n.e)&&(!n.ns||a.test(t.ns))&&(!i||o(t.fn)===o(i))&&(!r||t.sel==r)})}function s(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function c(e,n,i){"string"!=t.type(e)?t.each(e,i):e.split(/\s/).forEach(function(t){i(t,n)})}function l(t,e){return t.del&&("focus"==t.e||"blur"==t.e)||!!e}function u(t){return r[t]||t}function f(n,i,a,f,h,d){var p=o(n),g=e[p]||(e[p]=[]);c(i,a,function(e,i){var o=s(e);o.fn=i,o.sel=f,o.e in r&&(i=function(e){var n=e.relatedTarget;if(!n||n!==this&&!t.contains(this,n))return o.fn.apply(this,arguments)}),o.del=h&&h(i,e);var a=o.del||i;o.proxy=function(t){var e=a.apply(n,[t].concat(t.data));return!1===e&&(t.preventDefault(),t.stopPropagation()),e},o.i=g.length,g.push(o),n.addEventListener(u(o.e),o.proxy,l(o,d))})}function h(t,n,i,r,s){var f=o(t);c(n||"",i,function(n,i){a(t,n,i,r).forEach(function(n){delete e[f][n.i],t.removeEventListener(u(n.e),n.proxy,l(n,s))})})}i.click=i.mousedown=i.mouseup=i.mousemove="MouseEvents",t.event={add:f,remove:h},t.proxy=function(e,n){if(t.isFunction(e)){var i=function(){return e.apply(n,arguments)};return i._zid=o(e),i}if("string"==typeof n)return t.proxy(e[n],e);throw new TypeError("expected function")},t.fn.bind=function(t,e){return this.each(function(){f(this,t,e)})},t.fn.unbind=function(t,e){return this.each(function(){h(this,t,e)})},t.fn.one=function(t,e){return this.each(function(n,i){f(this,t,e,null,function(t,e){return function(){var n=t.apply(i,arguments);return h(i,e,t),n}})})};var d=function(){return!0},p=function(){return!1},g=/^([A-Z]|layer[XY]$)/,m={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function v(e){var n,i={originalEvent:e};for(n in e)g.test(n)||void 0===e[n]||(i[n]=e[n]);return t.each(m,function(t,n){i[t]=function(){return this[n]=d,e[t].apply(e,arguments)},i[n]=p}),i}t.fn.delegate=function(e,n,i){return this.each(function(r,o){f(o,n,i,e,function(n){return function(i){var r,a=t(i.target).closest(e,o).get(0);if(a)return r=t.extend(v(i),{currentTarget:a,liveFired:o}),n.apply(a,[r].concat([].slice.call(arguments,1)))}})})},t.fn.undelegate=function(t,e,n){return this.each(function(){h(this,e,n,t)})},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,n,i){return!n||t.isFunction(n)?this.bind(e,n||i):this.delegate(n,e,i)},t.fn.off=function(e,n,i){return!n||t.isFunction(n)?this.unbind(e,n||i):this.undelegate(n,e,i)},t.fn.trigger=function(e,n){return("string"==typeof e||t.isPlainObject(e))&&(e=t.Event(e)),function(t){if(!("defaultPrevented"in t)){t.defaultPrevented=!1;var e=t.preventDefault;t.preventDefault=function(){this.defaultPrevented=!0,e.call(this)}}}(e),e.data=n,this.each(function(){"dispatchEvent"in this&&this.dispatchEvent(e)})},t.fn.triggerHandler=function(e,n){var i,r;return this.each(function(o,s){(i=v("string"==typeof e?t.Event(e):e)).data=n,i.target=s,t.each(a(s,e.type||e),function(t,e){if(r=e.proxy(i),i.isImmediatePropagationStopped())return!1})}),r},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.trigger(e)}}),["focus","blur"].forEach(function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.each(function(){try{this[e]()}catch(t){}}),this}}),t.Event=function(t,e){"string"!=typeof t&&(t=(e=t).type);var n=document.createEvent(i[t]||"Events"),r=!0;if(e)for(var o in e)"bubbles"==o?r=!!e[o]:n[o]=e[o];return n.initEvent(t,r,!0,null,null,null,null,null,null,null,null,null,null,null,null),n.isDefaultPrevented=function(){return this.defaultPrevented},n}}(Zepto),function(t){var e,n,i=0,r=window.document,o=/