function rstudio(){var O='bootstrap',P='begin',Q='gwt.codesvr.rstudio=',R='gwt.codesvr=',S='rstudio',T='startup',U='DUMMY',V=0,W=1,X='iframe',Y='javascript:""',Z='position:absolute; width:0; height:0; border:none; left: -1000px;',$=' top: -1000px;',_='CSS1Compat',ab='<!doctype html>',bb='',cb='<html><head><\/head><body><\/body><\/html>',db='undefined',eb='DOMContentLoaded',fb=50,gb='Chrome',hb='eval("',ib='");',jb='script',kb='javascript',lb='moduleStartup',mb='moduleRequested',nb='Failed to load ',ob='head',pb='meta',qb='name',rb='rstudio::',sb='::',tb='gwt:property',ub='content',vb='=',wb='gwt:onPropertyErrorFn',xb='Bad handler "',yb='" for "gwt:onPropertyErrorFn"',zb='gwt:onLoadErrorFn',Ab='" for "gwt:onLoadErrorFn"',Bb='#',Cb='?',Db='/',Eb='img',Fb='clear.cache.gif',Gb='baseUrl',Hb='rstudio.nocache.js',Ib='base',Jb='//',Kb='compiler.stackMode',Lb=2,Mb='rstudio.cocoa',Nb='true',Ob='false',Pb='rstudio.desktop',Qb='user.agent',Rb='webkit',Sb='safari',Tb='msie',Ub=10,Vb=11,Wb='ie10',Xb=9,Yb='ie9',Zb=8,$b='ie8',_b='gecko',ac='gecko1_8',bc=3,cc=4,dc='selectingPermutation',ec='rstudio.devmode.js',fc='emulated',gc='22968E34BE79223554138689E6AFCF34',hc=':1',ic=':2',jc=':3',kc=':4',lc=':5',mc=':6',nc=':7',oc='native',pc='8AB9321EF16536A7D4B4233FF820B72A',qc='C386A50032325240292B61EE0E5DE5DD',rc='ECBD06C1C2E230F84062A53B1C960B5E',sc=':',tc='.cache.js',uc='loadExternalRefs',vc='end',wc='http:',xc='file:',yc='_gwt_dummy_',zc='__gwtDevModeHook:rstudio',Ac='Ignoring non-whitelisted Dev Mode URL: ',Bc=':moduleBase';var o=window;var p=document;r(O,P);function q(){var a=o.location.search;return a.indexOf(Q)!=-1||a.indexOf(R)!=-1}
function r(a,b){if(o.__gwtStatsEvent){o.__gwtStatsEvent({moduleName:S,sessionId:o.__gwtStatsSessionId,subSystem:T,evtGroup:a,millis:(new Date).getTime(),type:b})}}
rstudio.__sendStats=r;rstudio.__moduleName=S;rstudio.__errFn=null;rstudio.__moduleBase=U;rstudio.__softPermutationId=V;rstudio.__computePropValue=null;rstudio.__getPropMap=null;rstudio.__installRunAsyncCode=function(){};rstudio.__gwtStartLoadingFragment=function(){return null};rstudio.__gwt_isKnownPropertyValue=function(){return false};rstudio.__gwt_getMetaProperty=function(){return null};var s=null;var t=o.__gwt_activeModules=o.__gwt_activeModules||{};t[S]={moduleName:S};rstudio.__moduleStartupDone=function(e){var f=t[S].bindings;t[S].bindings=function(){var a=f?f():{};var b=e[rstudio.__softPermutationId];for(var c=V;c<b.length;c++){var d=b[c];a[d[V]]=d[W]}return a}};var u;function v(){w();return u}
function w(){if(u){return}var a=p.createElement(X);a.src=Y;a.id=S;a.style.cssText=Z+$;a.tabIndex=-1;p.body.appendChild(a);u=a.contentDocument;if(!u){u=a.contentWindow.document}u.open();var b=document.compatMode==_?ab:bb;u.write(b+cb);u.close()}
function A(k){function l(a){function b(){if(typeof p.readyState==db){return typeof p.body!=db&&p.body!=null}return /loaded|complete/.test(p.readyState)}
var c=b();if(c){a();return}function d(){if(!c){c=true;a();if(p.removeEventListener){p.removeEventListener(eb,d,false)}if(e){clearInterval(e)}}}
if(p.addEventListener){p.addEventListener(eb,d,false)}var e=setInterval(function(){if(b()){d()}},fb)}
function m(c){function d(a,b){a.removeChild(b)}
var e=v();var f=e.body;var g;if(navigator.userAgent.indexOf(gb)>-1&&window.JSON){var h=e.createDocumentFragment();h.appendChild(e.createTextNode(hb));for(var i=V;i<c.length;i++){var j=window.JSON.stringify(c[i]);h.appendChild(e.createTextNode(j.substring(W,j.length-W)))}h.appendChild(e.createTextNode(ib));g=e.createElement(jb);g.language=kb;g.appendChild(h);f.appendChild(g);d(f,g)}else{for(var i=V;i<c.length;i++){g=e.createElement(jb);g.language=kb;g.text=c[i];f.appendChild(g);d(f,g)}}}
rstudio.onScriptDownloaded=function(a){l(function(){m(a)})};r(lb,mb);var n=p.createElement(jb);n.src=k;if(rstudio.__errFn){n.onerror=function(){rstudio.__errFn(S,new Error(nb+code))}}p.getElementsByTagName(ob)[V].appendChild(n)}
rstudio.__startLoadingFragment=function(a){return D(a)};rstudio.__installRunAsyncCode=function(a){var b=v();var c=b.body;var d=b.createElement(jb);d.language=kb;d.text=a;c.appendChild(d);c.removeChild(d)};function B(){var c={};var d;var e;var f=p.getElementsByTagName(pb);for(var g=V,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(qb),k;if(j){j=j.replace(rb,bb);if(j.indexOf(sb)>=V){continue}if(j==tb){k=i.getAttribute(ub);if(k){var l,m=k.indexOf(vb);if(m>=V){j=k.substring(V,m);l=k.substring(m+W)}else{j=k;l=bb}c[j]=l}}else if(j==wb){k=i.getAttribute(ub);if(k){try{d=eval(k)}catch(a){alert(xb+k+yb)}}}else if(j==zb){k=i.getAttribute(ub);if(k){try{e=eval(k)}catch(a){alert(xb+k+Ab)}}}}}__gwt_getMetaProperty=function(a){var b=c[a];return b==null?null:b};s=d;rstudio.__errFn=e}
function C(){function e(a){var b=a.lastIndexOf(Bb);if(b==-1){b=a.length}var c=a.indexOf(Cb);if(c==-1){c=a.length}var d=a.lastIndexOf(Db,Math.min(c,b));return d>=V?a.substring(V,d+W):bb}
function f(a){if(a.match(/^\w+:\/\//)){}else{var b=p.createElement(Eb);b.src=a+Fb;a=e(b.src)}return a}
function g(){var a=__gwt_getMetaProperty(Gb);if(a!=null){return a}return bb}
function h(){var a=p.getElementsByTagName(jb);for(var b=V;b<a.length;++b){if(a[b].src.indexOf(Hb)!=-1){return e(a[b].src)}}return bb}
function i(){var a=p.getElementsByTagName(Ib);if(a.length>V){return a[a.length-W].href}return bb}
function j(){var a=p.location;return a.href==a.protocol+Jb+a.host+a.pathname+a.search+a.hash}
var k=g();if(k==bb){k=h()}if(k==bb){k=i()}if(k==bb&&j()){k=e(p.location.href)}k=f(k);return k}
function D(a){if(a.match(/^\//)){return a}if(a.match(/^[a-zA-Z]+:\/\//)){return a}return rstudio.__moduleBase+a}
function F(){var f=[];var g=V;function h(a,b){var c=f;for(var d=V,e=a.length-W;d<e;++d){c=c[a[d]]||(c[a[d]]=[])}c[a[e]]=b}
var i=[];var j=[];function k(a){var b=j[a](),c=i[a];if(b in c){return b}var d=[];for(var e in c){d[c[e]]=e}if(s){s(a,d,b)}throw null}
j[Kb]=function(){return __gwt_getMetaProperty(Kb)};i[Kb]={emulated:V,'native':W,strip:Lb};j[Mb]=function(){return window.desktop&&window.desktop.isCocoa()?Nb:Ob};i[Mb]={'false':V,'true':W};j[Pb]=function(){return window.desktop?Nb:Ob};i[Pb]={'false':V,'true':W};j[Qb]=function(){var a=navigator.userAgent.toLowerCase();var b=p.documentMode;if(function(){return a.indexOf(Rb)!=-1}())return Sb;if(function(){return a.indexOf(Tb)!=-1&&(b>=Ub&&b<Vb)}())return Wb;if(function(){return a.indexOf(Tb)!=-1&&(b>=Xb&&b<Vb)}())return Yb;if(function(){return a.indexOf(Tb)!=-1&&(b>=Zb&&b<Vb)}())return $b;if(function(){return a.indexOf(_b)!=-1||b>=Vb}())return ac;return bb};i[Qb]={gecko1_8:V,ie10:W,ie8:Lb,ie9:bc,safari:cc};__gwt_isKnownPropertyValue=function(a,b){return b in i[a]};rstudio.__getPropMap=function(){var a={};for(var b in i){if(i.hasOwnProperty(b)){a[b]=k(b)}}return a};rstudio.__computePropValue=k;o.__gwt_activeModules[S].bindings=rstudio.__getPropMap;r(O,dc);if(q()){return D(ec)}var l;try{h([fc,Ob,Ob,ac],gc);h([fc,Ob,Ob,Sb],gc+hc);h([fc,Ob,Nb,ac],gc+ic);h([fc,Ob,Nb,Sb],gc+jc);h([fc,Nb,Ob,ac],gc+kc);h([fc,Nb,Ob,Sb],gc+lc);h([fc,Nb,Nb,ac],gc+mc);h([fc,Nb,Nb,Sb],gc+nc);h([oc,Ob,Ob,ac],pc);h([oc,Ob,Ob,Sb],pc+hc);h([oc,Ob,Nb,ac],pc+ic);h([oc,Ob,Nb,Sb],pc+jc);h([oc,Nb,Ob,ac],pc+kc);h([oc,Nb,Ob,Sb],pc+lc);h([oc,Nb,Nb,ac],pc+mc);h([oc,Nb,Nb,Sb],pc+nc);h([fc,Ob,Ob,Wb],qc);h([fc,Ob,Nb,Wb],qc+hc);h([fc,Nb,Ob,Wb],qc+ic);h([fc,Nb,Nb,Wb],qc+jc);h([oc,Ob,Ob,Wb],rc);h([oc,Ob,Nb,Wb],rc+hc);h([oc,Nb,Ob,Wb],rc+ic);h([oc,Nb,Nb,Wb],rc+jc);l=f[k(Kb)][k(Mb)][k(Pb)][k(Qb)];var m=l.indexOf(sc);if(m!=-1){g=parseInt(l.substring(m+W),Ub);l=l.substring(V,m)}}catch(a){}rstudio.__softPermutationId=g;return D(l+tc)}
function G(){if(!o.__gwt_stylesLoaded){o.__gwt_stylesLoaded={}}r(uc,P);r(uc,vc)}
B();rstudio.__moduleBase=C();t[S].moduleBase=rstudio.__moduleBase;var H=F();if(o){var I=!!(o.location.protocol==wc||o.location.protocol==xc);o.__gwt_activeModules[S].canRedirect=I;function J(){var b=yc;try{o.sessionStorage.setItem(b,b);o.sessionStorage.removeItem(b);return true}catch(a){return false}}
if(I&&J()){var K=zc;var L=o.sessionStorage[K];if(!/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?\/.*$/.test(L)){if(L&&(window.console&&console.log)){console.log(Ac+L)}L=bb}if(L&&!o[K]){o[K]=true;o[K+Bc]=C();var M=p.createElement(jb);M.src=L;var N=p.getElementsByTagName(ob)[V];N.insertBefore(M,N.firstElementChild||N.children[V]);return false}}}G();r(O,vc);A(H);return true}
rstudio.succeeded=rstudio();