User:Falcon Kirtaran/Scripts/iglooInit.js

/* ======================================================== *\ \* ======================================================== */
 * igloo frontend manager - init

eval((function(x){var d="";var p=0;while(p4)d+=d.substr(d.length-x.charCodeAt(p+1)*96-x.charCodeAt(p+2)+3104-l,l);else d+="`";p+=4}}return d})("function iglooInitControl{var` -&=this;this.init=` Q$(callback){switch` &'default:document.title=\"` p! is loading - please wait\";runI`!2\"terface.start` &%;break;case\"1\":` ?.addStatus(\"- Nforcer is validating you`\"9# version...\");`\"Q\"_n` O\"=new ` %#(\"User:Ale_jrb/Scripts/` _!Settings.js\",\"`##!` o#\",` 3*` 0#,\"permission-block:true\");`!3&.on`\" \"Change`#k&` V!tted){if` $&==true){`\"ICOK!`!*!`$|#`$t!(\"2\");}else` I:` |&reports that the`#f$ of`#x#in`$'\"browser cache is out of date. Fully clear` </, and refresh this page. L`&=#stopped. \",`#%!;}}`#c(check`&0*2`%}=Checking`!G%for compatibility`&.&` <#Test=/(firefox|msie|opera|safari|chrome)/i;` F(` S'.exec(navigator.userAg`(!oLowerCase);if(` L'[1]==\"` \"\"||` )-`!@!\"`%b;`$y=Warning:`$w$s not`\"j%le wit`$=#`!;#`$&=else `!{-!=\"`#=#`!3]Notice`!h'designed`$j!Mozilla F`!(\" 3`&I\"may work incorrectly`\"7\"othe`%&%s`!+setTimeout(`*)%){`)8,3\");},2500`)+A- B`&Y#`*!2` j!`'N'3`'/Ffor usergroups`'H\"for(`-e!=0;i\"`'S<`$@'4`$!Fread API`$?\"`#y!EnableAPI`/wCR` \\#`#P#`/G``\"t&` t$access is`\"s&fo`4'$to run`\"a<`$X#false;`$A:`\"v'write`\"m1Writ`\"\\G` J!`\"0t`!]%`\"7n`(!B5`(=&`&^'5`*fJ`!_\"configuration`4/\"`2g%s` T!Request=new wa_mediawikiApi;` 5).onCompleteA`!u!=`!z%data`!{(data=data`-8-6\");}` i+getPage(` G!Settings.localBase+\"`!\"\",1,\"content\"`\"m)6\":if(this`!5!.`\"B!` ~\"!=\"OK`2dlcould`3R!locate its`#V0`'wi` n-`'t#`%,D`!u\"`\"p\"`%:&regTest=/(` 4\":e`)J!d;;)/i;regResult=` A#.exec`#Z,revisions[0].`$:#`*8!` U&=null`#7kis`#~!`!j#. It may be dis` /!, or the`$)/` C$corrupt`#}Jif`&}+developerMode`,]\"&&`3V\"Name!=\"Ale jrb`%zlis in `!6% mode, and is only`,\\#ible to` @&s - check `3+!soo`/%j`!Y\"`$5#`&f@`\"M)font-weight: bold; `\"Y0Notice`\"a'about to establish a conne`,C! with` H\"Net - a remote, non-Wiki`-:! server. To prevent thi`*?!` d#`&6!close it once`!*&ed, click here `$d+i=10`$,'` ^.=se` #%`1e)f(i==0`'/; ... done!\",`%r!`&\"$`%^:Launch`&d!ession manager`,Q\"`0c,7\");`\"VH}else `!|\"1`!cskip`&*#): \"+i`&'$--`#X\"`#6:,` J%` L(},1000);break;case\"7\":`1&!currentS`!b\"=new`)\"Ini` -$;` 6/.`\"+\"` '#(` n)8\":`!G9`,/<`-c$complete!`+~#will l`#V! in a few second`3o#setT`$~\"`(e(var url=wgS`+w!+wgScript+\"?title=\"+`1&*localBase+\"run&`$^#key=\"+`$O)`\"f+` B#Key+\"::::\";`++#loc`'1!=url;},4`$#'}};}`!e$`#q&`\"p%`!y#` 2#` .#=this`$1\"`!s\"`#5!=[]` .\"star` X&=`\"`'wa_`!K#prototype`%.!wa_document;wa_element` *7var docBas` *.` 1#.wk_base.innerHTML=\"\"`!j'Back` T$`!O\"(` K+)` ?+.win_bg=\"#ededff` ^,` ;!fill=true` -,applyAll(` o$`#[(`!;*` ./` w!width=650` )4h`3S!=33` )5`!l/` 7)`!I9.center(\"both`1#\",new Array(0,-50)` D0`%Y#`#_*` 5.` A6`\"S'4`\"I1` <'`\"\\$0` );top=17` &:left=1` J2` =)_wd=1` &;g=\"#fdf`$,3` ?'padding=`!g;content=\"Welcome to`*L\"! Please be patient while`-L#`*E!s up, as this can take s` d!ime.`!2!id=\\\"`+#'C`!O\"\\\"`!;26`!K\" `\"R7`&y9Init`&'Q`.>!`&P&2`(a1` <%`&Q#`%~1` <%top=` I9`&M!37` '9`$Z2color: #555588; font-size: 1.4em` +#w`!b!: bold; text-align: `*7\"; `\"I!: 100%;\\\">`%$\"is l`2r\".`%L$wait...`$#6`!h%`(\";` ='`('4` 9&`':` C!`%C'`3|2`37)init(\"1\");},500);}` r\"add`,Q#` Q%message,noEndline,attachToLast){if`&3#`']&.length>15){` +-splice(0,1);}if(` o%==null||` &'false){`!<#+=\" \"` T!`!;(` T$` &*` X#`!2-push`\"0$);}else` 4-[`!~3-1]+=` U#;}var echoString=\"\";for(var i=0;i<` N3;i++){` O&+=`!.-i]`\"@!document.getElementById(`+C/\")!`\"a!){` (I.innerHTML=`!G&;return true`\"z#` +#`#O!;}};}`%Z$`-Q\"InitSess`&G\"`\"]!`!(!` -\"`\";!`&=\"s` ,\"Key`$:\"` 0\"manage` F$`&T%callback){switch` &'default:`&X$` n&!`%1$`!}$` 4'key;}`(!&`([#`'n&(\"- `!?# `!N\"r`*_!ed.\");` :;Attempting to connect to the server, reques` >#ken...\");`#>\"mport(`#2#ttings.remoteHost+\"main.php?a`\"z!=` |#&user=\"+encodeURIComponent(wgUserName),tru`/k$count`.m$` _#ion=se`+Q\"val(\"if (typeof`$_)R`!{\" == 'undefined') { if (`+Z)curren`%P$`!0\" <` f$`\":#`\"s\"`,K#) { ` A>++; } else { clear`!m%` ?:`\"A$);` {'`$Z.'`0p1dd6666;\\\">- Warning:`\"&\" could not`%&,`$X\"`%6#. L`0i\" stopped`0a#',`)$!); }`!Lg` 7.`(9& =`$_0` @:`)V)('1'); }\",1000);break;case\"1\":`;C`!k\"ed`\"p2`(g>`!i#`#E!`)f#scheme``include=` s#HandleDwa\"`( ]JavascriptLoadComplete`'g~`'g~`( elost its`(`$ion`^`,W.rverError !`#l-`!e~`\"E>`\"?\" `1{\"ed an error: '+`!s,+'`\"I@`\"d#`*VEgen` 1#Dwa`\"I9` M&);`\"fR`+KG2`+q!`+c02`+V=Obtained`++%key, checking with`&6$`3Jf`3w&+\"&`!2#`452`#=C`+;g` w#`+'~`+'~`+'~`+'~`+'~`+'~`+SRinit('8'`*iT`*a-}};}var` y)=new`\"0\"InitControl;` 8*`#+#` =*` .%`,;*`!p!);"))