/gi,B=/^(?:body|html)$/i,U=/([A-Z])/g,N=["val","css","html","text","data","width","height","offset"],j=["after","prepend","before","append"],V=A.createElement("table"),z=A.createElement("tr"),W={tr:A.createElement("tbody"),tbody:V,thead:V,tfoot:V,td:z,th:z,"*":A.createElement("div")},H=/^[\w-]*$/,G={},J=G.toString,Z={},Y=A.createElement("div"),K={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},X=Array.isArray||function(e){return e instanceof Array};return Z.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(i)return i.call(e,t);var r,n=e.parentNode,a=!n;return a&&(n=Y).appendChild(e),r=~Z.qsa(n,t).indexOf(e),a&&Y.removeChild(e),r},k=function(e){return e.replace(/-+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))},T=function(e){return P.call(e,(function(t,i){return e.indexOf(t)==i}))},Z.fragment=function(e,t,i){var r,n,s;return D.test(e)&&(r=x(A.createElement(RegExp.$1))),r||(e.replace&&(e=e.replace(q,"<$1>$2>")),t===C&&(t=O.test(e)&&RegExp.$1),t in W||(t="*"),(s=W[t]).innerHTML=""+e,r=x.each(I.call(s.childNodes),(function(){s.removeChild(this)}))),a(i)&&(n=x(r),x.each(i,(function(e,t){N.indexOf(e)>-1?n[e](t):n.attr(e,t)}))),r},Z.Z=function(e,t){return new f(e,t)},Z.isZ=function(e){return e instanceof Z.Z||e.__proto__&&e.__proto__.zepto},Z.init=function(e,i){var r;if(!e)return Z.Z();if("string"==typeof e)if("<"==(e=e.trim())[0]&&O.test(e))r=Z.fragment(e,RegExp.$1,i),e=null;else{if(i!==C)return x(i).find(e);r=Z.qsa(A,e)}else{if(t(e))return x(A).ready(e);if(Z.isZ(e))return e;if(X(e))r=o(e);else if(n(e))r=[e],e=null;else if(O.test(e))r=Z.fragment(e.trim(),RegExp.$1,i),e=null;else{if(i!==C)return x(i).find(e);r=Z.qsa(A,e)}}return Z.Z(r,e)},(x=function(e,t){return Z.init(e,t)}).extend=function(e){var t,i=I.call(arguments,1);return"boolean"==typeof e&&(t=e,e=i.shift()),i.forEach((function(i){m(e,i,t)})),e},Z.qsa=function(e,t){var i,r="#"==t[0],n=!r&&"."==t[0],a=r||n?t.slice(1):t,s=H.test(a);return e.getElementById&&s&&r?(i=e.getElementById(a))?[i]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:I.call(s&&!r&&e.getElementsByClassName?n?e.getElementsByClassName(a):e.getElementsByTagName(t):e.querySelectorAll(t))},x.contains=A.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},x.type=e,x.isFunction=t,x.isWindow=i,x.isArray=X,x.isPlainObject=a,x.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},x.isNumeric=function(e){var t=Number(e),i=typeof e;return null!=e&&"boolean"!=i&&("string"!=i||e.length)&&!isNaN(t)&&isFinite(t)||!1},x.inArray=function(e,t,i){return $.indexOf.call(t,e,i)},x.camelCase=k,x.trim=function(e){return null==e?"":String.prototype.trim.call(e)},x.uuid=0,x.support={},x.expr={},x.noop=function(){},x.map=function(e,t){var i,r,n,a=[];if(s(e))for(r=0;r=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(e){return $.every.call(this,(function(t,i){return!1!==e.call(t,i,t)})),this},filter:function(e){return t(e)?this.not(this.not(e)):x(P.call(this,(function(t){return Z.matches(t,e)})))},add:function(e,t){return x(T(this.concat(x(e,t))))},is:function(e){return"string"==typeof e?this.length>0&&Z.matches(this[0],e):e&&this.selector==e.selector},not:function(e){var i=[];if(t(e)&&e.call!==C)this.each((function(t){e.call(this,t)||i.push(this)}));else{var r="string"==typeof e?this.filter(e):s(e)&&t(e.item)?I.call(e):x(e);this.forEach((function(e){r.indexOf(e)<0&&i.push(e)}))}return x(i)},has:function(e){return this.filter((function(){return n(e)?x.contains(this,e):x(this).find(e).size()}))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!n(e)?e:x(e)},last:function(){var e=this[this.length-1];return e&&!n(e)?e:x(e)},find:function(e){var t=this;return e?"object"==typeof e?x(e).filter((function(){var e=this;return $.some.call(t,(function(t){return x.contains(t,e)}))})):1==this.length?x(Z.qsa(this[0],e)):this.map((function(){return Z.qsa(this,e)})):x()},closest:function(e,t){var i=[],n="object"==typeof e&&x(e);return this.each((function(a,s){for(;s&&!(n?n.indexOf(s)>=0:Z.matches(s,e));)s=s!==t&&!r(s)&&s.parentNode;s&&i.indexOf(s)<0&&i.push(s)})),x(i)},parents:function(e){for(var t=[],i=this;i.length>0;)i=x.map(i,(function(e){if((e=e.parentNode)&&!r(e)&&t.indexOf(e)<0)return t.push(e),e}));return g(t,e)},parent:function(e){return g(T(this.pluck("parentNode")),e)},children:function(e){return g(this.map((function(){return h(this)})),e)},contents:function(){return this.map((function(){return this.contentDocument||I.call(this.childNodes)}))},siblings:function(e){return g(this.map((function(e,t){return P.call(h(t.parentNode),(function(e){return e!==t}))})),e)},empty:function(){return this.each((function(){this.innerHTML=""}))},pluck:function(e){return x.map(this,(function(t){return t[e]}))},show:function(){return this.each((function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=p(this.nodeName))}))},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var i=t(e);if(this[0]&&!i)var r=x(e).get(0),n=r.parentNode||this.length>1;return this.each((function(t){x(this).wrapAll(i?e.call(this,t):n?r.cloneNode(!0):r)}))},wrapAll:function(e){if(this[0]){var t;for(x(this[0]).before(e=x(e));(t=e.children()).length;)e=t.first();x(e).append(this)}return this},wrapInner:function(e){var i=t(e);return this.each((function(t){var r=x(this),n=r.contents(),a=i?e.call(this,t):e;n.length?n.wrapAll(a):r.append(a)}))},unwrap:function(){return this.parent().each((function(){x(this).replaceWith(x(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 t=x(this);(e===C?"none"==t.css("display"):e)?t.show():t.hide()}))},prev:function(e){return x(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return x(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each((function(t){var i=this.innerHTML;x(this).empty().append(v(this,e,t,i))})):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each((function(t){var i=v(this,e,t,this.textContent);this.textContent=null==i?"":""+i})):0 in this?this.pluck("textContent").join(""):null},attr:function(e,t){var i;return"string"!=typeof e||1 in arguments?this.each((function(i){if(1===this.nodeType)if(n(e))for(S in e)_(this,S,e[S]);else _(this,e,v(this,t,i,this.getAttribute(e)))})):0 in this&&1==this[0].nodeType&&null!=(i=this[0].getAttribute(e))?i:C},removeAttr:function(e){return this.each((function(){1===this.nodeType&&e.split(" ").forEach((function(e){_(this,e)}),this)}))},prop:function(e,t){return"string"!=typeof(e=K[e]||e)||1 in arguments?this.each((function(i){if(n(e))for(S in e)this[K[S]||S]=e[S];else this[e]=v(this,t,i,this[e])})):this[0]&&this[0][e]},removeProp:function(e){return e=K[e]||e,this.each((function(){delete this[e]}))},data:function(e,t){var i="data-"+e.replace(U,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,t):this.attr(i);return null!==r?y(r):C},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each((function(t){this.value=v(this,e,t,this.value)}))):this[0]&&(this[0].multiple?x(this[0]).find("option").filter((function(){return this.selected})).pluck("value"):this[0].value)},offset:function(e){if(e)return this.each((function(t){var i=x(this),r=v(this,e,t,i.offset()),n=i.offsetParent().offset(),a={top:r.top-n.top,left:r.left-n.left};"static"==i.css("position")&&(a.position="relative"),i.css(a)}));if(!this.length)return null;if(A.documentElement!==this[0]&&!x.contains(A.documentElement,this[0]))return{top:0,left:0};var t=this[0].getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,width:Math.round(t.width),height:Math.round(t.height)}},css:function(t,i){if(arguments.length<2){var r=this[0];if("string"==typeof t){if(!r)return;return r.style[k(t)]||getComputedStyle(r,"").getPropertyValue(t)}if(X(t)){if(!r)return;var n={},a=getComputedStyle(r,"");return x.each(t,(function(e,t){n[t]=r.style[k(t)]||a.getPropertyValue(t)})),n}}var s="";if("string"==e(t))i||0===i?s=l(t)+":"+u(t,i):this.each((function(){this.style.removeProperty(l(t))}));else for(S in t)t[S]||0===t[S]?s+=l(S)+":"+u(S,t[S])+";":this.each((function(){this.style.removeProperty(l(S))}));return this.each((function(){this.style.cssText+=";"+s}))},index:function(e){return e?this.indexOf(x(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&$.some.call(this,(function(e){return this.test(w(e))}),d(e))},addClass:function(e){return e?this.each((function(t){if("className"in this){F=[];var i=w(this);v(this,e,t,i).split(/\s+/g).forEach((function(e){x(this).hasClass(e)||F.push(e)}),this),F.length&&w(this,i+(i?" ":"")+F.join(" "))}})):this},removeClass:function(e){return this.each((function(t){if("className"in this){if(e===C)return w(this,"");F=w(this),v(this,e,t,F).split(/\s+/g).forEach((function(e){F=F.replace(d(e)," ")})),w(this,F.trim())}}))},toggleClass:function(e,t){return e?this.each((function(i){var r=x(this);v(this,e,i,w(this)).split(/\s+/g).forEach((function(e){(t===C?!r.hasClass(e):t)?r.addClass(e):r.removeClass(e)}))})):this},scrollTop:function(e){if(this.length){var t="scrollTop"in this[0];return e===C?t?this[0].scrollTop:this[0].pageYOffset:this.each(t?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var t="scrollLeft"in this[0];return e===C?t?this[0].scrollLeft:this[0].pageXOffset:this.each(t?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),i=this.offset(),r=B.test(t[0].nodeName)?{top:0,left:0}:t.offset();return i.top-=parseFloat(x(e).css("margin-top"))||0,i.left-=parseFloat(x(e).css("margin-left"))||0,r.top+=parseFloat(x(t[0]).css("border-top-width"))||0,r.left+=parseFloat(x(t[0]).css("border-left-width"))||0,{top:i.top-r.top,left:i.left-r.left}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||A.body;e&&!B.test(e.nodeName)&&"static"==x(e).css("position");)e=e.offsetParent;return e}))}},x.fn.detach=x.fn.remove,["width","height"].forEach((function(e){var t=e.replace(/./,(function(e){return e[0].toUpperCase()}));x.fn[e]=function(n){var a,s=this[0];return n===C?i(s)?s["inner"+t]:r(s)?s.documentElement["scroll"+t]:(a=this.offset())&&a[e]:this.each((function(t){(s=x(this)).css(e,v(this,n,t,s[e]()))}))}})),j.forEach((function(t,i){var r=i%2;x.fn[t]=function(){var t,n,a=x.map(arguments,(function(i){var r=[];return"array"==(t=e(i))?(i.forEach((function(e){return e.nodeType!==C?r.push(e):x.zepto.isZ(e)?r=r.concat(e.get()):void(r=r.concat(Z.fragment(e)))})),r):"object"==t||null==i?i:Z.fragment(i)})),s=this.length>1;return a.length<1?this:this.each((function(e,t){n=r?t:t.parentNode,t=0==i?t.nextSibling:1==i?t.firstChild:2==i?t:null;var o=x.contains(A.documentElement,n);a.forEach((function(e){if(e=x.zepto.isZ(e)?e.get(0):e,s)e=e.cloneNode(!0);else if(!n)return x(e).remove();n.insertBefore(e,t),o&&b(e,(function(e){if(!(null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&"text/javascript"!==e.type||e.src)){var t=e.ownerDocument?e.ownerDocument.defaultView:window;t.eval.call(t,e.innerHTML)}}))}))}))},x.fn[r?t+"To":"insert"+(i?"Before":"After")]=function(e){return x(e)[t](this),this}})),Z.Z.prototype=f.prototype=x.fn,Z.uniq=T,Z.deserializeValue=y,x.zepto=Z,x}(),function(e){function t(e){return e._zid||(e._zid=p++)}function i(e,i,a,s){if((i=r(i)).ns)var o=n(i.ns);return(g[t(e)]||[]).filter((function(e){return e&&(!i.e||e.e==i.e)&&(!i.ns||o.test(e.ns))&&(!a||t(e.fn)===t(a))&&(!s||e.sel==s)}))}function r(e){var t=(""+e).split(".");return{e:t[0],ns:t.slice(1).sort().join(" ")}}function n(e){return new RegExp("(?:^| )"+e.replace(" "," .* ?")+"(?: |$)")}function a(e,t){return e.del&&!_&&e.e in w||!!t}function s(e){return y[e]||_&&w[e]||e}function o(i,n,o,c,d,p,h){var f=t(i),m=g[f]||(g[f]=[]);n.split(/\s/).forEach((function(t){if("ready"==t)return e(document).ready(o);var n=r(t);n.fn=o,n.sel=d,n.e in y&&(o=function(t){var i=t.relatedTarget;if(!i||i!==this&&!e.contains(this,i))return n.fn.apply(this,arguments)}),n.del=p;var f=p||o;n.proxy=function(e){if(!(e=l(e)).isImmediatePropagationStopped()){e.data=c;var t=f.apply(i,e._args==u?[e]:[e].concat(e._args));return!1===t&&(e.preventDefault(),e.stopPropagation()),t}},n.i=m.length,m.push(n),"addEventListener"in i&&i.addEventListener(s(n.e),n.proxy,a(n,h))}))}function c(e,r,n,o,c){var l=t(e);(r||"").split(/\s/).forEach((function(t){i(e,t,n,o).forEach((function(t){delete g[l][t.i],"removeEventListener"in e&&e.removeEventListener(s(t.e),t.proxy,a(t,c))}))}))}function l(t,i){if(i||!t.isDefaultPrevented){i||(i=t),e.each(x,(function(e,r){var n=i[e];t[e]=function(){return this[r]=b,n&&n.apply(i,arguments)},t[r]=C}));try{t.timeStamp||(t.timeStamp=Date.now())}catch(e){}(i.defaultPrevented!==u?i.defaultPrevented:"returnValue"in i?!1===i.returnValue:i.getPreventDefault&&i.getPreventDefault())&&(t.isDefaultPrevented=b)}return t}function d(e){var t,i={originalEvent:e};for(t in e)S.test(t)||e[t]===u||(i[t]=e[t]);return l(i,e)}var u,p=1,h=Array.prototype.slice,f=e.isFunction,m=function(e){return"string"==typeof e},g={},v={},_="onfocusin"in window,w={focus:"focusin",blur:"focusout"},y={mouseenter:"mouseover",mouseleave:"mouseout"};v.click=v.mousedown=v.mouseup=v.mousemove="MouseEvents",e.event={add:o,remove:c},e.proxy=function(i,r){var n=2 in arguments&&h.call(arguments,2);if(f(i)){var a=function(){return i.apply(r,n?n.concat(h.call(arguments)):arguments)};return a._zid=t(i),a}if(m(r))return n?(n.unshift(i[r],i),e.proxy.apply(null,n)):e.proxy(i[r],i);throw new TypeError("expected function")},e.fn.bind=function(e,t,i){return this.on(e,t,i)},e.fn.unbind=function(e,t){return this.off(e,t)},e.fn.one=function(e,t,i,r){return this.on(e,t,i,r,1)};var b=function(){return!0},C=function(){return!1},S=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,x={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};e.fn.delegate=function(e,t,i){return this.on(t,e,i)},e.fn.undelegate=function(e,t,i){return this.off(t,e,i)},e.fn.live=function(t,i){return e(document.body).delegate(this.selector,t,i),this},e.fn.die=function(t,i){return e(document.body).undelegate(this.selector,t,i),this},e.fn.on=function(t,i,r,n,a){var s,l,p=this;return t&&!m(t)?(e.each(t,(function(e,t){p.on(e,i,r,t,a)})),p):(m(i)||f(n)||!1===n||(n=r,r=i,i=u),n!==u&&!1!==r||(n=r,r=u),!1===n&&(n=C),p.each((function(u,p){a&&(s=function(e){return c(p,e.type,n),n.apply(this,arguments)}),i&&(l=function(t){var r,a=e(t.target).closest(i,p).get(0);if(a&&a!==p)return r=e.extend(d(t),{currentTarget:a,liveFired:p}),(s||n).apply(a,[r].concat(h.call(arguments,1)))}),o(p,t,n,r,i,l||s)})))},e.fn.off=function(t,i,r){var n=this;return t&&!m(t)?(e.each(t,(function(e,t){n.off(e,i,t)})),n):(m(i)||f(r)||!1===r||(r=i,i=u),!1===r&&(r=C),n.each((function(){c(this,t,r,i)})))},e.fn.trigger=function(t,i){return(t=m(t)||e.isPlainObject(t)?e.Event(t):l(t))._args=i,this.each((function(){t.type in w&&"function"==typeof this[t.type]?this[t.type]():"dispatchEvent"in this?this.dispatchEvent(t):e(this).triggerHandler(t,i)}))},e.fn.triggerHandler=function(t,r){var n,a;return this.each((function(s,o){(n=d(m(t)?e.Event(t):t))._args=r,n.target=o,e.each(i(o,t.type||t),(function(e,t){if(a=t.proxy(n),n.isImmediatePropagationStopped())return!1}))})),a},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach((function(t){e.fn[t]=function(e){return 0 in arguments?this.bind(t,e):this.trigger(t)}})),e.Event=function(e,t){m(e)||(e=(t=e).type);var i=document.createEvent(v[e]||"Events"),r=!0;if(t)for(var n in t)"bubbles"==n?r=!!t[n]:i[n]=t[n];return i.initEvent(e,r,!0),l(i)}}(F$),function(e){function t(t,i,r){var n=e.Event(i);return e(t).trigger(n,r),!n.isDefaultPrevented()}function i(e,i,r,n){if(e.global)return t(i||w,r,n)}function r(t){t.global&&0==e.active++&&i(t,null,"ajaxStart")}function n(t){t.global&&!--e.active&&i(t,null,"ajaxStop")}function a(e,t){var r=t.context;if(!1===t.beforeSend.call(r,e,t)||!1===i(t,r,"ajaxBeforeSend",[e,t]))return!1;i(t,r,"ajaxSend",[e,t])}function s(e,t,r,n){var a=r.context,s="success";r.success.call(a,e,s,t),n&&n.resolveWith(a,[e,s,t]),i(r,a,"ajaxSuccess",[t,r,e]),c(s,t,r)}function o(e,t,r,n,a){var s=n.context;n.error.call(s,r,t,e),a&&a.rejectWith(s,[r,t,e]),i(n,s,"ajaxError",[r,n,e||t]),c(t,r,n)}function c(e,t,r){var a=r.context;r.complete.call(a,t,e),i(r,a,"ajaxComplete",[t,r]),n(r)}function l(e,t,i){if(i.dataFilter==d)return e;var r=i.context;return i.dataFilter.call(r,e,t)}function d(){}function u(e){return e&&(e=e.split(";",2)[0]),e&&(e==x?"html":e==S?"json":b.test(e)?"script":C.test(e)&&"xml")||"text"}function p(e,t){return""==t?e:(e+"&"+t).replace(/[&?]{1,2}/,"?")}function h(t){t.processData&&t.data&&"string"!=e.type(t.data)&&(t.data=e.param(t.data,t.traditional)),!t.data||t.type&&"GET"!=t.type.toUpperCase()&&"jsonp"!=t.dataType||(t.url=p(t.url,t.data),t.data=void 0)}function f(t,i,r,n){return e.isFunction(i)&&(n=r,r=i,i=void 0),e.isFunction(r)||(n=r,r=void 0),{url:t,data:i,success:r,dataType:n}}function m(t,i,r,n){var a,s=e.isArray(i),o=e.isPlainObject(i);e.each(i,(function(i,c){a=e.type(c),n&&(i=r?n:n+"["+(o||"object"==a||"array"==a?i:"")+"]"),!n&&s?t.add(c.name,c.value):"array"==a||!r&&"object"==a?m(t,c,r,i):t.add(i,c)}))}var g,v,_=+new Date,w=window.document,y=/