forked from RubyLouvre/mass-Framework
/
mass_min.js
161 lines (161 loc) · 80.5 KB
/
mass_min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
!function(P,x){function t(b,f){if("function"===typeof b&&b.call)return t.require(ia+",ready",b);t.fn||t.error("\u5fc5\u987b\u52a0\u8f7dnode\u6a21\u5757");return new t.fn.init(b,f)}function ja(b,f){var c=[].slice.call(arguments),h=1,m,r="boolean"===typeof c[c.length-1]?c.pop():!0;1===c.length&&(b=!this.window?this:{},h=0);for(;f=c[h++];)for(m in f)if(V.call(f,m)&&(r||!(m in b)))b[m]=f[m];return b}function ka(b){var f;try{a.b.c()}catch(c){f=c.stack,!f&&window.opera&&(f=(String(c).match(/of linked script \S+/g)||
[]).join(" "))}if(f)return f=f.split(/[@ ]/g).pop(),f="("===f[0]?f.slice(1,-1):f.replace(/\s/,""),f.replace(/(:\d+)?:\d+$/i,"");f=(b?document:S).getElementsByTagName("script");for(var h=0,m;m=f[h++];)if((b||m.className===la)&&"interactive"===m.readyState)return m.className=m.src}function ma(b,f){for(var c in b)if("\u53f8\u5f92\u6b63\u7f8e"===b[c]&&2!==B[c].state&&(c===f||ma(B[c].deps,f)))return!0}function X(){var b=Y.length,f;a:for(;f=Y[--b];){f=B[f];var c=f.deps,h;for(h in c)if(V.call(c,h)&&2!==
B[h].state)continue a;2!==f.state&&(Y.splice(b,1),na(f.id,f.args,f.factory),X())}}function oa(b,f,c){var h=b.src;b.onload=b.onreadystatechange=b.onerror=null;if(f||c&&!B[h].state)setTimeout(function(){S.removeChild(b)}),t.log("\u52a0\u8f7d "+h+" \u5931\u8d25"+f+" "+!B[h].state,7);else return!0}function sa(b,f,c,h){if(/^(mass|ready)$/.test(b))return b;if(t.config.alias[b])c=t.config.alias[b],"object"===typeof c&&(h=c,c=c.src);else if(/^(\w+)(\d)?:.*/.test(b))c=b;else{f=f.substr(0,f.lastIndexOf("/"));
var m=b.charAt(0);if("."!==m&&"/"!==m)c=T+b;else if("./"===b.slice(0,2))c=f+b.slice(1);else if(".."===b.slice(0,2)){var r=f.replace(/\/$/,"").split("/"),m=b.replace(/\.\.\//g,function(){r.pop();return""});c=r.join("/")+"/"+m}else"/"===m?c=f+b:t.error("\u4e0d\u7b26\u5408\u6a21\u5757\u6807\u8bc6\u89c4\u5219: "+b)}var n=c.replace(/[?#].*/,""),k;/\.(css|js)$/.test(n)&&(k=RegExp.$1);k||(n+=".js",k="js");if("js"===k)return B[n]||(B[n]={id:n,parent:f,exports:{}},h?require(h.deps||"",function(){pa(n,function(){B[n].state=
2;B[n].exports=window[h.exports];X()})}):pa(n)),n;ta(n)}function pa(b,f){var c=x.createElement("script");c.className=la;c[N?"onload":"onreadystatechange"]=function(){if(N||/loaded|complete/i.test(c.readyState)){var b=$.pop();b&&b.delay(c.src);f&&f();oa(c,!1,!N)&&t.log("\u5df2\u6210\u529f\u52a0\u8f7d "+c.src,7)}};c.onerror=function(){oa(c,!0)};c.src=b;S.insertBefore(c,S.firstChild);t.log("\u6b63\u51c6\u5907\u52a0\u8f7d "+c.src,7)}function ta(b){var f=b.replace(aa,"");if(!x.getElementById(f)){var c=
x.createElement("link");c.rel="stylesheet";c.href=b;c.id=f;S.insertBefore(c,S.firstChild)}}function na(b,f,c){for(var h=0,m=[],r;r=f[h++];)m.push(B[r].exports);f=Object(B[b]);c=c.apply(P,m);f.state=2;void 0!==c&&(B[b].exports=c);return c}function Z(){B.ready.state=2;X();ba&&t.unbind(x,qa,ba);Z=t.noop}function ca(){try{da.doScroll("left"),Z()}catch(b){setTimeout(ca)}}var ea=P.$,aa=/(#.+|\W)/g,fa=x.URL.replace(aa,""),O=P[fa],N=x.dispatchEvent,da=x.documentElement,S=x.head||x.getElementsByTagName("head")[0],
Y=[],$=[],E="",ua=1E5,ia="mass,lang,class,flow,data,support,query,node,attr,css,event,ajax,fx",la="mass"+(new Date-0),V=Object.prototype.hasOwnProperty,ga={"[object HTMLDocument]":"Document","[object HTMLCollection]":"NodeList","[object StaticNodeList]":"NodeList","[object DOMWindow]":"Window","[object global]":"Window","null":"Null",NaN:"NaN",undefined:"Undefined"},ra=ga.toString,T,L;"function"!==typeof O&&(O=t,O.uuid=1);if(1!==O.mass){O[1]=t;if(O.mass||ea&&null==ea.mass)E="1".replace(/\D/g,"");
ja(t,{html:da,head:S,mix:ja,rword:/[^, ]+/g,rmapper:/(\w+)_(\w+)/g,mass:1,hasOwn:function(b,f){return V.call(b,f)},"@bind":N?"addEventListener":"attachEvent",slice:N?function(b,f,c){return $.slice.call(b,f,c)}:function(b,f,c){var h=[],m=b.length;if(void 0===c||"number"===typeof c&&isFinite(c)){f=parseInt(f,10)||0;c=void 0==c?m:parseInt(c,10);0>f&&(f+=m);c>m&&(c=m);0>c&&(c+=m);for(m=f;m<c;++m)h[m-f]=b[m]}return h},getUid:N?function(b){return b.uniqueNumber||(b.uniqueNumber=O.uuid++)}:function(b){if(1!==
b.nodeType)return b.uniqueNumber||(b.uniqueNumber=O.uuid++);var f=b.getAttribute("uniqueNumber");f||(f=O.uuid++,b.setAttribute("uniqueNumber",f));return+f},bind:N?function(b,f,c,h){b.addEventListener(f,c,!!h);return c}:function(b,f,c){b.attachEvent&&b.attachEvent("on"+f,c);return c},unbind:N?function(b,f,c,h){b.removeEventListener(f,c||t.noop,!!h)}:function(b,f,c){b.detachEvent&&b.detachEvent("on"+f,c||t.noop)},type:function(b,f){var c=ga[null==b||b!==b?b:ra.call(b)]||b.nodeName||"#";"#"===c.charAt(0)&&
(c=b==b.document&&b.document!=b?"Window":9===b.nodeType?"Document":b.callee?"Arguments":isFinite(b.length)&&b.item?"NodeList":ra.call(b).slice(8,-1));return f?f===c:c},log:function(b,f,c){for(var h=1,m=!0;h<arguments.length;h++)c=arguments[h],"number"===typeof c?m=c<=t.config.level:!0===c&&(f=!0);m&&(!0===f?t.require("ready",function(){var c=x.createElement("pre");c.className="mass_sys_log";c.innerHTML=b+"";x.body.appendChild(c)}):window.opera?opera.postError(b):P.console&&(console.info&&console.log)&&
console.log(b));return b},oneObject:function(b,f){"string"===typeof b&&(b=b.match(t.rword)||[]);for(var c={},h=void 0!==f?f:1,m=0,r=b.length;m<r;m++)c[b[m]]=h;return c},config:function(b){for(var f in b)if(V.call(b,f)){var c=b[f];if("function"===typeof L.plugin[f])L.plugin[f](c);else L[f]=c}return this},exports:function(b){P.$=ea;b=b||t.config.nick;t.config.nick=b;P[fa]=O;return P[b]=this},noop:function(){},error:function(b,f){throw new (f||Error)(b);}});(function(){var b=ka(!0);b||(b=t.slice(document.scripts).pop().src);
var f=b.replace(/[?#].*/,"");L=t.config;L.plugin={};L.alias={};T=L.base=f.slice(0,f.lastIndexOf("/")+1);for(var f=x.getElementsByTagName("script"),c=0,h;h=f[c++];)if(h.src===b){L.nick=h.getAttribute("nick")||"$";break}L.level=9})();L.plugin.alias=function(b){var f=L.alias,c;for(c in b)if(V.call(b,c)){var h=b[c];f[c]&&t.error("\u6ce8\u610f"+c+"\u51fa\u7ecf\u91cd\u5199\u8fc7");f[c]=h}};"Boolean,Number,String,Function,Array,Date,RegExp,Window,Document,Arguments,NodeList".replace(t.rword,function(b){ga["[object "+
b+"]"]=b});var B=t.modules={ready:{exports:t},mass:{state:2,exports:t}};window.require=t.require=function(b,f,c){var h={},m=[],r=0,n=0,k=c||"cb"+(ua++).toString(32);c=c||T;String(b).replace(t.rword,function(b){if(b=sa(b,c))r++,B[b]&&2===B[b].state&&n++,h[b]||(m.push(b),h[b]="\u53f8\u5f92\u6b63\u7f8e")});B[k]={id:k,factory:f,deps:h,args:m,state:1};r===n?na(k,m,f):Y.unshift(k);X()};require.config=L;window.define=t.define=function(b,f,c){var h=t.slice(arguments);if("string"===typeof b)var m=h.shift();
if("boolean"===typeof h[0]){if(h[0])return;h.shift()}"function"===typeof h[0]&&h.unshift([]);b=B[b]&&1<=B[b].state?m:ka();c=h[1];c.id=m;c.delay=function(b){h.push(b);try{ma(B[b].deps,b)&&t.error(b+"\u6a21\u5757\u4e0e\u4e4b\u524d\u7684\u67d0\u4e9b\u6a21\u5757\u5b58\u5728\u5faa\u73af\u4f9d\u8d56")}catch(f){t.error(b+"\u6a21\u5757\u4e0e\u4e4b\u524d\u7684\u67d0\u4e9b\u6a21\u5757\u5b58\u5728\u5faa\u73af\u4f9d\u8d56")}delete c.delay;require.apply(null,h)};b?c.delay(b,h):$.push(c)};t.define.amd=B;ia.replace(t.rword,
function(b){t.config.alias["$"+b]=T+b+".js"});var ba,qa=N?"DOMContentLoaded":"readystatechange";if(!x.readyState)var va=x.readyState="loading";if("complete"===x.readyState)Z();else if(t.bind(x,qa,ba=function(){if(N||"complete"===x.readyState)Z(),va&&(x.readyState="complete")}),da.doScroll)try{self.eval===parent.eval&&ca()}catch(ya){ca()}P.VBArray&&"abbr,article,aside,audio,base,bdi,canvas,data,datalist,details,figcaption,figure,footer,header,hgroup,m,mark,meter,nav,output,progress,section,summary,time,video".replace(t.rword,
function(b){x.createElement(b)});t.bind(P,"popstate",function(){fa=x.URL.replace(aa,"");t.exports()});t.exports(t.config.nick+E);E=function(b){for(var f=[T+b+".js"],c=1;c<arguments.length;c++){var h=arguments[c];"string"!==typeof h&&f.push(h)}return t.define.apply(t,f)};"lang,class,flow,data,query,support,css,attr,node,event,fx,ajax".replace(t.rword,function(b){B[T+b+".js"]={state:1}});E("lang",Array.isArray?["mass"]:["lang_fix"],function(b){function f(b,d,e){b[d]||l(b,d,{configurable:!0,enumerable:!1,
writable:!0,value:e})}function c(G){var d=b.type(G);switch(d){case "Array":case "Object":return b[d].clone(G);default:return G}}function h(G,d,e){b.isPlainObject(G[d])?b.Object.merge(G[d],e):G[d]=c(e);return G}var m=this,r=m.execScript?"execScript":"eval",n=/\\?\#{([^{}]+)\}/gm,k=(m.open+"").replace(/open/g,""),l=Object.defineProperty;try{l({},"a",{get:function(){}}),b.supportDefineProperty=!0}catch(d){f=function(b,d,e){b[d]||(b[d]=e)}}var e={isPlainObject:function(G){if(!b.type(G,"Object")||b.isNative("reload",
G))return!1;try{for(var d in G)if(!Object.prototype.hasOwnProperty.call(G,d))return!1}catch(e){return!1}return!0},isNative:function(b,d){var e=d?d[b]:!1,g=RegExp(b,"g");return!(!e||!("string"!=typeof e&&k===(e+"").replace(g,"")))},isEmptyObject:function(b){for(var d in b)return!1;return!0},isArrayLike:function(G,d){var e=b.type(G);return"Array"===e||"Arguments"===e||"NodeList"===e||d&&"String"===e?!0:"Object"===e?(e=G.length,0<=e&&0===e%1&&G.hasOwnProperty("0")):!1},isFunction:function(b){return"[object Function]"===
e.toString.call(b)},isArray:Array.isArray,each:function(d,e,v,g){var c,f=0,h=[];if(b.isArrayLike(d))for(var m=d.length;f<m;f++)if(c=e.call(v||d[f],f,d[f]),g)null!=c&&(h[h.length]=c);else{if(!1===c)break}else for(f in d)if(c=e.call(v||d[f],f,d[f]),g)null!=c&&(h[h.length]=c);else if(!1===c)break;return g?h:d},map:function(d,e,g){return b.each(d,e,g,!0)},filter:function(b,d,e){for(var g=0,c=b.length,f=[];g<c;g++)if(d.call(e||b[g],b[g],g))f[f.length]=b[g];return f},format:function(d,e){var g=b.slice(arguments,
1);return d.replace(n,function(b,d){if("\\"===b.charAt(0))return b.slice(1);var G=Number(d);return 0<=G?g[G]:e&&void 0!==e[d]?e[d]:""})},range:function(b,d,e){e||(e=1);null==d&&(d=b||0,b=0);var g=-1;d=Math.max(0,Math.ceil((d-b)/e));for(var c=Array(d);++g<d;)c[g]=b,b+=e;return c},quote:String.quote||JSON.stringify,dump:function(d){var e=b.isNative("parse",window.JSON)?4:"\r\t",g=[];d=JSON.stringify(d,function(b,d){if("object"===typeof d&&null!==d){if(-1!==g.indexOf(d))return;g.push(d)}return"function"===
typeof d?d+"":d},e);g=[];return d},parseJS:function(b){if(b&&/\S/.test(b))try{m[r](b)}catch(d){}},parseJSON:function(d){try{return m.JSON.parse(d.trim())}catch(e){b.error("Invalid JSON: "+d,TypeError)}},parseXML:function(d,e,g){try{var c=document.documentMode;m.DOMParser&&(!c||8<c)?(g=new DOMParser,e=g.parseFromString(d,"text/xml")):(e=new ActiveXObject("Microsoft.XMLDOM"),e.async="false",e.loadXML(d))}catch(f){e=void 0}(!e||!e.documentElement||e.getElementsByTagName("parsererror").length)&&b.error("Invalid XML: "+
d,TypeError);return e}};b.mix(e,!1);(function(b,d){for(var e in d)f(b,e,d[e])})(String.prototype,{repeat:function(b){for(var d="",e=this;0<b;)b&1&&(d+=e),e+=e,b>>=1;return d},startsWith:function(b){return 0===this.indexOf(b)},endsWith:function(b){return this.lastIndexOf(b)===this.length-b.length},contains:function(b,d){return-1!=="".indexOf.call(this,b,d>>0)}});"String,Array,Number,Object".replace(b.rword,function(d){b[d]=function(e){var g="string"==typeof e;(g?e.match(b.rword):Object.keys(e)).forEach(function(c){b[d][c]=
g?function(d){return d[c].apply(d,b.slice(arguments,1))}:e[c]})}});b.String({byteLen:function(b){return b.replace(/[^\x00-\xff]/g,"ci").length},truncate:function(b,d,e){d=d||30;e=void 0===e?"...":e;return b.length>d?b.slice(0,d-e.length)+e:String(b)},camelize:function(b){return 0>b.indexOf("-")&&0>b.indexOf("_")?b:b.replace(/[-_][^-_]/g,function(b){return b.charAt(1).toUpperCase()})},underscored:function(b){return b.replace(/([a-z\d])([A-Z]+)/g,"$1_$2").replace(/\-/g,"_").toLowerCase()},capitalize:function(b){return b.charAt(0).toUpperCase()+
b.substring(1).toLowerCase()},stripTags:function(b){return b.replace(/<[^>]+>/g,"")},stripScripts:function(b){return b.replace(/<script[^>]*>([\S\s]*?)<\/script>/img,"")},escapeHTML:function(b){return b.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},unescapeHTML:function(b){return b.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/&#([\d]+);/g,function(b,d){return String.fromCharCode(parseInt(d,
10))})},escapeRegExp:function(b){return(b+"").replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")},pad:function(b,d,e,g,c){b=b.toString(c||10);for(e=e||"0";b.length<d;)b=g?b+e:e+b;return b}});b.String("charAt,charCodeAt,concat,indexOf,lastIndexOf,localeCompare,match,contains,endsWith,startsWith,repeat,replace,search,slice,split,substring,toLowerCase,toLocaleLowerCase,toUpperCase,trim,toJSON");b.Array({contains:function(b,d){return!!~b.indexOf(d)},removeAt:function(b,d){return!!b.splice(d,1).length},remove:function(d,
e){var g=d.indexOf(e);return~g?b.Array.removeAt(d,g):!1},shuffle:function(b){var d=[],e=b.length,g;for(b=b.slice(0);0<=--e;)g=Math.floor(Math.random()*e),d[d.length]=b[g],b[g]=b[e];return d},random:function(d){return b.Array.shuffle(d.concat())[0]},flatten:function(d){var e=[],g=b.Array.flatten;d.forEach(function(b){Array.isArray(b)?e=e.concat(g(b)):e.push(b)});return e},compact:function(b){return b.filter(function(b){return null!=b})},sortBy:function(d,e,g){d=d.map(function(b,d){return{el:b,re:e.call(g,
b,d)}}).sort(function(b,d){var e=b.re,g=d.re;return e<g?-1:e>g?1:0});return b.Array.pluck(d,"el")},pluck:function(b,d){var e=[],g;b.forEach(function(b){g=b[d];null!=g&&e.push(g)});return e},unique:function(b){var d=[],e=b.length,g,c;for(g=0;g<e;g++){for(c=g+1;c<e;c++)b[g]===b[c]&&(c=++g);d.push(b[g])}return d},merge:function(b,d){for(var e=~~b.length,g=0,c=d.length;g<c;g++)b[e++]=d[g];b.length=e;return b},union:function(d,e){return b.Array.unique(b.Array.merge(d,e))},intersect:function(b,d){return b.filter(function(b){return~d.indexOf(b)})},
diff:function(b,d){for(var e=b.slice(),g=0;g<e.length;g++)for(var c=0;c<d.length;c++)if(e[g]===d[c]){e.splice(g,1);g--;break}return e},min:function(b){return Math.min.apply(0,b)},max:function(b){return Math.max.apply(0,b)},clone:function(b){for(var d=b.length,e=[];d--;)e[d]=c(b[d]);return e},ensure:function(b,d){~b.indexOf(d)||b.push(d);return b},inGroupsOf:function(b,d,e){var g=b.length,c=Math.ceil(g/d),f=void 0!==e,h=[],m,n,q;for(m=0;m<c;m++){h[m]=[];for(n=0;n<d;n++)q=m*d+n,q===g?f&&(h[m][n]=e):
h[m][n]=b[q]}return h}});b.Array("concat,join,pop,push,shift,slice,sort,reverse,splice,unshift,indexOf,lastIndexOf,every,some,filter,reduce,reduceRight");var g={limit:function(b,d,e){d=[d,e].sort();b<d[0]&&(b=d[0]);b>d[1]&&(b=d[1]);return b},nearer:function(b,d,e){var g=Math.abs(b-d);b=Math.abs(b-e);return g<b?d:e},round:function(b,d){return d?(d=Math.pow(10,d),Math.round(b*d)/d):Math.round(b)}};"abs,acos,asin,atan,atan2,ceil,cos,exp,floor,log,pow,sin,sqrt,tan".replace(b.rword,function(b){g[b]=Math[b]});
b.Number(g);b.Number("toFixed,toExponential,toPrecision,toJSON");b.Object({subset:function(b,d){var e={};d.forEach(function(d){e[d]=b[d]});return e},forEach:function(b,d){Object.keys(b).forEach(function(e){d(b[e],e)})},map:function(b,d){return Object.keys(b).map(function(e){return d(b[e],e)})},clone:function(b){var d={},e;for(e in b)d[e]=c(b[e]);return d},merge:function(b,d,e){var g,c;if("string"===typeof d)return h(b,d,e);for(var f=1,m=arguments.length;f<m;f++)for(c in g=arguments[f],g)void 0!==
g[c]&&h(b,c,g[c]);return b}});b.Object("hasOwnerProperty,isPrototypeOf,propertyIsEnumerable");return b});E("support",["mass"],function(b){var f=document,c=f.createElement("div");c.setAttribute("className","t");c.innerHTML=' <link/><a href="/nasami" style="float:left;opacity:.25;">d</a><object><param/></object><table></table><input type="checkbox" checked/>';var h=c.getElementsByTagName("a")[0],m=h.style,r=f.createElement("select"),n=c.getElementsByTagName("input")[0],k=r.appendChild(f.createElement("option")),
l=b.support={insertTbody:!c.getElementsByTagName("tbody").length,checkOn:"on"===n.value,optSelected:!!k.selected,attrInnateHref:"/nasami"===h.getAttribute("href"),attrInnateStyle:h.getAttribute("style")!==m,attrInnateName:"t"!==c.className,attrInnateValue:""==n.getAttribute("checked"),cssOpacity:"0.25"==m.opacity,cssFloat:!!m.cssFloat,traverseAll:!!c.getElementsByTagName("param").length,noscope:!c.getElementsByTagName("link").length,cloneHTML5:"<:nav></:nav>"!==f.createElement("nav").cloneNode(!0).outerHTML,
focusin:"attachEvent"===b["@bind"],innerHTML:!1,insertAdjacentHTML:!1,fastFragment:!1,inlineBlock:!0,pixelPosition:!0,transition:!1};n.checked=!0;l.cloneChecked=!0===n.cloneNode(!0).checked;l.appendChecked=n.checked;r.disabled=!0;l.optDisabled=!k.disabled;c.style.backgroundClip="content-box";c.cloneNode(!0).style.backgroundClip="";l.cloneBackgroundStyle="content-box"===c.style.backgroundClip;h=c.getElementsByTagName("table")[0];try{h.innerHTML="<tr><td>1</td></tr>",l.innerHTML=!0,h.insertAdjacentHTML("afterBegin",
"<tr><td>2</td></tr>"),l.insertAdjacentHTML=!0}catch(d){}h=r=h=k=m=null;require("ready",function(){var d=f.body;if(d){try{var g=f.createRange();g.selectNodeContents(d.firstChild||d);l.fastFragment=!!g.createContextualFragment("<a>");b.cachedRange=g}catch(h){}c.style.cssText="position:absolute;top:-1000px;left:-1000px;";d.insertBefore(c,d.firstChild);g='<div style="height:20px;display:inline-block"></div>';c.innerHTML=g+g;l.inlineBlock=40>c.offsetHeight;window.getComputedStyle&&(c.style.top="1%",g=
window.getComputedStyle(c,null)||{},l.pixelPosition="1%"!==g.top);c.innerHTML="<a href='#'></a>";l.focusin||(g=c.firstChild,g.addEventListener("focusin",function(){l.focusin=!0},!1),g.focus());c.style.width=c.style.paddingLeft="10px";l.boxModel=20===c.offsetWidth;d.removeChild(c);c=null}});return b});E("class",["lang"],function(b){function f(){}function c(c){return b.factory(this,c)}var h=/mass/.test(function(){1})?/\b_super|_superApply\b/:/.*/,m={inherit:function(c,h){if("function"==typeof c){for(var k in c)this[k]=
c[k];f.prototype=c.prototype;this.prototype=new f;this._super=c;this.__init__||(this.__init__=[c])}this.__init__=(this.__init__||[]).concat();h&&this.__init__.push(h);this.toString=function(){return(h||f)+""};k=this.fn=this.prototype;k.extend=m.extend;k.setOptions=function(){var c=arguments[0];"string"===typeof c?(c=this[c]||(this[c]={}),[].splice.call(arguments,0,1,c)):[].unshift.call(arguments,this);b.Object.merge.apply(null,arguments);return this};return k.constructor=this},extend:function(b){var c=
this;Object.keys(b).forEach(function(f){var m=c[f],d=b[f];if("funciton"===typeof m&&"function"===typeof d&&h.test(d)){var e=function(){return m.apply(this,arguments)},g=function(b){return m.apply(this,b)};c[f]=function(){var b=this._super,c=this._superApply;this._super=e;this._superApply=g;var f=d.apply(this,arguments);this._super=b;this._superApply=c;return f}}else c[f]=d});return this}};b.factory=function(f,h){1===arguments.length&&(h=f,f=null);var k=h.statics,l=h.init;delete h.init;delete h.statics;
var d=function(){for(var b=0,e;e=d.__init__[b++];)e.apply(this,arguments)};m.inherit.call(d,f,l);var l=d.fn,e=d.__init__;b.mix(d,k);d.prototype=d.fn=l;d.__init__=e;d.fn.extend(h);d.mix=b.mix;d.extend=c;return d};b.mix(b.factory,m);return b});E("attr",this.getComputedStyle?["node"]:["attr_fix"],function(b){function f(b,e){var g=b.tagName+":"+e;return g in k?k[g]:k[g]=document.createElement(b.tagName)[e]}function c(b){var e=b.tagName.toLowerCase();return"input"===e&&/checkbox|radio/.test(b.type)?"checked":
e}var h=/\r/g,m=/^(a|area|button|input|object|select|textarea)$/i,r=/\S+/g,n=b.support,k={};b.fn.extend({addClass:function(b){if("string"==typeof b)for(var e=0,g;g=this[e++];)if(1===g.nodeType)if(g.className){var c=(g.className+" "+b).match(r);c.sort();for(var f=c.length-1;0<f;--f)c[f]===c[f-1]&&c.splice(f,1);g.className=c.join(" ")}else g.className=b;return this},removeClass:function(b){if(b&&"string"===typeof b||void 0===b)for(var e=(b||"").match(r),g=e.length,c=0,f;f=this[c++];)if(1===f.nodeType&&
f.className)if(b){for(var h=" "+f.className.match(r).join(" ")+" ",m=0;m<g;m++)h=h.replace(" "+e[m]+" "," ");f.className=h.slice(1,h.length-1)}else f.className="";return this},hasClass:function(d,e){var g=RegExp("(\\s|^)"+d+"(\\s|$)");return b.slice(this)[!0===e?"every":"some"](function(b){return(b.className||"").match(g)})},toggleClass:function(d,e){var g=typeof d,c="string"===g&&d.match(r)||[],f,h,m="boolean"===typeof e;return this.each(function(n,k){h=0;if(1===k.nodeType){var r=b(k),l=e;if("string"===
g)for(;f=c[h++];)l=m?l:!r.hasClass(f),r[l?"addClass":"removeClass"](f);else if("undefined"===g||"boolean"===g)k.className&&b._data(k,"__className__",k.className),k.className=k.className||!1===d?"":b._data(k,"__className__")||""}})},replaceClass:function(b,e){for(var g=0,c;c=this[g++];)if(1===c.nodeType&&c.className){for(var f=c.className.match(r),h=[],m=0;m<f.length;m++)h.push(f[m]===b?e:f[m]);c.className=h.join(" ")}return this},val:function(d){var e=l["option:get"];arguments.length&&(d=Array.isArray(d)?
d.map(function(b){return null==b?"":b+""}):isFinite(d)?d+"":d||"");return b.access(this,function(g){if(this===b)return g=(l[c(g)+":get"]||b.propHooks["@default:get"])(g,"value",e),"string"===typeof g?g.replace(h,""):null==g?"":g;1===g.nodeType&&(l[c(g)+":set"]||b.propHooks["@default:set"])(g,"value",d,e)},0,arguments)}});b.mix({fixDefault:b.noop,propMap:{"accept-charset":"acceptCharset","char":"ch",charoff:"chOff","class":"className","for":"htmlFor","http-equiv":"httpEquiv"},prop:function(d,e,g){if(b["@bind"]in
d){1===d.nodeType&&!b.isXML(d)&&(e=b.propMap[e.toLowerCase()]||e);var c=void 0===g?"get":"set";return(b.propHooks[e+":"+c]||b.propHooks["@default:"+c])(d,e,g)}},attr:function(d,e,c){if(b["@bind"]in d){if("undefined"===typeof d.getAttribute)return b.prop(d,e,c);var h=!b.isXML(d),m="@w3c";if(h){e=e.toLowerCase();var k=b.propMap[e]||e;n.attrInnateName||(m="@ie");var l="boolean"===typeof d[k]&&"boolean"===typeof f(d,k)}if(h){if(null===c||!1===c&&l)return b.removeAttr(d,e)}else if(null===c)return d.removeAttribute(e);
var r=void 0===c?"get":"set";l&&(m="@bool",e=k);return(h&&b.attrHooks[e+":"+r]||b.attrHooks[m+":"+r])(d,e,c)}},removeProp:function(d,e){1===d.nodeType?(n.attrInnateName||(e=b.propMap[e.toLowerCase()]||e),d[e]=f(d,e)):d[e]=void 0},removeAttr:function(d,e){e&&1===d.nodeType&&(e=e.toLowerCase(),n.attrInnateName||(e=b.propMap[e]||e),"boolean"!==typeof d[e]&&d.setAttribute(e,""),d.removeAttribute(e),!0===d[e]&&(d[e]=!1,b.fixDefault(d,e,!1)))},propHooks:{"@default:get":function(b,e){return b[e]},"@default:set":function(b,
e,c){b[e]=c},"tabIndex:get":function(b){var e=b.tabIndex;0===e&&(e=m.test(b.nodeName)?0:-1);return e}},attrHooks:{"@w3c:get":function(b,e){var c=b.getAttribute(e);return null==c?void 0:c},"@w3c:set":function(b,e,c){b.setAttribute(e,""+c)},"@bool:get":function(b,e){return b[e]?e.toLowerCase():void 0},"@bool:set":function(d,e){d.setAttribute(e,e.toLowerCase());d[e]=!0;b.fixDefault(d,e,!0)}}});"Attr,Prop".replace(b.rword,function(d){b.fn[d.toLowerCase()]=function(e,c){return b.access(this,b[d.toLowerCase()],
e,arguments)};b.fn["remove"+d]=function(e){return this.each(function(){b["remove"+d](this,e)})}});"accessKey,allowTransparency,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan,contentEditable,dateTime,defaultChecked,defaultSelected,defaultValue,frameBorder,isMap,longDesc,maxLength,marginWidth,marginHeight,noHref,noResize,noShade,readOnly,rowSpan,tabIndex,useMap,vSpace,valueType,vAlign".replace(b.rword,function(d){b.propMap[d.toLowerCase()]=d});n.optSelected||(b.propHooks["selected:get"]=
function(b){for(var e=b;"number"!==typeof e.selectedIndex;e=e.parentNode);return b.selected});var l={"option:get":function(b){var e=b.attributes.value;return!e||e.specified?b.value:b.text},"select:get":function(b,e,c){for(var f=b.options,h=b.selectedIndex,m=(b="select-one"===b.type||0>h)?null:[],k=b?h+1:f.length,l=0>h?k:b?h:0;l<k;l++)if(e=f[l],(e.selected||l===h)&&!(n.optDisabled?e.disabled:/ disabled=/.test(e.outerHTML.replace(e.innerHTML,"")))){e=c(e);if(b)return e;m.push(e)}return m},"select:set":function(b,
e,c,f){c=[].concat(c);e=0;for(var h;h=b.options[e++];)h.selected=!!~c.indexOf(f(h));c.length||(b.selectedIndex=-1)}};n.checkOn||(l["checked:get"]=function(b){return null===b.getAttribute("value")?"on":b.value});l["checked:set"]=function(b,e,c){if(Array.isArray(c))return b.checked=!!~c.indexOf(b.value)};"function"===typeof b.fixIEAttr&&b.fixIEAttr(l,b.attrHooks);return b});E("flow",["class"],function(b){b.Observer=b.factory({init:function(b){this._events={};if("string"===b){this._target=this;var c=
this;b.replace(/(\w+)(?:\(([^\)]+)\))*/ig,function(b,f,h){isFinite(h)?c[b]=+h:c[b]=h||!0})}else this._target=b},bind:function(b,c){var f=this._events[b];f?f.push(c):this._events[b]=[c];return this},once:function(b,c){var f=this,n=function(){c.apply(f,arguments);f.unbind(b,n)};this.bind(b,n);return this},unbind:function(b,c){var f=arguments.length;if(0===f)this._events={};else if(1===f)this._events[b]=[];else for(var f=this._events[b]||[],n=f.length;-1<--n;)if(f[n]===c)return f.splice(n,1);return this},
fire:function(c){var f=(this._events[c]||[]).concat();if(f.length){var r=this._target,n=b.slice(arguments);this.rawFire?n.shift():n[0]={type:c,target:r};for(var k=0,l;l=f[k++];)l.apply(r,n)}}});b.Flow=b.Observer.extend({init:function(b){this._fired={}},fire:function(c,m){for(var r=this._events,n=2,k,l;n--;)if(l=n?c:f,(k=r[l])&&k.length){m=b.slice(arguments,1);n&&(this._events[l]&&(this._fired[l]=m.concat()),m.unshift({type:c,target:this._target}));l=0;for(var d;d=k[l++];)d.apply(this,m)}else break;
return this},refresh:function(){Array.prototype.push.call(arguments,!1);c.apply(this,arguments);return this},reload:function(){Array.prototype.push.call(arguments,!0);c.apply(this,arguments);return this},order:function(b){if(this._events[b]){var c=this._queue.shift();this.timestamp||(this.timestamp=new Date-0);var f=!0;this.timeout&&new Date-this.timestamp>this.timeout&&(f=!1);b===c&&f?this.fire.apply(this,arguments):(this._queue=this._order.concat(),this._fired={},delete this.timestamp)}},repeat:function(c,
f,r){var n=f,k=[];this.bind(c,function(){k.push.apply(k,b.slice(arguments,1));0===--f&&(r.apply(this._target,k),f=n,k=[])});return this},done:function(c){var f=this;return function(r,n){if(r)return f.fire("error",r);if("string"===typeof c)return f.fire(c,n);if(2>=arguments.length)return c(n);var k=b.slice(arguments,1);c.apply(null,k)}},fail:function(b){var c=this;c.once("error",function(f){c.unbind();b(f)});return this}});b.Flow.create=function(c,f,r){var n=new b.Flow;c=c.match(b.rword)||[];"function"===
typeof r&&n.fail(r);c.push(f);n.refresh.apply(n,c);return n};var f="$"+Date.now(),c=function(c,m,r){function n(b){k.bind(b,function(){d[b]||(d[b]=!0,l++)})}var k=this,l=0,d={},e=c.match(b.rword),g=e.length;if(!e.length)return this;this._queue=e.concat();this._order=e;for(c=0;c<g;c++)n(e[c]);k.bind(f,function(){if(!(l<g)){for(var b=[],c=0;c<g;c++)b.push.apply(b,k._fired[e[c]]);r&&(d={},l=0);m.apply(k,b)}})};return b});E("ajax",this.FormData?["flow"]:["ajax_fix"],function(b){function f(d){d=b.Object.merge({},
K,d);if("boolean"!==typeof d.crossDomain){var p=G.exec(d.url.toLowerCase());d.crossDomain=!(!p||!(p[1]!==U[1]||p[2]!==U[2]||(p[3]||("http:"===p[1]?80:443))!==(U[3]||("http:"===U[1]?80:443))))}d.data&&"object"!==typeof d.data&&b.error("data\u5fc5\u987b\u4e3a\u5bf9\u8c61");p=b.param(d.data);d.querystring=p||"";d.url=d.url.replace(/#.*$/,"").replace(/^\/\//,U[1]+"//");d.type=d.type.toUpperCase();d.hasContent=!e.test(d.type);d.hasContent||(p&&(d.url+=(g.test(d.url)?"&":"?")+p),!1===d.cache&&(d.url+=(g.test(d.url)?
"&":"?")+"_time="+Date.now()));return d}function c(b){var d=typeof b;return null==b||"object"!==d&&"function"!==d}var h=this,m=h.document,r=/%20/g,n=/\r?\n/g,k=encodeURIComponent,l=decodeURIComponent,d=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,e=/^(?:GET|HEAD)$/,g=/\?/,G=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,U=G.exec(m.URL.toLowerCase())||[],v=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(U[1]),R=["XMLHttpRequest","ActiveXObject('Msxml2.XMLHTTP.6.0')","ActiveXObject('Msxml2.XMLHTTP.3.0')",
"ActiveXObject('Msxml2.XMLHTTP')"];"1"[0]||(R[0]="file:"===location.protocol?"!":R[0]);for(var D=0,C;C=R[D++];)try{if(eval("new "+C)){b.xhr=new Function("return new "+C);break}}catch(t){}var y={xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript",script:"text/javascript, application/javascript","*":["*/"]+["*"]},K={type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",async:!0,jsonp:"callback"};b.ajax=function(d){(!d||!d.url)&&
b.error("\u53c2\u6570\u5fc5\u987b\u4e3aObject\u5e76\u4e14\u62e5\u6709url\u5c5e\u6027");d=f(d);var e=new b.XMLHttpRequest(d);"complete success error".replace(b.rword,function(b){"function"===typeof d[b]&&(e.bind(b,d[b]),delete d[b])});var c=d.dataType,g=b.ajaxTransports;b.mix(e,g[d.form?"upload":c]||g.xhr);e.preproccess&&(c=e.preproccess()||c);d.contentType&&e.setRequestHeader("Content-Type",d.contentType);e.setRequestHeader("Accept",y[c]?y[c]+", */*; q=0.01":y["*"]);for(var h in d.headers)e.setRequestHeader(h,
d.headers[h]);d.async&&0<d.timeout&&(e.timeoutID=setTimeout(function(){e.abort("timeout")},d.timeout));e.request();return e};"get,post".replace(b.rword,function(d){b[d]=function(e,c,f,g){b.isFunction(c)&&(g=g||f,f=c,c=void 0);return b.ajax({type:d,url:e,data:c,success:f,dataType:g})}});b.mix({ajaxTransports:{xhr:{request:function(){var d=this,e=this.options;b.log("XhrTransport.request.....");var c=this.transport=new b.xhr;e.crossDomain&&!("withCredentials"in c)&&b.error("\u672c\u6d4f\u89c8\u5668\u4e0d\u652f\u6301crossdomain xhr");
e.username?c.open(e.type,e.url,e.async,e.username,e.password):c.open(e.type,e.url,e.async);this.mimeType&&c.overrideMimeType&&c.overrideMimeType(this.mimeType);this.requestHeaders["X-Requested-With"]="XMLHTTPRequest";for(var f in this.requestHeaders)c.setRequestHeader(f,this.requestHeaders[f]);f=this.options.dataType;"responseType"in c&&/^(blob|arraybuffer|text)$/.test(f)&&(c.responseType=f,this.useResponseType=!0);c.send(e.hasContent&&(this.formdata||this.querystring)||null);!e.async||4===c.readyState?
this.respond():null===c.onerror?c.onload=c.onerror=function(b){this.readyState=4;this.status="load"===b.type?200:500;d.respond()}:c.onreadystatechange=function(){d.respond()}},respond:function(d,e){var c=this.transport;if(c)try{var f=4===c.readyState;if(e||f)if(c.onerror=c.onload=c.onreadystatechange=b.noop,e)!f&&"function"===typeof c.abort&&c.abort();else{var g=c.status;this.responseText=c.responseText;try{var s=c.responseXML}catch(A){}this.useResponseType&&(this.response=c.response);s&&s.documentElement&&
(this.responseXML=s);this.responseHeadersString=c.getAllResponseHeaders();try{var h=c.statusText}catch(m){h="firefoxAccessError"}!g&&v&&!this.options.crossDomain?g=this.responseText?200:404:1223===g&&(g=204);this.dispatch(g,h)}}catch(n){e||this.dispatch(500,n+"")}}},jsonp:{preproccess:function(){var d=m.URL.replace(/(#.+|\W)/g,""),e=this.options,c=this.jsonpCallback=e.jsonpCallback||"jsonp"+setTimeout("1");e.url=e.url+(g.test(e.url)?"&":"?")+e.jsonp+"="+d+"."+c;h[d][c]=function(d){b[c]=d};return"script"}},
script:{request:function(){var d=this.options,e=this.transport=m.createElement("script");b.log("ScriptTransport.sending.....");d.charset&&(e.charset=d.charset);var c=this;e.onerror=e[null===e.onerror?"onload":"onreadystatechange"]=function(){c.respond()};e.src=d.url;b.head.insertBefore(e,b.head.firstChild)},respond:function(d,e){var c=this.transport;if(c){var f=/loaded|complete|undefined/i.test(c.readyState);if(e||f)c.onerror=c.onload=c.onreadystatechange=null,(f=c.parentNode)&&f.removeChild(c),e||
this.dispatch.apply(this,"function"===typeof b[this.jsonpCallback]?[500,"error"]:[200,"success"])}}},upload:{preproccess:function(){var d=this.options,e=new FormData(d.form);b.each(d.data,function(b,d){e.append(b,d)});this.formdata=e}}},ajaxConverters:{text:function(b){return b||""},xml:function(d,e){return void 0!==e?e:b.parseXML(d)},html:function(d){return b.parseHTML(d)},json:function(d){return b.parseJSON(d)},script:function(d){b.parseJS(d)},jsonp:function(){var d=b[this.jsonpCallback];delete b[this.jsonpCallback];
return d}},getScript:function(d,e){return b.get(d,null,e,"script")},getJSON:function(d,e,c){return b.get(d,e,c,"jsonp")},upload:function(d,e,c,f,g){b.isFunction(c)&&(g=f,f=c,c=void 0);return b.ajax({url:d,type:"post",dataType:g,form:e,data:c,success:f})},param:function(d,e){if(!b.isPlainObject(d))return"";e="boolean"===typeof e?e:!0;var f=[],g,h;for(g in d)if(d.hasOwnProperty(g))if(h=d[g],g=k(g),c(h))f.push(g,"=",k(h+""),"&");else if(Array.isArray(h)&&h.length)for(var s=0,A=h.length;s<A;s++)c(h[s])&&
f.push(g,e?k("[]"):"","=",k(h[s]+""),"&");f.pop();return f.join("").replace(r,"+")},unparam:function(d,e){var c={};if(!d||!b.type(d,"String"))return c;d=d.replace(/^[^?=]*\?/ig,"").split("#")[0];for(var f=d.split("&"),g,s,A,h=0,m=f.length;h<m;++h){g=f[h].split("=");s=l(g[0]);try{A=l(g[1]||"")}catch(n){b.log(n+"decodeURIComponent error : "+g[1],3),A=g[1]||""}s=s.replace(/\[\]$/,"");g=c[s];void 0===g?c[s]=A:Array.isArray(g)?g.push(A):c[s]=[g,A]}return e?c[e]:c},serialize:function(d){var e={};b.filter(d||
[],function(b){return b.name&&!b.disabled&&(!0===b.checked||/radio|checkbox/.test(b.type))}).forEach(function(d){var c=b(d).val(),c=Array.isArray(c)?c:[c],c=c.map(function(b){return b.replace(n,"\r\n")});d=e[d.name]||(e[d.name]=[]);d.push.apply(d,c)});return b.param(e,!1)}});R=b.ajaxTransports;b.mix(R.jsonp,R.script);b.mix(R.upload,R.xhr);b.XMLHttpRequest=b.factory(b.Observer,{init:function(d){b.mix(this,{responseHeadersString:"",responseHeaders:{},requestHeaders:{},querystring:d.querystring,readyState:0,
uniqueID:setTimeout("1"),status:0});this.addEventListener=this.bind;this.removeEventListener=this.unbind;this.setOptions("options",d)},setRequestHeader:function(b,d){this.requestHeaders[b]=d;return this},getAllResponseHeaders:function(){return 4===this.readyState?this.responseHeadersString:null},getResponseHeader:function(b,e){if(4===this.readyState){for(;e=d.exec(this.responseHeadersString);)this.responseHeaders[e[1]]=e[2];e=this.responseHeaders[b]}return void 0===e?null:e},overrideMimeType:function(b){this.mimeType=
b;return this},toString:function(){return"[object XMLHttpRequest]"},abort:function(b){this.transport&&this.respond(0,b||"abort");return this},dispatch:function(d,e){if(this.transport){this.readyState=4;var c="error";if(200<=d&&300>d||304===d)if(c="success",204===d)e="nocontent";else if(304===d)e="notmodified";else if("undefined"===typeof this.response){var f=this.options.dataType||this.options.mimeType;f||(f=this.getResponseHeader("Content-Type")||"",f=f.match(/json|xml|script|html/)||["text"],f=
f[0]);try{this.response=b.ajaxConverters[f].call(this,this.responseText,this.responseXML)}catch(g){c="error",e="parsererror : "+g}}this.status=d;this.statusText=e;this.timeoutID&&(clearTimeout(this.timeoutID),delete this.timeoutID);this.rawFire=!0;this._transport=this.transport;"success"===c?this.fire(c,this.response,e,this):this.fire(c,this,e);this.fire("complete",this,e);delete this.transport}}});"function"===typeof b.fixAjax&&b.fixAjax();return b});E("event",window.dispatchEvent?["node"]:["event_fix"],
function(b){function f(){try{return document.activeElement}catch(b){}}function c(d,e){if(!(this instanceof b.Event))return new c(d,e);this.originalEvent={};d&&d.type?(this.originalEvent=d,this.type=d.type):this.type=d;this.defaultPrevented=!1;e&&b.mix(this,e);this.timeStamp=new Date-0}var h=b.event={special:{load:{noBubble:!0},click:{trigger:function(){if("INPUT"===this.nodeName&&"checkbox"===this.type&&this.click)return this.click(),!1}},focus:{trigger:function(){if(this!==f()&&this.focus)return this.focus(),
!1},delegateType:"focusin"},blur:{trigger:function(){if(this===f()&&this.blur)return this.blur(),!1},delegateType:"focusout"},beforeunload:{postDispatch:function(b){void 0!==b.result&&(b.originalEvent.returnValue=b.result)}}},fixMouse:function(b,e){if("mousewheel"===b.type)if("wheelDelta"in e){var c=e.wheelDelta;window.opera&&10>opera.version()&&(c=-c);b.wheelDelta=Math.round(c)}else"detail"in e&&(b.wheelDelta=40*-e.detail)}},m=h.special,r=/^(?:focusinfocus|focusoutblur)$/,n=/^([^.]*)(?:\.(.+)|)$/,
k=b.eventMap=b.oneObject("contextmenu,click,dblclick,mouseout,mouseover,mouseenter,mouseleave,mousemove,mousedown,mouseup,mousewheel,","Mouse");b.eventSupport=function(d,e){e=e||b.html;d="on"+d;var c=d in e;e.setAttribute&&!c&&(e.setAttribute(d,""),c="function"===typeof e[d],e.removeAttribute(d));return c};c.prototype={toString:function(){return"[object Event]"},preventDefault:function(){this.defaultPrevented=!0;var b=this.originalEvent;b&&b.preventDefault&&b.preventDefault();b.returnValue=!1;return this},
stopPropagation:function(){var b=this.originalEvent;b&&b.stopPropagation&&b.stopPropagation();b.cancelBubble=this.propagationStopped=!0;return this},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=!0;this.stopPropagation();return this}};b.Event=c;b.mix(h,{add:function(d,e){var c=b._data(d),f=e.type,k=e.selector,l=e.handler;if(!(3===d.nodeType||8===d.nodeType||!f||!l)){e.uniqueNumber=b.getUid(l);var r=c.events||(c.events=[]),D=c.handle;D||(c.handle=D=function(d){return"undefined"!==
typeof b&&(!d||h.triggered!==d.type)?h.dispatch.apply(D.elem,arguments):void 0},D.elem=d);f.replace(b.rword,function(c){var f=n.exec(c)||[];c=f[1];var g=(f[2]||"").split(".").sort(),l=m[c]||{};c=(k?l.delegateType:l.bindType)||c;var l=m[c]||{},f=b.mix({},e,{type:c,origType:f[1],namespace:g.join(".")}),q=r[c];q||(q=r[c]=[],q.delegateCount=0,(!l.setup||!1===l.setup.call(d,g,D))&&b["@bind"]in d&&b.bind(d,c,D));l.add&&l.add.call(d,f);k?q.splice(q.delegateCount++,0,f):q.push(f);h.global[c]=!0});d=null}},
global:{},remove:function(d,e){var c=b._data(d),f,k;if(f=c.events){var l=e.selector,r=e.handler;(e.type||"").replace(b.rword,function(D){var C=n.exec(D)||[],t=k=C[1],C=C[2];if(t){D=m[t]||{};for(var t=(l?D.delegateType:D.bindType)||t,y=f[t]||[],B=y.length,C=C?RegExp("(^|\\.)"+C.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,q=0,p;q<y.length;q++)if(p=y[q],k===p.origType&&(!r||r.uniqueNumber===p.uniqueNumber)&&(!C||C.test(p.namespace))&&(!l||l===p.selector||"**"===l&&p.selector))y.splice(q--,
1),p.selector&&y.delegateCount--,D.remove&&D.remove.call(d,p);0===y.length&&B!==y.length&&((!D.teardown||!1===D.teardown.call(d,C,c.handle))&&b["@bind"]in d&&b.unbind(d,t,c.handle),delete f[t])}else for(t in f)h.unbind(d,b.mix({},e,{type:t+D}))});b.isEmptyObject(f)&&(delete c.handle,b._removeData(d,"events"))}},trigger:function(d){if(!this||!(3===this.nodeType||8===this.nodeType)){var e=b.hasOwn(d,"type")?d.type:d,c=b.hasOwn(d,"namespace")?d.namespace.split("."):[],f,n,k,l;if(!r.test(e+h.triggered)&&
(0<=e.indexOf(".")&&(c=e.split("."),e=c.shift(),c.sort()),this||h.global[e])){d="object"===typeof d?d.originalEvent?d:new b.Event(e,d):new b.Event(e);d.type=e;d.isTrigger=!0;d.namespace=c.join(".");d.namespace_re=d.namespace?RegExp("(^|\\.)"+c.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;n=0>e.indexOf(":")?"on"+e:"";d.result=void 0;d.target||(d.target=this);var t=b.slice(arguments);t[0]=d;var C=m[e]||{};if(!(C.trigger&&!1===C.trigger.apply(this,t))){l=[[this,C.bindType||e]];if(!C.noBubble&&!b.type(this,
"Window")){k=C.delegateType||e;c=r.test(k+e)?this:this.parentNode;for(f=this;c;c=c.parentNode)l.push([c,k]),f=c;if(f===(this.ownerDocument||document))l.push([f.defaultView||f.parentWindow||window,k])}for(f=0;f<l.length&&!d.propagationStopped;f++)c=l[f][0],d.type=l[f][1],(k=(b._data(c,"events")||{})[d.type]&&b._data(c,"handle"))&&k.apply(c,t),(k=n&&c[n])&&(k.apply&&!1===k.apply(c,t))&&d.preventDefault();d.type=e;if(!d.defaultPrevented&&(!C._default||!1===C._default.apply(this.ownerDocument,t))&&!("click"===
e&&"A"===this.nodeName)&&n&&b.isFunction(this[e])&&this.nodeType){(f=this[n])&&(this[n]=null);h.triggered=e;try{this[e]()}catch(B){}delete h.triggered;f&&(this[n]=f)}return d.result}}}},dispatch:function(d){var e=d.type,c=(b._data(this,"events")||{})[e]||[];if(c.length){var f=b.event.fix(d),n=c.delegateCount,k=b.slice(arguments),l=m[e]||{},r=[],t,B,y,x;k[0]=f;f.delegateTarget=this;if(!(l.preDispatch&&!1===l.preDispatch.call(this,f))){if(n&&!(f.button&&"click"===e))for(var q=f.target;q!=this;q=q.parentNode||
this)if(!0!==q.disabled||"click"!==e){t={};B=[];for(var p=0;p<n;p++)y=c[p],x=y.selector+" ",void 0===t[x]&&(t[x]=0<=b(x,this).index(q)),t[x]&&B.push(y);B.length&&r.push({elem:q,matches:B})}c.length>n&&r.push({elem:this,matches:c.slice(n)});for(p=0;p<r.length&&!f.propagationStopped;p++){c=r[p];f.currentTarget=c.elem;for(n=0;n<c.matches.length&&!f.isImmediatePropagationStopped;n++)if(y=c.matches[n],!f.namespace||f.namespace_re&&f.namespace_re.test(y.namespace))f.handleObj=y,e=((m[y.origType]||{}).handle||
y.handler).apply(c.elem,k),y.times--,0===y.times&&h.unbind(c.elem,y),void 0!==e&&(f.result=e,!1===e&&(f.preventDefault(),f.stopPropagation()))}l.postDispatch&&l.postDispatch.call(this,f);return f.result}}},fix:function(d){if(!d.originalEvent){var c=d;d=b.Event(c);for(var f in c)f in d||(d[f]=c[f]);d.target||(d.target=d.srcElement||document);3===d.target.nodeType&&(d.target=d.target.parentNode);d.metaKey=!!d.ctrlKey;f=h["fix"+k[d.type]];"function"===typeof f&&f(d,c)}return d}});h.bind=h.add;h.unbind=
h.remove;b.fn.extend({hover:function(b,c){return this.mouseenter(b).mouseleave(c||b)},delegate:function(b,c,f,h){return this.on(c,b,f,h)},live:function(d,c,f){b.log("$.fn.live() is deprecated");b(this.ownerDocument).on(d,this.selector,c,f);return this},one:function(b,c){return this.on(b,c,1)},undelegate:function(b,c,f){return 1===arguments.length?this.off(b,"**"):this.off(c,f,b)},die:function(d,c){b.log("$.fn.die() is deprecated");b(this.ownerDocument).off(d,c,this.selector||"**",c);return this},
fire:function(){var b=arguments;return this.each(function(){h.trigger.apply(this,b)})}});b.fn.trigger=b.fn.fire;"on_bind,off_unbind".replace(b.rmapper,function(d,c,f){b.fn[c]=function(d,n,m){if("object"===typeof d){for(var k in d)b.fn[c](this,k,n,d[k],m);return this}var l={};for(k=0;k<arguments.length;k++){var r=arguments[k];switch(typeof r){case "number":l.times=r;break;case "function":l.handler=r;break;case "object":b.mix(l,r,!1);break;case "string":"type"in l?l.selector=r.trim():l.type=r.trim()}}l.type||
b.error("\u5fc5\u987b\u6307\u660e\u4e8b\u4ef6\u7c7b\u578b");"on"===c&&!l.handler&&b.error("\u5fc5\u987b\u6307\u660e\u4e8b\u4ef6\u56de\u8c03");l.times=0<l.times?l.times:Infinity;return this.each(function(){h[f](this,l)})};b.fn[f]=function(){return b.fn[c].apply(this,arguments)}});"contextmenu,click,dblclick,mouseout,mouseover,mouseenter,mouseleave,mousemove,mousedown,mouseup,mousewheel,,keypress,keydown,keyup,blur,focus,focusin,focusout,abort,error,load,unload,resize,scroll,change,input,select,reset,submit".replace(b.rword,
function(d){k[d]=k[d]||(/key/.test(d)?"Keyboard":"HTML");b.fn[d]=function(b){return b?this.bind(d,b):this.fire(d)}});(!+"\v1"||!b.eventSupport("mouseenter"))&&"mouseenter_mouseover,mouseleave_mouseout".replace(b.rmapper,function(d,c,f){m[c]={delegateType:f,bindType:f,handle:function(d){var c,e=d.relatedTarget,h=d.handleObj;if(!e||e!==this&&!b.contains(this,e))d.type=h.origType,c=h.handler.apply(this,arguments),d.type=f;return c}}});b.support.focusin||"focusin_focus,focusout_blur".replace(b.rmapper,
function(d,c,f){var n=0,k=function(d){d=h.fix(d);b.mix(d,{type:c,isSimulated:!0});h.trigger.call(d.target,d)};m[c]={setup:function(){0===n++&&document.addEventListener(f,k,!0)},teardown:function(){0===--n&&document.removeEventListener(f,k,!0)}}});try{document.createEvent("MouseScrollEvents"),m.mousewheel={bindType:"DOMMouseScroll",delegateType:"DOMMouseScroll"},b.eventSupport("mousewheel")&&delete m.mousewheel}catch(l){}"function"===typeof b.fixEvent&&b.fixEvent();return b});E("query",["mass"],function(b){function f(b,
d){return b===d?(f.hasDuplicate=!0,0):!b.compareDocumentPosition||!d.compareDocumentPosition?b.compareDocumentPosition?-1:1:b.compareDocumentPosition(d)&4?-1:1}function c(b,d){return String.fromCharCode(parseInt(d,16))}function h(b){var d=b;b=b.replace(/^\+|\s*/g,"");b=("even"===b&&"2n"||"odd"===b&&"2n+1"||!/\D/.test(b)&&"0n+"+b||b).match(/(-?)(\d*)n([-+]?\d*)/);return h[d]={a:b[1]+(b[2]||1)-0,b:b[3]-0}}function m(d,c,e){var f="getElementsByTagName",s=[],q={},p;e&&(0<d.indexOf(":")&&c.length&&c[0].lookupNamespaceURI)&&
(d=d.split(":"),p=d[0],d=d[1],f="getElementsByTagNameNS",p=c[0].lookupNamespaceURI(p));switch(c.length){case 0:return s;case 1:c=p?c[0][f](p,d):c[0][f](d);for(var g=e=0,A;A=c[e++];)1===A.nodeType&&(s[g++]=A);return s;default:for(g=e=0;A=c[e++];){A=p?A[f](p,d):A[f](d);for(var h=0,F;F=A[h++];){var I=b.getUid(F);q[I]||(q[I]=s[g++]=F)}}return s}}function r(b,d,c){var e=[];try{if(l.DOMParser)for(var f=c.evaluate(b,d,null,7,null),s=0,q=f.snapshotLength;s<q;s++)e[s]=f.snapshotItem(s);else{f=d.selectNodes(b);
s=0;for(q=f.length;s<q;s++)e[s]=f[s]}}catch(p){return!1}return e}function n(b,d,c){d=d?"nextSibling":"previousSibling";var e={type:[" tagName = el.nodeName;",d,"nodeName","tagName"],child:["",d,"nodeType","1"]}[b];return{exec:new Function("flags","lastResult",("var result = [], flag_not = flags.not, node, el, tagName, i = 0, ri = 0, found = 0; for (; node = el = lastResult[i++];found = 0) {{0} while (!found && (node=node.{1})) { (node.{2} === {3}) && ++found; }"+(c?" node = el;while (!found && (node = node.previousSibling)) { node.{2} === {3} && ++found; }":
"")+"!found ^ flag_not && (result[ri++] = el); } return result").replace(/{(\d)}/g,function(b,d){return e[d]}))}}function k(b,d){return{exec:function(c,e){for(var s=[],f=d?c.not:!c.not,q=0,p=0,g;g=e[q++];)g[b]^f&&(s[p++]=g);return s}}}var l=this,d=l.document;b.mix({isXML:function(b){return"p"===(b.ownerDocument||b).createElement("p").nodeName},contains:function(b,d,c){if(b===d)return!!c;if(!d.parentNode)return!1;if(b.contains)return b.contains(d);if(b.compareDocumentPosition)return!!(b.compareDocumentPosition(d)&
16);for(;d=d.parentNode;)if(b===d)return!0;return!1},getText:function(){return function wa(b){b=b.nodeType?[b]:b;for(var d=0,c="",e;e=b[d++];)3===e.nodeType||4===e.nodeType?c+=e.nodeValue:8!==e.nodeType&&(c+=wa(e.childNodes));return c}}(),unique:function(b){if(2>b.length)return b;var d=[],c=[],e={},s=b[0],q,p=0;q="number"===typeof s.sourceIndex;var g="function"==typeof s.compareDocumentPosition;if(!q&&!g){g=(s.ownerDocument||s).getElementsByTagName("*");for(q=0;s=g[q];q++)s.setAttribute("sourceIndex",
q);q=!0}if(q){for(var g=0,A=b.length;g<A;g++)s=b[g],q=(s.sourceIndex||s.getAttribute("sourceIndex"))+1E8,e[q]||((c[p++]=new String(q))._=s,e[q]=1);for(c.sort();p;)d[--p]=c[p]._;return d}b.sort(f);if(f.hasDuplicate)for(g=1;g<b.length;g++)b[g]===b[g-1]&&b.splice(g--,1);f.hasDuplicate=!1;return b}});var e=/^\s*([>+~,\s])\s*(\*|(?:[-\w*]|[^\x00-\xa0]|\\.)*)/,g=/^\s+/,t=/\s+$/,B=/^(^|[#.])((?:[-\w]|[^\x00-\xa0]|\\.)+)$/,v=/^\s*,\s*/,x=/^([#\.:]|\[\s*)((?:[-\w]|[^\x00-\xa0]|\\.)+)/,D=/^\(\s*("([^"]*)"|'([^']*)'|[^\(\)]*(\([^\(\)]*\))?)\s*\)/,
C=/^\s*(?:(\S?=)\s*(?:(['"])(.*?)\2|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,E=/\\([0-9a-fA-F]{2,2})/g,y=/^(title|id|name|class|for|href|src)$/,K=/\\/g,q=/^((?:[-\w\*]|[^\x00-\xa0]|\\.)+)/,p={"=":1,"!=":2,"|=":3,"~=":4,"^=":5,"$=":6,"*=":7};g.test("\u00a0")&&(g=/^[\s\xA0]+/,t=/[\s\xA0]+$/);var F=Array.prototype.slice,I=function(d,c,e){d=F.call(d,0);c?c.push.apply(c,d):c=d;return e?b.unique(c):c};try{F.call(b.html.childNodes,0)[0].nodeType}catch(J){I=function(d,c,e){c=c||[];for(var s=c.length,f=
0,q;q=d[f++];)c[s++]=q;return e?b.unique(c):c}}var s=b.oneObject("action,cite,codebase,data,href,longdesc,lowsrc,src,usemap",2),A=b.oneObject("autofocus,autoplay,async,checked,controls,declare,disabled,defer,defaultchecked,contenteditable,ismap,loop,multiple,noshade,open,noresize,readonly,selected"),z,w,ha,Q,H=new Function("els","return els[0]."+(b.html.textContent?"textContent":"innerText"));new function(){var c=d.createElement("select"),e=c.appendChild(d.createElement("option"));e.setAttribute("selected",
"selected");e.className="x";z="x"!==e.getAttribute("class");c.appendChild(d.createComment(""));Q=2===c.getElementsByTagName("*").length;for(var s=d.getElementsByTagName("*"),f,q,p=[],g=0,A=0;f=s[g++];)q=f.nodeType,1===q?b.getUid(f):8===q?p.push(f):0;for(;f=p[A++];)f.parentNode.removeChild(f);w=c.hasAttribute?!e.hasAttribute("selected"):!0;c=d.createElement("div");e="fixId"+(new Date).getTime();s=b.html;c.innerHTML="<a name='"+e+"'/>";s.insertBefore(c,s.firstChild);ha=!!d.getElementById(e);s.removeChild(c)};
var M=b.query=function(c,s,f,p,A,h,F){f=f||[];s=s||d;var n=I;if(s.nodeType)s=[s];else if(s=n(s),!s.length)return f;p=s[0];var k=p.ownerDocument||p,l,z,w,J,y,C;c=c.replace(g,"").replace(t,"");if((A=void 0!==A?A:b.isXML(k))&&"body"===c&&p.body)return n([p.body],f,h);if(!A&&k.querySelectorAll){z=c;if(2<s.length||8==k.documentMode&&1==p.nodeType){2<s.length&&(p=k);z=".fix_icarus_sqa "+z;for(var H=0,u;u=s[H++];)1===u.nodeType&&(u.className="fix_icarus_sqa "+u.className)}if(8!==k.documentMode||"object"!==
p.nodeName.toLowerCase())try{return n(p.querySelectorAll(z),f,h)}catch(W){}finally{if(0===z.indexOf(".fix_icarus_sqa"))for(H=0;u=s[H++];)1===u.nodeType&&(u.className=u.className.replace("fix_icarus_sqa ",""))}}if(u=c.match(B))if(H=u[2].replace(K,""),u=u[1],""==u?l=m(H,s,A):"."===u&&1===s.length?A?l=r("//*[@class='"+H+"']",p,k):p.getElementsByClassName&&(l=p.getElementsByClassName(H)):"#"===u&&1===s.length&&(A?l=r("//*[@id='"+H+"']",p,k):9==p.nodeType&&(u=k.getElementById(H),l=!u?[]:!ha?[u]:u.getAttributeNode("id").nodeValue===
H?[u]:!1)),l)return n(l,f,h);p=s;if(p.length)a:for(;c&&void 0!==c;){F=!1;w=null;z={};if(u=c.match(e))switch(c=RegExp.rightContext,w=[],J=(A?u[2]:u[2].toUpperCase()).replace(K,"")||"*",y=H=0,l="*"===J,u[1]){case " ":if(c.length||u[2])w=m(J,p,A);else{w=p;break a}break;case ">":for(;u=p[H++];)for(u=u.firstChild;u;u=u.nextSibling)if(1===u.nodeType&&(l||J===u.nodeName))w[y++]=u;break;case "+":for(;u=p[H++];)for(;u=u.nextSibling;)if(1===u.nodeType){if(l||J===u.nodeName)w[y++]=u;break}break;case "~":for(;u=
p[H++];)for(;u=u.nextSibling;)if(1===u.nodeType&&(l||J===u.nodeName))if(C=b.getUid(u),z[C])break;else z[C]=w[y++]=u;w=b.unique(w)}else if(u=c.match(q))c=RegExp.rightContext,w=m(u[1].replace(K,""),p,A);if(c){w=M.filter(c,w,p,k,A);c=w[0];w=w[1];w||(F=!0,w=m("*",p,A));if(c.match(v))return c=RegExp.rightContext,n(w,f),M(c,s,f,[],A,!0,F);p=w}}if(h){if(w.length)return n(w,f,h)}else if(d!==k||Q&&F){f=[];for(H=y=0;u=w[H++];)1===u.nodeType&&(f[y++]=u);return f}return w},xa=b.oneObject("eq,gt,lt,first,last,even,odd");
b.mix(M,{getAttribute:!z?function(b,c){return b.getAttribute(c)||""}:function(b,c,d){if(d)return b.getAttribute(c)||"";c=c.toLowerCase();if(s[c])return b.getAttribute(c,2)||"";if("style"===c)return b.style.cssText.toLowerCase();if("INPUT"===b.tagName&&"type"==c)return b.getAttribute("type")||b.type;d=A[c]?b.getAttribute(c)?c:"":(b=b.getAttributeNode(c))&&b.value||"";return y.test(c)?d:d.toLowerCase()},hasAttribute:!w?function(b,c,d){return d?!!b.getAttribute(c):b.hasAttribute(c)}:function(b,c){c=
c.toLowerCase();b=b.getAttributeNode(c);return!(!b||!b.specified&&!b.nodeValue)},filter:function(d,e,s,f,g,A){for(var F=I,n=h,k,l,w;k=d.match(x);){d=RegExp.rightContext;l=(k[2]||"").replace(K,"");if(!e){if(1===s.length&&s[0]===f)switch(k[1]){case "#":if(!g){w=f.getElementById(l);if(!w){e=[];continue}if(ha?w.id===l:w.getAttributeNode("id").nodeValue===l){e=[w];continue}}break;case ":":switch(l){case "root":e=[f.documentElement];continue;case "link":e=F(f.links||[]);continue}}e=m("*",s,g)}var z=0,J=
!1,r;switch(k[1]){case "#":z=["id","=",l];break;case ".":z=["class","~=",l];break;case ":":w=M.pseudoHooks[l];if(k=d.match(D))d=RegExp.rightContext,r=~l.indexOf("nth")?n[k[1]]||n(k[1]):k[3]||k[2]||k[1];if(w)z=w;else if("not"===l)if(J=!0,"*"===r)e=[];else if(q.test(r)){w=[];k=g?r:r.toUpperCase();for(var t=0,Q=0,u;u=e[t++];)k!==u.nodeName&&(w[Q++]=u);e=w}else w=M.filter(r,e,s,f,g,!0),z=w.filter,r=w.args;else b.error('An invalid or illegal string was specified : "'+l+'"!');break;default:if(z=[l.toLowerCase()],
k=d.match(C))d=RegExp.rightContext,k[1]&&(z[1]=k[1],z[2]=k[3]||k[4],z[2]=z[2]?z[2].replace(E,c).replace(K,""):"")}if(A)return{filter:z,args:r};if(e.length&&z){w=[];Q=t=0;if("function"===typeof z)if(xa[l])for(r=void 0===r?e.length-1:~~r;u=e[t];)z(t++,r)^J&&(w[Q++]=u);else for(;u=e[t++];)!!z(u,r)^J&&(w[Q++]=u);else if("function"===typeof z.exec)w=z.exec({not:J,xml:g},e,r,f);else{l=z[0];k=p[z[1]];var z=z[2]||"",H,v;if(!g&&"class"===l&&4===k)for(z=" "+z+" ";u=e[t++];)l=u.className,!!(l&&-1<(" "+l+" ").indexOf(z))^
J&&(w[Q++]=u);else{!g&&(k&&z&&!y.test(l))&&(z=z.toLowerCase());for(4===k&&(z=" "+z+" ");u=e[t++];){if(k)if(""===z&&3<k)H=!1;else switch(v=M.getAttribute(u,l,g),k){case 1:H=v===z;break;case 2:H=v!==z;break;case 3:H=v===z||v.substr(0,z.length+1)===z+"-";break;case 4:H=v&&0<=(" "+v+" ").indexOf(z);break;case 5:H=v&&0===v.indexOf(z);break;case 6:H=v&&v.substr(v.length-z.length)===z;break;case 7:H=v&&0<=v.indexOf(z)}else H=M.hasAttribute(u,l,g);H^J&&(w[Q++]=u)}}}e=w}}return[d,e]}});var W=function(c,d,
e){return{exec:function(s,f,q){var p=[];s=s.not;var g={},A={},h=q.a;q=q.b;var F=0,z=0,k,I;if(!e&&1===h&&0===q)return s?[]:f;for(var l=e?"nodeName":"nodeType";k=f[F++];){var w=k.parentNode,n=b.getUid(w);if(!A[n]){I=A[n]=1;for(var m=e?k.nodeName:1,w=w[c];w;w=w[d])w[l]===m&&(n=b.getUid(w),g[n]=I++)}I=g[b.getUid(k)]-q;I=0===h?0===I:0===I%h&&0<=I/h;I^s&&(p[z++]=k)}return p}}};M.pseudoHooks={root:function(b){return b===(b.ownerDocument||b.document).documentElement},target:{exec:function(b,c,d,e){d=[];b=
b.not;e=(e.defaultView||e.parentWindow).location.hash.slice(1);for(var s=0,f=0,q;q=c[s++];)if((q.id||q.name)===e^b)d[f++]=q;return d}},"first-child":n("child",!1,!1),"last-child":n("child",!0,!1),"only-child":n("child",!0,!0),"first-of-type":n("type",!1,!1),"last-of-type":n("type",!0,!1),"only-of-type":n("type",!0,!0),"nth-child":W("firstChild","nextSibling",!1),"nth-last-child":W("lastChild","previousSibling",!1),"nth-of-type":W("firstChild","nextSibling",!0),"nth-last-of-type":W("lastChild","previousSibling",
!0),empty:function(b){for(b=b.firstChild;b;b=b.nextSibling)if("@"<b.nodeName||3===b.nodeType||4===b.nodeType)return!1;return!0},link:{exec:function(c,d){var e=(d[0].ownerDocument||d[0].document).links;if(!e)return[];for(var s=[],f={},q=c.not,p=0,g=0,A;A=e[p++];)f[b.getUid(A)]=1;for(p=0;A=d[p++];)f[b.getUid(A)]^q&&(s[g++]=A);return s}},lang:{exec:function(b,c,d){var e=[];d=RegExp("^"+d,"i");b=b.not;for(var s=0,f=0,q;q=c[s++];){for(var p=q;p&&!p.getAttribute("lang");)p=p.parentNode;p=!(!p||!d.test(p.getAttribute("lang")));
p^b&&(e[f++]=q)}return e}},active:function(b){return b===b.ownerDocument.activeElement},focus:function(b){return(b.type||b.href)&&b===b.ownerDocument.activeElement},indeterminate:function(b){return!0===b.indeterminate&&"checkbox"===b.type},enabled:k("disabled",!1),disabled:k("disabled",!0),checked:k("checked",!0),contains:{exec:function(c,d,e){var s=[],f=c.xml?b.getText:H;c=c.not;for(var q=0,p=0,g;g=d[q++];)!!~f([g]).indexOf(e)^c&&(s[p++]=g);return s}},selected:function(b){b.parentNode&&b.parentNode.selectedIndex;
return!0===b.selected},header:function(b){return/h\d/i.test(b.nodeName)},button:function(b){return"button"===b.type||"BUTTON"===b.nodeName},input:function(b){return/input|select|textarea|button/i.test(b.nodeName)},parent:function(b){return!!b.firstChild},has:function(c,d){return!!b.query(d,[c]).length},first:function(b){return 0===b},last:function(b,c){return b===c},even:function(b){return 0===b%2},odd:function(b){return 1===b%2},lt:function(b,c){return b<c},gt:function(b,c){return b>c},eq:function(b,
c){return b===c},hidden:function(b){return 0>=b.offsetWidth||0>=b.offsetHeight||"none"==(b.currentStyle||{}).display}};M.pseudoHooks.visible=function(b){return!M.pseudoHooks.hidden(b)};"text,radio,checkbox,file,password,submit,image,reset".replace(b.rword,function(b){M.pseudoHooks[b]=function(c){return(c.getAttribute("type")||c.type)===b}});return M});E("node",["support","class","query","data"].concat(this.dispatchEvent?[]:"node_fix"),function(b){function f(){for(var b=0,c;b<arguments.length;b++)if(c=
arguments[b]){if(c.nodeType)return 9===c.nodeType?c:c.ownerDocument;if(c.setTimeout)return c.document}return document}function c(c,d,e){if(q[c])return q[c];d=d||b.html.style;for(var f=0,p=K.length;f<p;f++)if(e=b.String.camelize(K[f]+c),e in d)return q[c]=e;return null}function h(b,c,d){for(var e=0,f;f=b[e];e++)d(f,e?l(c,!0,!0):c)}function m(b,c,d,e){for(var f=0,q;q=b[f++];)c.nodeType?e(q,c.cloneNode(!0)):d(q,c)}function r(b,c,d,e){d=d.createDocumentFragment();for(var f=0,q;q=b[f++];){for(var p=e,
g=c,h=1<f,F=d.cloneNode(!1),k=!g.item,I=0,n=void 0;n=g[I];k&&I++)F.appendChild(h&&l(n,!0,!0)||n);p(q,F)}}function n(c,d,e,f){var q=b.filter(c,function(b){return 1===b.nodeType}),p=I[d];e.nodeType?h(q,e,p):"string"===typeof e?("replace"!==d&&b.support[E]&&!C.test(e)||(e=b.parseHTML(e,f)),m(q,e,I[d+"2"],p)):e.length&&r(q,e,f,p);return c}function k(c){b._removeData(c);c.clearAttributes&&c.clearAttributes()}function l(c,d,e){if(1===c.nodeType){var f=b.fixCloneNode(c);if(d&&(b.mergeData(f,c),e)){c=c[y]("*");
d=f[y]("*");for(e=0;c[e];e++)b.mergeData(d[e],c[e])}return f}return c.cloneNode(!0)}function d(b){switch(b.nodeType+""){case "1":case "9":return"xml"in b?b.xml:(new XMLSerializer).serializeToString(b);case "3":case "4":return b.nodeValue;default:return""}}function e(c,d,e,f){var q=[];f=!!f;if("string"===typeof d)var p=b.query(d,e),q=b.filter(c,function(b){if(1===b.nodeType)return-1!==p.indexOf(b)^f});else{if(b.type(d,"Function"))return b.filter(c,function(b,c){return!!d.call(b,b,c)^f});if(d.nodeType)return b.filter(c,
function(b){return b===d^f})}return q}function g(c,d,e){for(var f=[],q=0;c=c[d];)if(c&&1===c.nodeType)if(f[q++]=c,!0===e)break;else if("string"===typeof e&&b.match(c,e)){f.pop();break}return f}var t=/^[a-zA-Z]+$/,B=/<([\w:]+)/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,x=b.support.noscope?/(<(?:script|link|style|meta|noscript))/ig:/[^\d\D]/,D=b.oneObject("text/javascript","text/ecmascript","application/ecmascript","application/javascript","text/vbscript"),C=/<(?:tb|td|tf|th|tr|col|opt|leg|cap|area)/,
E="insertAdjacentHTML",y="getElementsByTagName";b.fixCloneNode=b.fixCloneNode||function(b){return b.cloneNode(!0)};b.fixParseHTML=b.fixParseHTML||b.noop;b.fn=b.prototype;b.fn.extend=b.factory.extend;b.extend=b.mix;b.fn.extend({init:function(c,d){if(!c)return this;var e;if(b.isArrayLike(d))return b(d).find(c);if(c.nodeType)return this.ownerDocument=9===c.nodeType?c:c.ownerDocument,b.Array.merge(this,[c]);this.selector=c+"";if("string"===typeof c){e=this.ownerDocument=!d?document:f(d,d[0]);var q=d||
e;c=c.trim();"<"===c.charAt(0)&&">"===c.charAt(c.length-1)&&3<=c.length?(e=b.parseHTML(c,e),e=e.childNodes):e=t.test(c)?q[y](c):b.query(c,q);return b.Array.merge(this,e)}this.ownerDocument=f(c[0]);b.Array.merge(this,b.isArrayLike(c)?c:[c]);delete this.selector},mass:b.mass,length:0,valueOf:function(){return Array.prototype.slice.call(this)},size:function(){return this.length},toString:function(){for(var c=this.length,d=[],e=b.type;c--;)d[c]=e(this[c]);return d.join(", ")},labor:function(c){var d=
new b;d.context=this.context;d.selector=this.selector;d.ownerDocument=this.ownerDocument;return b.Array.merge(d,c||[])},slice:function(c,d){return this.labor(b.slice(this,c,d))},get:function(b){return!arguments.length?this.valueOf():this[0>b?this.length+b:b]},eq:function(b){return-1===b?this.slice(b):this.slice(b,+b+1)},gt:function(b){return this.slice(b+1,this.length)},lt:function(b){return this.slice(0,b)},first:function(){return this.slice(0,1)},last:function(){return this.slice(-1)},even:function(){return this.labor(b.filter(this,
function(b,c){return 0===c%2}))},odd:function(){return this.labor(b.filter(this,function(b,c){return 1===c%2}))},each:function(c){return b.each(this,c)},map:function(c){return this.labor(b.map(this,c))},clone:function(b,c){b=null==b?!1:b;c=null==c?b:c;return this.map(function(){return l(this,b,c)})},html:function(c){return b.access(this,function(e,f){if(this===b){var q;if("innerHTML"in e)q=e.innerHTML;else{q=e;for(var p=0,g,h=[];g=q.childNodes[p++];)h.push(d(g));q=h.join("")}return q}f=null==c?"":
c+"";if(b.support.innerHTML&&!x.test(f)&&!C.test(f))try{for(q=0;e=this[q++];)1===e.nodeType&&(b.each(e[y]("*"),k),e.innerHTML=f);return}catch(F){}this.empty().append(f)},null,arguments)},text:function(c){return b.access(this,function(d){if(this===b)return"SCRIPT"===d.tagName?d.text:d.textContent||d.innerText||b.getText([d]);this.empty().append(this.ownerDocument.createTextNode(c))},null,arguments)},outerHTML:function(c){return b.access(this,function(e){if(this===b)return"outerHTML"in e?e.outerHTML:
d(e);this.empty().replace(c)},null,arguments)}});b.fn.init.prototype=b.fn;"push,unshift,pop,shift,splice,sort,reverse".replace(b.rword,function(c){b.fn[c]=function(){Array.prototype[c].apply(this,arguments);return this}});"remove,empty,detach".replace(b.rword,function(c){b.fn[c]=function(){for(var d="empty"!==c,e=0,f;f=this[e++];){if(1===f.nodeType){var q=b.slice(f[y]("*")).concat(d?f:[]);"detach"!==c&&q.forEach(k)}if(d)f.parentNode&&f.parentNode.removeChild(f);else for(;f.firstChild;)f.removeChild(f.firstChild)}return this}});
"append,prepend,before,after,replace".replace(b.rword,function(c){b.fn[c]=function(b){return n(this,c,b,this.ownerDocument)};b.fn[c+"To"]=function(d){b(d,this.ownerDocument)[c](this);return this}});b.fn.insertAfter=function(c){b.log("insertAfter is deprecated, instead of afterTo");return this.afterTo(c)};b.fn.insertBefore=function(c){b.log("insertBefore is deprecated, instead of beforeTo");return this.beforeTo(c)};var K=" -webkit- -o- -moz- -ms- WebKit- moz- webkit- ms- -khtml-".split(" "),q={"float":b.support.cssFloat?
"cssFloat":"styleFloat",background:"backgroundColor"},p=c("matchesSelector",b.html);b.mix({cssName:c,match:function(c,d){try{return c[p](d)}catch(e){return c.parentNode?-1!==b.query(d,c.ownerDocument).indexOf(c):!1}},access:function(c,d,e,f){var q=c.length,p=f[0],g=f[1];if(0===f.length||1===f.length&&"string"===typeof e)return(c=c[0])&&1===c.nodeType?d.call(b,c,p):void 0;if(null===e)d.call(c,f);else if("object"===typeof p)for(var h in p)for(e=0;e<q;e++)d.call(c,c[e],h,p[h]);else for(e=0;e<q;e++)d.call(c,
c[e],p,g);return c},parseHTML:function(c,d){d=d||9===this.nodeType&&this||document;c=c.replace(v,"<$1></$2>").trim();if(b.cachedRange&&d===document&&!x.test(c)&&!C.test(c))return b.cachedRange.createContextualFragment(c);b.support.noscope&&(c=c.replace(x,"<br class=fix_noscope>$1"));var e=(B.exec(c)||["",""])[1].toLowerCase(),f=F[e]||F._default,e=d.createDocumentFragment(),q=d.createElement("div");q.innerHTML=f[1]+c+(f[2]||"");var p=q[y]("script");if(p.length)for(var g=d.createElement("script"),h,
I=0,k;k=p[I++];)if(!k.type||D[k.type]){h=g.cloneNode(!1);for(var l=0,n;n=k.attributes[l++];)n.specified&&(h[n.name]=[n.value]);h.text=k.text;k.parentNode.replaceChild(h,k)}for(I=f[0];I--;q=q.lastChild);for(b.fixParseHTML(q,c);f=q.firstChild;)e.appendChild(f);return e}});var F={area:[1,"<map>"],param:[1,"<object>"],col:[2,"<table><tbody></tbody><colgroup>","</table>"],legend:[1,"<fieldset>"],option:[1,"<select multiple='multiple'>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>"],td:[3,"<table><tbody><tr>"],
_default:b.support.noscope?[1,"X<div>"]:[0,""]},I={prepend:function(b,c){b.insertBefore(c,b.firstChild)},append:function(b,c){b.appendChild(c)},before:function(b,c){b.parentNode.insertBefore(c,b)},after:function(b,c){b.parentNode.insertBefore(c,b.nextSibling)},replace:function(b,c){b.parentNode.replaceChild(c,b)},prepend2:function(b,c){b[E]("afterBegin",c)},append2:function(b,c){b[E]("beforeEnd",c)},before2:function(b,c){b[E]("beforeBegin",c)},after2:function(b,c){b[E]("afterEnd",c)}};F.optgroup=
F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;b.fn.extend({data:function(c,d){if(void 0===c){if(this.length){var e=this[0],f=b.data(e);if(1===e.nodeType&&!b._data(e,"parsedAttrs")){for(var q=0,p=e.attributes,g;g=p[q++];){var h=g.name;h.indexOf("data-")||b.parseData(e,h.slice(5),f,g.value)}b._data(e,"parsedAttrs",!0)}}return f}return b.access(this,function(e,f){if(/^[^238]$/.test(e.nodeType))return b.data(e,c,d)},c,arguments)},removeData:function(c){return this.each(function(){b.removeData(this,
c)})}});b.fn.extend({find:function(c){return this.labor(b.query(c,this))},filter:function(b){return this.labor(e(this,b,this.ownerDocument,!1))},not:function(b){return this.labor(e(this,b,this.ownerDocument,!0))},has:function(c){var d=b(c,this.ownerDocument);c=b.filter(this,function(c){for(var e=0;e=d[e++];)return b.contains(c,e)});return this.labor(c)},closest:function(c,d){for(var e=b(c,d||this.ownerDocument).valueOf(),f=0,q=[],p;p=this[f++];)for(;p;)if(~e.indexOf(p)){q.push(p);break}else if(p=
p.parentNode,!p||!p.ownerDocument||p===d||11===p.nodeType)break;q=1<q.length?b.unique(q):q;return this.labor(q)},is:function(c){c=b.query(c,this.ownerDocument);for(var d={},e,f=0;e=c[f++];)e=b.getUid(e),d[e]=1;return this.valueOf().some(function(c){return d[b.getUid(c)]})},index:function(c){var d=this[0];return!c?d&&d.parentNode?this.first().prevAll().length:-1:"string"===typeof c?b(c).index(d):this.valueOf().indexOf(c.mass?c[0]:c)}});var J=b.oneObject("children","contents","next","prev");b.each({parent:function(b){return(b=
b.parentNode)&&11!==b.nodeType?b:[]},parents:function(b){return g(b,"parentNode").reverse()},parentsUntil:function(b,c){return g(b,"parentNode",c).reverse()},next:function(b){return g(b,"nextSibling",!0)},nextAll:function(b){return g(b,"nextSibling")},nextUntil:function(b,c){return g(b,"nextSibling",c)},prev:function(b){return g(b,"previousSibling",!0)},prevAll:function(b){return g(b,"previousSibling").reverse()},prevUntil:function(b,c){return g(b,"previousSibling",c).reverse()},children:function(c){return b.filter(c.childNodes,
function(b){return 1===b.nodeType})},siblings:function(b){return g(b,"previousSibling").reverse().concat(g(b,"nextSibling"))},contents:function(c){return"IFRAME"===c.tagName?c.contentDocument||c.contentWindow.document:b.slice(c.childNodes)}},function(c,d){b.fn[c]=function(e){for(var f=[],q=0,p;p=this[q++];){var g=p.nodeType;if(1===g||11===g||9===g)f=f.concat(d(p,e))}/Until/.test(c)&&(e=0);f=1<this.length&&!J[c]?b.unique(f):f;f=this.labor(f);return e?f.filter(e):f}});return b});E("fx",["css"],function(b){function f(d){if(d.queue){for(var e=
1,g=v.length,h;h=v[--g];)if(h.node===d.node){h.positive.push(d);e=0;break}e&&v.unshift(d)}else v.push(d);null===f.id&&(f.id=setInterval(c,1E3/b.fps))}function c(){for(var b=v.length;0<=--b;)if(!v[b].paused){var c;if(c=v[b].node)a:{c=v[b];var d=b,e=c.node,g=+new Date;if(c.startTime){var g=(g-c.startTime)/c.duration,h=c.gotoEnd||1<=g,n=x.updateHooks;if(c.update)for(var l=0,m=void 0;m=c.props[l++];)(n[m.type]||n._default)(e,g,h,m);if(h){c.after&&c.after(e,c);c.complete&&c.complete(e,c);c.revert&&c.negative.length&&
(Array.prototype.unshift.apply(c.positive,c.negative.reverse()),c.negative=[]);e=c.positive.shift();if(!e){c=!1;break a}v[d]=e;e.positive=c.positive;e.negative=c.negative}else c.step&&c.step(e,c)}else c.before&&c.before(e,c),c.props&&k(c.node,c,d),c.props=c.props||[],D[c.method||"noop"](e,c),c.startTime=g;c=!0}c||v.splice(b,1)}v.length||(clearInterval(f.id),f.id=null)}function h(c){if(isFinite(c))return{duration:c};for(var d={},e=1;e<arguments.length;e++){var f=d,g=arguments[e];switch(b.type(g)){case "Object":m(f,
g,"after");m(f,g,"before");b.mix(f,g);break;case "Number":f.duration=g;break;case "String":f.easing=g;break;case "Function":f.complete=g}}d.duration="number"===typeof d.duration?d.duration:400;d.queue=!!(null==d.queue||d.queue);d.easing=b.easing[d.easing]?d.easing:"swing";d.update=!0;return d}function m(b,c,d){if("function"===typeof c[d]){var e=b[d];b[d]=e?function(b,f){e(b,f);c[d](b,f)}:c[d]}delete c[d]}function r(c,d){if(isFinite(c[d]))return c[d];var e=b.css(c,d);return!e||"auto"===e?0:e}function n(b){for(var c in t)if(t[c].test(b))return c;
return"_default"}function k(c,d,e){var f,h,k,l=[],m=[],t={},v=b.isHidden(c),y=d.props,C=d.easing;if(!y.length){for(var x in y)if(y.hasOwnProperty(x)){f=y[x];var G=n(x),D=r(c,x);"toggle"===f&&(f=v?"show":"hide");"show"===f?(d.method=f,f=D,D=0,b.css(c,x,0)):"hide"===f&&(d.method=f,t[x]=D,f=0);if("color"===G)h=[g(D),g(f)];else if(D=parseFloat(D),h=B.exec(f)){f=parseFloat(h[2]);k=b.cssNumber[x]?0:h[3]||"px";if(h[1]){h=h[1].charAt(0);if(k&&"px"!==k&&("+"===h||"-"===h))b.css(c,x,(f||1)+k),D*=(f||1)/parseFloat(b.css(c,
x)),b.css(c,x,D+k);h&&(f=eval(D+h+f))}h=[D,f]}else h=[0,0];D=h[0];f=h[1];D+""!==f+""&&(G={name:x,from:D,to:f,type:G,easing:b.easing[C],unit:k},l.push(G),m.push(b.mix({},G,{to:D,from:f})))}d.props=l;d.revertProps=m;d.orig=t}if(d.record||d.revert){c={};for(x in d)c[x]=d[x];delete c.revert;c.props=d.revertProps.concat();c.revertProps=d.props.concat();b.timeline[e].negative.push(c)}}function l(b,c){var d={};C.concat.apply([],C.slice(0,c)).forEach(function(c){d[c]=b;~c.indexOf("margin")&&(x.updateHooks[c]=
function(b,d,e,f){d=e?f.to:f.from+f.easing(d)*(f.to-f.from);b.style[c]=Math.max(d,0)+f.unit})});return d}function d(c,d){var e=b.css(c,"position"),f=b.css(c,"width"),g=b.css(c,"height"),h=b.css(c,"left"),k=b.css(c,"top"),n=b.css(c,"opacity");c.style.position="relative";b.mix(d.props,{width:"*=1.5",height:"*=1.5",opacity:"hide",left:"-="+0.25*parseInt(f),top:"-="+0.25*parseInt(g)});d.after=function(){c.style.position=e;c.style.width=f;c.style.height=g;c.style.left=h;c.style.top=k;b.css(c,"opacity",
n)}}function e(c){var d;b.applyShadowDOM(function(b,e,f){b=f.createTextRange();f.style.color=c;d=b.queryCommandValue("ForeColor")});return[d&255,(d&65280)>>8,(d&16711680)>>16]}function g(b){b=b.toLowerCase();var c=[];if(y[b])return y[b];if(0===b.indexOf("rgb")){var d=b.match(/(\d+%?)/g),f=-1!==d[0].indexOf("%")?2.55:1;return y[b]=[parseInt(d[0])*f,parseInt(d[1])*f,parseInt(d[2])*f]}return"#"===b.charAt(0)?(4===b.length&&(b=b.replace(/([^#])/g,"$1$1")),b.replace(/\w{2}/g,function(b){c.push(parseInt(b,
16))}),y[b]=c):window.VBArray?y[b]=e(b):y.white}var t={color:/background$|color/i,scroll:/scroll/i},B=/^([+\-/*]=)?([\d+.\-]+)([a-z%]*)$/i;b.easing={linear:function(b){return b},swing:function(b){return-Math.cos(b*Math.PI)/2+0.5}};b.fps=30;var v=b.timeline=[];f.id=null;var x=b.fn.animate=b.fn.fx=function(c){var d=h.apply(null,arguments),e,g;for(g in c)e=b.cssName(g)||g,g!==e&&(c[e]=c[g],delete c[g]);for(e=0;g=this[e++];)f(b.mix({positive:[],negative:[],node:g,props:c},d));return this};x.updateHooks=
{_default:function(c,d,e,f){b.css(c,f.name,(e?f.to:f.from+f.easing(d)*(f.to-f.from))+f.unit)},color:function(b,c,d,e){var f=e.easing(c);c=d?e.to:e.from.map(function(b,c){return Math.max(Math.min(parseInt(b+(e.to[c]-b)*f,10),255),0)});b.style[e.name]="rgb("+c+")"},scroll:function(b,c,d,e){b[e.name]=d?e.to:e.from+e.easing(c)*(e.to-e.from)}};var D={noop:b.noop,show:function(c,d){if(1===c.nodeType&&b.isHidden(c)){var e=b._data(c,"olddisplay");if(!e||"none"===e)e=b.parseDisplay(c.nodeName),b._data(c,"olddisplay",
e);c.style.display=e;if(("width"in d.props||"height"in d.props)&&"inline"===e&&"none"===b.css(c,"float"))b.support.inlineBlockNeedsLayout?"inline"===e?c.style.display="inline-block":(c.style.display="inline",c.style.zoom=1):c.style.display="inline-block"}},hide:function(c,d){if(1===c.nodeType&&!b.isHidden(c)){var e=b.css(c,"display"),f=c.style;"none"!==e&&!b._data(c,"olddisplay")&&b._data(c,"olddisplay",e);var g;if("width"in d.props||"height"in d.props)g=[f.overflow,f.overflowX,f.overflowY],f.overflow=
"hidden";var h=d.after||b.noop;d.after=function(c,d){if("hide"===d.method){c.style.display="none";for(var e in d.orig)b.css(c,e,d.orig[e])}g&&["","X","Y"].forEach(function(b,c){f["overflow"+b]=g[c]});h(c,d)}}},toggle:function(c,d){b[b.isHidden(c)?"show":"hide"](c,d)}};b.fn.delay=function(b){return this.fx(b)};b.fn.pause=function(){return this.each(function(){for(var b=0,c;c=v[b];b++)c.node===this&&(c.paused=new Date-0)})};b.fn.resume=function(){var b=new Date;return this.each(function(){for(var c=
0,d;d=v[c];c++)d.node===this&&(d.startTime+=b-d.paused,delete d.paused)})};b.fn.stop=function(b,c){var d=parseInt((b?"1":"")+(c?"1":"0"),2);return this.each(function(){for(var b=0,c;c=v[b];b++)if(c.node===this)switch(c.gotoEnd=!0,d){case 0:c.update=!1;c.revert&&c.negative.shift();break;case 1:c.revert&&c.negative.shift();break;case 2:delete c.node;break;case 3:c.positive.forEach(function(b){b.gotoEnd=!0}),c.negative.forEach(function(b){b.gotoEnd=!0})}})};var C=["height marginTop marginBottom borderTopWidth borderBottomWidth paddingTop paddingBottom".split(" "),
"width marginLeft marginRight borderLeftWidth borderRightWidth paddingLeft paddingRight".split(" "),["opacity"]],E={slideDown:l("show",1),slideUp:l("hide",1),slideToggle:l("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}};b.each(E,function(c,d){b.fn[c]=function(){var b=[].concat.apply([d],arguments);return this.fx.apply(this,b)}});["toggle","show","hide"].forEach(function(c,d){var e=b.fn[c];b.fn[c]=function(b){if(!arguments.length||"boolean"===typeof b)return e.apply(this,
arguments);var d=[].concat.apply([l(c,3)],arguments);return this.fx.apply(this,d)}});b.fn.puff=function(){var b=[].concat.apply([{},{before:d}],arguments);return this.fx.apply(this,b)};var y={black:[0,0,0],gray:[128,128,128],white:[255,255,255],orange:[255,165,0],red:[255,0,0],green:[0,128,0],yellow:[255,255,0],blue:[0,0,255]};b.parseColor=g;try{b.query.pseudoHooks.animated=function(b){for(var c=0,d;d=v[c++];)if(b===d.node)return!0}}catch(K){}return b});E("data",["lang"],function(b){function f(c,
f,l,d){var e=h.indexOf(c);-1===e?(e=h.push(c),e=m[e-1]={data:{}}):e=m[e];var g="string"===typeof f,r=e;d||(e=e.data);f&&"object"===typeof f?b.mix(e,f):g&&void 0!==l&&(e[f]=l);if(g){if(f in e)return e[f];if(!d&&c&&1==c.nodeType)return b.parseData(c,f,r)}else return e}function c(b,c,f){b=h.indexOf(b);if(-1<b){var d="string"===typeof c,e=m[b],g=e;d&&(f||(e=e.data),e&&(d=e[c],delete e[c]),'{"data":{}}'===JSON.stringify(g)&&(h.splice(b,1),m.splice(b,1)));return d}}var h=[],m=[],r=/^(?:null|false|true|NaN|\{.*\}|\[.*\])$/;
b.mix({hasData:function(b){return-1<h.indexOf(b)},data:function(b,c,h){return f(b,c,h)},_data:function(b,c,h){return f(b,c,h,!0)},removeData:function(b,f){return c(b,f)},_removeData:function(b,f){return c(b,f,!0)},parseData:function(c,f,h,d){var e,g,m=b.String.camelize(f);if(h&&m in h)return h[m];if(4!==arguments.length){var t="data-"+f.replace(/([A-Z])/g,"-$1").toLowerCase();d=c.getAttribute(t)}if("string"===typeof d){if(r.test(d)||+d+""===d)g=!0;try{e=g?eval("0,"+d):d}catch(v){e=d}h&&(h[m]=e)}return e},
mergeData:function(c,f){if(b.hasData(c)){var h=b._data(f),d=b._data(c),e=h.events;b.Object.merge(d,h);if(e){d.events=[];for(h=0;d=e[h++];)b.event.bind(c,d)}}}});return b});E("css",this.getComputedStyle?["node"]:["css_fix"],function(b){function f(c,d){if(c&&1===c.nodeType&&0>=c.offsetWidth){if("none"===v(c,"display")){var e={node:c},g;for(g in t)e[g]=c.style[g],c.style[g]=t[g]||b.parseDisplay(c.nodeName);d.push(e)}f(c.parentNode,d)}}function c(b,c,d,e){c=g[c];var f=x(b);c.forEach(function(c){1>e&&
(d-=parseFloat(f["padding"+c])||0);2>e&&(d-=parseFloat(f["border"+c+"Width"])||0);3===e&&(d+=parseFloat(v(b,"margin"+c,f))||0);"padding-box"===e&&(d+=parseFloat(f["padding"+c])||0);"border-box"===e&&(d+=parseFloat(f["padding"+c])||0,d+=parseFloat(f["border"+c+"Width"])||0)});return d}function h(b,d,e){var g=[];f(b,g);e=c(b,d,b["offset"+d],e);for(var h=0,k;k=g[h++];)for(d in b=k.node,k)"string"===typeof k[d]&&(b.style[d]=k[d]);return e}function m(c,d){for(var e,f=[],g=[],h=0,k=c.length;h<k;h++)e=c[h],
e.style&&(f[h]=b._data(e,"olddisplay"),g[h]=b.isHidden(e),f[h]||(f[h]=g[h]?b.parseDisplay(e.nodeName):v(e,"display"),b._data(e,"olddisplay",f[h])));for(h=0;h<k;h++)e=c[h],e.style&&(d=-1===d?!g[h]:d,e.style.display=d?f[h]:"none");return c}function r(c){return b.type(c,"Window")?c:9===c.nodeType?c.defaultView||c.parentWindow:!1}var n=b.cssHooks||(b.cssHooks={}),k=/^([\-+])=([\-+.\de]+)/,l=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,d=b.cssName("transform"),e=b.cssName("box-sizing"),g={Width:["Left","Right"],
Height:["Top","Bottom"]},t={position:"absolute",visibility:"hidden",display:""};b.cssNumber=b.oneObject("columnCount,fillOpacity,fontSizeAdjust,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom,rotate");window.getComputedStyle&&(b.getStyles=function(b){return window.getComputedStyle(b,null)},n["_default:get"]=function(c,d,e){var f,g;if(e=e||x(c)){f="filter"===d?e.getPropertyValue(d):e[d];var h=c.style;""===f&&!b.contains(c.ownerDocument,c)&&(f=h[d]);/^margin/.test(d)&&l.test(f)&&(c=h.width,
d=h.minWidth,g=h.maxWidth,h.minWidth=h.maxWidth=h.width=f,f=e.width,h.width=c,h.minWidth=d,h.maxWidth=g)}return f});var x=b.getStyles,v=n["_default:get"];delete b.getStyles;n["_default:set"]=function(b,c,d){b.style[c]=d};n["zIndex:get"]=function(b){for(;9!==b.nodeType;){if("static"!==(v(b,"position")||"static")){var c=parseInt(v(b,"zIndex"),10);if(!isNaN(c)&&0!==c)return c}b=b.parentNode}return 0};n["rotate:get"]=function(c){return b._data(c,"rotate")||0};d&&(n["rotate:set"]=function(c,e,f){b._data(c,
"rotate",f);c.style[d]="rotate("+f*Math.PI/180+"rad)"});n["boxSizing:get"]=function(b,c){return e?v(b,c):"BackCompat"===document.compatMode?"border-box":"content-box"};b.css=function(c,d,e,f){if(c.style){var g=/\_/.test(d)?b.String.camelize(d):d;d=b.cssName(g)||g;f=f||x(c);if(void 0===e)return(n[g+":get"]||v)(c,d,f);var h=typeof e,l;if("string"===h&&(l=k.exec(e)))e=+(l[1]+1)*+l[2]+parseFloat(b.css(c,d,void 0,f)),h="number";if("number"!==h||isFinite(e+""))"number"===h&&!b.cssNumber[g]&&(e+="px"),""===
e&&(!b.support.cloneBackgroundStyle&&0===d.indexOf("background"))&&(c.style[d]="inherit"),(n[g+":set"]||n["_default:set"])(c,d,e,f)}};b.fn.css=function(c,d){return b.access(this,b.css,c,arguments)};"Height,Width".replace(b.rword,function(d){var e=d.toLowerCase(),f="client"+d,g="scroll"+d,k="offset"+d;b.cssHooks[e+":get"]=function(b){return h(b,d,0)+"px"};b.cssHooks[e+":set"]=function(e,f,g){var h=b.css(e,"box-sizing");e.style[f]="content-box"===h?g:c(e,d,parseFloat(g),h)+"px"};"inner_1,b_0,outer_2".replace(b.rmapper,
function(c,l,m){b.fn["b"===l?e:l+d]=function(c){m="outer"===l&&!0===c?3:Number(m);c="boolean"===typeof c?void 0:c;if(void 0===c){var n=this[0];return b.type(n,"Window")?n["inner"+d]||n.document.documentElement[f]:9===n.nodeType?(c=n.documentElement,Math.max(n.body[g],c[g],n.body[k],c[k],c[f])):h(n,d,m)}for(var s=0;n=this[s++];)b.css(n,e,c);return this}})});var B=b.oneObject("a,abbr,b,span,strong,em,font,i,kbd","inline"),D=b.oneObject("div,h1,h2,h3,h4,h5,h6,section,p","block"),C,E,y,K;b.applyShadowDOM=
function(c){C||(C=document.createElement("iframe"),C.style.cssText="width:0px;height:0px;border:0 none;");b.html.appendChild(C);K||(y=C.contentWindow,E=y.document,E.write("<!doctype html><html><body>"),E.close(),K=window.VBArray||window.opera);c(y,E,E.body);setTimeout(function(){b.html.removeChild(C)},1E3)};b.mix(B,D);b.parseDisplay=function(c){c=c.toLowerCase();B[c]||b.applyShadowDOM(function(b,d,e,f){d=d.createElement(c);e.appendChild(d);f=b.getComputedStyle?b.getComputedStyle(d,null).display:d.currentStyle.display;
B[c]=f});return B[c]};window.getDefaultComputedStyle&&(b.parseDisplay=function(b){b=b.toLowerCase();if(!B[b]){var c=document.createElement(b),c=window.getDefaultComputedStyle(c,null).display;B[b]=c}return B[b]});b.isHidden=function(c){return 0===c.sourceIndex||"none"===v(c,"display")||!b.contains(c.ownerDocument,c)};b.fn.show=function(){return m(this,1)};b.fn.hide=function(){return m(this,0)};b.fn.toggle=function(b){return m(this,"boolean"===typeof b?b:-1)};b.fn.offset=function(c){if(arguments.length)return!c||
!isFinite(c.top)&&!isFinite(c.left)?this:this.each(function(){if(this&&1===this.nodeType){var d=v(this,"position");"static"===d&&(this.style.position="relative");var e=b(this),f=e.offset(),g=v(this,"top"),h=v(this,"left"),k={},l={};("absolute"===d||"fixed"===d)&&-1<[g,h].indexOf("auto")?(l=e.position(),d=l.top,h=l.left):(d=parseFloat(g)||0,h=parseFloat(h)||0);parseFloat(c.top)&&(k.top=c.top-f.top+d);parseFloat(c.left)&&(k.left=c.left-f.left+h);e.css(k)}});var d=this[0],e=d&&d.ownerDocument,f={left:0,
top:0};if(!e)return f;var d=d.getBoundingClientRect(),g=r(e),e=navigator.vendor||"BackCompat"===e.compatMode?e.body:e.documentElement,h=e.clientLeft>>0,k=g.pageXOffset||e.scrollLeft;f.top=d.top+(g.pageYOffset||e.scrollTop)-(e.clientTop>>0);f.left=d.left+k-h;return f};b.fn.position=function(){var b,c=this[0],d={top:0,left:0};if(c&&1===c.nodeType){if("fixed"===v(c,"position"))b=c.getBoundingClientRect();else{b=this.offset();var e=this.offsetParent();"HTML"!==e[0].tagName&&(d=e.offset());e=x(e[0]);d.top+=
parseFloat(e.borderTopWidth)||0;d.left+=parseFloat(e.borderLeftWidth)||0}return{top:b.top-d.top-parseFloat(v(c,"marginTop",e))||0,left:b.left-d.left-parseFloat(v(c,"marginLeft",e))||0}}};b.fn.offsetParent=function(){return this.map(function(){for(var b=this.offsetParent;b&&9!==b.parentNode.nodeType&&"static"===v(b,"position");)b=b.offsetParent;return b||document.documentElement})};b.fn.scrollParent=function(){var c,d=v(this[0],"position");c=window.VBArray&&/(static|relative)/.test(d)||/absolute/.test(d)?
this.parents().filter(function(){return/(relative|absolute|fixed)/.test(v(this,"position"))&&/(auto|scroll)/.test(v(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(v(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x"))}).eq(0);return/fixed/.test(d)||!c.length?b(document):c};"scrollLeft_pageXOffset,scrollTop_pageYOffset".replace(b.rmapper,function(c,d,e){b.fn[d]=function(c){var f,g,h="scrollTop"===
d;return void 0===c?(f=this[0],!f?null:(g=r(f))?e in g?g[e]:g.document.documentElement[d]:f[d]):this.each(function(){(g=r(this))?g.scrollTo(!h?c:b(g).scrollLeft(),h?c:b(g).scrollTop()):this[d]=c})}});return b})}}(self,self.document);