-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathget_sign.js
16 lines (11 loc) · 79 KB
/
get_sign.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<script>
tac='i)69yqu1ykts!i#pg4s"0,<8~z|\x7f@QGNCJF[\\^D\\KFYSk~^WSZhg,(lfi~ah`{md"inb|1d<,%Dscafgd"in,8[xtm}nLzNEGQMKAdGG^NTY\x1ckgd"inb<b|1d<g,&TboLr{m,(\x02)!jx-2n&vr$testxg,%@tug{mn ,%vrfkbm[!cb|'
!function(t,e){"use strict";function n(){return"undefined"==typeof document?"":document.location.href}function r(t,e){var n,r;if(Z){e=e||{},t="raven"+t.substr(0,1).toUpperCase()+t.substr(1),document.createEvent?(n=document.createEvent("HTMLEvents"),n.initEvent(t,!0,!0)):(n=document.createEventObject(),n.eventType=t);for(r in e)h(e,r)&&(n[r]=e[r]);if(document.createEvent)document.dispatchEvent(n);else try{document.fireEvent("on"+n.eventType.toLowerCase(),n)}catch(i){}}}function i(t){this.name="RavenConfigError",this.message=t}function o(t){var e=ee.exec(t),n={},r=7;try{for(;r--;)n[te[r]]=e[r]||""}catch(o){throw new i("Invalid DSN: "+t)}if(n.pass)throw new i("Do not specify your private key in the DSN!");return n}function a(t){return void 0===t}function u(t){return"function"==typeof t}function c(t){return"[object String]"===X.toString.call(t)}function s(t){return"object"==typeof t&&null!==t}function l(t){for(var e in t)return!1;return!0}function f(t){return s(t)&&"[object Error]"===X.toString.call(t)||t instanceof Error}function h(t,e){return X.hasOwnProperty.call(t,e)}function p(t,e){var n,r;if(a(t.length))for(n in t)h(t,n)&&e.call(null,n,t[n]);else if(r=t.length)for(n=0;r>n;n++)e.call(null,n,t[n])}function d(t,e){var n=[];t.stack&&t.stack.length&&p(t.stack,function(t,e){var r=m(e);r&&n.push(r)}),r("handle",{stackInfo:t,options:e}),g(t.name,t.message,t.url,t.lineno,n,e)}function m(t){if(t.url){var e,n={filename:t.url,lineno:t.line,colno:t.column,"function":t.func||"?"},r=v(t);if(r){var i=["pre_context","context_line","post_context"];for(e=3;e--;)n[i[e]]=r[e]}return n.in_app=!(B.includePaths.test&&!B.includePaths.test(n.filename)||/(Raven|TraceKit)\./.test(n["function"])||/raven\.(min\.)?js$/.test(n.filename)),n}}function v(t){if(t.context&&B.fetchContext){for(var e=t.context,n=~~(e.length/2),r=e.length,i=!1;r--;)if(e[r].length>300){i=!0;break}if(i){if(a(t.column))return;return[[],e[n].substr(t.column,50),[]]}return[e.slice(0,n),e[n],e.slice(n+1)]}}function g(t,e,n,r,i,o){var a,u;B.ignoreErrors.test&&B.ignoreErrors.test(e)||(e+="",u=t+": "+e,i&&i.length?(n=i[0].filename||n,i.reverse(),a={frames:i}):n&&(a={frames:[{filename:n,lineno:r,in_app:!0}]}),B.ignoreUrls.test&&B.ignoreUrls.test(n)||(!B.whitelistUrls.test||B.whitelistUrls.test(n))&&k(y({exception:{values:[{type:t,value:e,stacktrace:a}]},culprit:n,message:u},o)))}function y(t,e){return e?(p(e,function(e,n){t[e]=n}),t):t}function x(t,e){return t.length<=e?t:t.substr(0,e)+"…"}function b(t){var e=B.maxMessageLength;if(t.message=x(t.message,e),t.exception){var n=t.exception.values[0];n.value=x(n.value,e)}return t}function w(){return+new Date}function E(){if(Z&&document.location&&document.location.href){var t={headers:{"User-Agent":navigator.userAgent}};return t.url=document.location.href,document.referrer&&(t.headers.Referer=document.referrer),t}}function k(t){var e={project:W,logger:B.logger,platform:"javascript"},n=E();n&&(e.request=n),t=y(e,t),t.tags=y(y({},z.tags),t.tags),t.extra=y(y({},z.extra),t.extra),t.extra["session:duration"]=w()-K,l(t.tags)&&delete t.tags,z.user&&(t.user=z.user),B.release&&(t.release=B.release),B.serverName&&(t.server_name=B.serverName),u(B.dataCallback)&&(t=B.dataCallback(t)||t),t&&!l(t)&&(!u(B.shouldSendCallback)||B.shouldSendCallback(t))&&($=t.event_id||(t.event_id=_()),t=b(t),O("debug","Raven about to send:",t),C()&&(B.transport||S)({url:I,auth:{sentry_version:"7",sentry_client:"raven-js/"+G.VERSION,sentry_key:D},data:t,options:B,onSuccess:function(){r("success",{data:t,src:I})},onError:function(){r("failure",{data:t,src:I})}}))}function S(t){t.auth.sentry_data=JSON.stringify(t.data);var e=j(),n=t.url+"?"+A(t.auth),r=t.options.crossOrigin;(r||""===r)&&(e.crossOrigin=r),e.onload=t.onSuccess,e.onerror=e.onabort=t.onError,e.src=n}function j(){return document.createElement("img")}function C(){return U?I?!0:(ne||O("error","Error: Raven has not been configured."),ne=!0,!1):!1}function T(t){for(var e,n=[],r=0,i=t.length;i>r;r++)e=t[r],c(e)?n.push(e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):e&&e.source&&n.push(e.source);return new RegExp(n.join("|"),"i")}function _(){var e=t.crypto||t.msCrypto;if(!a(e)&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0,n="x"==t?e:3&e|8;return n.toString(16)})}function O(t){J[t]&&G.debug&&J[t].apply(V,F.call(arguments,1))}function N(){var e=t.RavenConfig;e&&G.config(e.dsn,e.config).install()}function A(t){var e=[];return p(t,function(t,n){e.push(encodeURIComponent(t)+"="+encodeURIComponent(n))}),e.join("&")}function M(t,e){a(e)?delete z[t]:z[t]=y(z[t]||{},e)}var P={remoteFetching:!1,collectWindowErrors:!0,linesOfContext:7,debug:!1},F=[].slice,L="?";P.report=function(){function r(t){c(),m.push(t)}function i(t){for(var e=m.length-1;e>=0;--e)m[e]===t&&m.splice(e,1)}function o(){s(),m=[]}function a(t,e){var n=null;if(!e||P.collectWindowErrors){for(var r in m)if(h(m,r))try{m[r].apply(null,[t].concat(F.call(arguments,2)))}catch(i){n=i}if(n)throw n}}function u(t,e,r,i,o){var u=null;if(y)P.computeStackTrace.augmentStackTraceWithInitialElement(y,e,r,t),l();else if(o)u=P.computeStackTrace(o),a(u,!0);else{var c={url:e,line:r,column:i};c.func=P.computeStackTrace.guessFunctionName(c.url,c.line),c.context=P.computeStackTrace.gatherContext(c.url,c.line),u={message:t,url:n(),stack:[c]},a(u,!0)}return p?p.apply(this,arguments):!1}function c(){d||(p=t.onerror,t.onerror=u,d=!0)}function s(){d&&(t.onerror=p,d=!1,p=e)}function l(){var t=y,e=v;v=null,y=null,g=null,a.apply(null,[t,!1].concat(e))}function f(e,n){var r=F.call(arguments,1);if(y){if(g===e)return;l()}var i=P.computeStackTrace(e);if(y=i,g=e,v=r,t.setTimeout(function(){g===e&&l()},i.incomplete?2e3:0),n!==!1)throw e}var p,d,m=[],v=null,g=null,y=null;return f.subscribe=r,f.unsubscribe=i,f.uninstall=o,f}(),P.computeStackTrace=function(){function e(e){if(!P.remoteFetching)return"";try{var n=function(){try{return new t.XMLHttpRequest}catch(e){return new t.ActiveXObject("Microsoft.XMLHTTP")}},r=n();return r.open("GET",e,!1),r.send(""),r.responseText}catch(i){return""}}function r(t){if(!c(t))return[];if(!h(b,t)){var n="",r="";try{r=document.domain}catch(i){}-1!==t.indexOf(r)&&(n=e(t)),b[t]=n?n.split("\n"):[]}return b[t]}function i(t,e){var n,i=/function ([^(]*)\(([^)]*)\)/,o=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,u="",c=10,s=r(t);if(!s.length)return L;for(var l=0;c>l;++l)if(u=s[e-l]+u,!a(u)){if(n=o.exec(u))return n[1];if(n=i.exec(u))return n[1]}return L}function o(t,e){var n=r(t);if(!n.length)return null;var i=[],o=Math.floor(P.linesOfContext/2),u=o+P.linesOfContext%2,c=Math.max(0,e-o-1),s=Math.min(n.length,e+u-1);e-=1;for(var l=c;s>l;++l)a(n[l])||i.push(n[l]);return i.length>0?i:null}function u(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function s(t){return u(t).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function l(t,e){for(var n,i,o=0,a=e.length;a>o;++o)if((n=r(e[o])).length&&(n=n.join("\n"),i=t.exec(n)))return{url:e[o],line:n.substring(0,i.index).split("\n").length,column:i.index-n.lastIndexOf("\n",i.index)-1};return null}function f(t,e,n){var i,o=r(e),a=new RegExp("\\b"+u(t)+"\\b");return n-=1,o&&o.length>n&&(i=a.exec(o[n]))?i.index:null}function p(e){if("undefined"!=typeof document){for(var n,r,i,o,a=[t.location.href],c=document.getElementsByTagName("script"),f=""+e,h=/^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,p=/^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,d=0;d<c.length;++d){var m=c[d];m.src&&a.push(m.src)}if(i=h.exec(f)){var v=i[1]?"\\s+"+i[1]:"",g=i[2].split(",").join("\\s*,\\s*");n=u(i[3]).replace(/;$/,";?"),r=new RegExp("function"+v+"\\s*\\(\\s*"+g+"\\s*\\)\\s*{\\s*"+n+"\\s*}")}else r=new RegExp(u(f).replace(/\s+/g,"\\s+"));if(o=l(r,a))return o;if(i=p.exec(f)){var y=i[1];if(n=s(i[2]),r=new RegExp("on"+y+"=[\\'\"]\\s*"+n+"\\s*[\\'\"]","i"),o=l(r,a[0]))return o;if(r=new RegExp(n),o=l(r,a))return o}return null}}function d(t){if(!a(t.stack)&&t.stack){for(var e,r,u=/^\s*at (.*?) ?\(?((?:(?:file|https?|chrome-extension):.*?)|<anonymous>):(\d+)(?::(\d+))?\)?\s*$/i,c=/^\s*(.*?)(?:\((.*?)\))?@((?:file|https?|chrome).*?):(\d+)(?::(\d+))?\s*$/i,s=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:ms-appx|http|https):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l=t.stack.split("\n"),h=[],p=/^(.*) is undefined$/.exec(t.message),d=0,m=l.length;m>d;++d){if(e=c.exec(l[d]))r={url:e[3],func:e[1]||L,args:e[2]?e[2].split(","):"",line:+e[4],column:e[5]?+e[5]:null};else if(e=u.exec(l[d]))r={url:e[2],func:e[1]||L,line:+e[3],column:e[4]?+e[4]:null};else{if(!(e=s.exec(l[d])))continue;r={url:e[2],func:e[1]||L,line:+e[3],column:e[4]?+e[4]:null}}!r.func&&r.line&&(r.func=i(r.url,r.line)),r.line&&(r.context=o(r.url,r.line)),h.push(r)}return h.length?(h[0].line&&!h[0].column&&p?h[0].column=f(p[1],h[0].url,h[0].line):h[0].column||a(t.columnNumber)||(h[0].column=t.columnNumber+1),{name:t.name,message:t.message,url:n(),stack:h}):null}}function m(t){var e=t.stacktrace;if(!a(t.stacktrace)&&t.stacktrace){for(var r,u=/ line (\d+), column (\d+) in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\) in (.*):\s*$/i,c=e.split("\n"),s=[],l=0,f=c.length;f>l;l+=2)if(r=u.exec(c[l])){var h={line:+r[1],column:+r[2],func:r[3]||r[4],args:r[5]?r[5].split(","):[],url:r[6]};if(!h.func&&h.line&&(h.func=i(h.url,h.line)),h.line)try{h.context=o(h.url,h.line)}catch(p){}h.context||(h.context=[c[l+1]]),s.push(h)}return s.length?{name:t.name,message:t.message,url:n(),stack:s}:null}}function v(e){var a=e.message.split("\n");if(a.length<4)return null;var u,c,f,p,d=/^\s*Line (\d+) of linked script ((?:file|https?)\S+)(?:: in function (\S+))?\s*$/i,m=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?)\S+)(?:: in function (\S+))?\s*$/i,v=/^\s*Line (\d+) of function script\s*$/i,g=[],y=document.getElementsByTagName("script"),x=[];for(c in y)h(y,c)&&!y[c].src&&x.push(y[c]);for(c=2,f=a.length;f>c;c+=2){var b=null;if(u=d.exec(a[c]))b={url:u[2],func:u[3],line:+u[1]};else if(u=m.exec(a[c])){b={url:u[3],func:u[4]};var w=+u[1],E=x[u[2]-1];if(E&&(p=r(b.url))){p=p.join("\n");var k=p.indexOf(E.innerText);k>=0&&(b.line=w+p.substring(0,k).split("\n").length)}}else if(u=v.exec(a[c])){var S=t.location.href.replace(/#.*$/,""),j=u[1],C=new RegExp(s(a[c+1]));p=l(C,[S]),b={url:S,line:p?p.line:j,func:""}}if(b){b.func||(b.func=i(b.url,b.line));var T=o(b.url,b.line),_=T?T[Math.floor(T.length/2)]:null;b.context=T&&_.replace(/^\s*/,"")===a[c+1].replace(/^\s*/,"")?T:[a[c+1]],g.push(b)}}return g.length?{name:e.name,message:a[0],url:n(),stack:g}:null}function g(t,e,n,r){var a={url:e,line:n};if(a.url&&a.line){t.incomplete=!1,a.func||(a.func=i(a.url,a.line)),a.context||(a.context=o(a.url,a.line));var u=/ '([^']+)' /.exec(r);if(u&&(a.column=f(u[1],a.url,a.line)),t.stack.length>0&&t.stack[0].url===a.url){if(t.stack[0].line===a.line)return!1;if(!t.stack[0].line&&t.stack[0].func===a.func)return t.stack[0].line=a.line,t.stack[0].context=a.context,!1}return t.stack.unshift(a),t.partial=!0,!0}return t.incomplete=!0,!1}function y(t,e){for(var r,o,a,u=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,c=[],s={},l=!1,h=y.caller;h&&!l;h=h.caller)if(h!==x&&h!==P.report){if(o={url:null,func:L,line:null,column:null},h.name?o.func=h.name:(r=u.exec(h.toString()))&&(o.func=r[1]),"undefined"==typeof o.func)try{o.func=r.input.substring(0,r.input.indexOf("{"))}catch(d){}if(a=p(h)){o.url=a.url,o.line=a.line,o.func===L&&(o.func=i(o.url,o.line));var m=/ '([^']+)' /.exec(t.message||t.description);m&&(o.column=f(m[1],a.url,a.line))}s[""+h]?l=!0:s[""+h]=!0,c.push(o)}e&&c.splice(0,e);var v={name:t.name,message:t.message,url:n(),stack:c};return g(v,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),v}function x(t,e){var r=null;e=null==e?0:+e;try{if(r=m(t))return r}catch(i){if(P.debug)throw i}try{if(r=d(t))return r}catch(i){if(P.debug)throw i}try{if(r=v(t))return r}catch(i){if(P.debug)throw i}try{if(r=y(t,e+1))return r}catch(i){if(P.debug)throw i}return{name:t.name,message:t.message,url:n()}}var b={};return x.augmentStackTraceWithInitialElement=g,x.computeStackTraceFromStackProp=d,x.guessFunctionName=i,x.gatherContext=o,x}();var R,$,I,D,W,q=t.Raven,U=!("object"!=typeof JSON||!JSON.stringify),Z="undefined"!=typeof document,z={},B={logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],crossOrigin:"anonymous",collectWindowErrors:!0,maxMessageLength:100},H=!1,X=Object.prototype,V=t.console||{},J={},Y=[],K=w();for(var Q in V)J[Q]=V[Q];var G={VERSION:"1.3.0",debug:!1,noConflict:function(){return t.Raven=q,G},config:function(t,e){if(I)return O("error","Error: Raven has already been configured"),G;if(!t)return G;var n=o(t),r=n.path.lastIndexOf("/"),i=n.path.substr(1,r);return e&&p(e,function(t,e){"tags"==t||"extra"==t?z[t]=e:B[t]=e}),B.ignoreErrors.push(/^Script error\.?$/),B.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),B.ignoreErrors=T(B.ignoreErrors),B.ignoreUrls=B.ignoreUrls.length?T(B.ignoreUrls):!1,B.whitelistUrls=B.whitelistUrls.length?T(B.whitelistUrls):!1,B.includePaths=T(B.includePaths),D=n.user,W=n.path.substr(r+1),I="//"+n.host+(n.port?":"+n.port:"")+"/"+i+"api/"+W+"/store/",n.protocol&&(I=n.protocol+":"+I),B.fetchContext&&(P.remoteFetching=!0),B.linesOfContext&&(P.linesOfContext=B.linesOfContext),P.collectWindowErrors=!!B.collectWindowErrors,G},install:function(){return C()&&!H&&(P.report.subscribe(d),p(Y,function(t,e){e()}),H=!0),G},context:function(t,n,r){return u(t)&&(r=n||[],n=t,t=e),G.wrap(t,n).apply(this,r)},wrap:function(t,n){function r(){for(var e=[],r=arguments.length,i=!t||t&&t.deep!==!1;r--;)e[r]=i?G.wrap(t,arguments[r]):arguments[r];try{return n.apply(this,e)}catch(o){throw G.captureException(o,t),o}}if(a(n)&&!u(t))return t;if(u(t)&&(n=t,t=e),!u(n))return n;if(n.__raven__)return n;for(var i in n)h(n,i)&&(r[i]=n[i]);return r.prototype=n.prototype,r.__raven__=!0,r.__inner__=n,r},uninstall:function(){return P.report.uninstall(),H=!1,G},captureException:function(t,e){if(!f(t))return G.captureMessage(t,e);R=t;try{var n=P.computeStackTrace(t);d(n,e)}catch(r){if(t!==r)throw r}return G},captureMessage:function(t,e){return B.ignoreErrors.test&&B.ignoreErrors.test(t)?void 0:(k(y({message:t+""},e)),G)},addPlugin:function(t){return Y.push(t),H&&t(),G},setUserContext:function(t){return z.user=t,G},setExtraContext:function(t){return M("extra",t),G},setTagsContext:function(t){return M("tags",t),G},clearContext:function(){return z={},G},getContext:function(){return JSON.parse(JSON.stringify(z))},setRelease:function(t){return B.release=t,G},setDataCallback:function(t){return B.dataCallback=t,G},setShouldSendCallback:function(t){return B.shouldSendCallback=t,G},setTransport:function(t){return B.transport=t,G},lastException:function(){return R},lastEventId:function(){return $},isSetup:function(){return C()}};G.setUser=G.setUserContext,G.setReleaseContext=G.setRelease;var te="source protocol user pass host port path".split(" "),ee=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/;i.prototype=new Error,i.prototype.constructor=i;var ne;N(),t.Raven=G,"function"==typeof define&&define.amd?define("raven",[],function(){return G}):"object"==typeof module?module.exports=G:"object"==typeof exports&&(exports=G)}("undefined"!=typeof window?window:this);var Zepto=function(){function t(t){return null==t?String(t):H[X.call(t)]||"object"}function e(e){return"function"==t(e)}function n(t){return null!=t&&t==t.window}function r(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function i(e){return"object"==t(e)}function o(t){return i(t)&&!n(t)&&Object.getPrototypeOf(t)==Object.prototype}function a(t){return"number"==typeof t.length}function u(t){return O.call(t,function(t){return null!=t})}function c(t){return t.length>0?k.fn.concat.apply([],t):t}function s(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 l(t){return t in M?M[t]:M[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function f(t,e){return"number"!=typeof e||P[s(t)]?e:e+"px"}function h(t){var e,n;return A[t]||(e=N.createElement(t),N.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),A[t]=n),A[t]}function p(t){return"children"in t?_.call(t.children):k.map(t.childNodes,function(t){return 1==t.nodeType?t:void 0})}function d(t,e,n){for(E in e)n&&(o(e[E])||K(e[E]))?(o(e[E])&&!o(t[E])&&(t[E]={}),K(e[E])&&!K(t[E])&&(t[E]=[]),d(t[E],e[E],n)):e[E]!==w&&(t[E]=e[E])}function m(t,e){return null==e?k(t):k(t).filter(e)}function v(t,n,r,i){return e(n)?n.call(t,r,i):n}function g(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function y(t,e){var n=t.className||"",r=n&&n.baseVal!==w;return e===w?r?n.baseVal:n:void(r?n.baseVal=e:t.className=e)}function x(t){try{return t?"true"==t||("false"==t?!1:"null"==t?null:+t+""==t?+t:/^[\[\{]/.test(t)?k.parseJSON(t):t):t}catch(e){return t}}function b(t,e){e(t);for(var n=0,r=t.childNodes.length;r>n;n++)b(t.childNodes[n],e)}var w,E,k,S,j,C,T=[],_=T.slice,O=T.filter,N=window.document,A={},M={},P={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},F=/^\s*<(\w+|!)[^>]*>/,L=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,$=/^(?:body|html)$/i,I=/([A-Z])/g,D=["val","css","html","text","data","width","height","offset"],W=["after","prepend","before","append"],q=N.createElement("table"),U=N.createElement("tr"),Z={tr:N.createElement("tbody"),tbody:q,thead:q,tfoot:q,td:U,th:U,"*":N.createElement("div")},z=/complete|loaded|interactive/,B=/^[\w-]*$/,H={},X=H.toString,V={},J=N.createElement("div"),Y={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},K=Array.isArray||function(t){return t instanceof Array};return V.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var r,i=t.parentNode,o=!i;return o&&(i=J).appendChild(t),r=~V.qsa(i,e).indexOf(t),o&&J.removeChild(t),r},j=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},C=function(t){return O.call(t,function(e,n){return t.indexOf(e)==n})},V.fragment=function(t,e,n){var r,i,a;return L.test(t)&&(r=k(N.createElement(RegExp.$1))),r||(t.replace&&(t=t.replace(R,"<$1></$2>")),e===w&&(e=F.test(t)&&RegExp.$1),e in Z||(e="*"),a=Z[e],a.innerHTML=""+t,r=k.each(_.call(a.childNodes),function(){a.removeChild(this)})),o(n)&&(i=k(r),k.each(n,function(t,e){D.indexOf(t)>-1?i[t](e):i.attr(t,e)})),r},V.Z=function(t,e){return t=t||[],t.__proto__=k.fn,t.selector=e||"",t},V.isZ=function(t){return t instanceof V.Z},V.init=function(t,n){var r;if(!t)return V.Z();if("string"==typeof t)if(t=t.trim(),"<"==t[0]&&F.test(t))r=V.fragment(t,RegExp.$1,n),t=null;else{if(n!==w)return k(n).find(t);r=V.qsa(N,t)}else{if(e(t))return k(N).ready(t);if(V.isZ(t))return t;if(K(t))r=u(t);else if(i(t))r=[t],t=null;else if(F.test(t))r=V.fragment(t.trim(),RegExp.$1,n),t=null;else{if(n!==w)return k(n).find(t);r=V.qsa(N,t)}}return V.Z(r,t)},k=function(t,e){return V.init(t,e)},k.extend=function(t){var e,n=_.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach(function(n){d(t,n,e)}),t},V.qsa=function(t,e){var n,i="#"==e[0],o=!i&&"."==e[0],a=i||o?e.slice(1):e,u=B.test(a);return r(t)&&u&&i?(n=t.getElementById(a))?[n]:[]:1!==t.nodeType&&9!==t.nodeType?[]:_.call(u&&!i?o?t.getElementsByClassName(a):t.getElementsByTagName(e):t.querySelectorAll(e))},k.contains=N.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},k.type=t,k.isFunction=e,k.isWindow=n,k.isArray=K,k.isPlainObject=o,k.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},k.inArray=function(t,e,n){return T.indexOf.call(e,t,n)},k.camelCase=j,k.trim=function(t){return null==t?"":String.prototype.trim.call(t)},k.uuid=0,k.support={},k.expr={},k.map=function(t,e){var n,r,i,o=[];if(a(t))for(r=0;r<t.length;r++)n=e(t[r],r),null!=n&&o.push(n);else for(i in t)n=e(t[i],i),null!=n&&o.push(n);return c(o)},k.each=function(t,e){var n,r;if(a(t)){for(n=0;n<t.length;n++)if(e.call(t[n],n,t[n])===!1)return t}else for(r in t)if(e.call(t[r],r,t[r])===!1)return t;return t},k.grep=function(t,e){return O.call(t,e)},window.JSON&&(k.parseJSON=JSON.parse),k.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){H["[object "+e+"]"]=e.toLowerCase()}),k.fn={forEach:T.forEach,reduce:T.reduce,push:T.push,sort:T.sort,indexOf:T.indexOf,concat:T.concat,map:function(t){return k(k.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return k(_.apply(this,arguments))},ready:function(t){return z.test(N.readyState)&&N.body?t(k):N.addEventListener("DOMContentLoaded",function(){t(k)},!1),this},get:function(t){return t===w?_.call(this):this[t>=0?t:t+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 T.every.call(this,function(e,n){return t.call(e,n,e)!==!1}),this},filter:function(t){return e(t)?this.not(this.not(t)):k(O.call(this,function(e){return V.matches(e,t)}))},add:function(t,e){return k(C(this.concat(k(t,e))))},is:function(t){return this.length>0&&V.matches(this[0],t)},not:function(t){var n=[];if(e(t)&&t.call!==w)this.each(function(e){t.call(this,e)||n.push(this)});else{var r="string"==typeof t?this.filter(t):a(t)&&e(t.item)?_.call(t):k(t);this.forEach(function(t){r.indexOf(t)<0&&n.push(t)})}return k(n)},has:function(t){return this.filter(function(){return i(t)?k.contains(this,t):k(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&&!i(t)?t:k(t)},last:function(){var t=this[this.length-1];return t&&!i(t)?t:k(t)},find:function(t){var e,n=this;return e=t?"object"==typeof t?k(t).filter(function(){var t=this;return T.some.call(n,function(e){return k.contains(e,t)})}):1==this.length?k(V.qsa(this[0],t)):this.map(function(){return V.qsa(this,t)}):k()},closest:function(t,e){var n=this[0],i=!1;for("object"==typeof t&&(i=k(t));n&&!(i?i.indexOf(n)>=0:V.matches(n,t));)n=n!==e&&!r(n)&&n.parentNode;return k(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=k.map(n,function(t){return(t=t.parentNode)&&!r(t)&&e.indexOf(t)<0?(e.push(t),t):void 0});return m(e,t)},parent:function(t){return m(C(this.pluck("parentNode")),t)},children:function(t){return m(this.map(function(){return p(this)}),t)},contents:function(){return this.map(function(){return _.call(this.childNodes)})},siblings:function(t){return m(this.map(function(t,e){return O.call(p(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return k.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=h(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var n=e(t);if(this[0]&&!n)var r=k(t).get(0),i=r.parentNode||this.length>1;return this.each(function(e){k(this).wrapAll(n?t.call(this,e):i?r.cloneNode(!0):r)})},wrapAll:function(t){if(this[0]){k(this[0]).before(t=k(t));for(var e;(e=t.children()).length;)t=e.first();k(t).append(this)}return this},wrapInner:function(t){var n=e(t);return this.each(function(e){var r=k(this),i=r.contents(),o=n?t.call(this,e):t;i.length?i.wrapAll(o):r.append(o)})},unwrap:function(){return this.parent().each(function(){k(this).replaceWith(k(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var e=k(this);(t===w?"none"==e.css("display"):t)?e.show():e.hide()})},prev:function(t){return k(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return k(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each(function(e){var n=this.innerHTML;k(this).empty().append(v(this,t,e,n))}):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each(function(e){var n=v(this,t,e,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this[0].textContent:null},attr:function(t,e){var n;return"string"!=typeof t||1 in arguments?this.each(function(n){if(1===this.nodeType)if(i(t))for(E in t)g(this,E,t[E]);else g(this,t,v(this,e,n,this.getAttribute(t)))}):this.length&&1===this[0].nodeType?!(n=this[0].getAttribute(t))&&t in this[0]?this[0][t]:n:w},removeAttr:function(t){return this.each(function(){1===this.nodeType&&t.split(" ").forEach(function(t){g(this,t)},this)})},prop:function(t,e){return t=Y[t]||t,1 in arguments?this.each(function(n){this[t]=v(this,e,n,this[t])}):this[0]&&this[0][t]},data:function(t,e){var n="data-"+t.replace(I,"-$1").toLowerCase(),r=1 in arguments?this.attr(n,e):this.attr(n);return null!==r?x(r):w},val:function(t){return 0 in arguments?this.each(function(e){this.value=v(this,t,e,this.value)}):this[0]&&(this[0].multiple?k(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=k(this),r=v(this,t,e,n.offset()),i=n.offsetParent().offset(),o={top:r.top-i.top,left:r.left-i.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!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(e,n){if(arguments.length<2){var r,i=this[0];if(!i)return;if(r=getComputedStyle(i,""),"string"==typeof e)return i.style[j(e)]||r.getPropertyValue(e);if(K(e)){var o={};return k.each(e,function(t,e){o[e]=i.style[j(e)]||r.getPropertyValue(e)}),o}}var a="";if("string"==t(e))n||0===n?a=s(e)+":"+f(e,n):this.each(function(){this.style.removeProperty(s(e))});else for(E in e)e[E]||0===e[E]?a+=s(E)+":"+f(E,e[E])+";":this.each(function(){this.style.removeProperty(s(E))});return this.each(function(){this.style.cssText+=";"+a})},index:function(t){return t?this.indexOf(k(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return t?T.some.call(this,function(t){return this.test(y(t))},l(t)):!1},addClass:function(t){return t?this.each(function(e){if("className"in this){S=[];var n=y(this),r=v(this,t,e,n);r.split(/\s+/g).forEach(function(t){k(this).hasClass(t)||S.push(t)},this),S.length&&y(this,n+(n?" ":"")+S.join(" "))}}):this},removeClass:function(t){return this.each(function(e){if("className"in this){if(t===w)return y(this,"");S=y(this),v(this,t,e,S).split(/\s+/g).forEach(function(t){S=S.replace(l(t)," ")}),y(this,S.trim())}})},toggleClass:function(t,e){return t?this.each(function(n){var r=k(this),i=v(this,t,n,y(this));i.split(/\s+/g).forEach(function(t){(e===w?!r.hasClass(t):e)?r.addClass(t):r.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var e="scrollTop"in this[0];return t===w?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var e="scrollLeft"in this[0];return t===w?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),r=$.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(k(t).css("margin-top"))||0,n.left-=parseFloat(k(t).css("margin-left"))||0,r.top+=parseFloat(k(e[0]).css("border-top-width"))||0,r.left+=parseFloat(k(e[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||N.body;t&&!$.test(t.nodeName)&&"static"==k(t).css("position");)t=t.offsetParent;return t})}},k.fn.detach=k.fn.remove,["width","height"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});k.fn[t]=function(i){var o,a=this[0];return i===w?n(a)?a["inner"+e]:r(a)?a.documentElement["scroll"+e]:(o=this.offset())&&o[t]:this.each(function(e){a=k(this),a.css(t,v(this,i,e,a[t]()))})}}),W.forEach(function(e,n){var r=n%2;k.fn[e]=function(){var e,i,o=k.map(arguments,function(n){return e=t(n),"object"==e||"array"==e||null==n?n:V.fragment(n)}),a=this.length>1;return o.length<1?this:this.each(function(t,e){i=r?e:e.parentNode,e=0==n?e.nextSibling:1==n?e.firstChild:2==n?e:null;var u=k.contains(N.documentElement,i);o.forEach(function(t){if(a)t=t.cloneNode(!0);else if(!i)return k(t).remove();i.insertBefore(t,e),u&&b(t,function(t){null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||window.eval.call(window,t.innerHTML)})})})},k.fn[r?e+"To":"insert"+(n?"Before":"After")]=function(t){return k(t)[e](this),this}}),V.Z.prototype=k.fn,V.uniq=C,V.deserializeValue=x,k.zepto=V,k}();window.Zepto=Zepto,void 0===window.$&&(window.$=Zepto),function(t){function e(t){return t._zid||(t._zid=h++)}function n(t,n,o,a){if(n=r(n),n.ns)var u=i(n.ns);return(v[e(t)]||[]).filter(function(t){return!(!t||n.e&&t.e!=n.e||n.ns&&!u.test(t.ns)||o&&e(t.fn)!==e(o)||a&&t.sel!=a)})}function r(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function i(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function o(t,e){return t.del&&!y&&t.e in x||!!e}function a(t){return b[t]||y&&x[t]||t}function u(n,i,u,c,l,h,p){var d=e(n),m=v[d]||(v[d]=[]);i.split(/\s/).forEach(function(e){if("ready"==e)return t(document).ready(u);var i=r(e);i.fn=u,i.sel=l,i.e in b&&(u=function(e){var n=e.relatedTarget;return!n||n!==this&&!t.contains(this,n)?i.fn.apply(this,arguments):void 0}),i.del=h;var d=h||u;i.proxy=function(t){if(t=s(t),!t.isImmediatePropagationStopped()){t.data=c;var e=d.apply(n,t._args==f?[t]:[t].concat(t._args));return e===!1&&(t.preventDefault(),t.stopPropagation()),e}},i.i=m.length,m.push(i),"addEventListener"in n&&n.addEventListener(a(i.e),i.proxy,o(i,p))})}function c(t,r,i,u,c){var s=e(t);(r||"").split(/\s/).forEach(function(e){n(t,e,i,u).forEach(function(e){delete v[s][e.i],"removeEventListener"in t&&t.removeEventListener(a(e.e),e.proxy,o(e,c))})})}function s(e,n){return(n||!e.isDefaultPrevented)&&(n||(n=e),t.each(S,function(t,r){var i=n[t];e[t]=function(){return this[r]=w,i&&i.apply(n,arguments)},e[r]=E}),(n.defaultPrevented!==f?n.defaultPrevented:"returnValue"in n?n.returnValue===!1:n.getPreventDefault&&n.getPreventDefault())&&(e.isDefaultPrevented=w)),e}function l(t){var e,n={originalEvent:t};for(e in t)k.test(e)||t[e]===f||(n[e]=t[e]);return s(n,t)}var f,h=1,p=Array.prototype.slice,d=t.isFunction,m=function(t){return"string"==typeof t},v={},g={},y="onfocusin"in window,x={focus:"focusin",blur:"focusout"},b={mouseenter:"mouseover",mouseleave:"mouseout"};g.click=g.mousedown=g.mouseup=g.mousemove="MouseEvents",t.event={add:u,remove:c},t.proxy=function(n,r){var i=2 in arguments&&p.call(arguments,2);if(d(n)){var o=function(){return n.apply(r,i?i.concat(p.call(arguments)):arguments)};return o._zid=e(n),o}if(m(r))return i?(i.unshift(n[r],n),t.proxy.apply(null,i)):t.proxy(n[r],n);throw new TypeError("expected function")
},t.fn.bind=function(t,e,n){return this.on(t,e,n)},t.fn.unbind=function(t,e){return this.off(t,e)},t.fn.one=function(t,e,n,r){return this.on(t,e,n,r,1)};var w=function(){return!0},E=function(){return!1},k=/^([A-Z]|returnValue$|layer[XY]$)/,S={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};t.fn.delegate=function(t,e,n){return this.on(e,t,n)},t.fn.undelegate=function(t,e,n){return this.off(e,t,n)},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,r,i,o){var a,s,h=this;return e&&!m(e)?(t.each(e,function(t,e){h.on(t,n,r,e,o)}),h):(m(n)||d(i)||i===!1||(i=r,r=n,n=f),(d(r)||r===!1)&&(i=r,r=f),i===!1&&(i=E),h.each(function(f,h){o&&(a=function(t){return c(h,t.type,i),i.apply(this,arguments)}),n&&(s=function(e){var r,o=t(e.target).closest(n,h).get(0);return o&&o!==h?(r=t.extend(l(e),{currentTarget:o,liveFired:h}),(a||i).apply(o,[r].concat(p.call(arguments,1)))):void 0}),u(h,e,i,r,n,s||a)}))},t.fn.off=function(e,n,r){var i=this;return e&&!m(e)?(t.each(e,function(t,e){i.off(t,n,e)}),i):(m(n)||d(r)||r===!1||(r=n,n=f),r===!1&&(r=E),i.each(function(){c(this,e,r,n)}))},t.fn.trigger=function(e,n){return e=m(e)||t.isPlainObject(e)?t.Event(e):s(e),e._args=n,this.each(function(){e.type in x&&"function"==typeof this[e.type]?this[e.type]():"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,n)})},t.fn.triggerHandler=function(e,r){var i,o;return this.each(function(a,u){i=l(m(e)?t.Event(e):e),i._args=r,i.target=u,t.each(n(u,e.type||e),function(t,e){return o=e.proxy(i),i.isImmediatePropagationStopped()?!1:void 0})}),o},"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(e){t.fn[e]=function(t){return 0 in arguments?this.bind(e,t):this.trigger(e)}}),t.Event=function(t,e){m(t)||(e=t,t=e.type);var n=document.createEvent(g[t]||"Events"),r=!0;if(e)for(var i in e)"bubbles"==i?r=!!e[i]:n[i]=e[i];return n.initEvent(t,r,!0),s(n)}}(Zepto),function(t){function e(e,n,r){var i=t.Event(n);return t(e).trigger(i,r),!i.isDefaultPrevented()}function n(t,n,r,i){return t.global?e(n||y,r,i):void 0}function r(e){e.global&&0===t.active++&&n(e,null,"ajaxStart")}function i(e){e.global&&!--t.active&&n(e,null,"ajaxStop")}function o(t,e){var r=e.context;return e.beforeSend.call(r,t,e)===!1||n(e,r,"ajaxBeforeSend",[t,e])===!1?!1:void n(e,r,"ajaxSend",[t,e])}function a(t,e,r,i){var o=r.context,a="success";r.success.call(o,t,a,e),i&&i.resolveWith(o,[t,a,e]),n(r,o,"ajaxSuccess",[e,r,t]),c(a,e,r)}function u(t,e,r,i,o){var a=i.context;i.error.call(a,r,e,t),o&&o.rejectWith(a,[r,e,t]),n(i,a,"ajaxError",[r,i,t||e]),c(e,r,i)}function c(t,e,r){var o=r.context;r.complete.call(o,e,t),n(r,o,"ajaxComplete",[e,r]),i(r)}function s(){}function l(t){return t&&(t=t.split(";",2)[0]),t&&(t==k?"html":t==E?"json":b.test(t)?"script":w.test(t)&&"xml")||"text"}function f(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function h(e){e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t.param(e.data,e.traditional)),!e.data||e.type&&"GET"!=e.type.toUpperCase()||(e.url=f(e.url,e.data),e.data=void 0)}function p(e,n,r,i){return t.isFunction(n)&&(i=r,r=n,n=void 0),t.isFunction(r)||(i=r,r=void 0),{url:e,data:n,success:r,dataType:i}}function d(e,n,r,i){var o,a=t.isArray(n),u=t.isPlainObject(n);t.each(n,function(n,c){o=t.type(c),i&&(n=r?i:i+"["+(u||"object"==o||"array"==o?n:"")+"]"),!i&&a?e.add(c.name,c.value):"array"==o||!r&&"object"==o?d(e,c,r,n):e.add(n,c)})}var m,v,g=0,y=window.document,x=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,b=/^(?:text|application)\/javascript/i,w=/^(?:text|application)\/xml/i,E="application/json",k="text/html",S=/^\s*$/,j=y.createElement("a");j.href=window.location.href,t.active=0,t.ajaxJSONP=function(e,n){if(!("type"in e))return t.ajax(e);var r,i,c=e.jsonpCallback,s=(t.isFunction(c)?c():c)||"jsonp"+ ++g,l=y.createElement("script"),f=window[s],h=function(e){t(l).triggerHandler("error",e||"abort")},p={abort:h};return n&&n.promise(p),t(l).on("load error",function(o,c){clearTimeout(i),t(l).off().remove(),"error"!=o.type&&r?a(r[0],p,e,n):u(null,c||"error",p,e,n),window[s]=f,r&&t.isFunction(f)&&f(r[0]),f=r=void 0}),o(p,e)===!1?(h("abort"),p):(window[s]=function(){r=arguments},l.src=e.url.replace(/\?(.+)=\?/,"?$1="+s),y.head.appendChild(l),e.timeout>0&&(i=setTimeout(function(){h("timeout")},e.timeout)),p)},t.ajaxSettings={type:"GET",beforeSend:s,success:s,error:s,complete:s,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:E,xml:"application/xml, text/xml",html:k,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0},t.ajax=function(e){var n,i=t.extend({},e||{}),c=t.Deferred&&t.Deferred();for(m in t.ajaxSettings)void 0===i[m]&&(i[m]=t.ajaxSettings[m]);r(i),i.crossDomain||(n=y.createElement("a"),n.href=i.url,n.href=n.href,i.crossDomain=j.protocol+"//"+j.host!=n.protocol+"//"+n.host),i.url||(i.url=window.location.toString()),h(i);var p=i.dataType,d=/\?.+=\?/.test(i.url);if(d&&(p="jsonp"),i.cache!==!1&&(e&&e.cache===!0||"script"!=p&&"jsonp"!=p)||(i.url=f(i.url,"_="+Date.now())),"jsonp"==p)return d||(i.url=f(i.url,i.jsonp?i.jsonp+"=?":i.jsonp===!1?"":"callback=?")),t.ajaxJSONP(i,c);var g,x=i.accepts[p],b={},w=function(t,e){b[t.toLowerCase()]=[t,e]},E=/^([\w-]+:)\/\//.test(i.url)?RegExp.$1:window.location.protocol,k=i.xhr(),C=k.setRequestHeader;if(c&&c.promise(k),i.crossDomain||w("X-Requested-With","XMLHttpRequest"),w("Accept",x||"*/*"),(x=i.mimeType||x)&&(x.indexOf(",")>-1&&(x=x.split(",",2)[0]),k.overrideMimeType&&k.overrideMimeType(x)),(i.contentType||i.contentType!==!1&&i.data&&"GET"!=i.type.toUpperCase())&&w("Content-Type",i.contentType||"application/x-www-form-urlencoded"),i.headers)for(v in i.headers)w(v,i.headers[v]);if(k.setRequestHeader=w,k.onreadystatechange=function(){if(4==k.readyState){k.onreadystatechange=s,clearTimeout(g);var e,n=!1;if(k.status>=200&&k.status<300||304==k.status||0==k.status&&"file:"==E){p=p||l(i.mimeType||k.getResponseHeader("content-type")),e=k.responseText;try{"script"==p?(1,eval)(e):"xml"==p?e=k.responseXML:"json"==p&&(e=S.test(e)?null:t.parseJSON(e))}catch(r){n=r}n?u(n,"parsererror",k,i,c):a(e,k,i,c)}else u(k.statusText||null,k.status?"error":"abort",k,i,c)}},o(k,i)===!1)return k.abort(),u(null,"abort",k,i,c),k;if(i.xhrFields)for(v in i.xhrFields)k[v]=i.xhrFields[v];var T="async"in i?i.async:!0;k.open(i.type,i.url,T,i.username,i.password);for(v in b)C.apply(k,b[v]);return i.timeout>0&&(g=setTimeout(function(){k.onreadystatechange=s,k.abort(),u(null,"timeout",k,i,c)},i.timeout)),k.send(i.data?i.data:null),k},t.get=function(){return t.ajax(p.apply(null,arguments))},t.post=function(){var e=p.apply(null,arguments);return e.type="POST",t.ajax(e)},t.getJSON=function(){var e=p.apply(null,arguments);return e.dataType="json",t.ajax(e)},t.fn.load=function(e,n,r){if(!this.length)return this;var i,o=this,a=e.split(/\s/),u=p(e,n,r),c=u.success;return a.length>1&&(u.url=a[0],i=a[1]),u.success=function(e){o.html(i?t("<div>").html(e.replace(x,"")).find(i):e),c&&c.apply(o,arguments)},t.ajax(u),this};var C=encodeURIComponent;t.param=function(e,n){var r=[];return r.add=function(e,n){t.isFunction(n)&&(n=n()),null==n&&(n=""),this.push(C(e)+"="+C(n))},d(r,e,n),r.join("&").replace(/%20/g,"+")}}(Zepto),function(t){t.fn.serializeArray=function(){var e,n,r=[],i=function(t){return t.forEach?t.forEach(i):void r.push({name:e,value:t})};return this[0]&&t.each(this[0].elements,function(r,o){n=o.type,e=o.name,e&&"fieldset"!=o.nodeName.toLowerCase()&&!o.disabled&&"submit"!=n&&"reset"!=n&&"button"!=n&&"file"!=n&&("radio"!=n&&"checkbox"!=n||o.checked)&&i(t(o).val())}),r},t.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},t.fn.submit=function(e){if(0 in arguments)this.bind("submit",e);else if(this.length){var n=t.Event("submit");this.eq(0).trigger(n),n.isDefaultPrevented()||this.get(0).submit()}return this}}(Zepto),function(t,e){function n(t){return t.replace(/([a-z])([A-Z])/,"$1-$2").toLowerCase()}function r(t){return i?i+t:t.toLowerCase()}var i,o,a,u,c,s,l,f,h,p,d="",m={Webkit:"webkit",Moz:"",O:"o"},v=document.createElement("div"),g=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,y={};t.each(m,function(t,n){return v.style[t+"TransitionProperty"]!==e?(d="-"+t.toLowerCase()+"-",i=n,!1):void 0}),o=d+"transform",y[a=d+"transition-property"]=y[u=d+"transition-duration"]=y[s=d+"transition-delay"]=y[c=d+"transition-timing-function"]=y[l=d+"animation-name"]=y[f=d+"animation-duration"]=y[p=d+"animation-delay"]=y[h=d+"animation-timing-function"]="",t.fx={off:i===e&&v.style.transitionProperty===e,speeds:{_default:400,fast:200,slow:600},cssPrefix:d,transitionEnd:r("TransitionEnd"),animationEnd:r("AnimationEnd")},t.fn.animate=function(n,r,i,o,a){return t.isFunction(r)&&(o=r,i=e,r=e),t.isFunction(i)&&(o=i,i=e),t.isPlainObject(r)&&(i=r.easing,o=r.complete,a=r.delay,r=r.duration),r&&(r=("number"==typeof r?r:t.fx.speeds[r]||t.fx.speeds._default)/1e3),a&&(a=parseFloat(a)/1e3),this.anim(n,r,i,o,a)},t.fn.anim=function(r,i,d,m,v){var x,b,w,E={},k="",S=this,j=t.fx.transitionEnd,C=!1;if(i===e&&(i=t.fx.speeds._default/1e3),v===e&&(v=0),t.fx.off&&(i=0),"string"==typeof r)E[l]=r,E[f]=i+"s",E[p]=v+"s",E[h]=d||"linear",j=t.fx.animationEnd;else{b=[];for(x in r)g.test(x)?k+=x+"("+r[x]+") ":(E[x]=r[x],b.push(n(x)));k&&(E[o]=k,b.push(o)),i>0&&"object"==typeof r&&(E[a]=b.join(", "),E[u]=i+"s",E[s]=v+"s",E[c]=d||"linear")}return w=function(e){if("undefined"!=typeof e){if(e.target!==e.currentTarget)return;t(e.target).unbind(j,w)}else t(this).unbind(j,w);C=!0,t(this).css(y),m&&m.call(this)},i>0&&(this.bind(j,w),setTimeout(function(){C||w.call(S)},1e3*(i+v)+25)),this.size()&&this.get(0).clientLeft,this.css(E),0>=i&&setTimeout(function(){S.each(function(){w.call(this)})},0),this},v=null}(Zepto),function(t){"__proto__"in{}||t.extend(t.zepto,{Z:function(e,n){return e=e||[],t.extend(e,t.fn),e.selector=n||"",e.__Z=!0,e},isZ:function(e){return"array"===t.type(e)&&"__Z"in e}});try{getComputedStyle(void 0)}catch(e){var n=getComputedStyle;window.getComputedStyle=function(t){try{return n(t)}catch(e){return null}}}}(Zepto),!function(t){t.Callbacks=function(e){e=t.extend({},e);var n,r,i,o,a,u,c=[],s=!e.once&&[],l=function(t){for(n=e.memory&&t,r=!0,u=o||0,o=0,a=c.length,i=!0;c&&a>u;++u)if(c[u].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}i=!1,c&&(s?s.length&&l(s.shift()):n?c.length=0:f.disable())},f={add:function(){if(c){var r=c.length,u=function(n){t.each(n,function(t,n){"function"==typeof n?e.unique&&f.has(n)||c.push(n):n&&n.length&&"string"!=typeof n&&u(n)})};u(arguments),i?a=c.length:n&&(o=r,l(n))}return this},remove:function(){return c&&t.each(arguments,function(e,n){for(var r;(r=t.inArray(n,c,r))>-1;)c.splice(r,1),i&&(a>=r&&--a,u>=r&&--u)}),this},has:function(e){return!(!c||!(e?t.inArray(e,c)>-1:c.length))},empty:function(){return a=c.length=0,this},disable:function(){return c=s=n=void 0,this},disabled:function(){return!c},lock:function(){return s=void 0,n||f.disable(),this},locked:function(){return!s},fireWith:function(t,e){return!c||r&&!s||(e=e||[],e=[t,e.slice?e.slice():e],i?s.push(e):l(e)),this},fire:function(){return f.fireWith(this,arguments)},fired:function(){return!!r}};return f}}(Zepto),function(t){function e(n){var r=[["resolve","done",t.Callbacks({once:1,memory:1}),"resolved"],["reject","fail",t.Callbacks({once:1,memory:1}),"rejected"],["notify","progress",t.Callbacks({memory:1})]],i="pending",o={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var n=arguments;return e(function(e){t.each(r,function(r,i){var u=t.isFunction(n[r])&&n[r];a[i[1]](function(){var n=u&&u.apply(this,arguments);if(n&&t.isFunction(n.promise))n.promise().done(e.resolve).fail(e.reject).progress(e.notify);else{var r=this===o?e.promise():this,a=u?[n]:arguments;e[i[0]+"With"](r,a)}})}),n=null}).promise()},promise:function(e){return null!=e?t.extend(e,o):o}},a={};return t.each(r,function(t,e){var n=e[2],u=e[3];o[e[1]]=n.add,u&&n.add(function(){i=u},r[1^t][2].disable,r[2][2].lock),a[e[0]]=function(){return a[e[0]+"With"](this===a?o:this,arguments),this},a[e[0]+"With"]=n.fireWith}),o.promise(a),n&&n.call(a,a),a}var n=Array.prototype.slice;t.when=function(r){var i,o,a,u=n.call(arguments),c=u.length,s=0,l=1!==c||r&&t.isFunction(r.promise)?c:0,f=1===l?r:e(),h=function(t,e,r){return function(o){e[t]=this,r[t]=arguments.length>1?n.call(arguments):o,r===i?f.notifyWith(e,r):--l||f.resolveWith(e,r)}};if(c>1)for(i=new Array(c),o=new Array(c),a=new Array(c);c>s;++s)u[s]&&t.isFunction(u[s].promise)?u[s].promise().done(h(s,a,u)).fail(f.reject).progress(h(s,o,i)):--l;return l||f.resolveWith(a,u),f.promise()},t.Deferred=e}(Zepto),function(t){function e(t,e){var n={isWeixin:!1},r=this.os={},i=this.browser={},o=t.match(/Web[kK]it[\/]{0,1}([\d.]+)/),a=t.match(/(Android);?[\s\/]+([\d.]+)?/),u=!!t.match(/\(Macintosh\; Intel /),c=t.match(/(iPad).*OS\s([\d_]+)/),s=t.match(/(iPod)(.*OS\s([\d_]+))?/),l=!c&&t.match(/(iPhone\sOS)\s([\d_]+)/),f=t.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),h=/Win\d{2}|Windows/.test(e),p=t.match(/Windows Phone ([\d.]+)/),d=f&&t.match(/TouchPad/),m=t.match(/Kindle\/([\d.]+)/),v=t.match(/Silk\/([\d._]+)/),g=t.match(/(BlackBerry).*Version\/([\d.]+)/),y=t.match(/(BB10).*Version\/([\d.]+)/),x=t.match(/(RIM\sTablet\sOS)\s([\d.]+)/),b=t.match(/PlayBook/),w=t.match(/Chrome\/([\d.]+)/)||t.match(/CriOS\/([\d.]+)/),E=t.match(/Firefox\/([\d.]+)/),k=t.match(/\((?:Mobile|Tablet); rv:([\d.]+)\).*Firefox\/[\d.]+/),S=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/[\d](?=[^\?]+).*rv:([0-9.].)/),j=!w&&t.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/),C=j||t.match(/Version\/([\d.]+)([^S](Safari)|[^M]*(Mobile)[^S]*(Safari))/),T=n.isWeixin||t.match(/MicroMessenger[\s\/]+([\d.]+)/i),_=t.match(/\sQQ[\s\/]+([\d.]+)/i),O=t.match(/weibo[\s__]+([\d.]+)/i),N=t.match(/qqbrowser/gi),A=t.match(/live_stream_([\d.]+)/i),M=t.match(/joke_/i),P=t.match(/NewsArticle\/([\d.]+)/i);(i.webkit=!!o)&&(i.version=o[1]),a&&(r.android=!0,r.version=a[2]),l&&!s&&(r.ios=r.iphone=!0,r.version=l[2].replace(/_/g,".")),c&&(r.ios=r.ipad=!0,r.version=c[2].replace(/_/g,".")),s&&(r.ios=r.ipod=!0,r.version=s[3]?s[3].replace(/_/g,"."):null),p&&(r.wp=!0,r.version=p[1]),f&&(r.webos=!0,r.version=f[2]),d&&(r.touchpad=!0),g&&(r.blackberry=!0,r.version=g[2]),y&&(r.bb10=!0,r.version=y[2]),x&&(r.rimtabletos=!0,r.version=x[2]),b&&(i.playbook=!0),m&&(r.kindle=!0,r.version=m[1]),v&&(i.silk=!0,i.version=v[1]),!v&&r.android&&t.match(/Kindle Fire/)&&(i.silk=!0),w&&(i.chrome=!0,i.version=w[1]),E&&(i.firefox=!0,i.version=E[1]),k&&(r.firefoxos=!0,r.version=k[1]),S&&(i.ie=!0,i.version=S[1]),C&&(u||r.ios||h)&&(i.safari=!0,r.ios||(i.version=C[1])),j&&(i.webview=!0),T&&(i.weixin=!0,i.version=T[1]),_&&(i.qq=!0,i.version=_[1]),O&&(i.weibo=!0,i.version=O[1]),A&&(i.livestream=!0,i.version=A[1]),M&&(i.jokeessay=!0),P&&(i.toutiao=!0,i.version=P[1]),N&&(i.qqbrowser=!0),r.tablet=!!(c||b||a&&!t.match(/Mobile/)||E&&t.match(/Tablet/)||S&&!t.match(/Phone/)&&t.match(/Touch/)),r.phone=!(r.tablet||r.ipod||!(a||l||f||g||y||w&&t.match(/Android/)||w&&t.match(/CriOS\/([\d.]+)/)||E&&t.match(/Mobile/)||S&&t.match(/Touch/)))}e.call(t,navigator.userAgent,navigator.platform),t.__detect=e}(Zepto),function(t){if(!t.getScript){var e=t.Deferred();t.getScript=function(t){var n=document.createElement("script");return n.async="async",n.src=t,n.onload=function(){e.resolve()},n.onerror=function(){e.reject()},setTimeout(function(){document.getElementsByTagName("head")[0].appendChild(n)}),e}}}(window.Zepto||window.jQuery),function(t){function e(t){return u.raw?t:encodeURIComponent(t)}function n(t){return u.raw?t:decodeURIComponent(t)}function r(t){return e(u.json?JSON.stringify(t):String(t))}function i(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(a," ")),u.json?JSON.parse(t):t}catch(e){}}function o(e,n){var r=u.raw?e:i(e);return t.isFunction(n)?n(r):r}var a=/\+/g,u=t.cookie=function(i,a,c){if(void 0!==a&&!t.isFunction(a)){if(c=t.extend({},u.defaults,c),"number"==typeof c.expires){var s=c.expires,l=c.expires=new Date;l.setTime(+l+864e5*s)}return document.cookie=[e(i),"=",r(a),c.expires?"; expires="+c.expires.toUTCString():"",c.path?"; path="+c.path:"",c.domain?"; domain="+c.domain:"",c.secure?"; secure":""].join("")}for(var f=i?void 0:{},h=document.cookie?document.cookie.split("; "):[],p=0,d=h.length;d>p;p++){var m=h[p].split("="),v=n(m.shift()),g=m.join("=");if(i&&i===v){f=o(g,a);break}i||void 0===(g=o(g))||(f[v]=g)}return f};u.defaults={},t.removeCookie=function(e,n){return void 0===t.cookie(e)?!1:(t.cookie(e,"",t.extend({},n,{expires:-1})),!t.cookie(e))}}(window.Zepto||window.jQuery),!function(){var t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||this,e=t._,n=Array.prototype,r=Object.prototype,i=n.push,o=n.slice,a=r.toString,u=r.hasOwnProperty,c=Array.isArray,s=Object.keys,l=Object.create,f=function(){},h=function(t){return t instanceof h?t:this instanceof h?void(this._wrapped=t):new h(t)};"undefined"==typeof exports||exports.nodeType?t._=h:("undefined"!=typeof module&&!module.nodeType&&module.exports&&(exports=module.exports=h),exports._=h),h.VERSION="1.8.3";var p=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}},d=function(t,e,n){return null==t?h.identity:h.isFunction(t)?p(t,e,n):h.isObject(t)?h.matcher(t):h.property(t)};h.iteratee=function(t,e){return d(t,e,1/0)};var m=function(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),i=0;n>i;i++)r[i]=arguments[i+e];switch(e){case 0:return t.call(this,r);case 1:return t.call(this,arguments[0],r);case 2:return t.call(this,arguments[0],arguments[1],r)}var o=Array(e+1);for(i=0;e>i;i++)o[i]=arguments[i];return o[e]=r,t.apply(this,o)}},v=function(t){if(!h.isObject(t))return{};if(l)return l(t);f.prototype=t;var e=new f;return f.prototype=null,e},g=function(t){return function(e){return null==e?void 0:e[t]}},y=Math.pow(2,53)-1,x=g("length"),b=function(t){var e=x(t);return"number"==typeof e&&e>=0&&y>=e};h.each=h.forEach=function(t,e,n){e=p(e,n);var r,i;if(b(t))for(r=0,i=t.length;i>r;r++)e(t[r],r,t);else{var o=h.keys(t);for(r=0,i=o.length;i>r;r++)e(t[o[r]],o[r],t)}return t},h.map=h.collect=function(t,e,n){e=d(e,n);for(var r=!b(t)&&h.keys(t),i=(r||t).length,o=Array(i),a=0;i>a;a++){var u=r?r[a]:a;o[a]=e(t[u],u,t)}return o};var w=function(t){var e=function(e,n,r,i){var o=!b(e)&&h.keys(e),a=(o||e).length,u=t>0?0:a-1;for(i||(r=e[o?o[u]:u],u+=t);u>=0&&a>u;u+=t){var c=o?o[u]:u;r=n(r,e[c],c,e)}return r};return function(t,n,r,i){var o=arguments.length>=3;return e(t,p(n,i,4),r,o)}};h.reduce=h.foldl=h.inject=w(1),h.reduceRight=h.foldr=w(-1),h.find=h.detect=function(t,e,n){var r;return r=b(t)?h.findIndex(t,e,n):h.findKey(t,e,n),void 0!==r&&-1!==r?t[r]:void 0},h.filter=h.select=function(t,e,n){var r=[];return e=d(e,n),h.each(t,function(t,n,i){e(t,n,i)&&r.push(t)}),r},h.reject=function(t,e,n){return h.filter(t,h.negate(d(e)),n)},h.every=h.all=function(t,e,n){e=d(e,n);for(var r=!b(t)&&h.keys(t),i=(r||t).length,o=0;i>o;o++){var a=r?r[o]:o;if(!e(t[a],a,t))return!1}return!0},h.some=h.any=function(t,e,n){e=d(e,n);for(var r=!b(t)&&h.keys(t),i=(r||t).length,o=0;i>o;o++){var a=r?r[o]:o;if(e(t[a],a,t))return!0}return!1},h.contains=h.includes=h.include=function(t,e,n,r){return b(t)||(t=h.values(t)),("number"!=typeof n||r)&&(n=0),h.indexOf(t,e,n)>=0},h.invoke=m(function(t,e,n){var r=h.isFunction(e);return h.map(t,function(t){var i=r?e:t[e];return null==i?i:i.apply(t,n)})}),h.pluck=function(t,e){return h.map(t,h.property(e))},h.where=function(t,e){return h.filter(t,h.matcher(e))},h.findWhere=function(t,e){return h.find(t,h.matcher(e))},h.max=function(t,e,n){var r,i,o=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t){t=b(t)?t:h.values(t);for(var u=0,c=t.length;c>u;u++)r=t[u],null!=r&&r>o&&(o=r)}else e=d(e,n),h.each(t,function(t,n,r){i=e(t,n,r),(i>a||i===-1/0&&o===-1/0)&&(o=t,a=i)});return o},h.min=function(t,e,n){var r,i,o=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t){t=b(t)?t:h.values(t);for(var u=0,c=t.length;c>u;u++)r=t[u],null!=r&&o>r&&(o=r)}else e=d(e,n),h.each(t,function(t,n,r){i=e(t,n,r),(a>i||1/0===i&&1/0===o)&&(o=t,a=i)});return o},h.shuffle=function(t){return h.sample(t,1/0)},h.sample=function(t,e,n){if(null==e||n)return b(t)||(t=h.values(t)),t[h.random(t.length-1)];var r=b(t)?h.clone(t):h.values(t),i=x(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,a=0;e>a;a++){var u=h.random(a,o),c=r[a];r[a]=r[u],r[u]=c}return r.slice(0,e)},h.sortBy=function(t,e,n){var r=0;return e=d(e,n),h.pluck(h.map(t,function(t,n,i){return{value:t,index:r++,criteria:e(t,n,i)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(r>n||void 0===r)return-1}return t.index-e.index}),"value")};var E=function(t,e){return function(n,r,i){var o=e?[[],[]]:{};return r=d(r,i),h.each(n,function(e,i){var a=r(e,i,n);t(o,e,a)}),o}};h.groupBy=E(function(t,e,n){h.has(t,n)?t[n].push(e):t[n]=[e]}),h.indexBy=E(function(t,e,n){t[n]=e}),h.countBy=E(function(t,e,n){h.has(t,n)?t[n]++:t[n]=1});var k=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;h.toArray=function(t){return t?h.isArray(t)?o.call(t):h.isString(t)?t.match(k):b(t)?h.map(t):h.values(t):[]},h.size=function(t){return null==t?0:b(t)?t.length:h.keys(t).length},h.partition=E(function(t,e,n){t[n?0:1].push(e)},!0),h.first=h.head=h.take=function(t,e,n){return null==t?void 0:null==e||n?t[0]:h.initial(t,t.length-e)},h.initial=function(t,e,n){return o.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},h.last=function(t,e,n){return null==t?void 0:null==e||n?t[t.length-1]:h.rest(t,Math.max(0,t.length-e))},h.rest=h.tail=h.drop=function(t,e,n){return o.call(t,null==e||n?1:e)},h.compact=function(t){return h.filter(t)};var S=function(t,e,n,r){r=r||[];for(var i=r.length,o=0,a=x(t);a>o;o++){var u=t[o];if(b(u)&&(h.isArray(u)||h.isArguments(u)))if(e)for(var c=0,s=u.length;s>c;)r[i++]=u[c++];else S(u,e,n,r),i=r.length;else n||(r[i++]=u)}return r};h.flatten=function(t,e){return S(t,e,!1)},h.without=m(function(t,e){return h.difference(t,e)}),h.uniq=h.unique=function(t,e,n,r){h.isBoolean(e)||(r=n,n=e,e=!1),null!=n&&(n=d(n,r));for(var i=[],o=[],a=0,u=x(t);u>a;a++){var c=t[a],s=n?n(c,a,t):c;e?(a&&o===s||i.push(c),o=s):n?h.contains(o,s)||(o.push(s),i.push(c)):h.contains(i,c)||i.push(c)}return i},h.union=m(function(t){return h.uniq(S(t,!0,!0))}),h.intersection=function(t){for(var e=[],n=arguments.length,r=0,i=x(t);i>r;r++){var o=t[r];if(!h.contains(e,o)){var a;for(a=1;n>a&&h.contains(arguments[a],o);a++);a===n&&e.push(o)}}return e},h.difference=m(function(t,e){return e=S(e,!0,!0),h.filter(t,function(t){return!h.contains(e,t)})}),h.unzip=function(t){for(var e=t&&h.max(t,x).length||0,n=Array(e),r=0;e>r;r++)n[r]=h.pluck(t,r);return n},h.zip=m(h.unzip),h.object=function(t,e){for(var n={},r=0,i=x(t);i>r;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n};var j=function(t){return function(e,n,r){n=d(n,r);for(var i=x(e),o=t>0?0:i-1;o>=0&&i>o;o+=t)if(n(e[o],o,e))return o;return-1}};h.findIndex=j(1),h.findLastIndex=j(-1),h.sortedIndex=function(t,e,n,r){n=d(n,r,1);for(var i=n(e),o=0,a=x(t);a>o;){var u=Math.floor((o+a)/2);n(t[u])<i?o=u+1:a=u}return o};var C=function(t,e,n){return function(r,i,a){var u=0,c=x(r);if("number"==typeof a)t>0?u=a>=0?a:Math.max(a+c,u):c=a>=0?Math.min(a+1,c):a+c+1;else if(n&&a&&c)return a=n(r,i),r[a]===i?a:-1;if(i!==i)return a=e(o.call(r,u,c),h.isNaN),a>=0?a+u:-1;for(a=t>0?u:c-1;a>=0&&c>a;a+=t)if(r[a]===i)return a;return-1}};h.indexOf=C(1,h.findIndex,h.sortedIndex),h.lastIndexOf=C(-1,h.findLastIndex),h.range=function(t,e,n){null==e&&(e=t||0,t=0),n||(n=t>e?-1:1);for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;r>o;o++,t+=n)i[o]=t;return i},h.chunk=function(t,e){if(null==e||1>e)return[];for(var n=[],r=0,i=t.length;i>r;)n.push(o.call(t,r,r+=e));return n};var T=function(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=v(t.prototype),a=t.apply(o,i);return h.isObject(a)?a:o};h.bind=m(function(t,e,n){if(!h.isFunction(t))throw new TypeError("Bind must be called on a function");var r=m(function(i){return T(t,r,e,this,n.concat(i))});return r}),h.partial=m(function(t,e){var n=h.partial.placeholder,r=function(){for(var i=0,o=e.length,a=Array(o),u=0;o>u;u++)a[u]=e[u]===n?arguments[i++]:e[u];for(;i<arguments.length;)a.push(arguments[i++]);return T(t,r,this,this,a)};return r}),h.partial.placeholder=h,h.bindAll=m(function(t,e){e=S(e,!1,!1);var n=e.length;if(1>n)throw new Error("bindAll must be passed function names");for(;n--;){var r=e[n];t[r]=h.bind(t[r],t)}}),h.memoize=function(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return h.has(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n},h.delay=m(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),h.defer=h.partial(h.delay,h,1),h.throttle=function(t,e,n){var r,i,o,a,u=0;n||(n={});var c=function(){u=n.leading===!1?0:h.now(),r=null,a=t.apply(i,o),r||(i=o=null)},s=function(){var s=h.now();u||n.leading!==!1||(u=s);var l=e-(s-u);return i=this,o=arguments,0>=l||l>e?(r&&(clearTimeout(r),r=null),u=s,a=t.apply(i,o),r||(i=o=null)):r||n.trailing===!1||(r=setTimeout(c,l)),a};return s.cancel=function(){clearTimeout(r),u=0,r=i=o=null},s},h.debounce=function(t,e,n){var r,i,o=function(e,n){r=null,n&&(i=t.apply(e,n))},a=m(function(a){var u=n&&!r;return r&&clearTimeout(r),u?(r=setTimeout(o,e),i=t.apply(this,a)):n||(r=h.delay(o,e,this,a)),i});return a.cancel=function(){clearTimeout(r),r=null},a},h.wrap=function(t,e){return h.partial(e,t)},h.negate=function(t){return function(){return!t.apply(this,arguments)}},h.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}},h.after=function(t,e){return function(){return--t<1?e.apply(this,arguments):void 0}},h.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=null),n}},h.once=h.partial(h.before,2),h.restArgs=m;var _=!{toString:null}.propertyIsEnumerable("toString"),O=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],N=function(t,e){var n=O.length,i=t.constructor,o=h.isFunction(i)&&i.prototype||r,a="constructor";for(h.has(t,a)&&!h.contains(e,a)&&e.push(a);n--;)a=O[n],a in t&&t[a]!==o[a]&&!h.contains(e,a)&&e.push(a)};h.keys=function(t){if(!h.isObject(t))return[];if(s)return s(t);var e=[];for(var n in t)h.has(t,n)&&e.push(n);return _&&N(t,e),e},h.allKeys=function(t){if(!h.isObject(t))return[];var e=[];for(var n in t)e.push(n);return _&&N(t,e),e},h.values=function(t){for(var e=h.keys(t),n=e.length,r=Array(n),i=0;n>i;i++)r[i]=t[e[i]];return r},h.mapObject=function(t,e,n){e=d(e,n);for(var r=h.keys(t),i=r.length,o={},a=0;i>a;a++){var u=r[a];o[u]=e(t[u],u,t)}return o},h.pairs=function(t){for(var e=h.keys(t),n=e.length,r=Array(n),i=0;n>i;i++)r[i]=[e[i],t[e[i]]];return r},h.invert=function(t){for(var e={},n=h.keys(t),r=0,i=n.length;i>r;r++)e[t[n[r]]]=n[r];return e},h.functions=h.methods=function(t){var e=[];for(var n in t)h.isFunction(t[n])&&e.push(n);return e.sort()};var A=function(t,e){return function(n){var r=arguments.length;if(e&&(n=Object(n)),2>r||null==n)return n;for(var i=1;r>i;i++)for(var o=arguments[i],a=t(o),u=a.length,c=0;u>c;c++){var s=a[c];e&&void 0!==n[s]||(n[s]=o[s])}return n}};h.extend=A(h.allKeys),h.extendOwn=h.assign=A(h.keys),h.findKey=function(t,e,n){e=d(e,n);for(var r,i=h.keys(t),o=0,a=i.length;a>o;o++)if(r=i[o],e(t[r],r,t))return r};var M=function(t,e,n){return e in n};h.pick=m(function(t,e){var n={},r=e[0];if(null==t)return n;h.isFunction(r)?(e.length>1&&(r=p(r,e[1])),e=h.allKeys(t)):(r=M,e=S(e,!1,!1),t=Object(t));for(var i=0,o=e.length;o>i;i++){var a=e[i],u=t[a];r(u,a,t)&&(n[a]=u)}return n}),h.omit=m(function(t,e){var n,r=e[0];return h.isFunction(r)?(r=h.negate(r),e.length>1&&(n=e[1])):(e=h.map(S(e,!1,!1),String),r=function(t,n){return!h.contains(e,n)}),h.pick(t,r,n)}),h.defaults=A(h.allKeys,!0),h.create=function(t,e){var n=v(t);return e&&h.extendOwn(n,e),n},h.clone=function(t){return h.isObject(t)?h.isArray(t)?t.slice():h.extend({},t):t},h.tap=function(t,e){return e(t),t},h.isMatch=function(t,e){var n=h.keys(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;r>o;o++){var a=n[o];if(e[a]!==i[a]||!(a in i))return!1}return!0};var P,F;P=function(t,e,n,r){if(t===e)return 0!==t||1/t===1/e;if(null==t||null==e)return t===e;if(t!==t)return e!==e;var i=typeof t;return"function"!==i&&"object"!==i&&"object"!=typeof e?!1:F(t,e,n,r)},F=function(t,e,n,r){t instanceof h&&(t=t._wrapped),e instanceof h&&(e=e._wrapped);var i=a.call(t);if(i!==a.call(e))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!==+t?+e!==+e:0===+t?1/+t===1/e:+t===+e;case"[object Date]":case"[object Boolean]":return+t===+e}var o="[object Array]"===i;if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var u=t.constructor,c=e.constructor;if(u!==c&&!(h.isFunction(u)&&u instanceof u&&h.isFunction(c)&&c instanceof c)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],r=r||[];for(var s=n.length;s--;)if(n[s]===t)return r[s]===e;if(n.push(t),r.push(e),o){if(s=t.length,s!==e.length)return!1;for(;s--;)if(!P(t[s],e[s],n,r))return!1}else{var l,f=h.keys(t);if(s=f.length,h.keys(e).length!==s)return!1;for(;s--;)if(l=f[s],!h.has(e,l)||!P(t[l],e[l],n,r))return!1}return n.pop(),r.pop(),!0},h.isEqual=function(t,e){return P(t,e)},h.isEmpty=function(t){return null==t?!0:b(t)&&(h.isArray(t)||h.isString(t)||h.isArguments(t))?0===t.length:0===h.keys(t).length},h.isElement=function(t){return!(!t||1!==t.nodeType)},h.isArray=c||function(t){return"[object Array]"===a.call(t)},h.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},h.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol"],function(t){h["is"+t]=function(e){return a.call(e)==="[object "+t+"]"}}),h.isArguments(arguments)||(h.isArguments=function(t){return h.has(t,"callee")});var L=t.document&&t.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof L&&(h.isFunction=function(t){return"function"==typeof t||!1}),h.isFinite=function(t){return!h.isSymbol(t)&&isFinite(t)&&!isNaN(parseFloat(t))},h.isNaN=function(t){return h.isNumber(t)&&isNaN(t)},h.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"===a.call(t)},h.isNull=function(t){return null===t},h.isUndefined=function(t){return void 0===t},h.has=function(t,e){return null!=t&&u.call(t,e)},h.noConflict=function(){return t._=e,this},h.identity=function(t){return t},h.constant=function(t){return function(){return t}},h.noop=function(){},h.property=g,h.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},h.matcher=h.matches=function(t){return t=h.extendOwn({},t),function(e){return h.isMatch(e,t)}},h.times=function(t,e,n){var r=Array(Math.max(0,t));e=p(e,n,1);for(var i=0;t>i;i++)r[i]=e(i);return r},h.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},h.now=Date.now||function(){return(new Date).getTime()};var R={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},$=h.invert(R),I=function(t){var e=function(e){return t[e]
},n="(?:"+h.keys(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}};h.escape=I(R),h.unescape=I($),h.result=function(t,e,n){var r=null==t?void 0:t[e];return void 0===r&&(r=n),h.isFunction(r)?r.call(t):r};var D=0;h.uniqueId=function(t){var e=++D+"";return t?t+e:e},h.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var W=/(.)^/,q={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},U=/\\|'|\r|\n|\u2028|\u2029/g,Z=function(t){return"\\"+q[t]};h.template=function(t,e,n){!e&&n&&(e=n),e=h.defaults({},e,h.templateSettings);var r=RegExp([(e.escape||W).source,(e.interpolate||W).source,(e.evaluate||W).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(e,n,r,a,u){return o+=t.slice(i,u).replace(U,Z),i=u+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";var a;try{a=new Function(e.variable||"obj","_",o)}catch(u){throw u.source=o,u}var c=function(t){return a.call(this,t,h)},s=e.variable||"obj";return c.source="function("+s+"){\n"+o+"}",c},h.chain=function(t){var e=h(t);return e._chain=!0,e};var z=function(t,e){return t._chain?h(e).chain():e};h.mixin=function(t){h.each(h.functions(t),function(e){var n=h[e]=t[e];h.prototype[e]=function(){var t=[this._wrapped];return i.apply(t,arguments),z(this,n.apply(h,t))}})},h.mixin(h),h.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=n[t];h.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],z(this,n)}}),h.each(["concat","join","slice"],function(t){var e=n[t];h.prototype[t]=function(){return z(this,e.apply(this._wrapped,arguments))}}),h.prototype.value=function(){return this._wrapped},h.prototype.valueOf=h.prototype.toJSON=h.prototype.value,h.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return h})}(),!function(){"use strict";function t(e,r){function i(t,e){return function(){return t.apply(e,arguments)}}var o;if(r=r||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=r.touchBoundary||10,this.layer=e,this.tapDelay=r.tapDelay||200,this.tapTimeout=r.tapTimeout||700,!t.notNeeded(e)){for(var a=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],u=this,c=0,s=a.length;s>c;c++)u[a[c]]=i(u[a[c]],u);n&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,n,r){var i=Node.prototype.removeEventListener;"click"===t?i.call(e,t,n.hijacked||n,r):i.call(e,t,n,r)},e.addEventListener=function(t,n,r){var i=Node.prototype.addEventListener;"click"===t?i.call(e,t,n.hijacked||(n.hijacked=function(t){t.propagationStopped||n(t)}),r):i.call(e,t,n,r)}),"function"==typeof e.onclick&&(o=e.onclick,e.addEventListener("click",function(t){o(t)},!1),e.onclick=null)}}var e=navigator.userAgent.indexOf("Windows Phone")>=0,n=navigator.userAgent.indexOf("Android")>0&&!e,r=/iP(ad|hone|od)/.test(navigator.userAgent)&&!e,i=r&&/OS 4_\d(_\d)?/.test(navigator.userAgent),o=r&&/OS [6-7]_\d/.test(navigator.userAgent),a=navigator.userAgent.indexOf("BB10")>0;t.prototype.needsClick=function(t){switch(t.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(t.disabled)return!0;break;case"input":if(r&&"file"===t.type||t.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(t.className)},t.prototype.needsFocus=function(t){switch(t.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(t.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},t.prototype.sendClick=function(t,e){var n,r;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),r=e.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(t),!0,!0,window,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,t.dispatchEvent(n)},t.prototype.determineEventType=function(t){return n&&"select"===t.tagName.toLowerCase()?"mousedown":"click"},t.prototype.focus=function(t){var e;r&&t.setSelectionRange&&0!==t.type.indexOf("date")&&"time"!==t.type&&"month"!==t.type&&"email"!==t.type?(e=t.value.length,t.setSelectionRange(e,e),t.focus()):t.focus()},t.prototype.updateScrollParent=function(t){var e,n;if(e=t.fastClickScrollParent,!e||!e.contains(t)){n=t;do{if(n.scrollHeight>n.offsetHeight){e=n,t.fastClickScrollParent=n;break}n=n.parentElement}while(n)}e&&(e.fastClickLastScrollTop=e.scrollTop)},t.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},t.prototype.onTouchStart=function(t){var e,n,o;if(t.targetTouches.length>1)return!0;if(e=this.getTargetElementFromEventTarget(t.target),n=t.targetTouches[0],r){if(o=window.getSelection(),o.rangeCount&&!o.isCollapsed)return!0;if(!i){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(e)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=e,this.touchStartX=n.pageX,this.touchStartY=n.pageY,t.timeStamp-this.lastClickTime<this.tapDelay&&t.preventDefault(),!0},t.prototype.touchHasMoved=function(t){var e=t.changedTouches[0],n=this.touchBoundary;return Math.abs(e.pageX-this.touchStartX)>n||Math.abs(e.pageY-this.touchStartY)>n?!0:!1},t.prototype.onTouchMove=function(t){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},t.prototype.findControl=function(t){return void 0!==t.control?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},t.prototype.onTouchEnd=function(t){var e,a,u,c,s,l=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(t.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,a=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,o&&(s=t.changedTouches[0],l=document.elementFromPoint(s.pageX-window.pageXOffset,s.pageY-window.pageYOffset)||l,l.fastClickScrollParent=this.targetElement.fastClickScrollParent),u=l.tagName.toLowerCase(),"label"===u){if(e=this.findControl(l)){if(this.focus(l),n)return!1;l=e}}else if(this.needsFocus(l))return t.timeStamp-a>100||r&&window.top!==window&&"input"===u?(this.targetElement=null,!1):(this.focus(l),this.sendClick(l,t),r&&"select"===u||(this.targetElement=null,t.preventDefault()),!1);return r&&!i&&(c=l.fastClickScrollParent,c&&c.fastClickLastScrollTop!==c.scrollTop)?!0:(this.needsClick(l)||(t.preventDefault(),this.sendClick(l,t)),!1)},t.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},t.prototype.onMouse=function(t){return this.targetElement?t.forwardedTouchEvent?!0:!t.cancelable||this.needsClick(this.targetElement)&&!this.cancelNextClick?!0:(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1):!0},t.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===t.target.type&&0===t.detail?!0:(e=this.onMouse(t),e||(this.targetElement=null),e)},t.prototype.destroy=function(){var t=this.layer;n&&(t.removeEventListener("mouseover",this.onMouse,!0),t.removeEventListener("mousedown",this.onMouse,!0),t.removeEventListener("mouseup",this.onMouse,!0)),t.removeEventListener("click",this.onClick,!0),t.removeEventListener("touchstart",this.onTouchStart,!1),t.removeEventListener("touchmove",this.onTouchMove,!1),t.removeEventListener("touchend",this.onTouchEnd,!1),t.removeEventListener("touchcancel",this.onTouchCancel,!1)},t.notNeeded=function(t){var e,r,i,o;if("undefined"==typeof window.ontouchstart)return!0;if(r=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(e=document.querySelector("meta[name=viewport]")){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(r>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(a&&(i=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),i[1]>=10&&i[2]>=3&&(e=document.querySelector("meta[name=viewport]")))){if(-1!==e.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===t.style.msTouchAction||"manipulation"===t.style.touchAction?!0:(o=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],o>=27&&(e=document.querySelector("meta[name=viewport]"),e&&(-1!==e.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))?!0:"none"===t.style.touchAction||"manipulation"===t.style.touchAction?!0:!1)},t.attach=function(e,n){return new t(e,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return t}):"undefined"!=typeof module&&module.exports?(module.exports=t.attach,module.exports.FastClick=t):window.FastClick=t}(),!function(t){if(t.__M=t.__M||{},!t.__M.require){var e,n,r=document.getElementsByTagName("head")[0],i={},o={},a={},u={},c={},s={},l=function(t,n){if(!(t in u)){u[t]=!0;var i=document.createElement("script");if(n){var o=setTimeout(n,e.timeout);i.onerror=function(){clearTimeout(o),n()};var a=function(){clearTimeout(o)};"onload"in i?i.onload=a:i.onreadystatechange=function(){("loaded"===this.readyState||"complete"===this.readyState)&&a()}}return i.type="text/javascript",i.src=t,r.appendChild(i),i}},f=function(t,e,n){var r=i[t]||(i[t]=[]);r.push(e);var o,a=c[t]||c[t+".js"]||{},u=a.pkg;o=u?s[u].url||s[u].uri:a.url||a.uri||t,l(o,n&&function(){n(t)})};n=function(t,e){"function"!=typeof e&&(e=arguments[2]),t=t.replace(/\.js$/i,""),o[t]=e;var n=i[t];if(n){for(var r=0,a=n.length;a>r;r++)n[r]();delete i[t]}},e=function(t){if(t&&t.splice)return e.async.apply(this,arguments);t=e.alias(t);var n=a[t];if(n)return n.exports;var r=o[t];if(!r)throw"[ModJS] Cannot find module `"+t+"`";n=a[t]={exports:{}};var i="function"==typeof r?r.apply(n,[e,n.exports,n]):r;return i&&(n.exports=i),n.exports&&!n.exports["default"]&&Object.defineProperty&&Object.isExtensible(n.exports)&&Object.defineProperty(n.exports,"default",{value:n.exports}),n.exports},e.async=function(n,r,i){function a(t){for(var n,r=0,h=t.length;h>r;r++){var p=e.alias(t[r]);p in o?(n=c[p]||c[p+".js"],n&&"deps"in n&&a(n.deps)):p in s||(s[p]=!0,l++,f(p,u,i),n=c[p]||c[p+".js"],n&&"deps"in n&&a(n.deps))}}function u(){if(0===l--){for(var i=[],o=0,a=n.length;a>o;o++)i[o]=e(n[o]);r&&r.apply(t,i)}}"string"==typeof n&&(n=[n]);var s={},l=0;a(n),u()},e.resourceMap=function(t){var e,n;n=t.res;for(e in n)n.hasOwnProperty(e)&&(c[e]=n[e]);n=t.pkg;for(e in n)n.hasOwnProperty(e)&&(s[e]=n[e])},e.loadJs=function(t){l(t)},e.loadCss=function(t){if(t.content){var e=document.createElement("style");e.type="text/css",e.styleSheet?e.styleSheet.cssText=t.content:e.innerHTML=t.content,r.appendChild(e)}else if(t.url){var n=document.createElement("link");n.href=t.url,n.rel="stylesheet",n.type="text/css",r.appendChild(n)}},e.alias=function(t){return t.replace(/\.js$/i,"")},e.timeout=5e3,t.__M.define=n,t.__M.require=e}}(this),function(t){function e(t,e){return e=e.charAt(0).toUpperCase()+e.slice(1),Object.prototype.toString.call(t)==="[object "+e+"]"}function n(t){if(e(t,"array")){for(var r=[],i=0,o=t.length;o>i;i++)r.push(n(t[i]));return r}if(e(t,"object")){var r={};for(key in t)r[key]=n(t[key]);return r}return t}function r(t){return t&&a[t]&&n(a[t])}function i(t,e){return t&&(a[t]=e),e}function o(t){return e(t,"object")&&(a=t),n(a)}t.__M=t.__M||{};var a={};t.__M.get=r,t.__M.set=i,t.__M.context=o}(this),!function(t,e,n){var r=t(e);t.fn.lazyload=function(){function e(){i.each(function(){var e=t(this);if(t.abovethetop(this));else{if(t.belowthefold(this))return!1;e.trigger("appear")}})}var i=this;return r.on("scroll",function(){return e()}),this.each(function(){var e=this,n=t(e);e.loaded=!1,n.one("appear",function(){this.loaded||t("<img />").one("load",function(){var r=n.attr("data-src");n.hide(),n.is("img")?n.attr("src",r):n.css("background-image","url('"+r+"')"),n.show(),e.loaded=!0;var o=t.grep(i,function(t){return!t.loaded});i=t(o)}).attr("src",n.attr("data-src"))})}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&r.on("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&i.each(function(){t(this).trigger("appear")})}),t(n).ready(function(){e()}),this},t.belowthefold=function(n){var i;return i=(e.innerHeight?e.innerHeight:r.height())+r.scrollTop(),i<=t(n).offset().top},t.abovethetop=function(e){var n;return n=r.scrollTop(),n>=t(e).offset().top+t(e).height()}}(window.jQuery||window.Zepto,window,document),$(function(){$(".lazy").lazyload().removeClass("lazy"),$(document).on("ajaxStop",function(){$(".lazy").lazyload().removeClass("lazy")})});
;/*!douyin_falcon:node_modules/byted-acrawler/dist/runtime.js*/
__M.define("douyin_falcon:node_modules/byted-acrawler/dist/runtime",function(l,e){Function(function(l){return'e(e,a,r){(b[e]||(b[e]=t("x,y","x "+e+" y")(r,a)}a(e,a,r){(k[r]||(k[r]=t("x,y","new x[y]("+Array(r+1).join(",x[y]")(1)+")")(e,a)}r(e,a,r){n,t,s={},b=s.d=r?r.d+1:0;for(s["$"+b]=s,t=0;t<b;t)s[n="$"+t]=r[n];for(t=0,b=s=a;t<b;t)s[t]=a[t];c(e,0,s)}c(t,b,k){u(e){v[x]=e}f{g=,ting(bg)}l{try{y=c(t,b,k)}catch(e){h=e,y=l}}for(h,y,d,g,v=[],x=0;;)switch(g=){case 1:u(!)4:f5:u((e){a=0,r=e;{c=a<r;c&&u(e[a]),c}}(6:y=,u((y8:if(g=,lg,g=,y===c)b+=g;else if(y!==l)y9:c10:u(s(11:y=,u(+y)12:for(y=f,d=[],g=0;g<y;g)d[g]=y.charCodeAt(g)^g+y;u(String.fromCharCode.apply(null,d13:y=,h=delete [y]14:59:u((g=)?(y=x,v.slice(x-=g,y:[])61:u([])62:g=,k[0]=65599*k[0]+k[1].charCodeAt(g)>>>065:h=,y=,[y]=h66:u(e(t[b],,67:y=,d=,u((g=).x===c?r(g.y,y,k):g.apply(d,y68:u(e((g=t[b])<"<"?(b--,f):g+g,,70:u(!1)71:n72:+f73:u(parseInt(f,3675:if(){bcase 74:g=<<16>>16g76:u(k[])77:y=,u([y])78:g=,u(a(v,x-=g+1,g79:g=,u(k["$"+g])81:h=,[f]=h82:u([f])83:h=,k[]=h84:!085:void 086:u(v[x-1])88:h=,y=,h,y89:u({e{r(e.y,arguments,k)}e.y=f,e.x=c,e})90:null91:h93:h=0:;default:u((g<<16>>16)-16)}}n=this,t=n.Function,s=Object.keys||(e){a={},r=0;for(c in e)a[r]=c;a=r,a},b={},k={};r'.replace(/[-]/g,function(e){return l[15&e.charCodeAt(0)]})}("v[x++]=v[--x]t.charCodeAt(b++)-32function return ))++.substrvar .length(),b+=;break;case ;break}".split("")))()('gr$Daten Иb/s!l y͒yĹg,(lfi~ah`{mv,-n|jqewVxp{rvmmx,&effkx[!cs"l".Pq%widthl"@q&heightl"vr*getContextx$"2d[!cs#l#,*;?|u.|uc{uq$fontl#vr(fillTextx$$龘ฑภ경2<[#c}l#2q*shadowBlurl#1q-shadowOffsetXl#$$limeq+shadowColorl#vr#arcx88802[%c}l#vr&strokex[ c}l"v,)}eOmyoZB]mx[ cs!0s$l$Pb<k7l l!r&lengthb%^l$1+s$jl s#i$1ek1s$gr#tack4)zgr#tac$! +0o![#cj?o ]!l$b%s"o ]!l"l$b*b^0d#>>>s!0s%yA0s"l"l!r&lengthb<k+l"^l"1+s"jl s&l&z0l!$ +["cs\'(0l#i\'1ps9wxb&s() &{s)/s(gr&Stringr,fromCharCodes)0s*yWl ._b&s o!])l l Jb<k$.aj;l .Tb<k$.gj/l .^b<k&i"-4j!+& s+yPo!]+s!l!l Hd>&l!l Bd>&+l!l <d>&+l!l 6d>&+l!l &+ s,y=o!o!]/q"13o!l q"10o!],l 2d>& s.{s-yMo!o!]0q"13o!]*Ld<l 4d#>>>b|s!o!l q"10o!],l!& s/yIo!o!].q"13o!],o!]*Jd<l 6d#>>>b|&o!]+l &+ s0l-l!&l-l!i\'1z141z4b/@d<l"b|&+l-l(l!b^&+l-l&zl\'g,)gk}ejo{cm,)|yn~Lij~em["cl$b%@d<l&zl\'l $ +["cl$b%b|&+l-l%8d<@b|l!b^&+ q$sign ',[Object.defineProperty(e,"__esModule",{value:!0})])});
dycs = __M.require("douyin_falcon:node_modules/byted-acrawler/dist/runtime") ;
signc = dycs.sign(63169086371);
document.write(signc);
</script>