var deviceWidth=Math.min(750,Math.min(window.innerWidth,document.documentElement.clientWidth));document.documentElement.dataset.dpr=window.devicePixelRatio;document.documentElement.style.fontSize=deviceWidth/7.5+"px",function(n,t){typeof define=="function"&&define.amd?define(function(){return t(n)}):t(n)}(this,function(n){var t=function(){function p(n){return n==null?String(n):ft[si.call(n)]||"object"}function c(n){return p(n)=="function"}function g(n){return n!=null&&n==n.window}function et(n){return n!=null&&n.nodeType==n.DOCUMENT_NODE}function v(n){return p(n)=="object"}function w(n){return v(n)&&!g(n)&&Object.getPrototypeOf(n)==Object.prototype}function ot(n){var i=!!n&&"length"in n&&n.length,r=t.type(n);return"function"!=r&&!g(n)&&("array"==r||i===0||typeof i=="number"&&i>0&&i-1 in n)}function hi(n){return y.call(n,function(n){return n!=null})}function ci(n){return n.length>0?t.fn.concat.apply([],n):n}function b(n){return n.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 yt(n){return n in it?it[n]:it[n]=new RegExp("(^|\\s)"+n+"(\\s|$)")}function pt(n,t){return typeof t=="number"&&!ti[b(n)]?t+"px":t}function li(n){var t,i;return tt[n]||(t=u.createElement(n),u.body.appendChild(t),i=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),i=="none"&&(i="block"),tt[n]=i),tt[n]}function wt(n){return"children"in n?h.call(n.children):t.map(n.childNodes,function(n){if(n.nodeType==1)return n})}function bt(n,t){for(var r=n?n.length:0,i=0;i]*>/,ii=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ri=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ht=/^(?:body|html)$/i,ui=/([A-Z])/g,fi=["val","css","html","text","data","width","height","offset"],ut=u.createElement("table"),ct=u.createElement("tr"),lt={tr:u.createElement("tbody"),tbody:ut,thead:ut,tfoot:ut,td:ct,th:ct,"*":u.createElement("div")},ei=/complete|loaded|interactive/,oi=/^[\w-]*$/,ft={},si=ft.toString,i={},k,d,at=u.createElement("div"),vt={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},a=Array.isArray||function(n){return n instanceof Array};return i.matches=function(n,t){var u,e,r,f;return!t||!n||n.nodeType!==1?!1:(u=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.matchesSelector,u)?u.call(n,t):(r=n.parentNode,f=!r,f&&(r=at).appendChild(n),e=~i.qsa(r,t).indexOf(n),f&&at.removeChild(n),e)},k=function(n){return n.replace(/-+(.)?/g,function(n,t){return t?t.toUpperCase():""})},d=function(n){return y.call(n,function(t,i){return n.indexOf(t)==i})},i.fragment=function(n,i,r){var e,s,o;return ii.test(n)&&(e=t(u.createElement(RegExp.$1))),e||(n.replace&&(n=n.replace(ri,"<$1><\/$2>")),i===f&&(i=rt.test(n)&&RegExp.$1),i in lt||(i="*"),o=lt[i],o.innerHTML=""+n,e=t.each(h.call(o.childNodes),function(){o.removeChild(this)})),w(r)&&(s=t(e),t.each(r,function(n,t){fi.indexOf(n)>-1?s[n](t):s.attr(n,t)})),e},i.Z=function(n,t){return new bt(n,t)},i.isZ=function(n){return n instanceof i.Z},i.init=function(n,r){var e;if(n)if(typeof n=="string")if(n=n.trim(),n[0]=="<"&&rt.test(n))e=i.fragment(n,RegExp.$1,r),n=null;else{if(r!==f)return t(r).find(n);e=i.qsa(u,n)}else{if(c(n))return t(u).ready(n);if(i.isZ(n))return n;if(a(n))e=hi(n);else if(v(n))e=[n],n=null;else if(rt.test(n))e=i.fragment(n.trim(),RegExp.$1,r),n=null;else{if(r!==f)return t(r).find(n);e=i.qsa(u,n)}}else return i.Z();return i.Z(e,n)},t=function(n,t){return i.init(n,t)},t.extend=function(n){var t,i=h.call(arguments,1);return typeof n=="boolean"&&(t=n,n=i.shift()),i.forEach(function(i){kt(n,i,t)}),n},i.qsa=function(n,t){var u,i=t[0]=="#",f=!i&&t[0]==".",r=i||f?t.slice(1):t,e=oi.test(r);return n.getElementById&&e&&i?(u=n.getElementById(r))?[u]:[]:n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11?[]:h.call(e&&!i&&n.getElementsByClassName?f?n.getElementsByClassName(r):n.getElementsByTagName(t):n.querySelectorAll(t))},t.contains=u.documentElement.contains?function(n,t){return n!==t&&n.contains(t)}:function(n,t){while(t&&(t=t.parentNode))if(t===n)return!0;return!1},t.type=p,t.isFunction=c,t.isWindow=g,t.isArray=a,t.isPlainObject=w,t.isEmptyObject=function(n){var t;for(t in n)return!1;return!0},t.isNumeric=function(n){var t=Number(n),i=typeof n;return n!=null&&i!="boolean"&&(i!="string"||n.length)&&!isNaN(t)&&isFinite(t)||!1},t.inArray=function(n,t,i){return e.indexOf.call(t,n,i)},t.camelCase=k,t.trim=function(n){return n==null?"":String.prototype.trim.call(n)},t.uuid=0,t.support={},t.expr={},t.noop=function(){},t.map=function(n,t){var i,u=[],r,f;if(ot(n))for(r=0;r=0?n:n+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){this.parentNode!=null&&this.parentNode.removeChild(this)})},each:function(n){return e.every.call(this,function(t,i){return n.call(t,i,t)!==!1}),this},filter:function(n){return c(n)?this.not(this.not(n)):t(y.call(this,function(t){return i.matches(t,n)}))},add:function(n,i){return t(d(this.concat(t(n,i))))},is:function(n){return this.length>0&&i.matches(this[0],n)},not:function(n){var i=[],r;return c(n)&&n.call!==f?this.each(function(t){n.call(this,t)||i.push(this)}):(r=typeof n=="string"?this.filter(n):ot(n)&&c(n.item)?h.call(n):t(n),this.forEach(function(n){r.indexOf(n)<0&&i.push(n)})),t(i)},has:function(n){return this.filter(function(){return v(n)?t.contains(this,n):t(this).find(n).size()})},eq:function(n){return n===-1?this.slice(n):this.slice(n,+n+1)},first:function(){var n=this[0];return n&&!v(n)?n:t(n)},last:function(){var n=this[this.length-1];return n&&!v(n)?n:t(n)},find:function(n){var r=this;return n?typeof n=="object"?t(n).filter(function(){var n=this;return e.some.call(r,function(i){return t.contains(i,n)})}):this.length==1?t(i.qsa(this[0],n)):this.map(function(){return i.qsa(this,n)}):t()},closest:function(n,r){var u=[],f=typeof n=="object"&&t(n);return this.each(function(t,e){while(e&&!(f?f.indexOf(e)>=0:i.matches(e,n)))e=e!==r&&!et(e)&&e.parentNode;e&&u.indexOf(e)<0&&u.push(e)}),t(u)},parents:function(n){for(var i=[],r=this;r.length>0;)r=t.map(r,function(n){if((n=n.parentNode)&&!et(n)&&i.indexOf(n)<0)return i.push(n),n});return nt(i,n)},parent:function(n){return nt(d(this.pluck("parentNode")),n)},children:function(n){return nt(this.map(function(){return wt(this)}),n)},contents:function(){return this.map(function(){return this.contentDocument||h.call(this.childNodes)})},siblings:function(n){return nt(this.map(function(n,t){return y.call(wt(t.parentNode),function(n){return n!==t})}),n)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(n){return t.map(this,function(t){return t[n]})},show:function(){return this.each(function(){this.style.display=="none"&&(this.style.display="");getComputedStyle(this,"").getPropertyValue("display")=="none"&&(this.style.display=li(this.nodeName))})},replaceWith:function(n){return this.before(n).remove()},wrap:function(n){var r=c(n),i,u;return this[0]&&!r&&(i=t(n).get(0),u=i.parentNode||this.length>1),this.each(function(f){t(this).wrapAll(r?n.call(this,f):u?i.cloneNode(!0):i)})},wrapAll:function(n){if(this[0]){t(this[0]).before(n=t(n));for(var i;(i=n.children()).length;)n=i.first();t(n).append(this)}return this},wrapInner:function(n){var i=c(n);return this.each(function(r){var u=t(this),f=u.contents(),e=i?n.call(this,r):n;f.length?f.wrapAll(e):u.append(e)})},unwrap:function(){return this.parent().each(function(){t(this).replaceWith(t(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(n){return this.each(function(){var i=t(this);(n===f?i.css("display")=="none":n)?i.show():i.hide()})},prev:function(n){return t(this.pluck("previousElementSibling")).filter(n||"*")},next:function(n){return t(this.pluck("nextElementSibling")).filter(n||"*")},html:function(n){return 0 in arguments?this.each(function(i){var r=this.innerHTML;t(this).empty().append(o(this,n,i,r))}):0 in this?this[0].innerHTML:null},text:function(n){return 0 in arguments?this.each(function(t){var i=o(this,n,t,this.textContent);this.textContent=i==null?"":""+i}):0 in this?this.pluck("textContent").join(""):null},attr:function(n,t){var i;return typeof n=="string"&&!(1 in arguments)?0 in this&&this[0].nodeType==1&&(i=this[0].getAttribute(n))!=null?i:f:this.each(function(i){if(this.nodeType===1)if(v(n))for(r in n)st(this,r,n[r]);else st(this,n,o(this,t,i,this.getAttribute(n)))})},removeAttr:function(n){return this.each(function(){this.nodeType===1&&n.split(" ").forEach(function(n){st(this,n)},this)})},prop:function(n,t){return n=vt[n]||n,1 in arguments?this.each(function(i){this[n]=o(this,t,i,this[n])}):this[0]&&this[0][n]},removeProp:function(n){return n=vt[n]||n,this.each(function(){delete this[n]})},data:function(n,t){var i="data-"+n.replace(ui,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,t):this.attr(i);return r!==null?dt(r):f},val:function(n){return 0 in arguments?(n==null&&(n=""),this.each(function(t){this.value=o(this,n,t,this.value)})):this[0]&&(this[0].multiple?t(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(i){if(i)return this.each(function(n){var r=t(this),u=o(this,i,n,r.offset()),f=r.offsetParent().offset(),e={top:u.top-f.top,left:u.left-f.left};r.css("position")=="static"&&(e.position="relative");r.css(e)});if(!this.length)return null;if(u.documentElement!==this[0]&&!t.contains(u.documentElement,this[0]))return{top:0,left:0};var r=this[0].getBoundingClientRect();return{left:r.left+n.pageXOffset,top:r.top+n.pageYOffset,width:Math.round(r.width),height:Math.round(r.height)}},css:function(n,i){var u,e,o,f;if(arguments.length<2){if(u=this[0],typeof n=="string")return u?u.style[k(n)]||getComputedStyle(u,"").getPropertyValue(n):void 0;if(a(n))return u?(e={},o=getComputedStyle(u,""),t.each(n,function(n,t){e[t]=u.style[k(t)]||o.getPropertyValue(t)}),e):void 0}if(f="",p(n)=="string")i||i===0?f=b(n)+":"+pt(n,i):this.each(function(){this.style.removeProperty(b(n))});else for(r in n)n[r]||n[r]===0?f+=b(r)+":"+pt(r,n[r])+";":this.each(function(){this.style.removeProperty(b(r))});return this.each(function(){this.style.cssText+=";"+f})},index:function(n){return n?this.indexOf(t(n)[0]):this.parent().children().indexOf(this[0])},hasClass:function(n){return n?e.some.call(this,function(n){return this.test(l(n))},yt(n)):!1},addClass:function(n){return n?this.each(function(i){if("className"in this){s=[];var r=l(this),u=o(this,n,i,r);u.split(/\s+/g).forEach(function(n){t(this).hasClass(n)||s.push(n)},this);s.length&&l(this,r+(r?" ":"")+s.join(" "))}}):this},removeClass:function(n){return this.each(function(t){if("className"in this){if(n===f)return l(this,"");s=l(this);o(this,n,t,s).split(/\s+/g).forEach(function(n){s=s.replace(yt(n)," ")});l(this,s.trim())}})},toggleClass:function(n,i){return n?this.each(function(r){var u=t(this),e=o(this,n,r,l(this));e.split(/\s+/g).forEach(function(n){(i===f?!u.hasClass(n):i)?u.addClass(n):u.removeClass(n)})}):this},scrollTop:function(n){if(this.length){var t="scrollTop"in this[0];return n===f?t?this[0].scrollTop:this[0].pageYOffset:this.each(t?function(){this.scrollTop=n}:function(){this.scrollTo(this.scrollX,n)})}},scrollLeft:function(n){if(this.length){var t="scrollLeft"in this[0];return n===f?t?this[0].scrollLeft:this[0].pageXOffset:this.each(t?function(){this.scrollLeft=n}:function(){this.scrollTo(n,this.scrollY)})}},position:function(){if(this.length){var u=this[0],n=this.offsetParent(),i=this.offset(),r=ht.test(n[0].nodeName)?{top:0,left:0}:n.offset();return i.top-=parseFloat(t(u).css("margin-top"))||0,i.left-=parseFloat(t(u).css("margin-left"))||0,r.top+=parseFloat(t(n[0]).css("border-top-width"))||0,r.left+=parseFloat(t(n[0]).css("border-left-width"))||0,{top:i.top-r.top,left:i.left-r.left}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||u.body;n&&!ht.test(n.nodeName)&&t(n).css("position")=="static";)n=n.offsetParent;return n})}},t.fn.detach=t.fn.remove,["width","height"].forEach(function(n){var i=n.replace(/./,function(n){return n[0].toUpperCase()});t.fn[n]=function(r){var e,u=this[0];return r===f?g(u)?u["inner"+i]:et(u)?u.documentElement["scroll"+i]:(e=this.offset())&&e[n]:this.each(function(i){u=t(this);u.css(n,o(this,r,i,u[n]()))})}}),["after","prepend","before","append"].forEach(function(r,e){var o=e%2;t.fn[r]=function(){var s,h=t.map(arguments,function(n){var r=[];return(s=p(n),s=="array")?(n.forEach(function(n){if(n.nodeType!==f)return r.push(n);if(t.zepto.isZ(n))return r=r.concat(n.get());r=r.concat(i.fragment(n))}),r):s=="object"||n==null?n:i.fragment(n)}),r,c=this.length>1;return h.length<1?this:this.each(function(i,f){r=o?f:f.parentNode;f=e==0?f.nextSibling:e==1?f.firstChild:e==2?f:null;var s=t.contains(u.documentElement,r);h.forEach(function(i){if(c)i=i.cloneNode(!0);else if(!r)return t(i).remove();r.insertBefore(i,f);s&>(i,function(t){if(t.nodeName!=null&&t.nodeName.toUpperCase()==="SCRIPT"&&(!t.type||t.type==="text/javascript")&&!t.src){var i=t.ownerDocument?t.ownerDocument.defaultView:n;i.eval.call(i,t.innerHTML)}})})})};t.fn[o?r+"To":"insert"+(e?"Before":"After")]=function(n){return t(n)[r](this),this}}),i.Z.prototype=bt.prototype=t.fn,i.uniq=d,i.deserializeValue=dt,t.zepto=i,t}();return n.Zepto=t,n.$===undefined&&(n.$=t),function(t){function u(n){return n._zid||(n._zid=tt++)}function p(n,t,i,r){if(t=w(t),t.ns)var f=it(t.ns);return(e[u(n)]||[]).filter(function(n){return n&&(!t.e||n.e==t.e)&&(!t.ns||f.test(n.ns))&&(!i||u(n.fn)===u(i))&&(!r||n.sel==r)})}function w(n){var t=(""+n).split(".");return{e:t[0],ns:t.slice(1).sort().join(" ")}}function it(n){return new RegExp("(?:^| )"+n.replace(" "," .* ?")+"(?: |$)")}function b(n,t){return n.del&&!v&&n.e in c||!!t}function k(n){return y[n]||v&&c[n]||n}function d(n,i,f,s,h,c,l){var a=u(n),v=e[a]||(e[a]=[]);i.split(/\s/).forEach(function(i){var u,e;if(i=="ready")return t(document).ready(f);u=w(i);u.fn=f;u.sel=h;u.e in y&&(f=function(n){var i=n.relatedTarget;if(!i||i!==this&&!t.contains(this,i))return u.fn.apply(this,arguments)});u.del=c;e=c||f;u.proxy=function(t){if(t=o(t),!t.isImmediatePropagationStopped()){t.data=s;var i=e.apply(n,t._args==r?[t]:[t].concat(t._args));return i===!1&&(t.preventDefault(),t.stopPropagation()),i}};u.i=v.length;v.push(u);"addEventListener"in n&&n.addEventListener(k(u.e),u.proxy,b(u,l))})}function l(n,t,i,r,f){var o=u(n);(t||"").split(/\s/).forEach(function(t){p(n,t,i,r).forEach(function(t){delete e[o][t.i];"removeEventListener"in n&&n.removeEventListener(k(t.e),t.proxy,b(t,f))})})}function o(n,i){return(i||!n.isDefaultPrevented)&&(i||(i=n),t.each(ut,function(t,r){var u=i[t];n[t]=function(){return this[r]=g,u&&u.apply(i,arguments)};n[r]=a}),n.timeStamp||(n.timeStamp=Date.now()),(i.defaultPrevented!==r?i.defaultPrevented:"returnValue"in i?i.returnValue===!1:i.getPreventDefault&&i.getPreventDefault())&&(n.isDefaultPrevented=g)),n}function nt(n){var t,i={originalEvent:n};for(t in n)rt.test(t)||n[t]===r||(i[t]=n[t]);return o(i,n)}var tt=1,r,s=Array.prototype.slice,h=t.isFunction,i=function(n){return typeof n=="string"},e={},f={},v="onfocusin"in n,c={focus:"focusin",blur:"focusout"},y={mouseenter:"mouseover",mouseleave:"mouseout"};f.click=f.mousedown=f.mouseup=f.mousemove="MouseEvents";t.event={add:d,remove:l};t.proxy=function(n,r){var f=2 in arguments&&s.call(arguments,2),e;if(h(n))return e=function(){return n.apply(r,f?f.concat(s.call(arguments)):arguments)},e._zid=u(n),e;if(i(r))return f?(f.unshift(n[r],n),t.proxy.apply(null,f)):t.proxy(n[r],n);throw new TypeError("expected function");};t.fn.bind=function(n,t,i){return this.on(n,t,i)};t.fn.unbind=function(n,t){return this.off(n,t)};t.fn.one=function(n,t,i,r){return this.on(n,t,i,r,1)};var g=function(){return!0},a=function(){return!1},rt=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,ut={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};t.fn.delegate=function(n,t,i){return this.on(t,n,i)};t.fn.undelegate=function(n,t,i){return this.off(t,n,i)};t.fn.live=function(n,i){return t(document.body).delegate(this.selector,n,i),this};t.fn.die=function(n,i){return t(document.body).undelegate(this.selector,n,i),this};t.fn.on=function(n,u,f,e,o){var c,y,v=this;return n&&!i(n)?(t.each(n,function(n,t){v.on(n,u,f,t,o)}),v):(i(u)||h(e)||e===!1||(e=f,f=u,u=r),(e===r||f===!1)&&(e=f,f=r),e===!1&&(e=a),v.each(function(i,r){o&&(c=function(n){return l(r,n.type,e),e.apply(this,arguments)});u&&(y=function(n){var f,i=t(n.target).closest(u,r).get(0);if(i&&i!==r)return f=t.extend(nt(n),{currentTarget:i,liveFired:r}),(c||e).apply(i,[f].concat(s.call(arguments,1)))});d(r,n,e,f,u,y||c)}))};t.fn.off=function(n,u,f){var e=this;return n&&!i(n)?(t.each(n,function(n,t){e.off(n,u,t)}),e):(i(u)||h(f)||f===!1||(f=u,u=r),f===!1&&(f=a),e.each(function(){l(this,n,f,u)}))};t.fn.trigger=function(n,r){return n=i(n)||t.isPlainObject(n)?t.Event(n):o(n),n._args=r,this.each(function(){n.type in c&&typeof this[n.type]=="function"?this[n.type]():"dispatchEvent"in this?this.dispatchEvent(n):t(this).triggerHandler(n,r)})};t.fn.triggerHandler=function(n,r){var u,f;return this.each(function(e,o){u=nt(i(n)?t.Event(n):n);u._args=r;u.target=o;t.each(p(o,n.type||n),function(n,t){return f=t.proxy(u),u.isImmediatePropagationStopped()?!1:void 0})}),f};"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(n){t.fn[n]=function(t){return 0 in arguments?this.bind(n,t):this.trigger(n)}});t.Event=function(n,t){var u,e,r;if(i(n)||(t=n,n=t.type),u=document.createEvent(f[n]||"Events"),e=!0,t)for(r in t)r=="bubbles"?e=!!t[r]:u[r]=t[r];return u.initEvent(n,e,!0),o(u)}}(t),function(t){function it(n,i,r){var u=t.Event(i);return t(n).trigger(u,r),!u.isDefaultPrevented()}function u(n,t,i,r){if(n.global)return it(t||f,i,r)}function rt(n){n.global&&t.active++==0&&u(n,null,"ajaxStart")}function ut(n){n.global&&!--t.active&&u(n,null,"ajaxStop")}function y(n,t){var i=t.context;if(t.beforeSend.call(i,n,t)===!1||u(t,i,"ajaxBeforeSend",[n,t])===!1)return!1;u(t,i,"ajaxSend",[n,t])}function p(n,t,i,r){var f=i.context,e="success";i.success.call(f,n,e,t);r&&r.resolveWith(f,[n,e,t]);u(i,f,"ajaxSuccess",[t,i,n]);w(e,t,i)}function e(n,t,i,r,f){var e=r.context;r.error.call(e,i,t,n);f&&f.rejectWith(e,[i,t,n]);u(r,e,"ajaxError",[i,r,n||t]);w(t,i,r)}function w(n,t,i){var r=i.context;i.complete.call(r,t,n);u(i,r,"ajaxComplete",[t,i]);ut(i)}function ft(n,t,i){if(i.dataFilter==r)return n;var u=i.context;return i.dataFilter.call(u,n,t)}function r(){}function et(n){return n&&(n=n.split(";",2)[0]),n&&(n==v?"html":n==a?"json":g.test(n)?"script":nt.test(n)&&"xml")||"text"}function c(n,t){return t==""?n:(n+"&"+t).replace(/[&?]{1,2}/,"?")}function ot(n){n.processData&&n.data&&t.type(n.data)!="string"&&(n.data=t.param(n.data,n.traditional));n.data&&(!n.type||n.type.toUpperCase()=="GET"||"jsonp"==n.dataType)&&(n.url=c(n.url,n.data),n.data=undefined)}function s(n,i,r,u){return t.isFunction(i)&&(u=r,r=i,i=undefined),t.isFunction(r)||(u=r,r=undefined),{url:n,data:i,success:r,dataType:u}}function b(n,i,r,u){var f,e=t.isArray(i),o=t.isPlainObject(i);t.each(i,function(i,s){f=t.type(s);u&&(i=r?u:u+"["+(o||f=="object"||f=="array"?i:"")+"]");!u&&e?n.add(s.name,s.value):f!="array"&&(r||f!="object")?n.add(i,s):b(n,s,r,i)})}var k=+new Date,f=n.document,o,i,d=/)<[^<]*)*<\/script>/gi,g=/^(?:text|application)\/javascript/i,nt=/^(?:text|application)\/xml/i,a="application/json",v="text/html",tt=/^\s*$/,h=f.createElement("a"),l;h.href=n.location.href;t.active=0;t.ajaxJSONP=function(i,r){if(!("type"in i))return t.ajax(i);var l=i.jsonpCallback,h=(t.isFunction(l)?l():l)||"Zepto"+k++,s=f.createElement("script"),c=n[h],u,a=function(n){t(s).triggerHandler("error",n||"abort")},o={abort:a},v;r&&r.promise(o);t(s).on("load error",function(f,l){clearTimeout(v);t(s).off().remove();f.type!="error"&&u?p(u[0],o,i,r):e(null,l||"error",o,i,r);n[h]=c;u&&t.isFunction(c)&&c(u[0]);c=u=undefined});return y(o,i)===!1?(a("abort"),o):(n[h]=function(){u=arguments},s.src=i.url.replace(/\?(.+)=\?/,"?$1="+h),f.head.appendChild(s),i.timeout>0&&(v=setTimeout(function(){a("timeout")},i.timeout)),o)};t.ajaxSettings={type:"GET",beforeSend:r,success:r,error:r,complete:r,context:null,global:!0,xhr:function(){return new n.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:a,xml:"application/xml, text/xml",html:v,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0,dataFilter:r};t.ajax=function(u){var s=t.extend({},u||{}),v=t.Deferred&&t.Deferred(),b,nt,a,d,ut;for(o in t.ajaxSettings)s[o]===undefined&&(s[o]=t.ajaxSettings[o]);if(rt(s),s.crossDomain||(b=f.createElement("a"),b.href=s.url,b.href=b.href,s.crossDomain=h.protocol+"//"+h.host!=b.protocol+"//"+b.host),s.url||(s.url=n.location.toString()),(nt=s.url.indexOf("#"))>-1&&(s.url=s.url.slice(0,nt)),ot(s),a=s.dataType,d=/\?.+=\?/.test(s.url),d&&(a="jsonp"),s.cache!==!1&&(u&&u.cache===!0||"script"!=a&&"jsonp"!=a)||(s.url=c(s.url,"_="+Date.now())),"jsonp"==a)return d||(s.url=c(s.url,s.jsonp?s.jsonp+"=?":s.jsonp===!1?"":"callback=?")),t.ajaxJSONP(s,v);var w=s.accepts[a],g={},k=function(n,t){g[n.toLowerCase()]=[n,t]},st=/^([\w-]+:)\/\//.test(s.url)?RegExp.$1:n.location.protocol,l=s.xhr(),ht=l.setRequestHeader,it;if(v&&v.promise(l),s.crossDomain||k("X-Requested-With","XMLHttpRequest"),k("Accept",w||"*/*"),(w=s.mimeType||w)&&(w.indexOf(",")>-1&&(w=w.split(",",2)[0]),l.overrideMimeType&&l.overrideMimeType(w)),(s.contentType||s.contentType!==!1&&s.data&&s.type.toUpperCase()!="GET")&&k("Content-Type",s.contentType||"application/x-www-form-urlencoded"),s.headers)for(i in s.headers)k(i,s.headers[i]);if(l.setRequestHeader=k,l.onreadystatechange=function(){if(l.readyState==4){l.onreadystatechange=r;clearTimeout(it);var n,i=!1;if(l.status>=200&&l.status<300||l.status==304||l.status==0&&st=="file:"){if(a=a||et(s.mimeType||l.getResponseHeader("content-type")),l.responseType=="arraybuffer"||l.responseType=="blob")n=l.response;else{n=l.responseText;try{n=ft(n,a,s);a=="script"?eval(n):a=="xml"?n=l.responseXML:a=="json"&&(n=tt.test(n)?null:t.parseJSON(n))}catch(u){i=u}if(i)return e(i,"parsererror",l,s,v)}p(n,l,s,v)}else e(l.statusText||null,l.status?"error":"abort",l,s,v)}},y(l,s)===!1)return l.abort(),e(null,"abort",l,s,v),l;if(ut="async"in s?s.async:!0,l.open(s.type,s.url,ut,s.username,s.password),s.xhrFields)for(i in s.xhrFields)l[i]=s.xhrFields[i];for(i in g)ht.apply(l,g[i]);return s.timeout>0&&(it=setTimeout(function(){l.onreadystatechange=r;l.abort();e(null,"timeout",l,s,v)},s.timeout)),l.send(s.data?s.data:null),l};t.get=function(){return t.ajax(s.apply(null,arguments))};t.post=function(){var n=s.apply(null,arguments);return n.type="POST",t.ajax(n)};t.getJSON=function(){var n=s.apply(null,arguments);return n.dataType="json",t.ajax(n)};t.fn.load=function(n,i,r){if(!this.length)return this;var o=this,f=n.split(/\s/),e,u=s(n,i,r),h=u.success;return f.length>1&&(u.url=f[0],e=f[1]),u.success=function(n){o.html(e?t("
").html(n.replace(d,"")).find(e):n);h&&h.apply(o,arguments)},t.ajax(u),this};l=encodeURIComponent;t.param=function(n,i){var r=[];return r.add=function(n,i){t.isFunction(i)&&(i=i());i==null&&(i="");this.push(l(n)+"="+l(i))},b(r,n,i),r.join("&").replace(/%20/g,"+")}}(t),function(n){n.fn.serializeArray=function(){var i,t,r=[],u=function(n){if(n.forEach)return n.forEach(u);r.push({name:i,value:n})};return this[0]&&n.each(this[0].elements,function(r,f){t=f.type;i=f.name;i&&f.nodeName.toLowerCase()!="fieldset"&&!f.disabled&&t!="submit"&&t!="reset"&&t!="button"&&t!="file"&&(t!="radio"&&t!="checkbox"||f.checked)&&u(n(f).val())}),r};n.fn.serialize=function(){var n=[];return this.serializeArray().forEach(function(t){n.push(encodeURIComponent(t.name)+"="+encodeURIComponent(t.value))}),n.join("&")};n.fn.submit=function(t){if(0 in arguments)this.bind("submit",t);else if(this.length){var i=n.Event("submit");this.eq(0).trigger(i);i.isDefaultPrevented()||this.get(0).submit()}return this}}(t),function(){try{getComputedStyle(undefined)}catch(i){var t=getComputedStyle;n.getComputedStyle=function(n,i){try{return t(n,i)}catch(r){return null}}}}(),t});window.Modernizr=function(n,t,i){function a(n){c.cssText=n}function vt(n,t){return a(y.join(n+";")+(t||""))}function h(n,t){return typeof n===t}function v(n,t){return!!~(""+n).indexOf(t)}function lt(n,t){var u,r;for(u in n)if(r=n[u],!v(r,"-")&&c[r]!==i)return t=="pfx"?r:!0;return!1}function yt(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:h(u,"function")?u.bind(r||t):u;return!1}function f(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+ot.join(r+" ")+r).split(" ");return h(t,"string")||h(t,"undefined")?lt(u,t):(u=(n+" "+st.join(r+" ")+r).split(" "),yt(u,t,i))}function pt(){u.input=function(i){for(var r=0,u=i.length;r',n,"<\/style>"].join(""),f.id=e,(h?f:o).innerHTML+=l,o.appendChild(f),h||(o.style.background="",o.style.overflow="hidden",v=s.style.overflow,s.style.overflow="hidden",s.appendChild(o)),a=i(f,n),h?f.parentNode.removeChild(f):(o.parentNode.removeChild(o),s.style.overflow=v),!!a},at=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t).matches:(l("@media "+t+" { #"+e+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},ct=function(){function r(r,u){u=u||t.createElement(n[r]||"div");r="on"+r;var f=r in u;return f||(u.setAttribute||(u=t.createElement("div")),u.setAttribute&&u.removeAttribute&&(u.setAttribute(r,""),f=h(u[r],"function"),h(u[r],"undefined")||(u[r]=i),u.removeAttribute(r))),u=null,f}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return r}(),it={}.hasOwnProperty,rt,k;rt=h(it,"undefined")||h(it.call,"undefined")?function(n,t){return t in n&&h(n.constructor.prototype[t],"undefined")}:function(n,t){return it.call(n,t)};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=tt.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(tt.call(arguments))),Object(u)===u)?u:e:t.apply(n,i.concat(tt.call(arguments)))},r});r.flexbox=function(){return f("flexWrap")};r.flexboxlegacy=function(){return f("boxDirection")};r.canvas=function(){var n=t.createElement("canvas");return!!(n.getContext&&n.getContext("2d"))};r.canvastext=function(){return!!(u.canvas&&h(t.createElement("canvas").getContext("2d").fillText,"function"))};r.webgl=function(){return!!n.WebGLRenderingContext};r.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:l(["@media (",y.join("touch-enabled),("),e,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i};r.geolocation=function(){return"geolocation"in navigator};r.postmessage=function(){return!!n.postMessage};r.websqldatabase=function(){return!!n.openDatabase};r.indexedDB=function(){return!!f("indexedDB",n)};r.hashchange=function(){return ct("hashchange",n)&&(t.documentMode===i||t.documentMode>7)};r.history=function(){return!!(n.history&&history.pushState)};r.draganddrop=function(){var n=t.createElement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n};r.websockets=function(){return"WebSocket"in n||"MozWebSocket"in n};r.rgba=function(){return a("background-color:rgba(150,255,150,.5)"),v(c.backgroundColor,"rgba")};r.hsla=function(){return a("background-color:hsla(120,40%,100%,.5)"),v(c.backgroundColor,"rgba")||v(c.backgroundColor,"hsla")};r.multiplebgs=function(){return a("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(c.background)};r.backgroundsize=function(){return f("backgroundSize")};r.borderimage=function(){return f("borderImage")};r.borderradius=function(){return f("borderRadius")};r.boxshadow=function(){return f("boxShadow")};r.textshadow=function(){return t.createElement("div").style.textShadow===""};r.opacity=function(){return vt("opacity:.55"),/^0.55$/.test(c.opacity)};r.cssanimations=function(){return f("animationName")};r.csscolumns=function(){return f("columnCount")};r.cssgradients=function(){var n="background-image:";return a((n+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+n)+y.join("linear-gradient(left top,#9f9, white);"+n)).slice(0,-n.length)),v(c.backgroundImage,"gradient")};r.cssreflections=function(){return f("boxReflect")};r.csstransforms=function(){return!!f("transform")};r.csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in s.style&&l("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n};r.csstransitions=function(){return f("transition")};r.fontface=function(){var n;return l('@font-face {font-family:"font";src:url("https://")}',function(i,r){var f=t.getElementById("smodernizr"),u=f.sheet||f.styleSheet,e=u?u.cssRules&&u.cssRules[0]?u.cssRules[0].cssText:u.cssText||"":"";n=/src/i.test(e)&&e.indexOf(r.split(" ")[0])===0}),n};r.generatedcontent=function(){var n;return l(["#",e,"{font:0/0 a}#",e,':after{content:"',g,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=t.offsetHeight>=3}),n};r.video=function(){var i=t.createElement("video"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=i.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n};r.audio=function(){var i=t.createElement("audio"),n=!1;try{(n=!!i.canPlayType)&&(n=new Boolean(n),n.ogg=i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n};r.localstorage=function(){try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(n){return!1}};r.sessionstorage=function(){try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(n){return!1}};r.webworkers=function(){return!!n.Worker};r.applicationcache=function(){return!!n.applicationCache};r.svg=function(){return!!t.createElementNS&&!!t.createElementNS(p.svg,"svg").createSVGRect};r.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="",(n.firstChild&&n.firstChild.namespaceURI)==p.svg};r.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(ft.call(t.createElementNS(p.svg,"animate")))};r.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(ft.call(t.createElementNS(p.svg,"clipPath")))};for(k in r)rt(r,k)&&(b=k.toLowerCase(),u[b]=r[k](),nt.push((u[b]?"":"no-")+b));return u.input||pt(),u.addTest=function(n,t){if(typeof n=="object")for(var r in n)rt(n,r)&&u.addTest(r,n[r]);else{if(n=n.toLowerCase(),u[n]!==i)return u;t=typeof t=="function"?t():t;typeof d!="undefined"&&d&&(s.className+=" "+(t?"":"no-")+n);u[n]=t}return u},a(""),ut=o=null,function(n,t){function p(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x