forked from keithclark/selectivizr
-
Notifications
You must be signed in to change notification settings - Fork 23
/
PIE_IE678.js
76 lines (75 loc) · 40.1 KB
/
PIE_IE678.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
(function(O,I){var h=O.PIE||(O.PIE={});h.Fa=function(a){var b,d,e,c,g=arguments;b=1;for(d=g.length;b<d;b++){c=g[b];for(e in c)if(c.hasOwnProperty(e))a[e]=c[e]}return a};h.Fa(h,{z:"-pie-",qb:"Pie",Na:"pie_",vc:{TD:1,TH:1},Ub:{TABLE:1,THEAD:1,TBODY:1,TFOOT:1,TR:1,INPUT:1,TEXTAREA:1,SELECT:1,OPTION:1,IMG:1,HR:1},$b:{A:1,INPUT:1,TEXTAREA:1,SELECT:1,BUTTON:1},Id:{submit:1,button:1,reset:1},qd:function(){}});try{I.execCommand("BackgroundImageCache",false,true)}catch(ga){}(function(){for(var a=4,b=I.createElement("div"),
d=b.getElementsByTagName("i");b.innerHTML="<!--[if gt IE "+ ++a+"]><i></i><![endif]--\>",d[0];);h.U=a;if(a===6)h.z=h.z.replace(/^-/,"");h.qa=I.documentMode||h.U;b.innerHTML='<v:shape adj="1"/>';a=b.firstChild;a.style.behavior="url(#default#VML)";h.uc=typeof a.adj==="object"})();(function(){var a=0,b={};h.Q={pa:function(d){return d&&d._pieId||(d._pieId="_"+a++)},Bc:function(d,e,c){var g=b[d],i,j;if(g)Object.prototype.toString.call(g)==="[object Array]"?g.push([e,c]):e.call(c,g);else{j=b[d]=[[e,c]];
i=new Image;i.onload=function(){g=b[d]={f:i.width,e:i.height};for(var f=0,k=j.length;f<k;f++)j[f][0].call(j[f][1],g);i.onload=null};i.src=d}}}})();h.nb={he:{top:0,right:90,bottom:180,left:270},yd:function(a,b,d,e){a=e.la;e=e.ab;var c;if(a)a=a.kd();else if(e)if(e[1]){a=e[0]=="top"||e[1]=="top"?b:-b;e=e[0]=="left"||e[1]=="left"?-d:d;a=Math.atan2(e,a)*180/Math.PI}else a=this.he[e[0]];else a=180;for(;a<0;)a+=360;a%=360;c=h.nb.Pd(b/2,d/2,a,a>=180?0:b,a<90||a>270?0:d);e=c[0];c=c[1];b=b-e;d=d-c;return{la:a,
rd:e,sd:c,be:b,ce:d,Kd:h.nb.md(b,d,e,c)}},Pd:function(a,b,d,e,c){if(d===0||d===180)return[a,c];else if(d===90||d===270)return[e,b];else{d=Math.tan((d-90)*Math.PI/180);a=d*a-b;b=-1/d;e=b*e-c;c=b-d;return[(e-a)/c,(d*e-b*a)/c]}},md:function(a,b,d,e){a=d-a;b=e-b;return Math.abs(a===0?b:b===0?a:Math.sqrt(a*a+b*b))}};h.ja=function(){this.Fb=[];this.ic={}};h.ja.prototype={ca:function(a){var b=h.Q.pa(a),d=this.ic,e=this.Fb;if(!(b in d)){d[b]=e.length;e.push(a)}},Ka:function(a){a=h.Q.pa(a);var b=this.ic;if(a&&
a in b){delete this.Fb[b[a]];delete b[a]}},Da:function(){for(var a=this.Fb,b=a.length;b--;)a[b]&&a[b]()}};h.Pa=new h.ja;h.Pa.Vd=function(){var a=this,b;if(!a.Wd){b=I.documentElement.currentStyle.getAttribute(h.z+"poll-interval")||250;(function d(){a.Da();setTimeout(d,b)})();a.Wd=1}};(function(){function a(){h.J.Da();O.detachEvent("onunload",a);O.PIE=null}h.J=new h.ja;O.attachEvent("onunload",a);h.J.za=function(b,d,e){b.attachEvent(d,e);this.ca(function(){b.detachEvent(d,e)})}})();h.Sa=new h.ja;h.J.za(O,
"onresize",function(){h.Sa.Da()});(function(){function a(){h.pb.Da()}h.pb=new h.ja;h.J.za(O,"onscroll",a);h.Sa.ca(a)})();(function(){function a(){d=h.mb.ld()}function b(){if(d){for(var e=0,c=d.length;e<c;e++)h.attach(d[e]);d=0}}var d;h.J.za(O,"onbeforeprint",a);h.J.za(O,"onafterprint",b)})();h.ob=new h.ja;h.J.za(I,"onmouseup",function(){h.ob.Da()});h.Qa=function(){function a(f){this.ha=f}var b=I.createElement("length-calc"),d=I.body||I.documentElement,e=b.style,c={},g=["mm","cm","in","pt","pc"],i=
g.length,j={};e.position="absolute";e.top=e.left="-9999px";for(d.appendChild(b);i--;){e.width="100"+g[i];c[g[i]]=b.offsetWidth/100}d.removeChild(b);e.width="1em";a.prototype={Gb:/(px|em|ex|mm|cm|in|pt|pc|%)$/,ec:function(){var f=this.Nd;if(f===void 0)f=this.Nd=parseFloat(this.ha);return f},Bb:function(){var f=this.ie;if(!f)f=this.ie=(f=this.ha.match(this.Gb))&&f[0]||"px";return f},a:function(f,k){var l=this.ec(),m=this.Bb();switch(m){case "px":return l;case "%":return l*(typeof k==="function"?k():
k)/100;case "em":return l*this.zb(f);case "ex":return l*this.zb(f)/2;default:return l*c[m]}},zb:function(f){var k=f.currentStyle.fontSize,l,m;if(k.indexOf("px")>0)return parseFloat(k);else if(f.tagName in h.Ub){m=this;l=f.parentNode;return h.m(k).a(l,function(){return m.zb(l)})}else{f.appendChild(b);k=b.offsetWidth;b.parentNode===f&&f.removeChild(b);return k}}};a.gb=function(f){return f/c.pt};h.m=function(f){return j[f]||(j[f]=new a(f))};return a}();h.kb=function(){function a(c){this.ga=c}var b=h.m("50%"),
d={top:1,center:1,bottom:1},e={left:1,center:1,right:1};a.prototype={Cd:function(){if(!this.Sb){var c=this.ga,g=c.length,i=h.q,j=i.ya,f=h.m("0");j=j.W;f=["left",f,"top",f];if(g===1){c.push(new i.rb(j,"center"));g++}if(g===2){j&(c[0].h|c[1].h)&&c[0].c in d&&c[1].c in e&&c.push(c.shift());if(c[0].h&j)if(c[0].c==="center")f[1]=b;else f[0]=c[0].c;else if(c[0].G())f[1]=h.m(c[0].c);if(c[1].h&j)if(c[1].c==="center")f[3]=b;else f[2]=c[1].c;else if(c[1].G())f[3]=h.m(c[1].c)}this.Sb=f}return this.Sb},coords:function(c,
g,i){var j=this.Cd(),f=j[1].a(c,g);c=j[3].a(c,i);return{x:j[0]==="right"?g-f:f,y:j[2]==="bottom"?i-c:c}}};return a}();h.Ma=function(){function a(b,d){this.f=b;this.e=d}a.prototype={a:function(b,d,e,c,g){var i=this.f,j=this.e,f=d/e;c=c/g;if(i==="contain"){i=c>f?d:e*c;j=c>f?d/c:e}else if(i==="cover"){i=c<f?d:e*c;j=c<f?d/c:e}else if(i==="auto"){j=j==="auto"?g:j.a(b,e);i=j*c}else{i=i.a(b,d);j=j==="auto"?i/c:j.a(b,e)}return{f:i,e:j}}};a.Kc=new a("auto","auto");return a}();h.Dc=function(){function a(b){this.ha=
b}a.prototype={Gb:/[a-z]+$/i,Bb:function(){return this.Xc||(this.Xc=this.ha.match(this.Gb)[0].toLowerCase())},kd:function(){var b=this.Sc,d;if(b===undefined){b=this.Bb();d=parseFloat(this.ha,10);b=this.Sc=b==="deg"?d:b==="rad"?d/Math.PI*180:b==="grad"?d/400*360:b==="turn"?d*360:0}return b}};return a}();h.Jc=function(){function a(f,k,l){if(l<0)l+=1;else if(l>1)l-=1;return 255*(6*l<1?f+(k-f)*l*6:2*l<1?k:3*l<2?f+(k-f)*(2/3-l)*6:f)}function b(f){this.ha=f}var d={};b.Ud=/\s*rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(\d+|\d*\.\d+))?\s*\)\s*/;
b.Gd=/\s*hsla?\(\s*(\d*\.?\d+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*(\d+|\d*\.\d+))?\s*\)\s*/;b.db={};for(var e="black|0|navy|3k|darkblue|b|mediumblue|1u|blue|1e|darkgreen|jk1|green|5j4|teal|3k|darkcyan|26j|deepskyblue|ad0|darkturquoise|2xe|mediumspringgreen|8nd|lime|va|springgreen|3j|aqua|3k|cyan|0|midnightblue|xunl|dodgerblue|7ogf|lightseagreen|2zsb|forestgreen|2lbs|seagreen|guut|darkslategray|12pk|limegreen|4wkj|mediumseagreen|dwlb|turquoise|5v8f|royalblue|r2p|steelblue|75qr|darkslateblue|2fh3|mediumturquoise|ta9|indigo|32d2|darkolivegreen|emr1|cadetblue|ebu9|cornflowerblue|6z4d|mediumaquamarine|3459|dimgray|3nwf|slateblue|1bok|olivedrab|1opi|slategray|6y5p|lightslategray|9vk9|mediumslateblue|5g0l|lawngreen|27ma|chartreuse|48ao|aquamarine|5w|maroon|18|purple|3k|olive|p6o|gray|3k|lightslateblue|5j7j|skyblue|4q98|lightskyblue|f|blueviolet|3bhk|darkred|15we|darkmagenta|3v|saddlebrown|djc|darkseagreen|69vg|lightgreen|1og1|mediumpurple|3ivc|darkviolet|sfv|palegreen|6zt1|darkorchid|awk|yellowgreen|292e|sienna|7r3v|brown|6sxp|darkgray|6bgf|lightblue|5vlp|greenyellow|7k9|paleturquoise|2pxb|lightsteelblue|169c|powderblue|5jc|firebrick|1rgc|darkgoldenrod|8z55|mediumorchid|2jm0|rosybrown|34jg|darkkhaki|1mfw|silver|49jp|mediumvioletred|8w5h|indianred|8tef|peru|82r|violetred|3ntd|feldspar|212d|chocolate|16eh|tan|ewe|lightgrey|1kqv|palevioletred|6h8g|metle|fnp|orchid|2dj2|goldenrod|abu|crimson|20ik|gainsboro|13mo|plum|12pt|burlywood|1j8q|lightcyan|3794|lavender|8agr|darksalmon|3rsw|violet|6wz8|palegoldenrod|k3g|lightcoral|28k6|khaki|k5o|aliceblue|3n7|honeydew|1dd|azure|f|sandybrown|5469|wheat|1q37|beige|4kp|whitesmoke|p|mintcream|1z9|ghostwhite|46bp|salmon|25bn|antiquewhite|l7p|linen|zz|lightgoldenrodyellow|1yk|oldlace|46qc|red|1gka|magenta|73|fuchsia|0|deeppink|3v8|orangered|9kd|tomato|5zb|hotpink|19p|coral|49o|darkorange|2i8|lightsalmon|41m|orange|w6|lightpink|3i9|pink|1ze|gold|4dx|peachpuff|qh|navajowhite|s4|moccasin|16w|bisque|f|mistyrose|t|blanchedalmond|1d8|papayawhip|so|lavenderblush|80|seashell|zd|cornsilk|ku|lemonchiffon|dt|floralwhite|z|snow|a|yellow|sm|lightyellow|68|ivory|g|white|f".split("|"),
c=0,g=e.length,i=0,j;c<g;c+=2){i+=parseInt(e[c+1],36);j=i.toString(16);b.db[e[c]]="#000000".slice(0,-j.length)+j}b.prototype={parse:function(){if(!this.tb){var f=this.ha,k;if(k=f.match(b.Ud)){f=this.sc(+k[1],+k[2],+k[3]);k=k[5]?+k[5]:1}else if(k=f.match(b.Gd)){var l=k[1],m=k[2],o=k[3],t,r;f=Math.round;m/=100;o/=100;if(m){m=o<=0.5?o*(m+1):o+m-o*m;t=o*2-m;l=l%360/360;o=a(t,m,l+1/3);r=a(t,m,l);l=a(t,m,l-1/3)}else o=r=l=o*255;f={Sd:f(o),ud:f(r),$c:f(l)};f=this.sc(f.Sd,f.ud,f.$c);k=k[5]?+k[5]:1}else{if(b.db.hasOwnProperty(k=
f.toLowerCase()))f=b.db[k];k=f==="transparent"?0:1}this.tb=f;this.Rc=k}},sc:function(f,k,l){return"#"+(f<16?"0":"")+f.toString(16)+(k<16?"0":"")+k.toString(16)+(l<16?"0":"")+l.toString(16)},M:function(f){this.parse();return this.tb==="currentColor"?h.aa(f.currentStyle.color).M(f):this.tb},Y:function(){this.parse();return this.Rc}};h.aa=function(f){return d[f]||(d[f]=new b(f))};return b}();h.q=function(){function a(d){this.$a=d;this.ch=0;this.ga=[];this.Ja=0}var b=a.ya={La:1,Mb:2,u:4,Lc:8,Nb:16,W:32,
I:64,wa:128,xa:256,Ta:512,Oc:1024,URL:2048};a.rb=function(d,e){this.h=d;this.c=e};a.rb.prototype={Ea:function(){return this.h&b.I||this.h&b.wa&&this.c==="0"},G:function(){return this.Ea()||this.h&b.Ta}};a.prototype={ke:/\s/,Od:/^[\+\-]?(\d*\.)?\d+/,url:/^url\(\s*("([^"]*)"|'([^']*)'|([!#$%&*-~]*))\s*\)/i,hc:/^\-?[_a-z][\w-]*/i,de:/^("([^"]*)"|'([^']*)')/,Ed:/^#([\da-f]{6}|[\da-f]{3})/i,je:{px:b.I,em:b.I,ex:b.I,mm:b.I,cm:b.I,"in":b.I,pt:b.I,pc:b.I,deg:b.La,rad:b.La,grad:b.La},dd:{rgb:1,rgba:1,hsl:1,
hsla:1},next:function(d){function e(o,t){o=new a.rb(o,t);if(!d){k.ga.push(o);k.Ja++}return o}function c(){k.Ja++;return null}var g,i,j,f,k=this;if(this.Ja<this.ga.length)return this.ga[this.Ja++];for(;this.ke.test(this.$a.charAt(this.ch));)this.ch++;if(this.ch>=this.$a.length)return c();i=this.ch;g=this.$a.substring(this.ch);j=g.charAt(0);switch(j){case "#":if(f=g.match(this.Ed)){this.ch+=f[0].length;return e(b.u,f[0])}break;case '"':case "'":if(f=g.match(this.de)){this.ch+=f[0].length;return e(b.Oc,
f[2]||f[3]||"")}break;case "/":case ",":this.ch++;return e(b.xa,j);case "u":if(f=g.match(this.url)){this.ch+=f[0].length;return e(b.URL,f[2]||f[3]||f[4]||"")}}if(f=g.match(this.Od)){j=f[0];this.ch+=j.length;if(g.charAt(j.length)==="%"){this.ch++;return e(b.Ta,j+"%")}if(f=g.substring(j.length).match(this.hc)){j+=f[0];this.ch+=f[0].length;return e(this.je[f[0].toLowerCase()]||b.Lc,j)}return e(b.wa,j)}if(f=g.match(this.hc)){j=f[0];this.ch+=j.length;if(j.toLowerCase()in h.Jc.db||j==="currentColor"||j===
"transparent")return e(b.u,j);if(g.charAt(j.length)==="("){this.ch++;if(j.toLowerCase()in this.dd){g=function(o){return o&&o.h&b.wa};f=function(o){return o&&o.h&(b.wa|b.Ta)};var l=function(o,t){return o&&o.c===t},m=function(){return k.next(1)};if((j.charAt(0)==="r"?f(m()):g(m()))&&l(m(),",")&&f(m())&&l(m(),",")&&f(m())&&(j==="rgb"||j==="hsa"||l(m(),",")&&g(m()))&&l(m(),")"))return e(b.u,this.$a.substring(i,this.ch));return c()}return e(b.Nb,j)}return e(b.W,j)}this.ch++;return e(b.Mb,j)},C:function(){return this.ga[this.Ja-- -
2]},all:function(){for(;this.next(););return this.ga},va:function(d,e){for(var c=[],g,i;g=this.next();){if(d(g)){i=true;this.C();break}c.push(g)}return e&&!i?null:c}};return a}();h.Lb=function(a){this.d=a};h.Lb.prototype={X:0,qc:function(){var a=this.ub,b;return!a||(b=this.n())&&(a.x!==b.x||a.y!==b.y)},Zd:function(){var a=this.ub,b;return!a||(b=this.n())&&(a.f!==b.f||a.e!==b.e)},dc:function(){var a=this.d,b=a.getBoundingClientRect(),d=h.qa===9,e=h.U===7,c=b.right-b.left;return{x:b.left,y:b.top,f:d||
e?a.offsetWidth:c,e:d||e?a.offsetHeight:b.bottom-b.top,kc:e&&c?a.offsetWidth/c:1}},n:function(){return this.X?this.Va||(this.Va=this.dc()):this.dc()},Dd:function(){return!!this.ub},cb:function(){++this.X},ib:function(){if(!--this.X){if(this.Va)this.ub=this.Va;this.Va=null}}};(function(){function a(b){var d=h.Q.pa(b);return function(){if(this.X){var e=this.Qb||(this.Qb={});return d in e?e[d]:(e[d]=b.call(this))}else return b.call(this)}}h.p={X:0,ba:function(b){function d(e){this.d=e;this.Pb=this.T()}
h.Fa(d.prototype,h.p,b);d.Wc={};return d},i:function(){var b=this.T(),d=this.constructor.Wc;return b?b in d?d[b]:(d[b]=this.ea(b)):null},T:a(function(){var b=this.d,d=this.constructor,e=b.style;b=b.currentStyle;var c=this.Aa,g=this.Ia,i=d.Uc||(d.Uc=h.z+c);d=d.Vc||(d.Vc=h.qb+g.charAt(0).toUpperCase()+g.substring(1));return e[d]||b.getAttribute(i)||e[g]||b.getAttribute(c)}),j:a(function(){return!!this.i()}),L:a(function(){var b=this.T(),d=b!==this.Pb;this.Pb=b;return d}),oa:a,cb:function(){++this.X},
ib:function(){--this.X||delete this.Qb}}})();h.Ib=h.p.ba({Aa:h.z+"background",Ia:h.qb+"Background",Zc:{scroll:1,fixed:1,local:1},hb:{"repeat-x":1,"repeat-y":1,repeat:1,"no-repeat":1},oc:{"padding-box":1,"border-box":1,"content-box":1},Rd:{top:1,right:1,bottom:1,left:1,center:1},$d:{contain:1,cover:1},ge:{top:1,bottom:1},Ld:{left:1,right:1},fb:{Oa:"backgroundClip",u:"backgroundColor",ia:"backgroundImage",Ra:"backgroundOrigin",P:"backgroundPosition",ka:"backgroundRepeat",Ua:"backgroundSize"},ea:function(a){function b(s){return s&&
(s.G()&&h.m(s.c)||s.c==="auto"&&"auto")}var d=this.d.currentStyle,e,c,g,i=h.q.ya,j=i.xa,f=i.W,k=i.u,l,m,o=0,t=this.Rd,r,u,q,n,p={R:[]};if(this.yb()){e=new h.q(a);for(g={};c=e.next();){l=c.h;m=c.c;if(!g.V&&l&i.Nb&&m==="linear-gradient"){r={ua:[],V:m};for(u={};c=e.next();){l=c.h;m=c.c;if(l&i.Mb&&m===")"){u.color&&r.ua.push(u);r.ua.length>1&&h.Fa(g,r);break}if(l&k){if(r.la||r.ab){c=e.C();if(c.h!==j)break;e.next()}u={color:h.aa(m)};c=e.next();if(c.G())u.mc=h.m(c.c);else e.C()}else if(l&i.La&&!r.la&&!r.ab&&
!u.color&&!r.ua.length)r.la=new h.Dc(c.c);else if(l&i.W&&m==="to"&&!r.ab&&!r.la&&!u.color&&!r.ua.length){q=this.ge;n=this.Ld;c=e.va(function(s){return!(s&&s.h&i.W&&(s.c in q||s.c in n))});l=c.length;c=[c[0]&&c[0].c,c[1]&&c[1].c];if(l<1||l>2||l>1&&(c[0]in q&&c[1]in q||c[0]in n&&c[1]in n))break;r.ab=c}else if(l&j&&m===","){if(u.color){r.ua.push(u);u={}}}else break}}else if(!g.V&&l&i.URL){g.Db=m;g.V="image"}else if((c&&c.G()||c.h&f&&c.c in t)&&!g.ma){e.C();g.ma=new h.kb(e.va(function(s){return!(s&&s.G()||
s.h&f&&s.c in t)},false))}else if(l&f)if(m in this.hb&&!g.bb)g.bb=m;else if(m in this.oc&&!g.Ya){g.Ya=m;if((c=e.next())&&c.h&f&&c.c in this.oc)g.Xa=c.c;else{g.Xa=m;e.C()}}else if(m in this.Zc&&!g.ad)g.ad=m;else return null;else if(l&k&&!p.color)p.color=h.aa(m);else if(l&j&&m==="/"&&!g.Za&&g.ma){c=e.next();if(c.h&f&&c.c in this.$d)g.Za=new h.Ma(c.c);else if(r=b(c)){u=b(e.next());if(!u){u=r;e.C()}g.Za=new h.Ma(r,u)}else return null}else if(l&j&&m===","&&g.V){g.nc=a.substring(o,e.ch-1);o=e.ch;p.R.push(g);
g={}}else return null}if(g.V){g.nc=a.substring(o);p.R.push(g)}p.cd=g.Xa}else this.zc(h.qa<9?function(){var s=this.fb,v=d[s.P+"X"],z=d[s.P+"Y"],x=d[s.ia],B=d[s.u];if(B!=="transparent")p.color=h.aa(B);if(x!=="none")p.R=[{V:"image",Db:(new h.q(x)).next().c,bb:d[s.ka],ma:new h.kb((new h.q(v+" "+z)).all())}]}:function(){var s=this.fb,v=/\s*,\s*/,z=d[s.ia].split(v),x=d[s.u],B,G,H,L,J,F;if(x!=="transparent")p.color=h.aa(x);if((L=z.length)&&z[0]!=="none"){x=d[s.ka].split(v);B=d[s.P].split(v);G=d[s.Ra].split(v);
H=d[s.Oa].split(v);s=d[s.Ua].split(v);p.R=[];for(v=0;v<L;v++)if((J=z[v])&&J!=="none"){F=s[v].split(" ");p.R.push({nc:J+" "+x[v]+" "+B[v]+" / "+s[v]+" "+G[v]+" "+H[v],V:"image",Db:(new h.q(J)).next().c,bb:x[v],ma:new h.kb((new h.q(B[v])).all()),Ya:G[v],Xa:H[v],Za:new h.Ma(F[0],F[1])})}}});return p.color||p.R[0]?p:null},zc:function(a){var b=h.qa>8,d=this.fb,e=this.d.runtimeStyle,c=e[d.ia],g=e[d.u],i=e[d.ka],j,f,k,l;if(c)e[d.ia]="";if(g)e[d.u]="";if(i)e[d.ka]="";if(b){j=e[d.Oa];f=e[d.Ra];l=e[d.P];k=
e[d.Ua];if(j)e[d.Oa]="";if(f)e[d.Ra]="";if(l)e[d.P]="";if(k)e[d.Ua]=""}a=a.call(this);if(c)e[d.ia]=c;if(g)e[d.u]=g;if(i)e[d.ka]=i;if(b){if(j)e[d.Oa]=j;if(f)e[d.Ra]=f;if(l)e[d.P]=l;if(k)e[d.Ua]=k}return a},T:h.p.oa(function(){return this.yb()||this.zc(function(){var a=this.d.currentStyle,b=this.fb;return a[b.u]+" "+a[b.ia]+" "+a[b.ka]+" "+a[b.P+"X"]+" "+a[b.P+"Y"]})}),yb:h.p.oa(function(){var a=this.d;return a.style[this.Ia]||a.currentStyle.getAttribute(this.Aa)}),vd:function(a,b,d,e){var c=this.d,
g=b.n();b=g.f;g=g.e;if(a!=="border-box")if((d=d.i())&&(d=d.O)){b-=d.l.a(c)+d.r.a(c);g-=d.t.a(c)+d.b.a(c)}if(a==="content-box")if(a=e.i()){b-=a.l.a(c)+a.r.a(c);g-=a.t.a(c)+a.b.a(c)}return{f:b,e:g}},jc:function(){var a=0;if(h.U<7){a=this.d;a=""+(a.style[h.qb+"PngFix"]||a.currentStyle.getAttribute(h.z+"png-fix"))==="true"}return a},j:h.p.oa(function(){return(this.yb()||this.jc())&&!!this.i()})});h.Kb=h.p.ba({tc:["Top","Right","Bottom","Left"],Md:{thin:"1px",medium:"3px",thick:"5px"},ea:function(){var a=
{},b={},d={},e=false,c=true,g=true,i=true;this.Ac(function(){for(var j=this.d.currentStyle,f=0,k,l,m,o,t,r,u;f<4;f++){m=this.tc[f];u=m.charAt(0).toLowerCase();k=b[u]=j["border"+m+"Style"];l=j["border"+m+"Color"];m=j["border"+m+"Width"];if(f>0){if(k!==o)g=false;if(l!==t)c=false;if(m!==r)i=false}o=k;t=l;r=m;d[u]=h.aa(l);m=a[u]=h.m(b[u]==="none"?"0":this.Md[m]||m);if(m.a(this.d)>0)e=true}});return e?{O:a,ee:b,ed:d,re:i,fd:c,fe:g}:null},T:h.p.oa(function(){var a=this.d,b=a.currentStyle,d;a.tagName in
h.vc&&a.offsetParent.currentStyle.borderCollapse==="collapse"||this.Ac(function(){d=b.borderWidth+"|"+b.borderStyle+"|"+b.borderColor});return d}),Ac:function(a){var b=this.d.runtimeStyle,d=b.borderWidth,e=b.borderColor;if(d)b.borderWidth="";if(e)b.borderColor="";a=a.call(this);if(d)b.borderWidth=d;if(e)b.borderColor=e;return a}});(function(){h.lb=h.p.ba({Aa:"border-radius",Ia:"borderRadius",ea:function(b){var d=null,e,c,g,i,j=false;if(b){c=new h.q(b);var f=function(){for(var k=[],l;(g=c.next())&&
g.G();){i=h.m(g.c);l=i.ec();if(l<0)return null;if(l>0)j=true;k.push(i)}return k.length>0&&k.length<5?{tl:k[0],tr:k[1]||k[0],br:k[2]||k[0],bl:k[3]||k[1]||k[0]}:null};if(b=f()){if(g){if(g.h&h.q.ya.xa&&g.c==="/")e=f()}else e=b;if(j&&b&&e)d={x:b,y:e}}}return d}});var a=h.m("0");a={tl:a,tr:a,br:a,bl:a};h.lb.Cc={x:a,y:a}})();h.Jb=h.p.ba({Aa:"border-image",Ia:"borderImage",hb:{stretch:1,round:1,repeat:1,space:1},ea:function(a){var b=null,d,e,c,g,i,j,f=0,k=h.q.ya,l=k.W,m=k.wa,o=k.Ta;if(a){d=new h.q(a);b=
{};for(var t=function(q){return q&&q.h&k.xa&&q.c==="/"},r=function(q){return q&&q.h&l&&q.c==="fill"},u=function(){g=d.va(function(q){return!(q.h&(m|o))});if(r(d.next())&&!b.fill)b.fill=true;else d.C();if(t(d.next())){f++;i=d.va(function(q){return!q.G()&&!(q.h&l&&q.c==="auto")});if(t(d.next())){f++;j=d.va(function(q){return!q.Ea()})}}else d.C()};a=d.next();){e=a.h;c=a.c;if(e&(m|o)&&!g){d.C();u()}else if(r(a)&&!b.fill){b.fill=true;u()}else if(e&l&&this.hb[c]&&!b.repeat){b.repeat={e:c};if(a=d.next())if(a.h&
l&&this.hb[a.c])b.repeat.xc=a.c;else d.C()}else if(e&k.URL&&!b.src)b.src=c;else return null}if(!b.src||!g||g.length<1||g.length>4||i&&i.length>4||f===1&&i.length<1||j&&j.length>4||f===2&&j.length<1)return null;if(!b.repeat)b.repeat={e:"stretch"};if(!b.repeat.xc)b.repeat.xc=b.repeat.e;a=function(q,n){return{t:n(q[0]),r:n(q[1]||q[0]),b:n(q[2]||q[0]),l:n(q[3]||q[1]||q[0])}};b.slice=a(g,function(q){return h.m(q.h&m?q.c+"px":q.c)});if(i&&i[0])b.O=a(i,function(q){return q.G()?h.m(q.c):q.c});if(j&&j[0])b.Ga=
a(j,function(q){return q.Ea()?h.m(q.c):q.c})}return b}});h.Ic=h.p.ba({Aa:"box-shadow",Ia:"boxShadow",ea:function(a){var b,d=h.m,e=h.q.ya,c;if(a){c=new h.q(a);b={Ga:[],Eb:[]};for(a=function(){for(var g,i,j,f,k,l;g=c.next();){j=g.c;i=g.h;if(i&e.xa&&j===",")break;else if(g.Ea()&&!k){c.C();k=c.va(function(m){return!m.Ea()})}else if(i&e.u&&!f)f=j;else if(i&e.W&&j==="inset"&&!l)l=true;else return false}g=k&&k.length;if(g>1&&g<5){(l?b.Eb:b.Ga).push({le:d(k[0].c),me:d(k[1].c),blur:d(k[2]?k[2].c:"0"),ae:d(k[3]?
k[3].c:"0"),color:h.aa(f||"currentColor")});return true}return false};a(););}return b&&(b.Eb.length||b.Ga.length)?b:null}});h.Ob=h.p.ba({ea:function(a){a=new h.q(a);for(var b=[],d;(d=a.next())&&d.G();)b.push(h.m(d.c));return b.length>0&&b.length<5?{t:b[0],r:b[1]||b[0],b:b[2]||b[0],l:b[3]||b[1]||b[0]}:null},T:h.p.oa(function(){var a=this.d,b=a.runtimeStyle,d=b.padding;if(d)b.padding="";a=a.currentStyle.padding;if(d)b.padding=d;return a})});h.Pc=h.p.ba({T:h.p.oa(function(){var a=this.d,b=a.runtimeStyle,
d=a.currentStyle;a=b.visibility;b.visibility="";d=d.visibility+"|"+d.display;b.visibility=a;return d}),ea:function(){var a=this.T().split("|");return{yc:a[0]!=="hidden",Wb:a[1]!=="none"}},j:function(){return false}});h.Qc=function(){function a(c){return function(){var g=arguments,i,j=g.length,f,k,l;f=this[d+c]||(this[d+c]={});for(i=0;i<j;i+=2)f[g[i]]=g[i+1];if(f=this.B()){if(c)f=f[c];for(i=0;i<j;i+=2){k=g[i];if(l=e[k])l.call(this,f,k,g[i+1]);else f[k]=g[i+1]}}}}function b(c,g){this.Yb="_pie_"+(c||
"shape")+h.Q.pa(this);this.eb=g||0}var d="_attrs_",e={colors:function(c,g,i){if(c[g])c[g].value=i;else c[g]=i},size:function(c,g,i){if(i){c[g].x=1;c[g]=i}else delete c[g]},"o:opacity2":function(c,g,i){if(i!==this.Jd){this.B().insertAdjacentHTML("afterEnd",this.Ab());this.k();this.Jd=i}}};(function c(){try{I.namespaces.add("pievml","urn:schemas-microsoft-com:vml","#default#VML")}catch(g){setTimeout(c,1)}})();b.prototype={Tb:"behavior:url(#default#VML);",jd:"position:absolute;top:0px;left:0px;",hd:'coordorigin="1,1" stroked="false" ',
tagName:"shape",lc:0,B:function(){return this.lc?this.Rb||(this.Rb=I.getElementById(this.Yb)):null},fa:a(""),Ha:a("style"),w:a("fill"),ta:function(c,g){this.Ha("width",c+"px","height",g+"px");this.fa("coordsize",c*2+","+g*2)},Bd:function(){var c=this[d+"style"]||{},g=[],i;for(i in c)c.hasOwnProperty(i)&&g.push(i+":"+c[i]);return this.Tb+this.jd+g.join(";")},Ab:function(){function c(m){if(m)for(var o in m)m.hasOwnProperty(o)&&i.push(" "+o+'="'+m[o]+'"')}function g(m){var o=j[d+m];if(o){i.push(k+m);
c(o);i.push(l)}}var i,j=this,f=j.tagName,k="<pievml:",l=' style="'+j.Tb+'" />';j.lc=1;i=[k,f,' id="',j.Yb,'" style="',j.Bd(),'" ',j.hd];c(j[d]);i.push(">");g("fill");i.push("</pievml:"+f+">");return i.join("")},k:function(){var c=this.B(),g=c&&c.parentNode;if(g){g.removeChild(c);delete this.Rb}}};return b}();h.v={sa:function(a){function b(d,e,c,g){this.d=d;this.o=e;this.g=c;this.parent=g}h.Fa(b.prototype,h.v,a);return b},ra:function(){return false},rc:h.qd,Hb:function(){this.j()?this.Ca():this.k()},
Cb:function(){this.d.runtimeStyle.borderColor="transparent"},k:function(){}};h.Fa(h.v,{B:function(a,b){var d=this.wb||(this.wb={}),e=d[a];if(!e){e=d[a]=new h.Qc(a,b);this.parent.td(e)}return e},Ba:function(a){var b=this.wb,d=b&&b[a];if(d){d.k();this.parent.Td(d);delete b[a]}return!!d},Ad:function(a){var b=this.d,d=this.o.n(),e=d.f,c=d.e,g,i,j,f,k,l;d=a.x.tl.a(b,e);g=a.y.tl.a(b,c);i=a.x.tr.a(b,e);j=a.y.tr.a(b,c);f=a.x.br.a(b,e);k=a.y.br.a(b,c);l=a.x.bl.a(b,e);a=a.y.bl.a(b,c);e=Math.min(e/(d+i),c/(j+
k),e/(l+f),c/(g+a));if(e<1){d*=e;g*=e;i*=e;j*=e;f*=e;k*=e;l*=e;a*=e}return{x:{tl:d,tr:i,br:f,bl:l},y:{tl:g,tr:j,br:k,bl:a}}},Z:function(a,b,d,e,c,g){a=this.$(a,b,d,e,c,g);return"m"+a[0]+","+a[1]+"qy"+a[2]+","+a[3]+"l"+a[4]+","+a[5]+"qx"+a[6]+","+a[7]+"l"+a[8]+","+a[9]+"qy"+a[10]+","+a[11]+"l"+a[12]+","+a[13]+"qx"+a[14]+","+a[15]+"x"},$:function(a,b,d,e,c,g){var i=this.o.n(),j=i.f*c,f=i.e*c,k=Math;i=k.floor;var l=k.ceil,m=k.max;k=k.min;a*=c;b*=c;d*=c;e*=c;g||(g=this.g.F.i());if(g){g=this.Ad(g);var o=
g.x.tl*c,t=g.y.tl*c,r=g.x.tr*c,u=g.y.tr*c,q=g.x.br*c,n=g.y.br*c,p=g.x.bl*c;c=g.y.bl*c;e=[i(e),i(k(m(t,a),f-d)),i(k(m(o,e),j-b)),i(a),l(m(e,j-m(r,b))),i(a),l(j-b),i(k(m(u,a),f-d)),l(j-b),l(m(a,f-m(n,d))),l(m(e,j-m(q,b))),l(f-d),i(k(m(p,e),j-b)),l(f-d),i(e),l(m(a,f-m(c,d)))]}else{a=i(a);b=l(j-b);d=l(f-d);e=i(e);e=[e,a,e,a,b,a,b,a,b,d,b,d,e,d,e,d]}return e},Cb:function(){var a=this.d,b=a.currentStyle,d=a.runtimeStyle,e=a.tagName,c=h.U===6,g;if(c&&(e in h.Ub||e==="FIELDSET")||e==="BUTTON"||e==="INPUT"&&
a.type in h.Id){d.borderWidth="";e=this.g.s.tc;for(g=e.length;g--;){c=e[g];d["padding"+c]="";d["padding"+c]=h.m(b["padding"+c]).a(a)+h.m(b["border"+c+"Width"]).a(a)+(h.U!==8&&g%2?1:0)}d.borderWidth=0}else if(c){if(a.childNodes.length!==1||a.firstChild.tagName!=="ie6-mask"){b=I.createElement("ie6-mask");e=b.style;e.visibility="visible";for(e.zoom=1;e=a.firstChild;)b.appendChild(e);a.appendChild(b);d.visibility="hidden"}}else d.borderColor="transparent"},qe:function(){},k:function(){var a=this.wb,b;
if(a)for(b in a)a.hasOwnProperty(b)&&this.Ba(b)}});h.Nc=h.v.sa({j:function(){var a=this.bd;for(var b in a)if(a.hasOwnProperty(b)&&a[b].j())return true;return false},bc:function(){var a=this.fc(),b=a,d;d=a.currentStyle.position;var e=a=0;e=this.o.n();var c=this.g.jb.i(),g=e.kc;if(d==="fixed"&&h.U>6){a=e.x*g;e=e.y*g;b=d}else{do b=b.offsetParent;while(b&&b.currentStyle.position==="static");if(b){d=b.getBoundingClientRect();b=b.currentStyle;a=(e.x-d.left)*g-(parseFloat(b.borderLeftWidth)||0);e=(e.y-d.top)*
g-(parseFloat(b.borderTopWidth)||0)}else{b=I.documentElement;a=(e.x+b.scrollLeft-b.clientLeft)*g;e=(e.y+b.scrollTop-b.clientTop)*g}b="absolute"}return"direction:ltr;behavior:none !important;position:"+b+";background:none;left:"+a+"px;top:"+e+"px;"+(c.yc&&c.Wb?"":"display:none;")},wc:function(){var a=this.xb();if(a&&(this.o.qc()||this.g.jb.L()))a.style.cssText=this.bc()+"z-index:"+this.cc()},fc:function(){var a=this.d;return a.tagName in h.vc?a.offsetParent:a},xb:function(){var a=this.sb;if(!a)a=this.sb=
I.getElementById("_pie"+h.Q.pa(this));return a},cc:function(){var a=this.d.currentStyle;return a.position==="static"?"-1":a.zIndex},Hb:function(){var a=this.Wa,b,d,e,c,g,i;if(this.j())if(a)if(b=this.vb){d=0;for(e=a.length;d<e;d++){for(c=b.length;c--;)if(b[c].eb<a[d].eb)break;if(c<0){g=this.xb();i="afterBegin"}else{g=b[c].B();i="afterEnd"}g.insertAdjacentHTML(i,a[d].Ab());b.splice(c<0?0:c,0,a[d])}this.Wa=0;this.wc()}else{d=this.g.jb.i();if(d.yc&&d.Wb){a.sort(this.Xd);b=['<css3pie id="_pie'+h.Q.pa(this)+
'" style="'+this.bc()+'">'];d=0;for(e=a.length;d<e;d++)b.push(a[d].Ab());b.push("</css3pie>");this.fc().insertAdjacentHTML("beforeBegin",b.join(""));this.xb().style.zIndex=this.cc();this.vb=a;this.Wa=0}}else this.wc();else this.k()},Xd:function(a,b){return a.eb-b.eb},td:function(a){(this.Wa||(this.Wa=[])).push(a)},Td:function(a){var b=this.vb,d;if(b)for(d=b.length;d--;)if(b[d]===a){b.splice(d,1);break}},k:function(){var a=this.sb,b;if(a&&(b=a.parentNode))b.removeChild(a);delete this.sb;delete this.vb}});
I.createElement("css3pie");h.Ec=h.v.sa({H:2,ra:function(){var a=this.g;return a.K.L()||a.F.L()},j:function(){var a=this.g;return a.D.j()||a.F.j()||a.K.j()||a.na.j()&&a.na.i().Eb},Ca:function(){var a=this.o.n();if(a.f&&a.e){this.od();this.pd()}},od:function(){var a=this.g.K.i(),b=this.o.n(),d=this.d,e=a&&a.color,c;if(e&&e.Y()>0){this.gc();c=this.B("bgColor",this.H);c.ta(b.f,b.e);c.fa("path",this.ac(b,a.cd));c.w("color",e.M(d));a=e.Y();a<1&&c.w("opacity",a)}else this.Ba("bgColor")},pd:function(){var a=
this.g.K.i(),b=this.o.n();a=a&&a.R;var d,e,c,g,i;if(a){this.gc();c=b.f;g=b.e;for(i=a.length;i--;){d=a[i];e=this.B("bgImage"+i,this.H+(0.5-i/1E3));e.fa("path",this.ac(b,d.Xa));e.ta(c,g);if(d.V==="linear-gradient")this.Yc(e,d);else{e.w("type","tile","color","none");this.Qd(e,d.Db,i)}}}for(i=a?a.length:0;this.Ba("bgImage"+i++););},Qd:function(a,b,d){h.Q.Bc(b,function(e){var c=this.d,g=this.o.n(),i=g.f,j=g.e;if(i&&j){var f=this.g,k=f.K,l=k.i().R[d],m=k.vd(l.Ya,this.o,f.s,f.da);f=(l.Za||h.Ma.Kc).a(this.d,
m.f,m.e,e.f,e.e);k=this.wd(l.Ya);c=l.ma?l.ma.coords(c,m.f-f.f,m.e-f.e):{x:0,y:0};l=l.bb;var o=0,t=0,r=i+1,u=j+1,q=h.U===8?0:1;m=Math.round(k.x+c.x)+0.5;k=Math.round(k.y+c.y)+0.5;a.w("src",b,"position",m/i+","+k/j,"size",f.f!==e.f||f.e!==e.e||g.kc!==1||screen.logicalXDPI/screen.deviceXDPI!==1?h.Qa.gb(f.f)+"pt,"+h.Qa.gb(f.e)+"pt":"");if(l&&l!=="repeat"){if(l==="repeat-x"||l==="no-repeat"){o=k+1;u=k+f.e+q}if(l==="repeat-y"||l==="no-repeat"){t=m+1;r=m+f.f+q}a.Ha("clip","rect("+o+"px,"+r+"px,"+u+"px,"+
t+"px)")}}},this)},ac:function(a,b){var d=0,e=0,c=0,g=0,i=this.d,j=this.g,f;if(b&&b!=="border-box")if((f=j.s.i())&&(f=f.O)){d+=f.t.a(i);e+=f.r.a(i);c+=f.b.a(i);g+=f.l.a(i)}if(b==="content-box")if(b=j.da.i()){d+=b.t.a(i);e+=b.r.a(i);c+=b.b.a(i);g+=b.l.a(i)}return"m0,0r0,0m"+a.f*2+","+a.e*2+"r0,0"+this.Z(d,e,c,g,2)},wd:function(a){var b=this.d,d=this.g,e=0,c=0,g;if(a!=="border-box")if((g=d.s.i())&&(g=g.O)){e+=g.l.a(b);c+=g.t.a(b)}if(a==="content-box")if(a=d.da.i()){e+=a.l.a(b);c+=a.t.a(b)}return{x:e,
y:c}},Yc:function(a,b){var d=this.d,e=this.o.n(),c=e.f,g=e.e;e=b.ua;var i=e.length,j=Math.PI,f=h.nb.yd(d,c,g,b),k=f.la;b=f.Kd;var l,m;for(c=k%90?Math.atan2(f.ce-f.sd,(f.rd-f.be)*c/g)/j*180-90:-k;c<0;)c+=360;c%=360;g=[];j=[];for(f=0;f<i;f++)j.push(e[f].mc?e[f].mc.a(d,b):f===0?0:f===i-1?b:null);for(f=1;f<i;f++){if(j[f]===null){l=j[f-1];k=f;do m=j[++k];while(m===null);j[f]=l+(m-l)/(k-f+1)}j[f]=Math.max(j[f],j[f-1])}for(f=0;f<i;f++)g.push(j[f]/b*100+"% "+e[f].color.M(d));a.w("angle",c,"type","gradient",
"method","sigma","color",e[0].color.M(d),"color2",e[i-1].color.M(d),"colors",g.join(","));i===2&&a.w("opacity",e[1].color.Y(),"o:opacity2",e[0].color.Y())},gc:function(){var a=this.d.runtimeStyle;a.backgroundImage="url(about:blank)";a.backgroundColor="transparent"},k:function(){h.v.k.call(this);var a=this.d.runtimeStyle;a.backgroundImage=a.backgroundColor=""}});h.Gc=h.v.sa({H:4,Yd:{t:[2,1,0,3,4,7,6,5,90],r:[4,7,6,5,10,9,8,11,0],b:[10,9,8,11,12,15,14,13,270],l:[12,15,14,13,2,1,0,3,180]},gd:{dotted:1,
dashed:1},Vb:{groove:1,ridge:1,inset:1,outset:1},nd:{groove:1,ridge:1,"double":1},ra:function(){var a=this.g;return a.s.L()||a.F.L()},j:function(){var a=this.g;return a.F.j()&&!a.D.j()&&a.s.j()},Ca:function(){var a=this.g.s.i(),b=this.o.n(),d,e,c,g;if(a){this.Cb();d=this.xd();e=c=0;for(g=d.length;e<g;e+=2){a=this.B("border"+c++,this.H);a.ta(b.f,b.e);a.fa("path",d[e]);a.w("color",d[e+1])}for(;this.Ba("border"+c++););}},S:function(a,b,d,e,c,g,i){i=e*(i==="dashed"?3:1);e=c+e;var j;if(i<d-b)for(b+=(d-
b-i)/2%i;b<d;){j=Math.min(b+i,d);a.push(g?"m"+c+","+b+"l"+c+","+j+"l"+e+","+j+"l"+e+","+b+"x":"m"+b+","+c+"l"+j+","+c+"l"+j+","+e+"l"+b+","+e+"x");b+=i*2}},xd:function(){var a=this.g.s,b=[];if(a.j()){var d=this.d,e=this.o.n(),c=a.i(),g=c.O;a=c.ee;var i=c.ed,j=Math,f=j.abs,k=j.round;j=k(g.t.a(d));var l=k(g.r.a(d)),m=k(g.b.a(d));g=k(g.l.a(d));k=[];var o,t,r,u=this.Yd,q,n=this.gd,p,s;if(c.fe&&c.fd&&!(a.t in this.Vb)){if(i.t.Y()>0){k[0]=this.Z(0,0,0,0,2);p=a.t;if(p==="double")k.push(this.Z(j/3,l/3,m/
3,g/3,2)+this.Z(j*2/3,l*2/3,m*2/3,g*2/3,2));else if(p in n){c=this.$(j,l,m,g,2);this.S(k,c[2],c[4],j*2,0,0,a.t);this.S(k,c[7],c[9],l*2,(e.f-l)*2,1,a.r);this.S(k,c[12],c[10],m*2,(e.e-m)*2,0,a.b);this.S(k,c[1],c[15],g*2,0,1,a.l)}k.push(this.Z(j,l,m,g,2));b.push(k.join(""),i.t.M(d))}}else{o=this.$(0,0,0,0,2);c=this.$(j,l,m,g,2);for(q in u)if(u.hasOwnProperty(q)&&i[q].Y()>0){p=u[q];var v=p[0],z=p[1],x=p[2],B=p[3],G=p[4],H=p[5],L=p[6],J=p[7],F=p[8],Q=q==="t"||q==="l";p=a[q];k[0]="al"+o[v]+","+o[z]+","+
f(o[x]-o[v])+","+f(o[B]-o[z])+","+(F+45)*65535+",-2949075ae"+o[G]+","+o[H]+","+f(o[L]-o[G])+","+f(o[J]-o[H])+","+F*65535+",-2949075";if(p in this.nd){if(!t)if(p==="double"){t=this.$(j/3,l/3,m/3,g/3,2);r=this.$(j*2/3,l*2/3,m*2/3,g*2/3,2)}else t=r=this.$(j/2,l/2,m/2,g/2,2);k.push("ae"+t[G]+","+t[H]+","+f(t[L]-t[G])+","+f(t[J]-t[H])+","+(F-45)*65535+",2949075ae"+t[v]+","+t[z]+","+f(t[x]-t[v])+","+f(t[B]-t[z])+","+F*65535+",2949075x");if(p!=="double"){s=i[q].M(d)+((p==="groove"?Q:!Q)?" darken(128)":" lighten(128)");
b.push(k.join(""),s);k.length=0}k.push("al"+r[v]+","+r[z]+","+f(r[x]-r[v])+","+f(r[B]-r[z])+","+(F+45)*65535+",-2949075ae"+r[G]+","+r[H]+","+f(r[L]-r[G])+","+f(r[J]-r[H])+","+F*65535+",-2949075")}k.push("ae"+c[G]+","+c[H]+","+f(c[L]-c[G])+","+f(c[J]-c[H])+","+(F-45)*65535+",2949075ae"+c[v]+","+c[z]+","+f(c[x]-c[v])+","+f(c[B]-c[z])+","+F*65535+",2949075x");if(p in n)q==="t"?this.S(k,c[2],c[4],j*2,0,0,p):q==="r"?this.S(k,c[7],c[9],l*2,(e.f-l)*2,1,p):q==="b"?this.S(k,c[12],c[10],m*2,(e.e-m)*2,0,p):
this.S(k,c[1],c[15],g*2,0,1,p);s=i[q].M(d);if(p in this.Vb)s+=(p==="groove"||p==="outset"?Q:!Q)?" lighten(128)":" darken(128)";b.push(k.join(""),s);k.length=0}}}return b},k:function(){if(this.Zb||!this.g.D.j())this.d.runtimeStyle.borderColor="";h.v.k.call(this)}});h.Fc=h.v.sa({H:5,ra:function(){return this.g.D.L()},j:function(){return this.g.D.j()},Ca:function(){var a=this.g.D.i(),b=this.g.s.i(),d=this.o.n(),e=this.d;h.Q.Bc(a.src,function(c){function g(s,v,z,x,B,G,H,L,J){var F=Math.max;if(!n||!p||
!x||!B||!L||!J)s.Ha("display","none");else{x=F(x,0);B=F(B,0);s.fa("path","m0,0l"+x*2+",0l"+x*2+","+B*2+"l0,"+B*2+"x");s.w("src",q,"type","tile","position","0,0","origin",(G-0.5)/n+","+(H-0.5)/p,"size",h.Qa.gb(x*n/L)+"pt,"+h.Qa.gb(B*p/J)+"pt");s.ta(x,B);s.Ha("left",v+"px","top",z+"px","display","")}}var i=d.f,j=d.e,f=h.m("0"),k=a.O||(b?b.O:{t:f,r:f,b:f,l:f});f=k.t.a(e);var l=k.r.a(e),m=k.b.a(e);k=k.l.a(e);var o=a.slice,t=o.t.a(e),r=o.r.a(e),u=o.b.a(e);o=o.l.a(e);var q=a.src,n=c.f,p=c.e;g(this.N("tl"),
0,0,k,f,0,0,o,t);g(this.N("t"),k,0,i-k-l,f,o,0,n-o-r,t);g(this.N("tr"),i-l,0,l,f,n-r,0,r,t);g(this.N("r"),i-l,f,l,j-f-m,n-r,t,r,p-t-u);g(this.N("br"),i-l,j-m,l,m,n-r,p-u,r,u);g(this.N("b"),k,j-m,i-k-l,m,o,p-u,n-o-r,u);g(this.N("bl"),0,j-m,k,m,0,p-u,o,u);g(this.N("l"),0,f,k,j-f-m,0,t,o,p-t-u);g(this.N("c"),k,f,i-k-l,j-f-m,o,t,a.fill?n-o-r:0,p-t-u)},this)},N:function(a){return this.B("borderImage_"+a,this.H)},rc:function(){if(this.j()){var a=this.d,b=a.runtimeStyle,d=this.g.D.i().O;b.borderStyle="solid";
if(d){b.borderTopWidth=d.t.a(a);b.borderRightWidth=d.r.a(a);b.borderBottomWidth=d.b.a(a);b.borderLeftWidth=d.l.a(a)}this.Cb()}},k:function(){var a=this.d.runtimeStyle;a.borderStyle="";if(this.Zb||!this.g.s.j())a.borderColor=a.borderWidth="";h.v.k.call(this)}});h.Hc=h.v.sa({H:1,ra:function(){var a=this.g;return a.na.L()||a.F.L()},j:function(){var a=this.g.na;return a.j()&&a.i().Ga[0]},Ca:function(){var a=this.d,b=this.g,d=b.na.i().Ga;b=b.F.i();var e=d.length,c=e,g=this.o.n(),i=g.f;g=g.e;for(var j,
f,k,l,m,o,t,r,u,q;c--;){j=d[c];k=j.le.a(a);l=j.me.a(a);m=j.ae.a(a);o=j.blur.a(a);j=j.color;t=j.Y();j=j.M(a);f=-m-o;if(!b&&o)b=h.lb.Cc;r=this.Z(f,f,f,f,2,b);f=this.B("shadow"+c,this.H+(0.5-c/1E3));if(o){u=(m+o)*2+i;q=(m+o)*2+g;m=u?o*2/u:0;o=q?o*2/q:0;if(m>0.5||o>0.5){u=0.5/Math.max(m,o);m*=u;o*=u;t*=u*u}f.w("type","gradienttitle","color2",j,"focusposition",m+","+o,"focussize",1-m*2+","+(1-o*2),"opacity",0,"o:opacity2",t)}else f.w("type","solid","opacity",t);f.fa("path",r);f.w("color",j);f.Ha("left",
k+"px","top",l+"px");f.ta(i,g)}for(;this.Ba("shadow"+e++););}});h.Mc=h.v.sa({H:6,ra:function(){var a=this.g;return this.d.src!==this.Tc||a.F.L()},j:function(){var a=this.g;return a.F.j()||a.K.jc()},Ca:function(){this.Tc=g;this.Fd();var a=this.B("img",this.H),b=this.o.n(),d=b.f;b=b.e;var e=this.g.s.i(),c=e&&e.O;e=this.d;var g=e.src,i=Math.round,j=this.g.da.i();if(!c||h.U<7){c=h.m("0");c={t:c,r:c,b:c,l:c}}a.fa("path",this.Z(i(c.t.a(e)+j.t.a(e)),i(c.r.a(e)+j.r.a(e)),i(c.b.a(e)+j.b.a(e)),i(c.l.a(e)+j.l.a(e)),
2));a.w("type","frame","src",g,"position",(d?0.5/d:0)+","+(b?0.5/b:0));a.ta(d,b)},Fd:function(){this.d.runtimeStyle.filter="alpha(opacity=0)"},k:function(){h.v.k.call(this);this.d.runtimeStyle.filter=""}});h.mb=function(){function a(n,p){n.className+=" "+p}function b(n){var p=q.slice.call(arguments,1),s=p.length;setTimeout(function(){if(n)for(;s--;)a(n,p[s])},0)}function d(n){var p=q.slice.call(arguments,1),s=p.length;setTimeout(function(){if(n)for(;s--;){var v=p[s];v=u[v]||(u[v]=new RegExp("\\b"+
v+"\\b","g"));n.className=n.className.replace(v,"")}},0)}function e(n){if(/^normal$/i.test(n.currentStyle.zoom))n.runtimeStyle.zoom=1}function c(n){function p(w){try{n.filters["DXImageTransform.Microsoft.Gradient"].Enabled=w}catch(y){}}function s(){if(!V){var w,y,C=n.currentStyle,D=n.parentNode,W=C.getAttribute(i)==="true",S=C.getAttribute(f)!=="false",da=C.getAttribute(k)!=="false";R=C.getAttribute(j);R=T>7?R!=="false":R==="true";if(!X){X=1;e(n);for(var $=n,ea=1;$=$.previousSibling;)if($.nodeType===
1){ea=0;break}ea&&a(n,t)}E.cb();if(W&&(y=E.n())&&(w=I.documentElement||I.body)&&(y.y>w.clientHeight||y.x>w.clientWidth||y.y+y.e<0||y.x+y.f<0)){if(!aa){aa=1;h.pb.ca(s)}}else{V=1;aa=X=0;h.pb.Ka(s);if(T===9){A={K:new h.Ib(n),D:new h.Jb(n),s:new h.Kb(n),da:new h.Ob(n)};P=[A.K,A.s,A.D,A.da];M=new h.pe(n,E,A);N=[new h.ne(n,E,A,M),new h.oe(n,E,A,M)]}else{if(D){if(C.position==="static"&&D.currentStyle.position==="static")n.runtimeStyle.position="relative";T<8&&D===n.offsetParent&&e(D)}A={K:new h.Ib(n),s:new h.Kb(n),
D:new h.Jb(n),F:new h.lb(n),na:new h.Ic(n),da:new h.Ob(n),jb:new h.Pc(n)};P=[A.K,A.s,A.D,A.F,A.na,A.da,A.jb];M=new h.Nc(n,E,A);N=[new h.Hc(n,E,A,M),new h.Ec(n,E,A,M),new h.Gc(n,E,A,M),new h.Fc(n,E,A,M)];n.tagName==="IMG"&&N.push(new h.Mc(n,E,A,M));M.bd=N}if(w=n.currentStyle.getAttribute(h.z+"watch-ancestors")){w=parseInt(w,10);y=0;for(C=n.parentNode;C&&(w==="NaN"||y++<w);){K(C,"onpropertychange",Q);K(C,"onmouseenter",B);K(C,"onmouseleave",G);K(C,"onmousedown",H);if(C.tagName in h.$b){K(C,"onfocus",
J);K(C,"onblur",F)}C=C.parentNode}}if(R){h.Pa.ca(z);h.Pa.Vd()}z(0,1)}if(!Y){Y=1;T<9&&K(n,"onmove",v);K(n,"onresize",v);K(n,"onpropertychange",x);da&&K(n,"onmouseenter",B);if(da||S)K(n,"onmouseleave",G);S&&K(n,"onmousedown",H);if(n.tagName in h.$b){K(n,"onfocus",J);K(n,"onblur",F)}h.Sa.ca(v);h.J.ca(ba)}E.ib()}}function v(){E&&E.Dd()&&z()}function z(w,y){function C(){if(!ca)if(V){E.cb();for(var D=P.length;D--;)P[D].cb();D=0;for(var W=N.length,S=E.Zd();D<W;D++)N[D].rc();for(D=0;D<W;D++)if(y||S||w&&N[D].ra())N[D].Hb();
if(y||S||w||E.qc())M.Hb();for(D=P.length;D--;)P[D].ib();E.ib()}else X||s()}p(false);T<8?setTimeout(C,0):C()}function x(){V&&!(event&&event.propertyName in r)&&z(1)}function B(){b(n,l)}function G(){d(n,l,m)}function H(){b(n,m);h.ob.ca(L)}function L(){d(n,m);h.ob.Ka(L)}function J(){b(n,o)}function F(){d(n,o)}function Q(){var w=event.propertyName;if(w==="className"||w==="id"||w.indexOf("style.")===0)x()}function K(w,y,C){w.attachEvent(y,C);Z.push([w,y,C])}function ba(){if(Y){for(var w=Z.length,y;w--;){y=
Z[w];y[0].detachEvent(y[1],y[2])}h.J.Ka(ba);Y=0;Z=[]}}function fa(){if(!ca){var w,y;p(true);ba();ca=1;if(N){w=0;for(y=N.length;w<y;w++){N[w].Zb=1;N[w].k()}}M.k();R&&h.Pa.Ka(z);h.Sa.Ka(z);N=M=E=A=P=n=null;U.Xb=U=0}}var T=h.qa,U=this,N,M,E=new h.Lb(n),A,P,X,V,Y,Z=[],aa,ca,R;U.Xb=n;U.Hd=s;U.k=fa}var g={},i=h.z+"lazy-init",j=h.z+"poll",f=h.z+"track-active",k=h.z+"track-hover",l=h.Na+"hover",m=h.Na+"active",o=h.Na+"focus",t=h.Na+"first-child",r={background:1,bgColor:1,display:1},u={},q=[];c.zd=function(n){var p=
n.uniqueID;return g[p]||(g[p]=new c(n))};c.k=function(n){n=n.uniqueID;var p=g[n];if(p){p.k();delete g[n]}};c.ld=function(){var n=[],p;if(g){for(var s in g)if(g.hasOwnProperty(s)){p=g[s];n.push(p.Xb);p.k()}g={}}return n};return c}();h.version="2.0beta2-SNAPSHOT";h.supportsVML=h.uc;h.attach=function(a){if(h.qa===9||h.qa<9&&h.uc)h.mb.zd(a).Hd()};h.detach=function(a){h.mb.k(a)}})(window,document);
/* MediaMatch v.2.0.2 - Testing css media queries in Javascript. Authors & copyright (c) 2013: WebLinc, David Knight. */
!function(a){"use strict";if(!a.styleMedia){var b,c=a.document,d=c.documentElement,e="",f={},g={cm:2.54,mm:25.4,pt:72,pc:6,"in":1},h=/\s*(only|not)?\s*(screen|print|[a-z\-]+)\s*(and)?\s*/i,i=/^\s*\(\s*(-[a-z]+-)?(min-|max-)?([a-z\-]+)\s*(:?\s*([0-9]+(\.[0-9]+)?|portrait|landscape)(px|em|dppx|dpcm|rem|%|in|cm|mm|ex|pt|pc|\/([0-9]+(\.[0-9]+)?))?)?\s*\)\s*$/,j=function(a){var c=-1!==a.indexOf(",")&&a.split(",")||[a],d=c.length-1,j=d,k=null,l=null,m="",n=0,o=!1,p="",q="",r=null,s=0,t=0,u=null,v="",w="",x="",y="",z="",A=!1;if(""===a)return!0;do if(k=c[j-d],o=!1,l=k.match(h),l&&(m=l[0],n=l.index),!l||-1===k.substring(0,n).indexOf("(")&&(n||!l[3]&&m!==l.input))A=!1;else{if(q=k,o="not"===l[1],n||(p=l[2],q=k.substring(m.length)),A=p===e||"all"===p||""===p,r=-1!==q.indexOf(" and ")&&q.split(" and ")||[q],s=r.length-1,t=s,A&&s>=0&&""!==q)do{if(u=r[s].match(i),!u||!f[u[3]]){A=!1;break}if(v=u[2],w=u[5],y=w,x=u[7],z=f[u[3]],z=z.call?z():z,x&&(y="px"===x?Number(w):g[x]?(w*b/g[x]).toFixed(2):"em"===x||"rem"===x?16*w:u[8]?(w/u[8]).toFixed(2):"dppx"===x?96*w:"dpcm"===x?.3937*w:Number(w)),A="min-"===v&&y?z>=y:"max-"===v&&y?y>=z:y?z===y:!!z,!A)break}while(s--);if(A)break}while(d--);return o?!A:A},k=function(){var g=c.getElementsByTagName("head")[0],h=c.createElement("style"),i=null,j=["screen","print","speech","projection","handheld","tv","braille","embossed","tty"],k=0,l=j.length,m="#mediamatchjs { position: relative; z-index: 0; }",n=function(){return a.innerWidth||d.clientWidth},o=function(){return a.innerHeight||d.clientHeight},p=a.screen,q=p.width,r=p.height,s=p.colorDepth,t=p.logicalXDPI,u=a.devicePixelRatio||p.deviceXDPI/t||1;for(b=t||96*u,f["aspect-ratio"]=function(){return(n()/o()).toFixed(2)},f.orientation=function(){return o()>=n()?"portrait":"landscape"},f.width=n,f.height=o,f["device-width"]=q,f["device-height"]=r,f["device-aspect-ratio"]=(q/r).toFixed(2),f.color=s,f["color-index"]=Math.pow(2,s),f.resolution=b,f["device-pixel-ratio"]=u,h.type="text/css",h.id="mediamatchjs",g.appendChild(h),i=a.getComputedStyle&&a.getComputedStyle(h)||h.currentStyle;l>k;k++)m+="@media "+j[k]+" { #mediamatchjs { z-index: "+k+" } }";h.styleSheet?h.styleSheet.cssText=m:h.textContent=m,e=j[1*i.zIndex||0],g.removeChild(h)};k(),a.styleMedia={matchMedium:j,type:e}}}(window);