function(){return function(){var d=!0,g=!1,h=this;function i(a,b){function c(){}c.prototype=b.prototype;a.c=b.prototype;a.prototype=new c};var aa=window;function k(a,b){this.code=a;this.message=b||"";this.name=l[a]||l[13];var c=Error(this.message);c.name=this.name;this.stack=c.stack||""}i(k,Error);
var l={7:"NoSuchElementError",8:"NoSuchFrameError",9:"UnknownCommandError",10:"StaleElementReferenceError",11:"ElementNotVisibleError",12:"InvalidElementStateError",13:"UnknownError",15:"ElementNotSelectableError",19:"XPathLookupError",23:"NoSuchWindowError",24:"InvalidCookieDomainError",25:"UnableToSetCookieError",26:"ModalDialogOpenedError",27:"NoModalDialogOpenError",28:"ScriptTimeoutError",32:"InvalidSelectorError",35:"SqlDatabaseError",34:"MoveTargetOutOfBoundsError"};
k.prototype.toString=function(){return this.name+": "+this.message};function ba(a,b){for(var c=1;c<arguments.length;c++)var j=String(arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,j);return a}
function m(a,b){for(var c=0,j=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),w=String(b).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),D=Math.max(j.length,w.length),x=0;0==c&&x<D;x++){var ha=j[x]||"",ia=w[x]||"",ja=RegExp("(\\d*)(\\D*)","g"),ka=RegExp("(\\d*)(\\D*)","g");do{var e=ja.exec(ha)||["","",""],f=ka.exec(ia)||["","",""];if(0==e[0].length&&0==f[0].length)break;c=((0==e[1].length?0:parseInt(e[1],10))<(0==f[1].length?0:parseInt(f[1],10))?-1:(0==e[1].length?0:parseInt(e[1],10))>
(0==f[1].length?0:parseInt(f[1],10))?1:0)||((0==e[2].length)<(0==f[2].length)?-1:(0==e[2].length)>(0==f[2].length)?1:0)||(e[2]<f[2]?-1:e[2]>f[2]?1:0)}while(0==c)}return c};var n,p,q,r;function s(){return h.navigator?h.navigator.userAgent:null}r=q=p=n=g;var t;if(t=s()){var ca=h.navigator;n=0==t.indexOf("Opera");p=!n&&-1!=t.indexOf("MSIE");q=!n&&-1!=t.indexOf("WebKit");r=!n&&!q&&"Gecko"==ca.product}var u=n,v=p,y=r,z=q;function A(){var a=h.document;return a?a.documentMode:void 0}var B;
a:{var C="",E;if(u&&h.opera)var F=h.opera.version,C="function"==typeof F?F():F;else if(y?E=/rv\:([^\);]+)(\)|;)/:v?E=/MSIE\s+([^\);]+)(\)|;)/:z&&(E=/WebKit\/(\S+)/),E)var G=E.exec(s()),C=G?G[1]:"";if(v){var H=A();if(H>parseFloat(C)){B=String(H);break a}}B=C}var I={},J=h.document,da=!J||!v?void 0:A()||("CSS1Compat"==J.compatMode?parseInt(B,10):5);var K,L,M,N,O,P,Q;Q=P=O=N=M=L=K=g;var R=s();R&&(-1!=R.indexOf("Firefox")?K=d:-1!=R.indexOf("Camino")?L=d:-1!=R.indexOf("iPhone")||-1!=R.indexOf("iPod")?M=d:-1!=R.indexOf("iPad")?N=d:-1!=R.indexOf("Android")?O=d:-1!=R.indexOf("Chrome")?P=d:-1!=R.indexOf("Safari")&&(Q=d));var ea=K,fa=L,ga=M,la=N,S=O,ma=P,na=Q;function T(a){return(a=a.exec(s()))?a[1]:""}var oa=function(){if(ea)return T(/Firefox\/([0-9.]+)/);if(v||u)return B;if(ma)return T(/Chrome\/([0-9.]+)/);if(na)return T(/Version\/([0-9.]+)/);if(ga||la){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(s());if(a)return a[1]+"."+a[2]}else{if(S)return(a=T(/Android\s+([0-9.]+)/))?a:T(/Version\/([0-9.]+)/);if(fa)return T(/Camino\/([0-9.]+)/)}return""}();var U,V,pa=function(){if(!y)return g;var a=h.Components;if(!a)return g;try{if(!a.classes)return g}catch(b){return g}var c=a.classes,a=a.interfaces,j=c["@mozilla.org/xpcom/version-comparator;1"].getService(a.nsIVersionComparator),c=c["@mozilla.org/xre/app-info;1"].getService(a.nsIXULAppInfo),w=c.platformVersion,D=c.version;U=function(a){j.a(w,""+a)};V=function(a){j.a(D,""+a)};return d}(),W;if(S){var qa=/Android\s+([0-9\.]+)/.exec(s());W=qa?qa[1]:"0"}else W="0";var ra=W;
S&&(pa?V(2.3):S?m(ra,2.3):m(oa,2.3));function X(a){Error.captureStackTrace?Error.captureStackTrace(this,X):this.stack=Error().stack||"";a&&(this.message=String(a))}i(X,Error);X.prototype.name="CustomError";function sa(a,b){b.unshift(a);X.call(this,ba.apply(null,b));b.shift();this.b=a}i(sa,X);sa.prototype.name="AssertionError";function ta(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}ta.prototype.toString=function(){return"("+this.x+", "+this.y+")"};!u&&z&&(pa?U("533"):v?m(da,"533"):I["533"]||(I["533"]=0<=m(B,"533")));function ua(a){var b=a||aa;v?(a=b.screenLeft,b=b.screenTop):(a=b.screenX,b=b.screenY);return new ta(a,b)}var Y=["_"],Z=h;!(Y[0]in Z)&&Z.execScript&&Z.execScript("var "+Y[0]);for(var $;Y.length&&($=Y.shift());)!Y.length&&void 0!==ua?Z[$]=ua:Z=Z[$]?Z[$]:Z[$]={};; return this._.apply(null,arguments);}.apply({navigator:typeof window!=undefined?window.navigator:null,document:typeof window!=undefined?window.document:null}, arguments);}
