text: /*! Sea.js 2.1.1 | seajs.org/LICENSE.md
  */(function(t,u){function v(b){return function(c){return Object.prototype.toString.call(c)==="[object "+b+"]"}}function Q(){return w++}function I(b,c){var a;a=b.charAt(0);if(R.test(b))a=b;else if("."===a){a=(c?c.match(E)[0]:h.cwd)+b;for(a=a.replace(S,"/");a.match(J);)a=a.replace(J,"/")}else a="/"===a?(a=h.cwd.match(T))?a[0]+b.substring(1):b:h.base+b;return a}function K(b,c){if(!b)return"";var a=b,d=h.alias,a=b=d&&F(d[a])?d[a]:a,d=h.paths,g;if(d&&(g=a.match(U))&&F(d[g[1]]))a=d[g[1]]+g[2];g=a;var e=h.vars;
  e&&-1<g.indexOf("{")&&(g=g.replace(V,function(a,b){return F(e[b])?e[b]:a}));a=g.length-1;d=g.charAt(a);b="#"===d?g.substring(0,a):".js"===g.substring(a-2)||0<g.indexOf("?")||".css"===g.substring(a-3)||"/"===d?g:g+".js";g=I(b,c);var a=h.map,l=g;if(a)for(var d=0,f=a.length;d<f&&!(l=a[d],l=x(l)?l(g)||g:g.replace(l[0],l[1]),l!==g);d++);return l}function L(b,c){var a=b.sheet,d;if(M)a&&(d=!0);else if(a)try{a.cssRules&&(d=!0)}catch(g){"NS_ERROR_DOM_SECURITY_ERR"===g.name&&(d=!0)}setTimeout(function(){d?
  c():L(b,c)},20)}function W(){if(y)return y;if(z&&"interactive"===z.readyState)return z;for(var b=s.getElementsByTagName("script"),c=b.length-1;0<=c;c--){var a=b[c];if("interactive"===a.readyState)return z=a}}function e(b,c){this.uri=b;this.dependencies=c||[];this.exports=null;this.status=0;this._waitings={};this._remain=0}if(!t.seajs){var f=t.seajs={version:"2.1.1"},h=f.data={},X=v("Object"),F=v("String"),A=Array.isArray||v("Array"),x=v("Function"),w=0,p=h.events={};f.on=function(b,c){(p[b]||(p[b]=
  [])).push(c);return f};f.off=function(b,c){if(!b&&!c)return p=h.events={},f;var a=p[b];if(a)if(c)for(var d=a.length-1;0<=d;d--)a[d]===c&&a.splice(d,1);else delete p[b];return f};var m=f.emit=function(b,c){var a=p[b],d;if(a)for(a=a.slice();d=a.shift();)d(c);return f},E=/[^?#]*\//,S=/\/\.\//g,J=/\/[^/]+\/\.\.\//,U=/^([^/:]+)(\/.+)$/,V=/{([^{]+)}/g,R=/^\/\/.|:\//,T=/^.*?\/\/.*?\//,n=document,q=location,B=q.href.match(E)[0],k=n.getElementsByTagName("script"),k=n.getElementById("seajsnode")||k[k.length-
  1],k=((k.hasAttribute?k.src:k.getAttribute("src",4))||B).match(E)[0],s=n.getElementsByTagName("head")[0]||n.documentElement,N=s.getElementsByTagName("base")[0],O=/\.css(?:\?|$)/i,Y=/^(?:loaded|complete|undefined)$/,y,z,M=536>1*navigator.userAgent.replace(/.*AppleWebKit\/(\d+)\..*/,"$1"),Z=/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|\/\*[\S\s]*?\*\/|\/(?:\\\/|[^\/\r\n])+\/(?=[^\/])|\/\/.*|\.\s*require|(?:^|[^$])\brequire\s*\(\s*(["'])(.+?)\1\s*\)/g,$=/\\\\/g,r=f.cache={},C,G={},H={},D={},j=e.STATUS={FETCHING:1,
  SAVED:2,LOADING:3,LOADED:4,EXECUTING:5,EXECUTED:6};e.prototype.resolve=function(){for(var b=this.dependencies,c=[],a=0,d=b.length;a<d;a++)c[a]=e.resolve(b[a],this.uri);return c};e.prototype.load=function(){if(!(this.status>=j.LOADING)){this.status=j.LOADING;var b=this.resolve();m("load",b);for(var c=this._remain=b.length,a,d=0;d<c;d++)a=e.get(b[d]),a.status<j.LOADED?a._waitings[this.uri]=(a._waitings[this.uri]||0)+1:this._remain--;if(0===this._remain)this.onload();else{for(var g={},d=0;d<c;d++)a=
  r[b[d]],a.status<j.FETCHING?a.fetch(g):a.status===j.SAVED&&a.load();for(var h in g)if(g.hasOwnProperty(h))g[h]()}}};e.prototype.onload=function(){this.status=j.LOADED;this.callback&&this.callback();var b=this._waitings,c,a;for(c in b)if(b.hasOwnProperty(c)&&(a=r[c],a._remain-=b[c],0===a._remain))a.onload();delete this._waitings;delete this._remain};e.prototype.fetch=function(b){function c(){var a=g.requestUri,b=g.onRequest,c=g.charset,d=O.test(a),e=n.createElement(d?"link":"script");if(c&&(c=x(c)?
  c(a):c))e.charset=c;var f=e;d&&(M||!("onload"in f))?setTimeout(function(){L(f,b)},1):f.onload=f.onerror=f.onreadystatechange=function(){Y.test(f.readyState)&&(f.onload=f.onerror=f.onreadystatechange=null,!d&&!h.debug&&s.removeChild(f),f=null,b())};d?(e.rel="stylesheet",e.href=a):(e.async=!0,e.src=a);y=e;N?s.insertBefore(e,N):s.appendChild(e);y=null}function a(){delete G[f];H[f]=!0;C&&(e.save(d,C),C=null);var a,b=D[f];for(delete D[f];a=b.shift();)a.load()}var d=this.uri;this.status=j.FETCHING;var g=
  {uri:d};m("fetch",g);var f=g.requestUri||d;!f||H[f]?this.load():G[f]?D[f].push(this):(G[f]=!0,D[f]=[this],m("request",g={uri:d,requestUri:f,onRequest:a,charset:h.charset}),g.requested||(b?b[g.requestUri]=c:c()))};e.prototype.exec=function(){function b(a){return e.get(b.resolve(a)).exec()}if(this.status>=j.EXECUTING)return this.exports;this.status=j.EXECUTING;var c=this.uri;b.resolve=function(a){return e.resolve(a,c)};b.async=function(a,g){e.use(a,g,c+"_async_"+w++);return b};var a=this.factory,a=
  x(a)?a(b,this.exports={},this):a;a===u&&(a=this.exports);null===a&&!O.test(c)&&m("error",this);delete this.factory;this.exports=a;this.status=j.EXECUTED;m("exec",this);return a};e.resolve=function(b,c){var a={id:b,refUri:c};m("resolve",a);return a.uri||K(a.id,c)};e.define=function(b,c,a){var d=arguments.length;1===d?(a=b,b=u):2===d&&(a=c,A(b)?(c=b,b=u):c=u);if(!A(c)&&x(a)){var g=[];a.toString().replace($,"").replace(Z,function(a,b,c){c&&g.push(c)});c=g}d={id:b,uri:e.resolve(b),deps:c,factory:a};if(!d.uri&&
  n.attachEvent){var f=W();f&&(d.uri=f.src)}m("define",d);d.uri?e.save(d.uri,d):C=d};e.save=function(b,c){var a=e.get(b);a.status<j.SAVED&&(a.id=c.id||b,a.dependencies=c.deps||[],a.factory=c.factory,a.status=j.SAVED)};e.get=function(b,c){return r[b]||(r[b]=new e(b,c))};e.use=function(b,c,a){var d=e.get(a,A(b)?b:[b]);d.callback=function(){for(var a=[],b=d.resolve(),e=0,f=b.length;e<f;e++)a[e]=r[b[e]].exec();c&&c.apply(t,a);delete d.callback};d.load()};e.preload=function(b){var c=h.preload,a=c.length;
  a?e.use(c,function(){c.splice(0,a);e.preload(b)},h.cwd+"_preload_"+w++):b()};f.use=function(b,c){e.preload(function(){e.use(b,c,h.cwd+"_use_"+w++)});return f};e.define.cmd={};t.define=e.define;f.Module=e;h.fetchedList=H;h.cid=Q;f.resolve=K;f.require=function(b){return(r[e.resolve(b)]||{}).exports};h.base=(k.match(/^(.+?\/)(\?\?)?(seajs\/)+/)||["",k])[1];h.dir=k;h.cwd=B;h.charset="utf-8";var B=h,P=[],q=q.search.replace(/(seajs-\w+)(&|$)/g,"$1=1$2"),q=q+(" "+n.cookie);q.replace(/(seajs-\w+)=1/g,function(b,
  c){P.push(c)});B.preload=P;f.config=function(b){for(var c in b){var a=b[c],d=h[c];if(d&&X(d))for(var e in a)d[e]=a[e];else A(d)?a=d.concat(a):"base"===c&&("/"===a.slice(-1)||(a+="/"),a=I(a)),h[c]=a}m("config",b);return f}}})(this);
  !function(e,n){function r(e){c[e.name]=e}function t(e){return e&&c.hasOwnProperty(e)}function a(e){for(var n in c)if(t(n)){var r=","+c[n].ext.join(",")+",";if(r.indexOf(","+e+",")>-1)return n}}function o(e,r){var t=n.ActiveXObject?new n.ActiveXObject("Microsoft.XMLHTTP"):new n.XMLHttpRequest;return t.open("GET",e,!0),t.onreadystatechange=function(){if(4===t.readyState){if(t.status>399&&t.status<600)throw new Error("Could not load: "+e+", status = "+t.status);r(t.responseText)}},t.send(null)}function i(e){e&&/\S/.test(e)&&(n.execScript||function(e){(n.eval||eval).call(n,e)})(e)}function u(e){return e.replace(/(["\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")}function s(e){return e.replace(/\?.*$/,"")}var c={},f={};r({name:"text",ext:[".tpl",".html"],exec:function(e,n){i('define("'+e+'#", [], "'+u(n)+'")')}}),r({name:"json",ext:[".json"],exec:function(e,n){i('define("'+e+'#", [], '+n+")")}}),r({name:"handlebars",ext:[".handlebars"],exec:function(e,n){var r=['define("'+e+'#", ["handlebars"], function(require, exports, module) {','  var source = "'+u(n)+'"','  var Handlebars = require("handlebars")',"  module.exports = function(data, options) {","    var helpers = (options || {}).helpers || {}","    for (var key in helpers) {","      Handlebars.registerHelper(key, helpers[key])","    }","    return Handlebars.compile(source)(data)","  }","})"].join("\n");i(r)}}),e.on("resolve",function(n){var r=n.id;if(!r)return"";var o,i;(i=r.match(/^(\w+)!(.+)$/))&&t(i[1])?(o=i[1],r=i[2]):(i=r.match(/[^?]+(\.\w+)(?:\?|#|$)/))&&(o=a(i[1])),o&&-1===r.indexOf("#")&&(r+="#");var u=e.resolve(r,n.refUri);o&&(f[u]=o),n.uri=u}),e.on("request",function(e){var n=f[e.uri];n&&(o(e.requestUri,function(r){c[n].exec(e.uri,r),e.onRequest()}),e.requested=!0)}),"object"==typeof process&&(o=function(e,n){n(require("fs").readFileSync(s(e),"utf8"))}),define("seajs-text",[],{})}(seajs,this);!function(e){var t=/\W/g,n=document,l=document.getElementsByTagName("head")[0]||document.documentElement;e.importStyle=function(e,a){if(!a||(a=a.replace(t,"-"),!n.getElementById(a))){var s=n.createElement("style");if(a&&(s.id=a),l.appendChild(s),s.styleSheet){if(n.getElementsByTagName("style").length>31)throw new Error("Exceed the maximal count of style tags in IE");s.styleSheet.cssText=e}else s.appendChild(n.createTextNode(e))}},define("seajs-style",[],{})}(seajs);!function(n){function r(n){var r=n.length;if(!(2>r)){S.comboSyntax&&(E=S.comboSyntax),S.comboMaxLength&&(d=S.comboMaxLength),g=S.comboExcludes;for(var t=[],o=0;r>o;o++){var a=n[o];if(!b[a]){var u=_.get(a);u.status<p&&!s(a)&&!v(a)&&t.push(a)}}t.length>1&&f(e(t))}}function t(n){n.requestUri=b[n.uri]||n.uri}function e(n){return a(o(n))}function o(n){for(var r={__KEYS:[]},t=0,e=n.length;e>t;t++)for(var o=n[t].replace("://","__").split("/"),a=r,u=0,f=o.length;f>u;u++){var i=o[u];a[i]||(a[i]={__KEYS:[]},a.__KEYS.push(i)),a=a[i]}return r}function a(n){for(var r=[],t=n.__KEYS,e=0,o=t.length;o>e;e++){for(var a=t[e],f=a,i=n[a],h=i.__KEYS;1===h.length;)f+="/"+h[0],i=i[h[0]],h=i.__KEYS;h.length&&r.push([f.replace("__","://"),u(i)])}return r}function u(n){for(var r=[],t=n.__KEYS,e=0,o=t.length;o>e;e++){var a=t[e],f=u(n[a]),i=f.length;if(i)for(var h=0;i>h;h++)r.push(a+"/"+f[h]);else r.push(a)}return r}function f(n){for(var r=0,t=n.length;t>r;r++)for(var e=n[r],o=e[0]+"/",a=l(e[1]),u=0,f=a.length;f>u;u++)i(o,a[u]);return b}function i(n,r){var t=n+E[0]+r.join(E[1]),e=t.length>d;if(r.length>1&&e){var o=h(r,d-(n+E[0]).length);i(n,o[0]),i(n,o[1])}else{if(e)throw new Error("The combo url is too long: "+t);for(var a=0,u=r.length;u>a;a++)b[n+r[a]]=t}}function h(n,r){for(var t=E[1],e=n[0],o=1,a=n.length;a>o;o++)if(e+=t+n[o],e.length>r)return[n.splice(0,o),n]}function l(n){for(var r=[],t={},e=0,o=n.length;o>e;e++){var a=n[e],u=c(a);u&&(t[u]||(t[u]=[])).push(a)}for(var f in t)t.hasOwnProperty(f)&&r.push(t[f]);return r}function c(n){var r=n.lastIndexOf(".");return r>=0?n.substring(r):""}function s(n){return g?g.test?g.test(n):g(n):void 0}function v(n){var r=S.comboSyntax||["??",","],t=r[0],e=r[1];return t&&n.indexOf(t)>0||e&&n.indexOf(e)>0}var g,_=n.Module,p=_.STATUS.FETCHING,S=n.data,b=S.comboHash={},E=["??",","],d=2e3;n.on("load",r),n.on("fetch",t);define("seajs-combo",[],{})}(seajs);