diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2018-09-08 19:02:32 -0500 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2018-09-08 19:02:32 -0500 |
| commit | 8818ba99f804b1b1845a4757d67cc32d552956e1 (patch) | |
| tree | 06f1f280873d19adf989fdcc9b3c1ab61d640002 /webAO/client.b.js | |
| parent | 077fcf719b1a9383b4170f33a77c95024d6f7188 (diff) | |
Continue major cleanup and style fixes
Diffstat (limited to 'webAO/client.b.js')
| -rw-r--r-- | webAO/client.b.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.b.js b/webAO/client.b.js index 46ab840..ac6b321 100644 --- a/webAO/client.b.js +++ b/webAO/client.b.js @@ -1,2 +1,2 @@ -!function(e){var t={};function n(i){if(t[i])return t[i].exports;var c=t[i]={i:i,l:!1,exports:{}};return e[i].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)n.d(i,c,function(t){return e[t]}.bind(null,c));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}({3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.onOOCEnter=v,t.onEnter=_,t.musiclist_click=E,t.area_click=I,t.changeMusicVolume=b,t.changeSFXVolume=B,t.changeBlipVolume=w,t.changeCharacter=k,t.imgError=C,t.demoError=x,t.ReconnectButton=L,t.RetryButton=N,t.pickchar=H,t.pickemotion=P,t.pickevidence=D,t.addevidence=R,t.editevidence=A,t.delevidence=j,t.cancelevidence=U,t.getIndexFromSelect=Z,t.updateEvidenceIcon=F,t.updateActionCommands=V,t.changeBackgroundOOC=X,t.changeRoleOOC=z,t.randomCharacterOOC=G,t.callmod=q,t.initwt=K,t.initce=W,t.addHPD=J,t.redHPD=Q,t.addHPP=Y,t.redHPP=ee,t.updateBackgroundPreview=te,t.toggleaffect=ne,t.toggleflip=ie,t.togglepresent=ce,t.togglemenu=oe,t.toggleshout=se;var o={};location.search.substr(1).split("&").forEach(function(e){o[e.split("=")[0]]=e.split("=")[1]});var s=o.ip,a=o.mode,l=o.asset||"http://assets.aceattorneyonline.com/base/",d=l+"sounds/music/",r=!1;/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)&&(r=!0);var u=0,m=1,h=0,g=new Date(0),y=function(){function e(t){var n=this;c(this,e),this.serv=new WebSocket("ws://"+t),this.serv.onopen=function(e){return n.onOpen(e)},this.serv.onclose=function(e){return n.onClose(e)},this.serv.onmessage=function(e){return n.onMessage(e)},this.serv.onerror=function(e){return n.onError(e)},this.flip=!1,this.presentable=!1,this.hp=[0,0],this.playerID=1,this.charID=-1,this.testimonyID=0,this.chars=[],this.emotes=[],this.evidences=[],this.resources={holdit:{src:"misc/holdit.gif",duration:720},objection:{src:"misc/objection.gif",duration:720},takethat:{src:"misc/takethat.gif",duration:840},witnesstestimony:{src:"misc/witnesstestimony.gif",duration:1560,sfx:"sounds/general/sfx-testimony.wav"},crossexamination:{src:"misc/crossexamination.gif",duration:1600,sfx:"sounds/general/sfx-testimony2.wav"}},this.selectedEmote=-1,this.selectedEvidence=0,this.checkUpdater=null,this.musicList=Object(),this.handlers={MS:function(e){return n.handleMS(e)},CT:function(e){return n.handleCT(e)},MC:function(e){return n.handleMC(e)},RMC:function(e){return n.handleRMC(e)},CI:function(e){return n.handleCI(e)},SC:function(e){return n.handleSC(e)},EI:function(e){return n.handleEI(e)},LE:function(e){return n.handleLE(e)},EM:function(e){return n.handleEM(e)},SM:function(e){return n.handleSM(e)},music:function(e){return n.handlemusic(e)},DONE:function(e){return n.handleDONE(e)},BN:function(e){return n.handleBN(e)},NBG:function(e){return n.handleNBG(e)},HP:function(e){return n.handleHP(e)},RT:function(e){return n.handleRT(e)},ZZ:function(e){return n.handleZZ(e)},ID:function(e){return n.handleID(e)},PN:function(e){return n.handlePN(e)},SI:function(e){return n.handleSI(e)},CharsCheck:function(e){return n.handleCharsCheck(e)},PV:function(e){return n.handlePV(e)},CHECK:function(e){}},this._lastTimeICReceived=new Date(0)}return i(e,[{key:"me",value:function(){return this.chars[this.charID]}},{key:"myEmote",value:function(){return this.emotes[this.selectedEmote]}},{key:"myEvidence",value:function(){return this.presentable?this.selectedEvidence:0}},{key:"sendOOC",value:function(e){this.serv.send("CT#"+le(re(document.getElementById("OOC_name").value))+"#"+le(re(e))+"#%")}},{key:"sendIC",value:function(e,t,n,i,c,o,s,a,l,d,r,u,m){this.serv.send("MS#chat#"+e+"#"+t+"#"+n+"#"+le(re(i))+"#"+c+"#"+o+"#"+s+"#"+this.charID+"#"+a+"#"+h+"#"+d+"#"+r+"#"+u+"#"+m+"#%")}},{key:"sendPE",value:function(e,t,n){this.serv.send("PE#"+le(re(e))+"#"+le(re(t))+"#"+n+"#%")}},{key:"sendEE",value:function(e,t,n,i){this.serv.send("EE#"+e+"#"+le(re(t))+"#"+le(re(n))+"#"+i+"#%")}},{key:"sendDE",value:function(e){this.serv.send("DE#"+e+"#%")}},{key:"sendHP",value:function(e,t){this.serv.send("HP#"+e+"#"+t+"#%")}},{key:"sendZZ",value:function(e){this.serv.send("ZZ#"+e+"#%")}},{key:"sendRT",value:function(e){"jud"==this.chars[this.charID].side&&this.serv.send("RT#"+e+"#%")}},{key:"sendMusicChange",value:function(e){this.serv.send("MC#"+e+"#"+this.charID+"#%")}},{key:"sendLeaveRoom",value:function(){this.serv.send("FC#%")}},{key:"joinServer",value:function(){var e=this;this.serv.send("HI#"+navigator.userAgent.hashCode()+"#%"),this.serv.send("ID#webAO#2.4.5#%"),this.checkUpdater=setInterval(function(){return e.sendCheck()},5e3)}},{key:"loadResources",value:function(){document.getElementById("OOC_name").value="web"+this.playerID;var e=document.getElementById("evi_select");e.add(new Option("Custom",0));for(var t=1;t<=evidence_arr.length;t++)e.add(new Option(evidence_arr[t-1]));var n=document.getElementById("bg_select");n.add(new Option("Custom",0));for(var i=1;i<=background_arr.length;i++)n.add(new Option(background_arr[i-1]));for(var c=["holdit","objection","takethat"],o=0;o<c.length;o++){T(l+this.resources[c[o]].src,this.callbackLoadImageResources,c[o])}for(var s=["witnesstestimony","crossexamination"],a=0;a<s.length;a++){T(l+"themes/default/"+s[a]+".gif",this.callbackLoadImageResources,s[a]),T(l+this.resources[s[a]].sfx,this.callbackLoadSFXResources,s[a])}}},{key:"callbackLoadImageResources",value:function(e,t,n){e&&(me.resources[t].src=n,he.getAnimLength(n,me.callbackGetResourceLength,t))}},{key:"callbackGetResourceLength",value:function(e,t){me.resources[t].duration=e}},{key:"callbackLoadSFXResources",value:function(e,t,n){e&&(me.resources[t].sfx=n)}},{key:"initialObservBBCode",value:function(){var e=document.getElementById("client_inner_chat");new MutationObserver(function(e){e.forEach(function(e){var t=e.addedNodes;null!==t&&t.forEach(function(e){"C"==e.tagName?e.style.color=e.getAttribute("a"):"M"==e.tagName&&(e.hasAttribute("a")?e.style.backgroundColor=e.getAttribute("a"):(e.style.backgroundColor="yellow",e.style.color="black"))})})}).observe(e,{attributes:!0,childList:!0})}},{key:"sendCharacter",value:function(e){this.serv.send("CC#"+this.playerID+"#"+e+"#web#%")}},{key:"sendMusic",value:function(e){this.serv.send("MC#"+e)}},{key:"sendCheck",value:function(){this.serv.send("CH#"+this.charID+"#%")}},{key:"onOpen",value:function(e){"watch"===a?(document.getElementById("client_loading").style.display="none",document.getElementById("client_charselect").style.display="none"):me.joinServer()}},{key:"onClose",value:function(e){console.error("The connection was closed: "+e.reason+" ("+e.code+")"),1001!==e.code&&(document.getElementById("client_error").style.display="block",document.getElementById("error_id").textContent=e.code,this.cleanup())}},{key:"onMessage",value:function(e){var t=e.data;console.debug(t);var n=t.split("%")[0].split("#"),i=n[0],c=this.handlers[i];void 0!==c?c(n):console.warn("Invalid packet header "+i)}},{key:"onError",value:function(e){console.error("A network error occurred: "+e.reason+" ("+e.code+")"),document.getElementById("client_error").style.display="block",document.getElementById("error_id").textContent=e.code,this.cleanup()}},{key:"cleanup",value:function(){try{this.serv.close(1001)}catch(e){}clearInterval(this.checkUpdater)}},{key:"handleMS",value:function(e){if(e[4]!=he.chatmsg.content){document.getElementById("client_inner_chat").innerHTML="";for(var t={character:-1,preanim:escape(e[2]),nameplate:e[3],name:e[3],speaking:"(b)"+escape(e[4]),silent:"(a)"+escape(e[4]),content:function(e){return e.replace(/\\n/g,"<br>").replace(/\[(\/?)b\]/g,"<$1b>").replace(/\[(\/?)i\]/g,"<$1i>").replace(/\[(\/?)s\]/g,"<$1del>").replace(/\[(\/?)u\]/g,"<$1u>").replace(/\[(\/?)sub\]/g,"<$1sub>").replace(/\[(\/?)sup\]/g,"<$1sup>").replace(/\[m=([#a-zA-Z0-9]+)\]/g,'<m a="$1">').replace(/\[(\/?)m\]/g,"<$1m>").replace(/\[c=?([#a-zA-Z0-9]+)\]/g,'<c a="$1">').replace(/\[\/c\]/g,"</c>")}(ae(ue(de(e[5])))),side:e[6],sound:escape(e[7]),type:e[8],snddelay:e[10],objection:e[11],evidence:e[12],flip:e[13],flash:e[14],color:e[15],isnew:!0},n=0;n<this.chars.length;n++)if(this.chars[n].name==e[3]){t.character=n;break}t.character==this.charID&&function(){document.getElementById("client_inputbox").value="",u&&(document.getElementById("button_effect_"+u).className="client_button",u=0);h&&(document.getElementById("button_"+h).className="client_button",h=0)}(),he.say(t)}}},{key:"handleCT",value:function(e){var t=document.getElementById("client_ooclog");t.innerHTML+=ue(de(e[1]))+": "+ue(de(e[2]))+"\r\n",t.scrollTop>t.scrollHeight-60&&(t.scrollTop=t.scrollHeight)}},{key:"handleMC",value:function(e){var t=he.music;(t.pause(),t.src=d+e[1],t.play(),e[2]>=0)?S(this.chars[e[2]].name+" changed music to "+e[1]):S("The music was changed to "+e[1])}},{key:"handleRMC",value:function(e){he.music.pause(),he.music=new Audio(this.musicList[e[1]]);var t=he.music;t.totime=e[1],t.offset=(new Date).getTime()/1e3,t.addEventListener("loadedmetadata",function(){t.currentTime+=parseFloat(t.totime+((new Date).getTime()/1e3-t.offset)).toFixed(3),t.play()},!1)}},{key:"handleCI",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Character "+e[1],this.serv.send("AN#"+(e[1]/10+1)+"#%");for(var t=2;t<e.length-1;t++)if(t%2==0){var n=e[t].split("&");this.chars[e[t-1]]={name:n[0],desc:n[1],evidence:n[3],icon:l+"characters/"+escape(n[0])+"/char_icon.png"}}}},{key:"handleSC",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Characters";for(var t=1;t<e.length-1;t++){var n=e[t].split("&");this.chars[t-1]={name:n[0],desc:n[1],evidence:n[3],icon:l+"characters/"+escape(n[0])+"/char_icon.png"}}this.serv.send("RM#%")}},{key:"handleEI",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Evidence "+e[1],this.serv.send("RM#%")}},{key:"handleLE",value:function(e){this.evidences=[];for(var t=1;t<e.length-1;t++){var n=e[t].split("&");this.evidences[t-1]={name:ae(ue(de(n[0]))),desc:ae(ue(de(n[1]))),filename:escape(n[2]),icon:l+"evidence/"+escape(n[2])}}var i=document.getElementById("evidences");i.innerHTML="";for(var c=1;c<=this.evidences.length;c++)i.innerHTML+='<img src="'+this.evidences[c-1].icon+'" id="evi_'+c+'" alt="'+this.evidences[c-1].name+'" class="client_button" onclick="pickevidence('+c+')">'}},{key:"handleEM",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Music "+e[1],this.serv.send("AM#"+(e[1]/10+1)+"#%");for(var t=document.getElementById("client_musiclist"),n=2;n<e.length-1;n++)if(n%2==0){var i=document.createElement("OPTION");i.text=e[n],t.options.add(i)}}},{key:"handleSM",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Music ";for(var t=document.getElementById("client_musiclist"),n=!1,i=1;i<e.length-1;i++)if(/\.(?:wav|mp3|mp4|ogg|mid)$/i.test(e[i])&&!n&&(n=!0),n){var c=document.createElement("OPTION");c.text=e[i],t.options.add(c)}else{var o=document.createElement("SPAN");o.className="location-box",o.textContent=e[i],o.onclick=function(){I(this)},document.getElementById("areas").appendChild(o)}var s=document.getElementById("areas"),a=document.createElement("OPTION");a.text=s.lastChild.textContent,t.insertBefore(a,t.firstChild),s.removeChild(s.lastChild),this.serv.send("RD#%")}},{key:"handlemusic",value:function(e){for(var t=0;t<e.length/2;t++)this.musicList[e[2*t]]=e[2*t+1]}},{key:"handleDONE",value:function(e){document.getElementById("client_loading").style.display="none",document.getElementById("client_charselect").style.display="block"}},{key:"handleBN",value:function(e){he.bgname=escape(e[1]);var t=Z("bg_select",escape(e[1]));document.getElementById("bg_select").selectedIndex=t,te(),0==t&&(document.getElementById("bg_filename").value=e[1]),document.getElementById("bg_preview").src=l+"background/"+escape(e[1])+"/defenseempty.png",-1==this.charID?O("jud"):O(this.chars[this.charID].side)}},{key:"handleNBG",value:function(e){}},{key:"handleHP",value:function(e){var t=10*e[2];1==e[1]?(this.hp[0]=e[2],$("#client_defense_hp > .health-bar").animate({width:t+"%"},500)):(this.hp[1]=e[2],$("#client_prosecutor_hp > .health-bar").animate({width:t+"%"},500))}},{key:"handleRT",value:function(e){"testimony1"==e[1]?this.testimonyID=1:this.testimonyID=2,he.initTestimonyUpdater()}},{key:"handleZZ",value:function(e){var t=document.getElementById("client_ooclog");t.innerHTML+="$Alert: "+ue(de(e[1]))+"\r\n",t.scrollTop>t.scrollHeight-60&&(t.scrollTop=t.scrollHeight)}},{key:"handleID",value:function(e){this.playerID=e[1]}},{key:"handlePN",value:function(e){this.serv.send("askchaa#%")}},{key:"handleSI",value:function(e){r?this.serv.send("askchar2#%"):this.serv.send("RC#%")}},{key:"handleCharsCheck",value:function(e){document.getElementById("client_chartable").innerHTML="";for(var t=0;t<this.chars.length;t++){if(t%8==0)var n=document.createElement("TR");var i=document.createElement("TD"),c=void 0,o=this.chars[t].icon;c="-1"==e[t+1]?" dark":"",i.innerHTML="<img class='demothing"+c+"' id='demo_"+t+"' src='"+o+"' alt='"+this.chars[t].name+"' onclick='pickchar("+t+")' onerror='demoError(this);'>",n.appendChild(i),t%8==0&&document.getElementById("client_chartable").appendChild(n)}}},{key:"handlePV",value:function(e){this.charID=e[3],document.getElementById("client_charselect").style.display="none";var t=this.me(),n=this.emotes,i=new XMLHttpRequest,c="http://assets.aceattorneyonline.com/base/"==l;i.withCredentials=!1,document.getElementById("client_emo").innerHTML="",i.open("GET",l+"characters/"+escape(this.me().name)+"/char.ini",!0),i.responseType="text",i.onload=function(e){if(200==this.status){var i=this.responseText,o=p.parse(i);t.side=o.Options.side,V(t.side);for(var s=1;s<o.Emotions.number;s++){var a=o.Emotions[s].split("#"),d="0",r="0";void 0!==o.SoundN&&(d=o.SoundN[s]),void 0!==o.SoundT&&(r=o.SoundT[s]),n[s]={desc:c?a[0].toLowerCase():a[0],speaking:c?a[1].toLowerCase():a[1],silent:c?a[2].toLowerCase():a[2],zoom:a[3],sfx:c?d.toLowerCase():d,sfxdelay:r,button_off:l+"characters/"+(c?escape(t.name).toLowerCase():escape(t.name))+"/emotions/button"+s+"_off.png",button_on:l+"characters/"+(c?escape(t.name).toLowerCase():escape(t.name))+"/emotions/button"+s+"_on.png"},document.getElementById("client_emo").innerHTML+="<img src='"+n[s].button_off+"' id='emo_"+s+"' alt='"+n[s].desc+"' class='client_button' onclick='pickemotion("+s+")'>"}P(1)}},i.send()}}]),e}(),f=function(){function e(){c(this,e),this.textnow="",this.chatmsg={isnew:!1,content:"",objection:"0",sound:"",startpreanim:!1,startspeaking:!1,side:null,color:"0",snddelay:0,preanimdelay:0},this.blip=new Audio(l+"sounds/general/sfx-blipmale.wav"),this.blip.volume=.5,this.blipChannels=new Array(6);for(var t=0;t<this.blipChannels.length;t++)this.blipChannels[t]=new Audio(l+"sounds/general/sfx-blipmale.wav"),this.blipChannels[t].volume=.5;this.currentBlipChannel=0,this.sfxaudio=new Audio(l+"sounds/general/sfx-blipmale.wav"),this.sfxplayed=0,this.music=new Audio,this.music.play(),this.updater=null,this.testimonyUpdater=null,this.bgname="gs4",this.testimonyTimer=0,this.shoutTimer=0,this.textTimer=0,this._animating=!1}return i(e,[{key:"isAnimating",value:function(){return this._animating}},{key:"setBlipVolume",value:function(e){for(var t=0;t<this.blipChannels.length;t++)this.blipChannels[t].volume=e}},{key:"bgFolder",value:function(){return l+"background/"+this.bgname+"/"}},{key:"say",value:function(e){this.chatmsg=e,S(e.content,e.nameplate),O(e.side),this.textnow="",this.sfxplayed=0,this.textTimer=0,this._animating=!0,clearTimeout(this.updater),"-"!=e.preanim?e.preanimdelay=this.getAnimLength(l+"characters/"+escape(e.name)+"/"+e.preanim+".gif",this.initUpdater):this.initUpdater(0)}},{key:"initUpdater",value:function(e){he.chatmsg.preanimdelay=parseInt(e),he.updater=setTimeout(function(){return he.updateText()},60)}},{key:"initTestimonyUpdater",value:function(){var e=this;if(me.testimonyID>0){var t="";1==me.testimonyID?t="witnesstestimony":2==me.testimonyID&&(t="crossexamination"),new Audio(me.resources[t].sfx).play(),this.testimonyTimer=0,document.getElementById("client_testimony").src=me.resources[t].src,this.testimonyUpdater=setTimeout(function(){return e.updateTestimony()},60)}}},{key:"getAnimLength",value:function(e,t,n){var i=new XMLHttpRequest;i.open("GET",e,!0),i.responseType="arraybuffer",i.addEventListener("load",function(){var e=gify.getInfo(i.response);console.log(e.duration),t(e.duration,n)}),i.send()}},{key:"updateTestimony",value:function(){var e=this;this.testimonyTimer=this.testimonyTimer+60,1==me.testimonyID?this.testimonyTimer>=me.resources.witnesstestimony.duration?this.disposeTestimony():this.testimonyUpdater=setTimeout(function(){return e.updateTestimony()},60):2==me.testimonyID?this.testimonyTimer>=me.resources.crossexamination.duration?this.disposeTestimony():this.testimonyUpdater=setTimeout(function(){return e.updateTestimony()},60):this.disposeTestimony()}},{key:"disposeTestimony",value:function(){me.testimonyID=0,this.testimonyTimer=0,document.getElementById("client_testimony").src="misc/placeholder.gif",clearTimeout(this.testimonyUpdater)}},{key:"updateText",value:function(){var e=this;if(1==this.chatmsg.flip?document.getElementById("client_char").style.transform="scaleX(-1)":document.getElementById("client_char").style.transform="scaleX(1)",this._animating&&(this.updater=setTimeout(function(){return e.updateText()},60)),this.chatmsg.isnew){document.getElementById("client_background").style.backgroundColor="transparent",document.getElementById("client_name").style.display="none",document.getElementById("client_chat").style.display="none",document.getElementById("client_evi").style.opacity="0",document.getElementById("client_evi").style.height="0%";var t={1:"holdit",2:"objection",3:"takethat"}[this.chatmsg.objection];void 0!==t?(document.getElementById("client_shout").src=me.resources[t].src,new Audio(l+"/characters/"+this.chatmsg.name+"/"+t+".wav").play(),this.shoutTimer=850):this.shoutTimer=0,this.chatmsg.isnew=!1,this.chatmsg.startpreanim=!0}if(this.textTimer>=this.shoutTimer&&this.chatmsg.startpreanim)2==this.chatmsg.flash?(this.sfxaudio.pause(),this.sfxplayed=1,this.sfxaudio.src=l+"sounds/general/sfx-stab.wav",this.sfxaudio.play(),$("#client_gamewindow").effect("shake",{direction:"up"})):1==this.chatmsg.flash&&(document.getElementById("client_background").style.backgroundColor="white",this.sfxaudio.pause(),this.sfxplayed=1,this.sfxaudio.src=l+"sounds/general/sfx-realization.wav",this.sfxaudio.play(),$("#client_gamewindow").effect("pulsate")),this.chatmsg.preanimdelay>0&&(document.getElementById("client_shout").src="misc/placeholder.gif",O(this.chatmsg.side),document.getElementById("client_char").src=l+"characters/"+escape(this.chatmsg.name)+"/"+this.chatmsg.preanim+".gif"),this.chatmsg.startpreanim=!1,this.chatmsg.startspeaking=!0;else if(this.textTimer>=this.shoutTimer+this.chatmsg.preanimdelay&&!this.chatmsg.startpreanim)if(this.chatmsg.startspeaking){this.chatmsg.evidence>0&&(document.getElementById("client_evi").style.backgroundImage="url('"+me.evidences[this.chatmsg.evidence-1].icon+"')","def"==this.chatmsg.side?(document.getElementById("client_evi").style.right="1.5em",document.getElementById("client_evi").style.left="initial",$("#client_evi").animate({height:"30%",opacity:1},250)):(document.getElementById("client_evi").style.right="initial",document.getElementById("client_evi").style.left="1.5em",$("#client_evi").animate({height:"30%",opacity:1},250))),$("#client_name").toggle("fade"),$("#client_chat").toggle("drop",{direction:"down"}),0==this.chatmsg.preanimdelay&&(document.getElementById("client_shout").src="misc/placeholder.gif",O(this.chatmsg.side)),document.getElementById("client_char").src=l+"characters/"+escape(this.chatmsg.name)+"/"+this.chatmsg.speaking+".gif",document.getElementById("client_name").style.fontSize=.7*document.getElementById("client_name").offsetHeight+"px",document.getElementById("client_chat").style.fontSize=.25*document.getElementById("client_chat").offsetHeight+"px",document.getElementById("client_name").innerHTML="<p>"+ae(this.chatmsg.nameplate)+"</p>";var n="color: "+({0:"#ffffff",1:"#00ff00",2:"#ff0000",3:"#ffaa00",4:"#0000ff",5:"#ffff00",6:"#aa00aa"}[this.chatmsg.color]||"#ffffff");document.getElementById("client_inner_chat").style=n,this.chatmsg.startspeaking=!1,this.textnow==this.chatmsg.content&&(document.getElementById("client_char").src=l+"characters/"+escape(this.chatmsg.name)+"/"+this.chatmsg.silent+".gif",this._animating=!1,clearTimeout(this.updater))}else this.textnow!=this.chatmsg.content&&(" "!=this.chatmsg.content.charAt(this.textnow.length)&&(this.blipChannels[this.currentBlipChannel].play(),this.currentBlipChannel++,this.currentBlipChannel%=this.blipChannels.length),this.textnow=this.chatmsg.content.substring(0,this.textnow.length+1),document.getElementById("client_inner_chat").innerHTML=this.textnow,this.textnow==this.chatmsg.content&&(this.textTimer=0,this._animating=!1,document.getElementById("client_char").src=l+"characters/"+escape(this.chatmsg.name)+"/"+this.chatmsg.silent+".gif",clearTimeout(this.updater)));!this.sfxplayed&&this.chatmsg.snddelay+this.shoutTimer>=this.textTimer&&(this.sfxaudio.pause(),this.sfxplayed=1,"0"!=this.chatmsg.sound&&"1"!=this.chatmsg.sound&&(this.sfxaudio.src=l+"sounds/general/"+escape(this.chatmsg.sound)+".wav",this.sfxaudio.play())),this.textTimer=this.textTimer+60}}]),e}(),p=function(){function e(){c(this,e)}return i(e,null,[{key:"parse",value:function(e){var t={section:/^\s*\[\s*([^\]]*)\s*\]\s*$/,param:/^\s*([\w\.\-\_]+)\s*=\s*(.*?)\s*$/,comment:/^\s*;.*$/},n={},i=null;return e.split(/\r\n|\r|\n/).forEach(function(e){if(!t.comment.test(e)&&0!=e.length)if(t.param.test(e)){var c=e.match(t.param);i?n[i][c[1]]=c[2]:n[c[1]]=c[2]}else if(t.section.test(e)){var o=e.match(t.section);n[o[1]]={},i=o[1]}}),n}}]),e}();function v(e){13==e.keyCode&&(me.sendOOC(document.getElementById("client_oocinputbox").value),document.getElementById("client_oocinputbox").value="")}function _(e){if(13==e.keyCode){var t=me.me(),n=me.myEmote(),i=me.myEvidence(),c=me.flip?1:0,o=document.getElementById("textcolor").value,s="0",a="0";document.getElementById("sendsfx").checked&&(s=n.sfx,a=n.sfxdelay),me.sendIC(n.speaking,t.name,n.silent,document.getElementById("client_inputbox").value,t.side,s,n.zoom,a,h,i,c,u,o)}}function E(e){var t=document.getElementById("client_musiclist").value;me.sendMusicChange(t)}function I(e){var t=e.textContent;me.sendMusicChange(t)}function b(){he.music.volume=document.getElementById("client_mvolume").value/100}function B(){he.sfxaudio.volume=document.getElementById("client_svolume").value/100}function w(){he.setBlipVolume(document.getElementById("client_bvolume").value/100)}function k(e){me.sendLeaveRoom(),document.getElementById("client_charselect").style.display="block",document.getElementById("client_emo").innerHTML=""}function C(e){return e.onerror="",e.src="misc/placeholder.gif",!0}function x(e){return e.onerror="",e.src="/misc/placeholder.png",!0}function T(e,t,n){var i=new XMLHttpRequest;i.onreadystatechange=function(){4==this.readyState&&200==this.status?t(!0,n,e):t(!1,n,e)},i.open("GET",e,!0),i.send()}function O(e){var t,n=he.bgFolder();switch(document.getElementById("client_fg").style.display="none",document.getElementById("client_bench").style.display="none",e){case"def":document.getElementById("client_court").src=n+"defenseempty.png",document.getElementById("client_bench").style.display="block",T(n+"defensedesk.png",M,e),t="defense";break;case"pro":document.getElementById("client_court").src=n+"prosecutorempty.png",document.getElementById("client_bench").style.display="block",T(n+"defensedesk.png",M,e),t="prosecution";break;case"hld":document.getElementById("client_court").src=n+"helperstand.png",t="defense";break;case"hlp":document.getElementById("client_court").src=n+"prohelperstand.png",t="prosecution";break;case"wit":document.getElementById("client_court").src=n+"witnessempty.png",document.getElementById("client_bench").style.display="block",document.getElementById("client_bench").src=n+"estrado.png",t="prosecution";break;case"jud":document.getElementById("client_court").src=n+"judgestand.png",t="prosecution"}5==he.chatmsg.type&&(document.getElementById("client_bench").style.display="none",document.getElementById("client_court").src=l+"themes/default/"+t+"_speedlines.gif")}function M(e,t){var n=he.bgFolder();document.getElementById("client_bench").src="def"==t?e?n+"defensedesk.png":n+"bancodefensa.png":e?n+"prosecutiondesk.png":n+"bancoacusacion.png"}function L(){me.cleanup(),(me=new y(s))&&(a="join",document.getElementById("client_error").style.display="none")}function N(){me.joinServer()}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Date,i=document.createElement("p"),c=document.createElement("span");if(c.id="iclog_name",c.appendChild(document.createTextNode(t)),i.appendChild(c),i.appendChild(document.createTextNode(e)),g.getMinutes()!==n.getMinutes()){var o=document.createElement("span");o.id="iclog_time",o.innerText=n.toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"}),i.appendChild(o)}var s=document.getElementById("client_log");s.appendChild(i),s.scrollTop>s.scrollHeight-600&&(s.scrollTop=s.scrollHeight),g=new Date}function H(e){e<1e3?me.sendCharacter(e):(document.getElementById("client_charselect").style.display="none",document.getElementById("client_inputbox").style.display="none",document.getElementById("client_emo").style.display="none")}function P(e){-1!=me.selectedEmote&&(document.getElementById("emo_"+me.selectedEmote).src=me.myEmote().button_off),me.selectedEmote=e,document.getElementById("emo_"+e).src=me.myEmote().button_on}function D(e){if(me.selectedEvidence!=e){me.selectedEvidence>0&&(document.getElementById("evi_"+me.selectedEvidence).className="client_button"),document.getElementById("evi_"+e).className="client_button dark",me.selectedEvidence=e,document.getElementById("evi_name").value=me.evidences[e-1].name,document.getElementById("evi_desc").value=me.evidences[e-1].desc;var t=Z("evi_select",me.evidences[e-1].filename);document.getElementById("evi_select").selectedIndex=t,0==t&&(document.getElementById("evi_filename").value=me.evidences[e-1].filename),F(),document.getElementById("evi_add").className="client_button hover_button inactive",document.getElementById("evi_edit").className="client_button hover_button",document.getElementById("evi_cancel").className="client_button hover_button",document.getElementById("evi_del").className="client_button hover_button"}else U()}function R(){var e=document.getElementById("evi_select");me.sendPE(document.getElementById("evi_name").value,document.getElementById("evi_desc").value,0==e.selectedIndex?document.getElementById("evi_filename").value:e.options[e.selectedIndex].text),U()}function A(){var e=document.getElementById("evi_select"),t=parseInt(me.selectedEvidence)-1;me.sendEE(t,document.getElementById("evi_name").value,document.getElementById("evi_desc").value,0==e.selectedIndex?document.getElementById("evi_filename").value:e.options[e.selectedIndex].text),U()}function j(){var e=parseInt(me.selectedEvidence)-1;me.sendDE(e),U()}function U(){me.selectedEvidence>0&&(document.getElementById("evi_"+me.selectedEvidence).className="client_button"),me.selectedEvidence=0,document.getElementById("evi_select").selectedIndex=0,F(),document.getElementById("evi_filename").value="",document.getElementById("evi_name").value="",document.getElementById("evi_desc").value="",document.getElementById("evi_icon").style.backgroundImage="url('misc/empty.png')",document.getElementById("evi_add").className="client_button hover_button",document.getElementById("evi_edit").className="client_button hover_button inactive",document.getElementById("evi_cancel").className="client_button hover_button inactive",document.getElementById("evi_del").className="client_button hover_button inactive"}function Z(e,t){for(var n=document.getElementById(e),i=1;i<n.length;++i)if(n.options[i].value==t)return i;return 0}function F(){var e=document.getElementById("evi_select"),t=document.getElementById("evi_filename"),n=document.getElementById("evi_icon");0==e.selectedIndex?(t.style.display="initial",n.style.backgroundImage="url('"+l+"evidence/"+t.value+"')"):(t.style.display="none",n.style.backgroundImage="url('"+l+"evidence/"+e.value+"')")}function V(e){"jud"==e?(document.getElementById("judge_action").style.display="inline-table",document.getElementById("no_action").style.display="none"):(document.getElementById("no_action").style.display="inline-table",document.getElementById("judge_action").style.display="none");for(var t=0,n=document.getElementById("role_select").options;t<n.length;t++)if(e==n[t].value)return void(n.selectedIndex=t)}function X(){var e="",t=document.getElementById("bg_select"),n=document.getElementById("bg_command").value;e=0==t.selectedIndex?document.getElementById("bg_filename").value:t.value,me.sendOOC("/"+n.replace("$1",e))}function z(){var e=document.getElementById("role_select"),t=document.getElementById("role_command").value;me.sendOOC("/"+t.replace("$1",e.value)),V(e.value)}function G(){me.sendOOC("/"+document.getElementById("randomchar_command").value)}function q(){$("#callmod_dialog").dialog("open")}function K(){me.sendRT("testimony1")}function W(){me.sendRT("testimony2")}function J(){me.sendHP(1,String(parseInt(me.hp[0])+1))}function Q(){me.sendHP(1,String(parseInt(me.hp[0])-1))}function Y(){me.sendHP(2,String(parseInt(me.hp[1])+1))}function ee(){me.sendHP(2,String(parseInt(me.hp[1])-1))}function te(){var e=document.getElementById("bg_select"),t=document.getElementById("bg_filename"),n=document.getElementById("bg_preview");0==e.selectedIndex?(t.style.display="initial",n.src=l+"background/"+t.value+"/defenseempty.png"):(t.style.display="none",n.src=l+"background/"+e.value+"/defenseempty.png")}function ne(e){e==u?(document.getElementById("button_effect_"+e).className="client_button",u=0):(document.getElementById("button_effect_"+e).className="client_button dark",u&&(document.getElementById("button_effect_"+u).className="client_button"),u=e)}function ie(){me.flip?document.getElementById("button_flip").className="client_button":document.getElementById("button_flip").className="client_button dark",me.flip=!me.flip}function ce(){me.presentable?document.getElementById("button_present").className="client_button":document.getElementById("button_present").className="client_button dark",me.presentable=!me.presentable}function oe(e){e!=m&&(document.getElementById("menu_"+e).className="menu_icon active",document.getElementById("content_"+e).className="menu_content active",document.getElementById("menu_"+m).className="menu_icon",document.getElementById("content_"+m).className="menu_content",m=e)}function se(e){e==h?(document.getElementById("button_"+e).className="client_button",h=0):(document.getElementById("button_"+e).className="client_button dark",h&&(document.getElementById("button_"+h).className="client_button"),h=e)}function ae(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function le(e){return e.replace(/#/g,"<pound>").replace(/&/g,"<and>").replace(/%/g,"<percent>").replace(/\$/g,"<dollar>")}function de(e){return e.replace(/<pound>/g,"#").replace(/<and>/g,"&").replace(/<percent>/g,"%").replace(/<dollar>/g,"$")}function re(e){var t=document.getElementById("client_encoding").value;if("unicode"==t)return e.replace(/[^\0-~]/g,function(e){return"\\u"+("000"+e.charCodeAt().toString(16)).slice(-4)});if("utf16"==t){for(var n=new ArrayBuffer(2*e.length),i=new Uint16Array(n),c=0,o=e.length;c<o;c++)i[c]=e.charCodeAt(c);return String(i)}return e}function ue(e){var t=document.getElementById("client_decoding").value;return"unicode"==t?e.replace(/\\u([\d\w]{1,})/gi,function(e,t){return String.fromCharCode(parseInt(t,16))}):"utf16"==t?String.fromCharCode.apply(null,new Uint16Array(e.split(","))):e}window.onOOCEnter=v,window.onEnter=_,window.musiclist_click=E,window.area_click=I,window.changeMusicVolume=b,window.changeSFXVolume=B,window.changeBlipVolume=w,window.changeCharacter=k,window.imgError=C,window.demoError=x,window.ReconnectButton=L,window.RetryButton=N,window.pickchar=H,window.pickemotion=P,window.pickevidence=D,window.addevidence=R,window.editevidence=A,window.delevidence=j,window.cancelevidence=U,window.getIndexFromSelect=Z,window.updateEvidenceIcon=F,window.updateActionCommands=V,window.changeBackgroundOOC=X,window.changeRoleOOC=z,window.randomCharacterOOC=G,window.callmod=q,window.initwt=K,window.initce=W,window.addHPD=J,window.redHPD=Q,window.addHPP=Y,window.redHPP=ee,window.updateBackgroundPreview=te,window.toggleaffect=ne,window.toggleflip=ie,window.togglepresent=ce,window.togglemenu=oe,window.toggleshout=se,void 0===String.prototype.trim&&(String.prototype.trim=function(){return String(this).replace(/^\s+|\s+$/g,"")}),String.prototype.hashCode=function(){var e,t=0;if(0===this.length)return t;for(e=0;e<this.length;e++)t=(t<<5)-t+this.charCodeAt(e),t|=0;return t};var me=new y(s),he=new f;$(document).ready(function(){me.initialObservBBCode(),me.loadResources()}),$(function(){$("#callmod_dialog").dialog({autoOpen:!1,resizable:!1,show:{effect:"drop",direction:"down",duration:500},hide:{effect:"drop",direction:"down",duration:500},height:"auto",width:400,modal:!0,buttons:{Sure:function(){me.sendZZ(""),$(this).dialog("close")},Cancel:function(){$(this).dialog("close")}}})})}}); +!function(e){var n={};function t(o){if(n[o])return n[o].exports;var a=n[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=2)}([function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=["1.gif","1.png","2.png","3.png","4.png","5.gif","5.png","6.gif","6.png","AACastApril.png","AACastBellboy.png","AACastButz.png","AACastButz2.png","AACastButz3.png","AACastCindy.png","AACastCody.png","AACastDarke.png","AACastEma.png","AACastGant.png","AACastGoodman.png","AACastGregory.png","AACastGrossberg.png","AACastGumshoe.png","AACastHammer.png","AACastJake.png","AACastJudge.png","AACastLana.png","AACastLotta.png","AACastManfred.png","AACastMaya.png","AACastMeekins.png","AACastMia.png","AACastMiles.png","AACastMisty.png","AACastNeil.png","AACastOldbag.png","AACastOldbag2.png","AACastPayne.png","AACastPayne2.png","AACastPenny.png","AACastPhoenix.png","AACastPhoenix2.png","AACastPowers.png","AACastPowers2.png","AACastSahwit.png","AACastSal.png","AACastStarr.png","AACastVasquez.png","AACastWhite.png","AAI2CastBlaise.png","AAI2CastBonnie.png","AAI2CastCameron.png","AAI2CastCourtney.png","AAI2CastDelicia.png","AAI2CastDogen.png","AAI2CastElbird.png","AAI2CastGustavia.png","AAI2CastGustavia2.png","AAI2CastJill.png","AAI2CastKarin.png","AAI2CastKatherine.png","AAI2CastKatherine2.png","AAI2CastKnightley.png","AAI2CastMarsh.png","AAI2CastMaster.png","AAI2CastMaster2.png","AAI2CastNicole.png","AAI2CastPierre.png","AAI2CastRaymond.png","AAI2CastRaymond2.png","AAI2CastRoland.png","AAI2CastRooke.png","AAI2CastSahwit.png","AAI2CastSebastian.png","AAI2CastShelly.png","AAI2CastSimon.png","AAI2bag.png","AAI2balloon.png","AAI2bell.png","AAI2blanket.png","AAI2body.png","AAI2button.png","AAI2chess.png","AAI2clip.png","AAI2cuffs.png","AAI2dog.png","AAI2door.png","AAI2floor.png","AAI2gate.png","AAI2glove.png","AAI2gun.png","AAI2key.png","AAI2map.png","AAI2map2.png","AAI2map3.png","AAI2note.png","AAI2rope.png","AAI2shovel.png","AAI2tunnel.png","AAI2uniform.png","AAI2video.png","AAI2well.png","AAICastAkbey.png","AAICastAlba.png","AAICastAlba2.png","AAICastAmano.png","AAICastBadd.png","AAICastBuddy.png","AAICastButz.png","AAICastByrne.png","AAICastCammy.png","AAICastDeacon.png","AAICastDeid.png","AAICastFranziska.png","AAICastFranziska2.png","AAICastGumshoe.png","AAICastGumshoe2.png","AAICastHuang.png","AAICastJudge.png","AAICastKay.png","AAICastKay2.png","AAICastLance.png","AAICastLang.png","AAICastMack.png","AAICastMaggey.png","AAICastManfred.png","AAICastManny.png","AAICastNou.png","AAICastPalaeno.png","AAICastPaups.png","AAICastPortsman.png","AAICastRhoda.png","AAICastShihna.png","AAICastSkye.png","AAICastYew.png","AAICastZinc.png","AAIFIRE.png","AAIad.png","AAIad2.png","AAIad3.png","AAIarrow.png","AAIbadge.png","AAIbadger.png","AAIbadger2.png","AAIbadger3.png","AAIbadger4.png","AAIbag.png","AAIballoon.png","AAIbody.png","AAIbody2.png","AAIbody3.png","AAIbody4.png","AAIbody5.png","AAIbook.png","AAIbook2.png","AAIbook3.png","AAIbook4.png","AAIboxes.png","AAIbusinesscard.png","AAIbusinesscard2.png","AAIcar.png","AAIcargo.png","AAIcart.png","AAIchange.png","AAIclip.png","AAIcravat.png","AAIdecoration.png","AAIdoor.png","AAIfile.png","AAIfile2.png","AAIfile3.png","AAIflowers.png","AAIfountain.png","AAIfountain2.png","AAIgift.png","AAIguitarpick.png","AAIgun.png","AAIgun2.png","AAIgun3.png","AAIhandprint.png","AAIhat.png","AAIhoop.png","AAIink.png","AAIkey.png","AAIkey2.png","AAIkey3.png","AAIkey4.png","AAIkey5.png","AAIknife.png","AAIknife2.png","AAIknife3.png","AAIknife4.png","AAIknife5.png","AAIlantern.png","AAIlittlethief.png","AAIluggage.png","AAImoney.png","AAInote.png","AAInote2.png","AAInote3.png","AAInote4.png","AAInote5.png","AAInote6.png","AAInote7.png","AAInote8.png","AAInote9.png","AAInote10.png","AAInote11.png","AAInote12.png","AAInote13.png","AAInote14.png","AAInote15.png","AAInote16.png","AAInote17.png","AAIpen.png","AAIpendant.png","AAIpendant2.png","AAIperfume.png","AAIperfume2.png","AAIphone.png","AAIphone2.png","AAIphone3.png","AAIphoto.png","AAIphoto2.png","AAIphoto3.png","AAIphoto4.png","AAIplates.png","AAIquercuswound.png","AAIreceipt.png","AAIsafe.png","AAIsafe2.png","AAIsciencekit.png","AAIshards.png","AAIshards2.png","AAIshards3.png","AAIshears.png","AAIshirt.png","AAIsnack.png","AAIspear.png","AAIspill.png","AAIstatue.png","AAIstatue2.png","AAIstatue3.png","AAIstatue4.png","AAIsuspect.png","AAIsword.png","AAIsword2.png","AAItape.png","AAItonosamanju.png","AAItonosamanju2.png","AAItonosamanju3.png","AAIvideo.png","AAIwakasaman.png","AAIwallet.png","AAIwire.png","AATHATCARD.png","AAaffidavit.png","AAairtube.png","AAautopsy.png","AAbluebadger.png","AAbook.png","AAbook2.png","AAbook3.png","AAbullet.png","AAbullet2.png","AAcamera.png","AAcamera2.png","AAcards.png","AAclip.png","AAclip2.png","AAclip3.png","AAclip4.png","AAclip5.png","AAdata.png","AAdata2.png","AAdata3.png","AAdata4.png","AAenvelope.png","AAevidencelaw.png","AAfingerprintpowder.png","AAfirecracker.png","AAfishingpole.png","AAflyer.png","AAglassshards.png","AAglove.png","AAgun.png","AAhandprint.png","AAidcard.png","AAkey.png","AAkeycard.png","AAknife1.png","AAkoptrophy.png","AAleather.png","AAlocker.png","AAlocker2.png","AAlocker3.png","AAluminol.png","AAluminol2.png","AAlunch.png","AAlunch2.png","AAlunch3.png","AAmagatama.png","AAmagatama2.png","AAmayanote.png","AAmayoinote.png","AAmetaldetector.png","AAmissile.png","AAmissile2.png","AAmissle2.png","AAmrmonkey.png","AAnote.png","AAnote2.png","AAnote3.png","AAnote4.png","AAparkingticket.png","AApassport.png","AApassport2.png","AAphone.png","AAphone2.png","AAphone3.png","AAphone4.png","AAphoto.png","AAphoto2.png","AAphoto3.png","AAphoto4.png","AAphoto5.png","AAphoto6.png","AAphoto7.png","AAphoto8.png","AAphoto9.png","AAphoto10.png","AAphoto11.png","AApills.png","AApills2.png","AAplate.png","AAplate2.png","AApolly.png","AAprint.png","AAprint2.png","AAprint3.png","AAprint4.png","AAprint5.png","AAprint6.png","AAprint7.png","AAprint8.png","AApsychelock.png","AAsafe.png","AAscarf.png","AAscrewdriver.png","AAscript.png","AAscript2.png","AAshoe.png","AAshoe2.png","AAspear.png","AAstudiovan.png","AAswitchblade.png","AAswitchblade2.png","AAswitchblade3.png","AAthinker.png","AAvase.png","AAvase2.png","AAvase3.png","AAvase4.png","AAvase5.png","AAvideo.png","AAvideo2.png","AAwallet.png","AAwiretap.png","AJCastAlita.png","AJCastApollo.png","AJCastDaryan.jpg","AJCastDaryan.png","AJCastDrew.png","AJCastEldoon.png","AJCastEma.png","AJCastKlavier.png","AJCastKlavier2.png","AJCastKristoph.png","AJCastLamiroir.png","AJCastLeTouse.png","AJCastMachi.png","AJCastMagnifi.png","AJCastMeraktis.png","AJCastOlga.png","AJCastOlga2.png","AJCastPayne.png","AJCastPhoenix.png","AJCastPlum.png","AJCastShadi.png","AJCastSpark.png","AJCastStickler.png","AJCastThalassa.png","AJCastTrucy.gif","AJCastTrucy.png","AJCastValant.png","AJCastValant2.png","AJCastVera.png","AJCastWinfred.png","AJCastWocky.png","AJCastZak.png","AJad.png","AJad2.png","AJad3.png","AJad4.png","AJad5.png","AJautopsy.png","AJbadge.png","AJbook.png","AJbottle.png","AJbowl.png","AJbox.png","AJbracelet.png","AJbrooch.png","AJbullet.png","AJburntstuff.png","AJbusinesscard.png","AJbusinesscard2.png","AJbusinesscard3.png","AJbusinesscard4.png","AJbusinesscard5.png","AJbusinesscard6.png","AJbutton.png","AJcard.png","AJcard2.png","AJcard3.png","AJcard4.png","AJcard5.png","AJcart.png","AJclip.png","AJclip2.png","AJclip3.png","AJcocoon.png","AJdata1.png","AJdata2.png","AJdata3.png","AJdevice.png","AJdevice2.png","AJdevice3.png","AJearpiece.png","AJfingerprintpowder.png","AJframe.png","AJgoldsnackoo.png","AJguitar.png","AJgun.png","AJgun2.png","AJgun3.png","AJiv.png","AJiv2.png","AJkey.png","AJknife.png","AJlamp.png","AJlocket.png","AJluminol.png","AJmagatama.png","AJmap.png","AJmap2.png","AJmap3.png","AJmap4.png","AJmirror.png","AJmixer.png","AJmrhat.png","AJmug.png","AJnailpolish.png","AJnote.png","AJnote2.png","AJnote3.png","AJnote4.png","AJnote5.png","AJnote6.png","AJnote7.png","AJnote8.png","AJnote9.png","AJnote10.png","AJnote11.png","AJnote12.png","AJnote13.png","AJnote14.png","AJnote15.png","AJnote16.png","AJnote17.png","AJnote18.png","AJnote19.png","AJnote","AJpainting.png","AJpainting2.png","AJpainting3.png","AJpainting4.png","AJpanties.png","AJpanties2.png","AJpanties3.png","AJphone.png","AJphone2.png","AJphoto.png","AJphoto2.png","AJphoto3.png","AJphoto4.png","AJphoto5.png","AJphoto6.png","AJphoto7.png","AJphoto8.png","AJpoisonspray.png","AJsciencekit.png","AJshoe.png","AJshoe2.png","AJshoe3.png","AJsnack.png","AJsnack2.png","AJsnack3.png","AJsnackoos.png","AJstamp.png","AJsyringe.png","AJticket.png","AJticket2.png","AJticket3.png","AJvideo.png","AJxraymachine.png","Compin.png","Credit.png","CustomEvidence1.png","CustomEvidence2.png","CustomEvidence3.png","CustomEvidence4.png","CustomEvidence5.png","CustomEvidence6.png","CustomEvidence7.png","CustomEvidence8.png","CustomEvidence9.png","CustomEvidence10.png","CustomEvidence11.png","CustomEvidence12.png","CustomEvidence13.png","CustomEvidence14.png","CustomEvidence15.png","CustomEvidence16.png","CustomEvidence17.png","CustomEvidence18.png","CustomEvidence19.png","CustomEvidence","DDAutopsy.png","DDBadge.png","DDCaseCandice.png","DDCastApollo.png","DDCastApollo2.png","DDCastApollo3.png","DDCastAthena.png","DDCastAura.png","DDCastBlackquill.png","DDCastCandice.png","DDCastClay.png","DDCastClonco.png","DDCastClonco2.png","DDCastCourte.png","DDCastCrab.png","DDCastDamien.png","DDCastFilch.png","DDCastFulbright.png","DDCastJinxie.png","DDCastJuniper.png","DDCastJuniper2.png","DDCastKlavier.png","DDCastLBelle.png","DDCastLBelle2.png","DDCastMeans.png","DDCastMetis.png","DDCastMiles.png","DDCastNineTails.png","DDCastNorma.png","DDCastOConnor.png","DDCastOrla.png","DDCastPayne.png","DDCastPearl.png","DDCastPhoenix.png","DDCastRex.png","DDCastRimes.png","DDCastRobin.png","DDCastRobin2.png","DDCastSasha.png","DDCastSasha2.png","DDCastSasha3.png","DDCastScuttlebutt.png","DDCastShipley.png","DDCastSniper.png","DDCastSniper2.png","DDCastStarbuck.png","DDCastSummers.png","DDCastTonate.png","DDCastTrucy.png","DDCastYuri.png","DDSTEPladder.png","DDScrewdriver.png","DDStatueStands.png","DDarrow.png","DDbadge2.png","DDbag.png","DDball.png","DDbed.png","DDbomb.png","DDbomb2.png","DDbomb3.png","DDbomb4.png","DDbook.png","DDbook2.png","DDbook3.png","DDbook4.png","DDbook5.png","DDbowl.png","DDbox.png","DDbox2.png","DDbox3.png","DDbox4.png","DDbracelet.png","DDbullet.png","DDbullet2.png","DDbullethole.png","DDcalendar.png","DDcamera.png","DDcamera2.png","DDcamera3.png","DDcart.png","DDcd.png","DDcharm.png","DDclip.png","DDclip2.png","DDclip3.png","DDcloth.png","DDcoin.png","DDcoin2.png","DDcomputer.png","DDcostume.png","DDcostume2.png","DDcostumes.png","DDdata.png","DDdata2.png","DDdata3.png","DDdetonator.png","DDdoor.png","DDdoor2.png","DDdoor3.png","DDdye.png","DDearring.png","DDemblem.png","DDenvelope.png","DDfingerprint.png","DDfingerprintpowder.png","DDfish.png","DDflower.png","DDfood.png","DDfood2.png","DDgun.png","DDhair.png","DDhairspray.png","DDhandprint.png","DDhat.png","DDheadphones.png","DDkey.png","DDkey2.png","DDkey3.png","DDkeycard.png","DDkeycard2.png","DDkeycard3.png","DDkeycard4.png","DDkeycard5.png","DDkeycard6.png","DDkeycard7.png","DDknife.png","DDladder.png","DDladder2.png","DDlighter.png","DDluminol.png","DDmagatama.png","DDmagatama2.png","DDmap.png","DDmap2.png","DDmap3.png","DDmap4.png","DDmap5.png","DDmap6.png","DDmap7.png","DDmap8.png","DDmap9.png","DDmap10.png","DDmap11.png","DDmap12.png","DDmask.png","DDmedicine.png","DDmedicine2.png","DDmedicine3.png","DDnote.png","DDnote2.png","DDnote4.png","DDnote5.png","DDnote6.png","DDnote7.png","DDnote8.png","DDnote9.png","DDnote10.png","DDnote16.png","DDpenguin.png","DDphone.png","DDphone2.png","DDphoto.png","DDphoto2.png","DDphoto3.png","DDphoto4.png","DDphoto5.png","DDphoto6.png","DDphoto7.png","DDphoto10.png","DDphoto11.png","DDphoto12.png","DDphoto13.png","DDphoto14.png","DDphoto15.png","DDplate.png","DDposter.png","DDposter2.png","DDposter3.png","DDpuppet.png","DDrecorder.png","DDscienceglasses.png","DDscroll.png","DDshard.png","DDshard2.png","DDshard3.png","DDshard4.png","DDshard5.png","DDshard6.png","DDshard7.png","DDshoe.png","DDskull.png","DDstaff.png","DDstatue.png","DDstatue2.png","DDstatue3.png","DDstatue4.png","DDstatue5.png","DDstatue6.png","DDstatue7.png","DDstatue8.png","DDstatue9.png","DDsurgery.png","DDsuspect.png","DDsword.png","DDsword2.png","DDtail.png","DDtank.png","DDtank2.png","DDvideo.png","DDwhistle.png","DDwidget.png","DGSCastAuchi.png","DGSCastBarok.png","DGSCastBeppo.png","DGSCastCrogrey.png","DGSCastDemiglaski.png","DGSCastFairplay.png","DGSCastGina.png","DGSCastGreen.png","DGSCastGregson.png","DGSCastHolmes.png","DGSCastHosonaga.png","DGSCastHosonaga2.png","DGSCastHutch.png","DGSCastJWatson.png","DGSCastJezail.png","DGSCastJoan.png","DGSCastJohn.png","DGSCastKazuma.png","DGSCastLadyfirst.png","DGSCastMegundal.png","DGSCastMilverton.png","DGSCastNatsume.png","DGSCastNemmy.png","DGSCastNikomina.png","DGSCastPat.png","DGSCastRola.png","DGSCastRoylott.png","DGSCastRyuunosuke.png","DGSCastSanmon.png","DGSCastStroganov.png","DGSCastSusato.png","DGSCastSuspect.png","DGSCastTaizou.png","DGSCastTully.png","DGSCastVortex.png","DGSCastWagahai.png","DGSCastWatson.png","DGSCastYuujin.png","DGSbadge.png","DGSbag.png","DGSbag2.png","DGSbell.png","DGSbell2.png","DGSbell3.png","DGSbook.png","DGSbook2.png","DGSbook3.png","DGSbook4.png","DGSbook5.png","DGSbook6.png","DGSbook7.png","DGSbook8.png","DGSbook9.png","DGSbook10.png","DGSbullet.png","DGScamera.png","DGScane.png","DGScart.png","DGSclip.png","DGSclip2.png","DGSclip3.png","DGSclip4.png","DGScoin.png","DGSdevice.png","DGSflower.png","DGSfood.png","DGSfood2.png","DGSfood3.png","DGSfood4.png","DGSgloves.png","DGSgloves2.png","DGSgun.png","DGSgun2.png","DGSgun3.png","DGSherbaltea.png","DGSknife.png","DGSknife2.png","DGSknife3.png","DGSknife4.png","DGSmap.png","DGSmap2.png","DGSmap3.png","DGSmusicbox.png","DGSmusicbox2.png","DGSmusicbox3.png","DGSmusicdisk.png","DGSmusicdisk2.png","DGSmusicdisk3.png","DGSmusicdisk4.png","DGSmusicdisk15.png","DGSnote.png","DGSnote2.png","DGSnote3.png","DGSnote4.png","DGSnote5.png","DGSnote6.png","DGSnote7.png","DGSnote8.png","DGSnote9.png","DGSnote10.png","DGSnote11.png","DGSnote12.png","DGSnote13.png","DGSnote14.png","DGSnote15.png","DGSnote16.png","DGSnote17.png","DGSnote18.png","DGSnote19.png","DGSnote","DGSnote21.png","DGSphoto.png","DGSphoto2.png","DGSphoto3.png","DGSphoto4.png","DGSphoto5.png","DGSphoto6.png","DGSphoto7.png","DGSphoto8.png","DGSphoto9.png","DGSphoto10.png","DGSphoto11.png","DGSphoto12.png","DGSphoto13.png","DGSphoto14.png","DGSphoto15.png","DGSphoto16.png","DGSphoto17.png","DGSphoto18.png","DGSphoto19.png","DGSpin.png","DGSpin2.png","DGSpipe.png","DGSpressing.png","DGSsciencekit.png","DGSshard.png","DGSstereoscope.png","DGSstereoscope2.png","DGStiara.png","DGSviola.png","DGSviola2.png","DGSwhip.png","Datapad.png","Interface.png","JFACastAcro.png","JFACastAdrian.png","JFACastAmi.png","JFACastBat.png","JFACastBen.png","JFACastCeleste.png","JFACastDeKiller.png","JFACastDustin.png","JFACastFranziska.png","JFACastGalactica.png","JFACastGrey.png","JFACastHotti.png","JFACastIni.png","JFACastJuan.png","JFACastMaggey.png","JFACastMatt.png","JFACastMimi.png","JFACastMoe.png","JFACastMorgan.png","JFACastPearl.png","JFACastRegina.png","JFACastRussel.png","JFACastShelly.png","JFACastWellington.png","JFATHATCARD.png","JFATHATCARD2.png","JFAautograph.png","JFAautograph2.png","JFAball.png","JFAball2.png","JFAbear.png","JFAbear2.png","JFAbear3.png","JFAbottle.png","JFAbox.png","JFAbox2.png","JFAbusinesscard.png","JFAbusinesscard2.png","JFAbutton.png","JFAbutton2.png","JFAbutton3.png","JFAcamera.png","JFAcard.png","JFAcard2.png","JFAclip.png","JFAclip2.png","JFAclip3.png","JFAclip4.png","JFAcoat.png","JFAfrequencydetector.png","JFAglasses.png","JFAglove.png","JFAgrapes.png","JFAguitar.png","JFAgun.png","JFAgun2.png","JFAhammond.png","JFAhat.png","JFAjuice.png","JFAkey.png","JFAknife.png","JFAknife2.png","JFAleon.png","JFAmilk.png","JFAmilk2.png","JFAmoney.png","JFAnote.png","JFAnote2.png","JFApepper.png","JFAphoto.png","JFAposter.png","JFAreceipt.png","JFAregent.png","JFAring.png","JFArobe.png","JFArobescrap.png","JFAscarf.png","JFAscreen.png","JFAshoe.png","JFAspycamera.png","JFAticket.png","JFAticket2.png","JFAtracker.png","JFAtransceiver.png","JFAtransmitter.png","JFAtrilo.png","JFAuniform.png","JFAurn1.png","JFAurn2.png","JFAvest.png","JFAwhip.png","MiscAKMS.png","MiscAsthmaPump.png","MiscBaggie.png","MiscBeach.png","MiscBlueRuby.png","MiscCandy Cane.png","MiscCandy Cane Dark.png","MiscCorkscrew.png","MiscCrowbar.png","MiscDragonPepper.png","MiscFlintlock.png","MiscGenerator.png","MiscGrapeJuice.png","MiscGreen Hut.png","MiscGrill.png","MiscHalf-Eaten Burger.png","MiscHangGlider.png","MiscLockpicks.png","MiscMapBiolab.png","MiscMapCourthouse.png","MiscMapLobby1.png","MiscMichigan J Frog.png","MiscMystery1.png","MiscMystery2.png","MiscMystery3.png","MiscOldTrain.png","MiscRaffleTickets.png","MiscSpatula.png","MiscSpecimenAlpha.png","MiscTimeCrystal.png","MiscTins.png","MiscUnknown People.png","MiscVDF.png","MiscVodka.png","MiscZombie.png","Scanner.png","SoJad.png","SoJad2.png","SoJad3.png","SoJad4.png","SoJad5.png","SoJad6.png","SoJad7.png","SoJarrow.png","SoJautopsy.png","SoJbadge.png","SoJbadge2.png","SoJblimp.png","SoJblimp2.png","SoJblood.png","SoJboiler.png","SoJbook.png","SoJbook2.png","SoJbook3.png","SoJbook4.png","SoJbook5.png","SoJbook6.png","SoJbook7.png","SoJbook8.png","SoJbook9.png","SoJbook10.png","SoJbook11.png","SoJbook12.png","SoJbook13.png","SoJbook14.png","SoJbox.png","SoJbox2.png","SoJbracelet.png","SoJbucket.png","SoJcamera.png","SoJcandelabra.png","SoJcandelabra2.png","SoJcandelabra3.png","SoJcastAhlbi.png","SoJcastAmara.png","SoJcastAndistan'dhin.png","SoJcastApollo.png","SoJcastArchie.png","SoJcastArmie.png","SoJcastAthena.png","SoJcastAtishon.png","SoJcastBeh'leeb.png","SoJcastBetty.png","SoJcastBlackquill.png","SoJcastBonny.png","SoJcastBucky.png","SoJcastButz.png","SoJcastDatz.png","SoJcastDatz2.png","SoJcastDhurke.png","SoJcastDumas.png","SoJcastEllen.png","SoJcastEma.png","SoJcastGa'ran.png","SoJcastGeiru.png","SoJcastInga.png","SoJcastMaya.png","SoJcastMiles.png","SoJcastNahyuta.png","SoJcastNayna.png","SoJcastPayne.png","SoJcastPearl.png","SoJcastPhoenix.png","SoJcastPierce.png","SoJcastPuhray.png","SoJcastRayfa.png","SoJcastRetinz.png","SoJcastReus.png","SoJcastRohl.png","SoJcastSelena.png","SoJcastSergeant.png","SoJcastSorin.png","SoJcastTahrust.png","SoJcastTaifu.png","SoJcastTrucy.png","SoJcastUendo.png","SoJcd.png","SoJcd2.png","SoJcharm.png","SoJclip.png","SoJclip2.png","SoJcog.png","SoJcontract.png","SoJdog.png","SoJflag.png","SoJflower.png","SoJfood1.png","SoJfood2.png","SoJfood3.png","SoJgem.png","SoJglasses.png","SoJgoop.png","SoJhat.png","SoJhelicopter.png","SoJhorse.png","SoJhorse2.png","SoJkey.png","SoJkey2.png","SoJkey3.png","SoJkey4.png","SoJkeycard.png","SoJkeycharm.png","SoJlantern.png","SoJlantern2.png","SoJluminol.png","SoJmagatama.png","SoJmagatama2.png","SoJmagatama3.png","SoJmap.png","SoJmap2.png","SoJmap3.png","SoJmap4.png","SoJmap5.png","SoJmap6.png","SoJmap7.png","SoJmrhat.png","SoJnote.png","SoJnote2.png","SoJnote3.png","SoJnote4.png","SoJnote5.png","SoJnote6.png","SoJnote7.png","SoJnote8.png","SoJnote9.png","SoJnote10.png","SoJnote11.png","SoJnote12.png","SoJnote13.png","SoJnote14.png","SoJnote15.png","SoJnote16.png","SoJnote17.png","SoJorb.png","SoJpassport.png","SoJpendant.png","SoJphone.png","SoJphoto.png","SoJphoto2.png","SoJphoto3.png","SoJphoto4.png","SoJphoto5.png","SoJphoto6.png","SoJphoto7.png","SoJphoto8.png","SoJphoto9.png","SoJphoto10.png","SoJphoto11.png","SoJphoto12.png","SoJphoto13.png","SoJphoto14.png","SoJphoto15.png","SoJphoto16.png","SoJphoto17.png","SoJphoto18.png","SoJphoto19.png","SoJphoto","SoJphoto21.png","SoJphoto22.png","SoJphoto23.png","SoJphoto24.png","SoJphoto25.png","SoJphoto26.png","SoJphoto27.png","SoJphoto28.png","SoJprintpowder.png","SoJraincoat.png","SoJscissorlift.png","SoJscroll.png","SoJscroll2.png","SoJsnackoo.png","SoJstand.png","SoJstatue.png","SoJsuspect.png","SoJsword.png","SoJsword2.png","SoJsyringe.png","SoJtape1.png","SoJtext.png","SoJunknown.png","SoJurn.png","SoJusb.png","SoJwallet.png","SoJwidget.png","TTCastAdrian.png","TTCastArmstrong.png","TTCastAtmey.png","TTCastBikini.png","TTCastBruto.png","TTCastBullard.png","TTCastDahlia.png","TTCastDeMasque.png","TTCastDesiree.png","TTCastDiego.png","TTCastElg.png","TTCastElise.png","TTCastFawles.png","TTCastGodot.png","TTCastGrossberg.png","TTCastGumshoe.png","TTCastIris.png","TTCastIris2.png","TTCastKudo.png","TTCastLisa.png","TTCastMaggey.png","TTCastMiles.png","TTCastRon.png","TTCastSwallow.png","TTCastTigre.png","TTCastValerie.png","TTCastViola.png","TTad.png","TTad2.png","TTapron.png","TTbadge.png","TTbag.png","TTblood1.png","TTblood2.png","TTbottle1.png","TTbottle2.png","TTbox.png","TTbox2.png","TTbutton.png","TTcalendar.png","TTcamera.png","TTcard.png","TTcd.png","TTcd2.png","TTclip.png","TTclip2.png","TTclip3.png","TTclip4.png","TTclip5.png","TTcoldkiller.png","TTcoldkiller2.png","TTcup.png","TTdata.png","TTdata2.png","TTdata3.png","TTdata4.png","TTdrawing.png","TTemblem.png","TTemployee.png","TTfood1.png","TTfood2.png","TThood.png","TTjewel.png","TTjewel2.png","TTkeycard.png","TTknife.png","TTlantern.png","TTlantern2.png","TTmagazine.png","TTmagazine2.png","TTmatchbook.png","TTmatchbook2.png","TTmedicine.png","TTmedicine2.png","TTmoped.png","TTnecklace.png","TTnote.png","TTnote2.png","TTnote3.png","TTnote4.png","TTnote5.png","TTnote6.png","TTnote7.png","TTperfume.png","TTphotoold.png","TTsapphire.png","TTscarf.png","TTschichishito.png","TTschichishito2.png","TTschichishito3.png","TTscroll.png","TTscroll2.png","TTseal.png","TTseal2.png","TTstaff.png","TTstaff2.png","TTstaff3.png","TTstain.png","TTstatue.png","TTticket.png","TTticket2.png","TTumbrella.png","TTvase.png","TTvase2.png","TTvase3.png","TTvase4.png","TTwallet.png","TTwatch.png","Vivaster.png","empty.png","lawyerbadge.png"]},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=["1st server","999.1","999","999Apartment","999CaptainsQuarters","999Cargo","999Casino","999Cdeck","999CentralStairs","999Chapel","999Chart","999Confinement","999DoorsA","999DoorsB","999Hospital","999Kitchen","999Library","999Operating","999Shower","999Steam","999Steeldoor","999Study","999Torture","9991stClassCabinA","9991stClassCabinB","9992ndClassCabin","AA - Edgewort's Office","AA - Gantsroom","AA - Gatewater room","AA - Gourd Lake","AA - Gourd Lake Entrance","AA - Hotel Lobby","AA - Hotticlinic","AA - Kurain","AA - Parkinglot","AA - Police Deparment","AA - Police Station","AA - Records Room","AA - Sc13","AA - Wright's Office","AABluecorp","AACourt","AACourtAnime","AACourtChristmasDecorations","AACourtChristmasLights","AACourtHD","AADefendantLobby","AADefendantLobbyHD","AADetentionCenter","AAEdgeworthOffice","AAGantOffice","AAGatewaterHotel","AAGlobalStudiosEast","AAGlobalStudiosWest","AAGourdLake","AAGrossbergOffice","AAI2Circus","AAI2City","AAI2GourdLake","AAI2LogicChess","AAI2MuseumPast","AAI2MuseumPresent","AAI2PIC","AAI2Prison","AAICohdopianEmbassy","AAICourt","AAICourtFlipped","AAIEdgeworthOffice","AAIGatewaterLandStage","AAIGatewaterLandWildWest","AAIiFlyAirlines","AALobby","AAParkingLot","AAPoliceStation","AATrainStation","AAWrightOffice","AJBorschtBowlClub","AJCourt","AJCourtBirthday","AJCourtHalloween","AJCourtNight","AJCourtTV","AJDefendantLobby","AJDetentionCenter","AJDrewStudio","AJHottiClinic","AJKlavierOffice","AJKristophCell","AJLobby","AJMeraktisClinic","AJPeoplePark","AJSunshineColiseum","AJWrightOffice","Ace","AcroRoomJFA","AirportJFA","AlbaOfficeAAI","Anime","Arcade","AtmeyOfficeTT","Atrium (SG)","AutumnForest","BB - Flowerfield","BB - Market","BB - Street","BandoLandAAI","Basement","Battlegrounds","BerryBigCircusJFA","Blackout","BlueScreensTT","BluecorpAA","BridgeNest","Brig","Building","CC1","CC2","CC3","CC4","CC5","CC6","CC7","CC8","CC9","CC10","CC11","CC12","CO - Big door","CO - Finalroom","CO - Meetingroom","CO - Whitedoor","CO - Whitelobby","CO - Whitelowerfloor","CO - White room","CP","CPRP2 Chap1","CPRP2 Chap2and3","CPRP2 Chap4","CPRP2 Chap5","CPRP Chap1","CPRP Chap2","CPRP Chap3","CPRP Chap4","CPRP Chap5","CVStMystere","Cafe","CafeCourt","CaffeeCase","Cal","CargoHoldAAI","Casino","CasinoCourt","Cathedral (SG)","Christmas","Christmas Courtroom","CinemaFamousi","Classroom","Co - Lobby 1","Co - Lobby 2","CochenOfficeAAI","ColosseumFerox","Control Room","Control Room Interior","CountyCourt","CourtroomAA","CourtroomAAHD","CourtroomAAI","CourtroomAJ","CourtroomAJNight","CourtroomAnime","CourtroomCounty","CourtroomDD","CourtroomEnglish","CourtroomNew","CourtroomRuined","CourtroomThemis","CourtroomTouhou","CourtroomWitch","CruiseCourt","CustomEight","CustomEleven","CustomFifteen","CustomFive","CustomFour","CustomFourteen","CustomNine","CustomOne","CustomSeven","CustomSix","CustomTen","CustomThirteen","CustomThree","CustomTwelve","CustomTwo","DC","DDCourt","DDCourtGray","DDCourtRuined","DDCourtRuinedInvestigation","DDCourtThemis","DDDefendantLobby","DDGyaxa","DDLobby","DDNinetailsVale","DDShipshapeAquarium","DDThemisAcademy","DFreightTrain","DGS-ENG","DGS-JAP","DGS","DGSCourtJapanese","DGSCourtOldBailey","DGSCourtOldBaileyJury","DGSDefendantLobbyJapanese","DGSDefendantLobbyOldBailey","DGSEnglishCourt","DGSJapanCourt","DGSLondon","DGSenglishcourt","DRAE-Area1","DRAE-Area2","DRClassTrial","DRRP","Dark Cave","Darkness","Datrone Heart","Datrone HeartHQ","DeLiteHouseTT","Despair vs. Hope","DetentionCenterAAI2","DimensionalGate","DogenCellAAI2","DualDestinies","Dungeon Courtroom","EdgeworthOfficeAA","EdgeworthOfficeAAI","EmbassyAAI","Endless Courtroom","EngardeManorJFA","EnglishCourt","Errors","Errors2","FECastle","FECave","FEFort","FEPlain","FETavern","Factory","FieldFortune","FilmSetAAI2","Flowerfield","ForensicCourt","Forest","GS4Night","GantOfficeAA","GetwaterHotelJFA","GetwaterStageJFA","GlobalStudiosIndoorsAA","GlobalStudiosOutdoorsAA","GourdLakeAA","GrandChokmah","GrandStadium","Graveyard","GreatWitchtrialCourt","GrossbergOfficeAA","HD","HQFarm","HQHalloweenTown","HQHolodeck","HQShrine","HQTown","HQVolcanoCherry","HallOfFame","HarborTown","HarvestFestival","HazakuraTemple1TT","HazakuraTemple2TT","Headquarters","Headquarters 2","Hell Correspondence","Hospital","HotelRoomAA","HottiClinicJFA","Innsmouth","InsidePlaneAAI2","Interiors (Day)","Interiors (Night)","JFAAirport","JFABerryBigCircusEast","JFABerryBigCircusWest","JFAGatewaterHotel","JFAHottiClinic","JFAKurainVillage","JFAMattHouse","JapaneseCourt","Kamurocho (Day)","Kamurocho (Night)","Keterburg","Khura'in","Khurain","KokonoeLab","KurainCourt","KurainVillageJFA","LBCastle","LBMisc","LBScotlandYard","Lab 8","Lentomain","Library","LogicChessAAI2","MI - Ashleys Shack","MLP - Apple barn","MLP - CMC Clubhouse","MLP - CMC Clubhouse inside","MLP - Canterlot Castle galaroom","MLP - Canterlot Hallway","MLP - Canterlot Library2","MLP - Canterlot Town","MLP - Canterlot alley","MLP - Canterlot library","MLP - Carousel Boutique","MLP - Clearing","MLP - Curio Shop","MLP - Everfree Forest","MLP - Everfree Forest entrance","MLP - Fluttershy's cottage","MLP - Hospital Room","MLP - Hotelroom","MLP - Library 2F","MLP - Library mainfloor","MLP - Old Castle","MLP - Orchard","MLP - PV Hospital","MLP - PV Street","MLP - Ponyville","MLP - Shining's apartment","MLP - Sugarcube Corner","MLP - Twilight's Lab","MM - Castle","MM - Madokas house","MM - School yard","MM - Street","MM - Street2","MM - classroom","MM - dark hallway","MM - rooftop","MM - room whit Kyubey","MM - school hallway","MM - staircase","MMA-Bedrooms1","MMA-Floor 1","MS - Cathedral","MS - Zakum's Tree","Mansion","MansionAAI2","MansionHQ","Maplecrest - Nightmare","Maplecrest","Market","Mayonaka","MechHangar","Medici Tower","Military Base Exterior","MoeRoomJFA","MuseumAAI2","MuseumTT","Music","NewCourt","New Meridian","Ninetailsvale","Nordon Plains","Nordon Plains Night","OCArcade","OCBebop","OCCourtCafe","OCCourtCounty","OCCourtCruise","OCCourtEndless","OCCourtFinalDestination","OCCourtInverted","OCCourtPirateShip","OCCourtSky","OCCourtSpace","OCCourtSpaceShip","OCCourtTouhou","OCCourtZetta","OCDungeon","OCHospital","OCRoad","OCTownPirate","OCTownShanty","OCWhiteRoom","OfficeHouseHQ","OfficeNightAA","Osaka (Night)","Osaka","OutsidePlaneAAI2","P4UBasement","P4ULab","P4Ubaseball","P4Ubeach","P4Ubuilding","P4Uconcert","P4Ugarden","P4Ugraveyard","P4Uhell","P4Ujail","P4Umisc","P4Unight","P4Uoffices","P4Urailway","P4Urestaurants","P4Urooms","P4Uruins","P4Uschool","P4Ustage1","P4Ustage2","P4Ustation","P4Ustore","P4Utent","P4Utransport","P4Utv","P4Uvelvetroom","PICAAI2","PLvsAAAlchemistHouse","PLvsAABellTower","PLvsAACastle","PLvsAACourtEnglish","PLvsAACourtLabyrinthia","PLvsAACourthouse","PLvsAADefendantLobbyEnglish","PLvsAADefendantLobbyLabyrinthia","PLvsAAEclaireBakery","PLvsAAForest","PLvsAAGreatArchive","PLvsAALabyrinthiaInner","PLvsAALabyrinthiaOuter","PLvsAALondon","PLvsAARougeTavern","PLvsAARuins","PLvsAAStorytellerTower","PLvsAAWagon","PLvsAAWorkshop","PMMMRP","PMMMWitch","ParkingLotAA","PeonyCastle","Persona Afternoon","Persona DH","Persona Morning","Persona Night","PersonaRP","PhoenixOfficeAA","PirateShip","PlaneAAI","PlaneLoungeAAI","PlaneLoungeLandAAI","PlatPark","PlatRemnant","PlatunaArea1","PlatunaArea1HQ","PlatunaArea2","PlatunaArea2HQ","PlatunaMain","PlatunamainHQ","PrecinctAA","PrisonAAI2","PrisonCourtyardAAI2","RG - 104","RG - A-East","RG - AMX","RG - Bus Terminal","RG - Cadoi City","RG - Concert","RG - Dogenzaka","RG - God Pad","RG - Miyashita Underpass","RG - Station Underpass","RG - Trail","RG - Udagawa","RaysDeLite","Retreat","RetreatHQ","RiverVista","Road","Role Play","Ronpa Mansion Area 5","Ronpa Mansion Day","Ronpa Mansion Day2","Ronpa Mansion Day3","Ronpa Mansion Day4","Ronpa Mansion Night","Ronpa Mansion Night2","Ronpa Mansion Night3","Ronpa Mansion Night4","Ronpa mansion Haunted","Ronpers Express","RooftopAAI2","RuinedCastle","RuinedCourt","Ruins Entrance","SDR2 ISLAND","SDR2 ISLAND2","SDR2 ISLAND2 NIGHT","SDR2 ISLAND3","SDR2 ISLAND NIGHT","SI - Bedroom","SI - Class(sunset)","SI - Class","SI - Council1","SI - Council2","SI - Council3","SI - Gym","SI - Gym2","SI - Hall","SI - Hall2","SI - Lockers","SI - Nurse","SI - Office","SI - Pink","SI - Roof","SI - Roof2","SI - School","Seance","SecretRoomsJFA","SecurityCompanyTT","ShipAAI2","SkialForest","Sky","SkyDeck","SoJCourt","SoJDefendantLobby","Somina Castle","Somina Castle Night","SpaceCourt","SpaceCourtBlue","SpaceCourtGreen","SpaceCourtNormal","SpaceCourtOrange","SpaceCourtRainbow","SpaceCourtRed","SpaceCourtYellow","SpacePort","Spaceship","StageAAI","StageDisassembledAAI","SteamBar","SteamGarden","SteamGovt","SteamSquare","SteamStreet","Street","SummerFestival","SummerFestivalEvening","TARDIS","TEOS Lab","TTAtmeyOffice","TTBlueScreensInc","TTDemasqueHideout","TTHazakuraTemple","TTHazakuraTempleInner","TTKBSecurity","TTLordlyTailor","TTTenderLender","TTTresBien","TenderLenderTT","Themis","Titania","TitaniaValley","Togami Mansion","TouhouCourt","Tower","Town","Town Night","Tr0LLc0urt","TrainstationAA","TresBienTT","TrollCourt","Twotorial Village","Twotorial Village Night","VC 1","VLR","VLR2.2","VLR2.3","VLR2","VLR3","VitaminSquareTT","WEN","WaitingRoomAAI","WestAAI","WinterPalaceAAI2","WitchTrialCourt","WitchtrialCourtHQ","Witchwood","WorldEmulator","Wreckage (SG)","Wrightagency","Xmas","Zetta","animation","apollojustice","background","basement","birthday","blackout","chess","chessw1","chessw2","chessw3","chessw4","christmas","circus","classtrial","cofe","courthouseofgods","cruise","cruise court","custom","custom1","custom2","custom3","custom4","custom5","custom6","custom7","custom8","custom9","custom10","daimoncourt","default - Kopie","default","default_christmas","defendantlobby","defendantlobbyapollo","detentioncenter","doppler","dr1stfloor","dr1stfloordorms","dr1stfloorhalls","dr2ndfloor","dr3rdfloor","druq1stfloordorms","druq2ndfloordorms","dualdestinies","dualdestiniesOG","dungeon","endless","englishcourt","forest","gs4","gs4night","gs5","hd","inn","investigationbando","investigationsembassylobby","investigationsgourdlake","investigationsmilesoffice","investigationsplaneair","investigationsroyalcourt","investigationstvroom","investigationswestern","investigationswitchtown","island 1(uranus zone)","lcourt","legacy","lobbyDGS-ENG","lobbyDGS-JAP","lobbyPLvsAA-ENG","lobbyPLvsAA-LAB","lobbySOJ","magatama","magatama1","magatama2","magatama3","magatama4","magatama5","marblefade","matrix","matrixall","matrixangry","matrixangrysad","matrixangrysurprised","matrixhappy","matrixhappyangry","matrixhappysad","matrixhappysurprised","matrixsad","matrixsadsurprised","matrixsurprise","mlp","newcourt","night (no lights)","plvsaa","policestation","prisonvestigation","sdr2classtrial","sky","sshope2ndfloorday(incident)","sshope2ndfloorday","sshope2ndfloornight(incident)","sshope2ndfloornight","sshopeday(incident)","sshopeday","sshopenight(incident)","sshopenight","thief","thiefbash","thiefpoint","thiefpoisoning","thiefprints","thiefstab","thiefsteal","turnaboutstorm - Kopie","turnaboutstorm","vocalcourt","witchtrialcourt"]},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(n,t,o){return t&&e(n.prototype,t),o&&e(n,o),n}}();n.onOOCEnter=S,n.onEnter=I,n.musiclist_click=v,n.area_click=J,n.changeMusicVolume=b,n.changeSFXVolume=T,n.changeBlipVolume=k,n.changeCharacter=w,n.imgError=E,n.demoError=B,n.ReconnectButton=P,n.RetryButton=L,n.pickChar=x,n.pickEmotion=R,n.pickEvidence=O,n.addEvidence=H,n.editEvidence=N,n.deleteEvidence=U,n.cancelEvidence=V,n.getIndexFromSelect=W,n.updateEvidenceIcon=j,n.updateActionCommands=K,n.changeBackgroundOOC=z,n.changeRoleOOC=Z,n.randomCharacterOOC=q,n.callMod=Q,n.initWT=X,n.initCE=Y,n.addHPD=ee,n.redHPD=ne,n.addHPP=te,n.redHPP=oe,n.updateBackgroundPreview=ae,n.toggleEffect=se,n.toggleFlip=ie,n.togglePresent=pe,n.toggleMenu=ge,n.toggleShout=re;var a=i(t(1)),s=i(t(0));function i(e){return e&&e.__esModule?e:{default:e}}function p(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}var g={};location.search.substr(1).split("&").forEach(function(e){g[e.split("=")[0]]=e.split("=")[1]});var r=g.ip,c=g.mode,l=g.asset||"http://s3.wasabisys.com/webao/base/",d=l+"sounds/music/",u=!1;/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)&&(u=!0);var A=0,m=1,h=0,C=new Date(0),D=function(){function e(n){var t=this;p(this,e),this.serv=new WebSocket("ws://"+n),this.serv.onopen=function(e){return t.onOpen(e)},this.serv.onclose=function(e){return t.onClose(e)},this.serv.onmessage=function(e){return t.onMessage(e)},this.serv.onerror=function(e){return t.onError(e)},this.flip=!1,this.presentable=!1,this.hp=[0,0],this.playerID=1,this.charID=-1,this.testimonyID=0,this.chars=[],this.emotes=[],this.evidences=[],this.resources={holdit:{src:"misc/holdit.gif",duration:720},objection:{src:"misc/objection.gif",duration:720},takethat:{src:"misc/takethat.gif",duration:840},witnesstestimony:{src:"misc/witnesstestimony.gif",duration:1560,sfx:"sounds/general/sfx-testimony.wav"},crossexamination:{src:"misc/crossexamination.gif",duration:1600,sfx:"sounds/general/sfx-testimony2.wav"}},this.selectedEmote=-1,this.selectedEvidence=0,this.checkUpdater=null,this.musicList=Object(),this.handlers={MS:function(e){return t.handleMS(e)},CT:function(e){return t.handleCT(e)},MC:function(e){return t.handleMC(e)},RMC:function(e){return t.handleRMC(e)},CI:function(e){return t.handleCI(e)},SC:function(e){return t.handleSC(e)},EI:function(e){return t.handleEI(e)},LE:function(e){return t.handleLE(e)},EM:function(e){return t.handleEM(e)},SM:function(e){return t.handleSM(e)},music:function(e){return t.handlemusic(e)},DONE:function(e){return t.handleDONE(e)},BN:function(e){return t.handleBN(e)},NBG:function(e){return t.handleNBG(e)},HP:function(e){return t.handleHP(e)},RT:function(e){return t.handleRT(e)},ZZ:function(e){return t.handleZZ(e)},ID:function(e){return t.handleID(e)},PN:function(e){return t.handlePN(e)},SI:function(e){return t.handleSI(e)},CharsCheck:function(e){return t.handleCharsCheck(e)},PV:function(e){return t.handlePV(e)},CHECK:function(e){}},this._lastTimeICReceived=new Date(0)}return o(e,[{key:"me",value:function(){return this.chars[this.charID]}},{key:"myEmote",value:function(){return this.emotes[this.selectedEmote]}},{key:"myEvidence",value:function(){return this.presentable?this.selectedEvidence:0}},{key:"sendOOC",value:function(e){this.serv.send("CT#"+le(ue(document.getElementById("OOC_name").value))+"#"+le(ue(e))+"#%")}},{key:"sendIC",value:function(e,n,t,o,a,s,i,p,g,r,c,l,d){this.serv.send("MS#chat#"+e+"#"+n+"#"+t+"#"+le(ue(o))+"#"+a+"#"+s+"#"+i+"#"+this.charID+"#"+p+"#"+h+"#"+r+"#"+c+"#"+l+"#"+d+"#%")}},{key:"sendPE",value:function(e,n,t){this.serv.send("PE#"+le(ue(e))+"#"+le(ue(n))+"#"+t+"#%")}},{key:"sendEE",value:function(e,n,t,o){this.serv.send("EE#"+e+"#"+le(ue(n))+"#"+le(ue(t))+"#"+o+"#%")}},{key:"sendDE",value:function(e){this.serv.send("DE#"+e+"#%")}},{key:"sendHP",value:function(e,n){this.serv.send("HP#"+e+"#"+n+"#%")}},{key:"sendZZ",value:function(e){this.serv.send("ZZ#"+e+"#%")}},{key:"sendRT",value:function(e){"jud"==this.chars[this.charID].side&&this.serv.send("RT#"+e+"#%")}},{key:"sendMusicChange",value:function(e){this.serv.send("MC#"+e+"#"+this.charID+"#%")}},{key:"sendLeaveRoom",value:function(){this.serv.send("FC#%")}},{key:"joinServer",value:function(){var e=this;this.serv.send("HI#"+navigator.userAgent.hashCode()+"#%"),this.serv.send("ID#webAO#2.3#%"),this.checkUpdater=setInterval(function(){return e.sendCheck()},5e3)}},{key:"loadResources",value:function(){document.getElementById("OOC_name").value="web"+this.playerID;var e=document.getElementById("evi_select");e.add(new Option("Custom",0)),s.default.forEach(function(n){e.add(new Option(n))});var n=document.getElementById("bg_select");n.add(new Option("Custom",0)),a.default.forEach(function(e){n.add(new Option(e))});for(var t=["holdit","objection","takethat"],o=0;o<t.length;o++){G(l+this.resources[t[o]].src.toLowerCase(),this.callbackLoadImageResources,t[o])}for(var i=["witnesstestimony","crossexamination"],p=0;p<i.length;p++){G(l+"themes/default/"+i[p]+".gif",this.callbackLoadImageResources,i[p]),G(l+this.resources[i[p]].sfx.toLowerCase(),this.callbackLoadSFXResources,i[p])}}},{key:"callbackLoadImageResources",value:function(e,n,t){e&&(me.resources[n].src=t,he.getAnimLength(t,me.callbackGetResourceLength,n))}},{key:"callbackGetResourceLength",value:function(e,n){me.resources[n].duration=e}},{key:"callbackLoadSFXResources",value:function(e,n,t){e&&(me.resources[n].sfx=t)}},{key:"initialObservBBCode",value:function(){var e=document.getElementById("client_inner_chat");new MutationObserver(function(e){e.forEach(function(e){var n=e.addedNodes;null!==n&&n.forEach(function(e){"C"==e.tagName?e.style.color=e.getAttribute("a"):"M"==e.tagName&&(e.hasAttribute("a")?e.style.backgroundColor=e.getAttribute("a"):(e.style.backgroundColor="yellow",e.style.color="black"))})})}).observe(e,{attributes:!0,childList:!0})}},{key:"sendCharacter",value:function(e){this.serv.send("CC#"+this.playerID+"#"+e+"#web#%")}},{key:"sendMusic",value:function(e){this.serv.send("MC#"+e)}},{key:"sendCheck",value:function(){this.serv.send("CH#"+this.charID+"#%")}},{key:"onOpen",value:function(e){"watch"===c?(document.getElementById("client_loading").style.display="none",document.getElementById("client_charselect").style.display="none"):me.joinServer()}},{key:"onClose",value:function(e){console.error("The connection was closed: "+e.reason+" ("+e.code+")"),1001!==e.code&&(document.getElementById("client_error").style.display="block",document.getElementById("error_id").textContent=e.code,this.cleanup())}},{key:"onMessage",value:function(e){var n=e.data;console.debug(n);var t=n.split("%")[0].split("#"),o=t[0],a=this.handlers[o];void 0!==a?a(t):console.warn("Invalid packet header "+o)}},{key:"onError",value:function(e){console.error("A network error occurred: "+e.reason+" ("+e.code+")"),document.getElementById("client_error").style.display="block",document.getElementById("error_id").textContent=e.code,this.cleanup()}},{key:"cleanup",value:function(){try{this.serv.close(1001)}catch(e){}clearInterval(this.checkUpdater)}},{key:"prepChat",value:function(e){return ce(Ae(de(e))).replace(/\\n/g,"<br>").replace(/\[(\/?)b\]/g,"<$1b>").replace(/\[(\/?)i\]/g,"<$1i>").replace(/\[(\/?)s\]/g,"<$1del>").replace(/\[(\/?)u\]/g,"<$1u>").replace(/\[(\/?)sub\]/g,"<$1sub>").replace(/\[(\/?)sup\]/g,"<$1sup>").replace(/\[m=([#a-zA-Z0-9]+)\]/g,'<m a="$1">').replace(/\[(\/?)m\]/g,"<$1m>").replace(/\[c=?([#a-zA-Z0-9]+)\]/g,'<c a="$1">').replace(/\[\/c\]/g,"</c>")}},{key:"handleMS",value:function(e){if(e[4]!=he.chatmsg.content){document.getElementById("client_inner_chat").innerHTML="";for(var n={character:-1,preanim:escape(e[2]),nameplate:e[3],name:e[3],speaking:"(b)"+escape(e[4]),silent:"(a)"+escape(e[4]),content:this.prepChat(e[5]),side:e[6],sound:escape(e[7]),type:e[8],snddelay:e[10],objection:e[11],evidence:e[12],flip:e[13],flash:e[14],color:e[15],isnew:!0},t=0;t<this.chars.length;t++)if(this.chars[t].name==e[3]){n.character=t;break}n.character==this.charID&&function(){document.getElementById("client_inputbox").value="",A&&(document.getElementById("button_effect_"+A).className="client_button",A=0);h&&(document.getElementById("button_"+h).className="client_button",h=0)}(),he.say(n)}}},{key:"handleCT",value:function(e){var n=document.getElementById("client_ooclog");n.innerHTML+=Ae(de(e[1]))+": "+Ae(de(e[2]))+"\r\n",n.scrollTop>n.scrollHeight-600&&(n.scrollTop=n.scrollHeight)}},{key:"handleMC",value:function(e){var n=he.music;(n.pause(),n.src=d+e[1].toLowerCase(),n.play(),e[2]>=0)?F(this.chars[e[2]].name+" changed music to "+e[1]):F("The music was changed to "+e[1])}},{key:"handleRMC",value:function(e){he.music.pause(),he.music=new Audio(this.musicList[e[1]]);var n=he.music;n.totime=e[1],n.offset=(new Date).getTime()/1e3,n.addEventListener("loadedmetadata",function(){n.currentTime+=parseFloat(n.totime+((new Date).getTime()/1e3-n.offset)).toFixed(3),n.play()},!1)}},{key:"handleCI",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Character "+e[1],this.serv.send("AN#"+(e[1]/10+1)+"#%");for(var n=2;n<e.length-1;n++)if(n%2==0){var t=e[n].split("&");this.chars[e[n-1]]={name:t[0],desc:t[1],evidence:t[3],icon:l+"characters/"+escape(t[0].toLowerCase())+"/char_icon.png"}}}},{key:"handleSC",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Characters";for(var n=1;n<e.length-1;n++){var t=e[n].split("&");this.chars[n-1]={name:t[0],desc:t[1],evidence:t[3],icon:l+"characters/"+escape(t[0].toLowerCase())+"/char_icon.png"}}this.serv.send("RM#%")}},{key:"handleEI",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Evidence "+e[1],this.serv.send("RM#%")}},{key:"handleLE",value:function(e){this.evidences=[];for(var n=1;n<e.length-1;n++){var t=e[n].split("&");this.evidences[n-1]={name:ce(Ae(de(t[0]))),desc:ce(Ae(de(t[1]))),filename:escape(t[2]),icon:l+"evidence/"+escape(t[2].toLowerCase())}}var o=document.getElementById("evidences");o.innerHTML="";for(var a=1;a<=this.evidences.length;a++)o.innerHTML+='<img src="'+this.evidences[a-1].icon+'" \n\t\t\t\tid="evi_'+a+'" \n\t\t\t\talt="'+this.evidences[a-1].name+'"\n\t\t\t\tclass="client_button"\n\t\t\t\tonclick="pickEvidence('+a+')">'}},{key:"handleEM",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Music "+e[1],this.serv.send("AM#"+(e[1]/10+1)+"#%");for(var n=document.getElementById("client_musiclist"),t=2;t<e.length-1;t++)if(t%2==0){var o=document.createElement("OPTION");o.text=e[t],n.options.add(o)}}},{key:"handleSM",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Music ";for(var n=document.getElementById("client_musiclist"),t=!1,o=1;o<e.length-1;o++)if(/\.(?:wav|mp3|mp4|ogg|opus)$/i.test(e[o])&&!t&&(t=!0),t){var a=document.createElement("OPTION");a.text=e[o],n.options.add(a)}else{var s=document.createElement("SPAN");s.className="location-box",s.textContent=e[o],s.onclick=function(){J(this)},document.getElementById("areas").appendChild(s)}var i=document.getElementById("areas");if(i.lastChild.textContent.startsWith("=")){var p=document.createElement("OPTION");p.text=i.lastChild.textContent,n.insertBefore(p,n.firstChild),i.removeChild(i.lastChild)}this.serv.send("RD#%")}},{key:"handlemusic",value:function(e){for(var n=0;n<e.length/2;n++)this.musicList[e[2*n]]=e[2*n+1]}},{key:"handleDONE",value:function(e){document.getElementById("client_loading").style.display="none",document.getElementById("client_charselect").style.display="block"}},{key:"handleBN",value:function(e){he.bgname=escape(e[1]);var n=W("bg_select",escape(e[1]));document.getElementById("bg_select").selectedIndex=n,ae(),0==n&&(document.getElementById("bg_filename").value=e[1]),document.getElementById("bg_preview").src=l+"background/"+escape(e[1].toLowerCase())+"/defenseempty.png",-1==this.charID?M("jud"):M(this.chars[this.charID].side)}},{key:"handleNBG",value:function(e){}},{key:"handleHP",value:function(e){var n=10*e[2];1==e[1]?(this.hp[0]=e[2],$("#client_defense_hp > .health-bar").animate({width:n+"%"},500)):(this.hp[1]=e[2],$("#client_prosecutor_hp > .health-bar").animate({width:n+"%"},500))}},{key:"handleRT",value:function(e){"testimony1"==e[1]?this.testimonyID=1:this.testimonyID=2,he.initTestimonyUpdater()}},{key:"handleZZ",value:function(e){var n=document.getElementById("client_ooclog");n.innerHTML+="$Alert: "+Ae(de(e[1]))+"\r\n",n.scrollTop>n.scrollHeight-60&&(n.scrollTop=n.scrollHeight)}},{key:"handleID",value:function(e){this.playerID=e[1]}},{key:"handlePN",value:function(e){this.serv.send("askchaa#%")}},{key:"handleSI",value:function(e){u?this.serv.send("askchar2#%"):this.serv.send("RC#%")}},{key:"handleCharsCheck",value:function(e){document.getElementById("client_chartable").innerHTML="";for(var n=void 0,t=0;t<this.chars.length;t++){t%8==0&&(n=document.createElement("TR"));var o=document.createElement("TD"),a="",s=this.chars[t].icon;"-1"==e[t+1]&&(a=" dark"),o.innerHTML="<img class='demothing"+a+"' id='demo_"+t+"' src='"+s+"' alt='"+this.chars[t].name+"' onclick='pickChar("+t+")' onerror='demoError(this);'>",n.appendChild(o),t%8==0&&document.getElementById("client_chartable").appendChild(n)}}},{key:"handlePV",value:function(e){this.charID=e[3],document.getElementById("client_charselect").style.display="none";var n=this.me(),t=this.emotes,o=new XMLHttpRequest;o.withCredentials=!1,document.getElementById("client_emo").innerHTML="",o.open("GET",l+"characters/"+escape(this.me().name.toLowerCase())+"/char.ini",!0),o.responseType="text",o.onload=function(e){if(200==this.status){var o=this.responseText,a=f.parse(o);n.side=a.Options.side,K(n.side);for(var s=1;s<a.Emotions.number;s++){var i=a.Emotions[s].split("#"),p="0",g="0";void 0!==a.SoundN&&(p=a.SoundN[s]),void 0!==a.SoundT&&(g=a.SoundT[s]),t[s]={desc:i[0].toLowerCase(),speaking:i[1].toLowerCase(),silent:i[2].toLowerCase(),zoom:i[3],sfx:p.toLowerCase(),sfxdelay:g,button_off:l+"characters/"+escape(n.name).toLowerCase()+"/emotions/button"+s+"_off.png",button_on:l+"characters/"+escape(n.name).toLowerCase()+"/emotions/button"+s+"_on.png"},document.getElementById("client_emo").innerHTML+="<img src="+t[s].button_off+'\n\t\t\t\t\t\t id="emo_'+s+'"\n\t\t\t\t\t\t alt="'+t[s].desc+'"\n\t\t\t\t\t\t class="client_button"\n\t\t\t\t\t\t onclick="pickEmotion('+s+')">'}R(1)}},o.send()}}]),e}(),y=function(){function e(){p(this,e),this.textnow="",this.chatmsg={isnew:!1,content:"",objection:"0",sound:"",startpreanim:!1,startspeaking:!1,side:null,color:"0",snddelay:0,preanimdelay:0},this.blip=new Audio(l+"sounds/general/sfx-blipmale.wav"),this.blip.volume=.5,this.blipChannels=new Array(6);for(var n=0;n<this.blipChannels.length;n++)this.blipChannels[n]=new Audio(l+"sounds/general/sfx-blipmale.wav"),this.blipChannels[n].volume=.5;this.currentBlipChannel=0,this.sfxaudio=new Audio(l+"sounds/general/sfx-blipmale.wav"),this.sfxplayed=0,this.music=new Audio,this.music.play(),this.updater=null,this.testimonyUpdater=null,this.bgname="gs4",this.testimonyTimer=0,this.shoutTimer=0,this.textTimer=0,this._animating=!1}return o(e,[{key:"isAnimating",value:function(){return this._animating}},{key:"setBlipVolume",value:function(e){for(var n=0;n<this.blipChannels.length;n++)this.blipChannels[n].volume=e}},{key:"bgFolder",value:function(){return l+"background/"+this.bgname.toLowerCase()+"/"}},{key:"say",value:function(e){this.chatmsg=e,F(e.content,e.nameplate),M(e.side),this.textnow="",this.sfxplayed=0,this.textTimer=0,this._animating=!0,clearTimeout(this.updater),"-"!=e.preanim?e.preanimdelay=this.getAnimLength(l+"characters/"+escape(e.name.toLowerCase())+"/"+e.preanim.toLowerCase()+".gif",this.initUpdater):this.initUpdater(0)}},{key:"initUpdater",value:function(e){he.chatmsg.preanimdelay=parseInt(e),he.updater=setTimeout(function(){return he.updateText()},60)}},{key:"initTestimonyUpdater",value:function(){var e=this;if(me.testimonyID>0){var n="";1==me.testimonyID?n="witnesstestimony":2==me.testimonyID&&(n="crossexamination"),new Audio(me.resources[n].sfx).play(),this.testimonyTimer=0;var t=document.getElementById("client_testimony");t.src=me.resources[n].src,t.style.display="",this.testimonyUpdater=setTimeout(function(){return e.updateTestimony()},60)}}},{key:"getAnimLength",value:function(e,n,t){var o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="arraybuffer",o.addEventListener("load",function(){var e=gify.getInfo(o.response);console.log(e.duration),n(e.duration,t)}),o.send()}},{key:"updateTestimony",value:function(){var e=this;this.testimonyTimer=this.testimonyTimer+60,1==me.testimonyID?this.testimonyTimer>=me.resources.witnesstestimony.duration?this.disposeTestimony():this.testimonyUpdater=setTimeout(function(){return e.updateTestimony()},60):2==me.testimonyID?this.testimonyTimer>=me.resources.crossexamination.duration?this.disposeTestimony():this.testimonyUpdater=setTimeout(function(){return e.updateTestimony()},60):this.disposeTestimony()}},{key:"disposeTestimony",value:function(){me.testimonyID=0,this.testimonyTimer=0,document.getElementById("client_testimony").style.display="none",clearTimeout(this.testimonyUpdater)}},{key:"updateText",value:function(){var e=this,n=document.getElementById("client_name"),t=document.getElementById("client_chat"),o=document.getElementById("client_char"),a=document.getElementById("client_evi"),s=document.getElementById("client_background"),i=document.getElementById("client_shout"),p=document.getElementById("client_inner_chat");if(1==this.chatmsg.flip?o.style.transform="scaleX(-1)":o.style.transform="scaleX(1)",this._animating&&(this.updater=setTimeout(function(){return e.updateText()},60)),this.chatmsg.isnew){s.style.backgroundColor="transparent",n.style.display="none",t.style.display="none",a.style.opacity="0",a.style.height="0%";var g={1:"holdit",2:"objection",3:"takethat"}[this.chatmsg.objection];void 0!==g?(i.src=me.resources[g].src,new Audio(l+"characters/"+this.chatmsg.name.toLowerCase()+"/"+g+".wav").play(),this.shoutTimer=850):this.shoutTimer=0,this.chatmsg.isnew=!1,this.chatmsg.startpreanim=!0}if(this.textTimer>=this.shoutTimer&&this.chatmsg.startpreanim)2==this.chatmsg.flash?(this.sfxaudio.pause(),this.sfxplayed=1,this.sfxaudio.src=l+"sounds/general/sfx-stab.wav",this.sfxaudio.play(),$("#client_gamewindow").effect("shake",{direction:"up"})):1==this.chatmsg.flash&&(s.style.backgroundColor="white",this.sfxaudio.pause(),this.sfxplayed=1,this.sfxaudio.src=l+"sounds/general/sfx-realization.wav",this.sfxaudio.play(),$("#client_gamewindow").effect("pulsate")),this.chatmsg.preanimdelay>0&&(i.src="misc/placeholder.gif",M(this.chatmsg.side),o.src=l+"characters/"+escape(this.chatmsg.name.toLowerCase())+"/"+this.chatmsg.preanim.toLowerCase()+".gif"),this.chatmsg.startpreanim=!1,this.chatmsg.startspeaking=!0;else if(this.textTimer>=this.shoutTimer+this.chatmsg.preanimdelay&&!this.chatmsg.startpreanim)if(this.chatmsg.startspeaking){this.chatmsg.evidence>0&&(a.style.backgroundImage="url('"+me.evidences[this.chatmsg.evidence-1].icon+"')","def"==this.chatmsg.side?(a.style.right="1.5em",a.style.left="initial",$("#client_evi").animate({height:"30%",opacity:1},250)):(a.style.right="initial",a.style.left="1.5em",$("#client_evi").animate({height:"30%",opacity:1},250))),n.style.display="block",n.style.fontSize=.7*n.offsetHeight+"px",n.innerHTML="<p>"+ce(this.chatmsg.nameplate)+"</p>",t.style.display="block",t.style.fontSize=.25*t.offsetHeight+"px";p.style.color={0:"#ffffff",1:"#00ff00",2:"#ff0000",3:"#ffaa00",4:"#0000ff",5:"#ffff00",6:"#aa00aa"}[this.chatmsg.color]||"#ffffff",this.chatmsg.startspeaking=!1,0==this.chatmsg.preanimdelay&&(i.src="misc/placeholder.gif",M(this.chatmsg.side)),o.src=l+"characters/"+escape(this.chatmsg.name.toLowerCase())+"/"+this.chatmsg.speaking.toLowerCase()+".gif",this.textnow==this.chatmsg.content&&(o.src=l+"characters/"+escape(this.chatmsg.name.toLowerCase())+"/"+this.chatmsg.silent.toLowerCase()+".gif",this._animating=!1,clearTimeout(this.updater))}else this.textnow!=this.chatmsg.content&&(" "!=this.chatmsg.content.charAt(this.textnow.length)&&(this.blipChannels[this.currentBlipChannel].play(),this.currentBlipChannel++,this.currentBlipChannel%=this.blipChannels.length),this.textnow=this.chatmsg.content.substring(0,this.textnow.length+1),p.innerHTML=this.textnow,this.textnow==this.chatmsg.content&&(this.textTimer=0,this._animating=!1,o.src=l+"characters/"+escape(this.chatmsg.name.toLowerCase())+"/"+this.chatmsg.silent.toLowerCase()+".gif",clearTimeout(this.updater)));!this.sfxplayed&&this.chatmsg.snddelay+this.shoutTimer>=this.textTimer&&(this.sfxaudio.pause(),this.sfxplayed=1,"0"!=this.chatmsg.sound&&"1"!=this.chatmsg.sound&&(this.sfxaudio.src=l+"sounds/general/"+escape(this.chatmsg.sound.toLowerCase())+".wav",this.sfxaudio.play())),this.textTimer=this.textTimer+60}}]),e}(),f=function(){function e(){p(this,e)}return o(e,null,[{key:"parse",value:function(e){var n={section:/^\s*\[\s*([^\]]*)\s*\]\s*$/,param:/^\s*([\w.\-_]+)\s*=\s*(.*?)\s*$/,comment:/^\s*;.*$/},t={},o=null;return e.split(/\r\n|\r|\n/).forEach(function(e){if(!n.comment.test(e)&&0!=e.length)if(n.param.test(e)){var a=e.match(n.param);o?t[o][a[1]]=a[2]:t[a[1]]=a[2]}else if(n.section.test(e)){var s=e.match(n.section);t[s[1]]={},o=s[1]}}),t}}]),e}();function S(e){13==e.keyCode&&(me.sendOOC(document.getElementById("client_oocinputbox").value),document.getElementById("client_oocinputbox").value="")}function I(e){if(13==e.keyCode){var n=me.me(),t=me.myEmote(),o=me.myEvidence(),a=me.flip?1:0,s=document.getElementById("textcolor").value,i="0",p="0";document.getElementById("sendsfx").checked&&(i=t.sfx,p=t.sfxdelay),me.sendIC(t.speaking,n.name,t.silent,document.getElementById("client_inputbox").value,n.side,i,t.zoom,p,h,o,a,A,s)}}function v(e){var n=document.getElementById("client_musiclist").value;me.sendMusicChange(n)}function J(e){var n=e.textContent;me.sendMusicChange(n)}function b(){he.music.volume=document.getElementById("client_mvolume").value/100}function T(){he.sfxaudio.volume=document.getElementById("client_svolume").value/100}function k(){he.setBlipVolume(document.getElementById("client_bvolume").value/100)}function w(e){me.sendLeaveRoom(),document.getElementById("client_charselect").style.display="block",document.getElementById("client_emo").innerHTML=""}function E(e){return e.onerror="",e.src="misc/placeholder.gif",!0}function B(e){return e.onerror="",e.src="/misc/placeholder.png",!0}function G(e,n,t){var o=new XMLHttpRequest;o.onreadystatechange=function(){4==this.readyState&&200==this.status?n(!0,t,e):n(!1,t,e)},o.open("GET",e,!0),o.send()}function M(e){var n=void 0,t=he.bgFolder();switch(document.getElementById("client_fg").style.display="none",document.getElementById("client_bench").style.display="none",e){case"def":document.getElementById("client_court").src=t+"defenseempty.png",document.getElementById("client_bench").style.display="block",G(t+"defensedesk.png",_,e),n="defense";break;case"pro":document.getElementById("client_court").src=t+"prosecutorempty.png",document.getElementById("client_bench").style.display="block",G(t+"defensedesk.png",_,e),n="prosecution";break;case"hld":document.getElementById("client_court").src=t+"helperstand.png",n="defense";break;case"hlp":document.getElementById("client_court").src=t+"prohelperstand.png",n="prosecution";break;case"wit":document.getElementById("client_court").src=t+"witnessempty.png",document.getElementById("client_bench").style.display="block",document.getElementById("client_bench").src=t+"estrado.png",n="prosecution";break;case"jud":document.getElementById("client_court").src=t+"judgestand.png",n="prosecution"}5==he.chatmsg.type&&(document.getElementById("client_bench").style.display="none",document.getElementById("client_court").src=l+"themes/default/"+n+"_speedlines.gif")}function _(e,n){var t=he.bgFolder();document.getElementById("client_bench").src="def"==n?e?t+"defensedesk.png":t+"bancodefensa.png":e?t+"prosecutiondesk.png":t+"bancoacusacion.png"}function P(){me.cleanup(),(me=new D(r))&&(c="join",document.getElementById("client_error").style.display="none")}function L(){me.joinServer()}function F(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Date,o=document.createElement("p"),a=document.createElement("span");if(a.id="iclog_name",a.appendChild(document.createTextNode(n)),o.appendChild(a),o.appendChild(document.createTextNode(e)),C.getMinutes()!==t.getMinutes()){var s=document.createElement("span");s.id="iclog_time",s.innerText=t.toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"}),o.appendChild(s)}var i=document.getElementById("client_log");i.appendChild(o),i.scrollTop>i.scrollHeight-800&&(i.scrollTop=i.scrollHeight),C=new Date}function x(e){e<1e3?me.sendCharacter(e):(document.getElementById("client_charselect").style.display="none",document.getElementById("client_inputbox").style.display="none",document.getElementById("client_emo").style.display="none")}function R(e){-1!=me.selectedEmote&&(document.getElementById("emo_"+me.selectedEmote).src=me.myEmote().button_off),me.selectedEmote=e,document.getElementById("emo_"+e).src=me.myEmote().button_on}function O(e){if(me.selectedEvidence!==e){me.selectedEvidence>0&&(document.getElementById("evi_"+me.selectedEvidence).className="client_button"),document.getElementById("evi_"+e).className="client_button dark",me.selectedEvidence=e,document.getElementById("evi_name").value=me.evidences[e-1].name,document.getElementById("evi_desc").value=me.evidences[e-1].desc;var n=W("evi_select",me.evidences[e-1].filename);document.getElementById("evi_select").selectedIndex=n,0==n&&(document.getElementById("evi_filename").value=me.evidences[e-1].filename),j(),document.getElementById("evi_add").className="client_button hover_button inactive",document.getElementById("evi_edit").className="client_button hover_button",document.getElementById("evi_cancel").className="client_button hover_button",document.getElementById("evi_del").className="client_button hover_button"}else V()}function H(){var e=document.getElementById("evi_select");me.sendPE(document.getElementById("evi_name").value,document.getElementById("evi_desc").value,0==e.selectedIndex?document.getElementById("evi_filename").value:e.options[e.selectedIndex].text),V()}function N(){var e=document.getElementById("evi_select"),n=parseInt(me.selectedEvidence)-1;me.sendEE(n,document.getElementById("evi_name").value,document.getElementById("evi_desc").value,0==e.selectedIndex?document.getElementById("evi_filename").value:e.options[e.selectedIndex].text),V()}function U(){var e=parseInt(me.selectedEvidence)-1;me.sendDE(e),V()}function V(){me.selectedEvidence>0&&(document.getElementById("evi_"+me.selectedEvidence).className="client_button"),me.selectedEvidence=0,document.getElementById("evi_select").selectedIndex=0,j(),document.getElementById("evi_filename").value="",document.getElementById("evi_name").value="",document.getElementById("evi_desc").value="",document.getElementById("evi_icon").style.backgroundImage="url('misc/empty.png')",document.getElementById("evi_add").className="client_button hover_button",document.getElementById("evi_edit").className="client_button hover_button inactive",document.getElementById("evi_cancel").className="client_button hover_button inactive",document.getElementById("evi_del").className="client_button hover_button inactive"}function W(e,n){for(var t=document.getElementById(e),o=1;o<t.length;++o)if(t.options[o].value==n)return o;return 0}function j(){var e=document.getElementById("evi_select"),n=document.getElementById("evi_filename"),t=document.getElementById("evi_icon");0===e.selectedIndex?(n.style.display="initial",t.style.backgroundImage="url("+l+"evidence/"+n.value.toLowerCase()+")"):(n.style.display="none",t.style.backgroundImage="url("+l+"evidence/"+e.value.toLowerCase()+")")}function K(e){"jud"==e?(document.getElementById("judge_action").style.display="inline-table",document.getElementById("no_action").style.display="none"):(document.getElementById("no_action").style.display="inline-table",document.getElementById("judge_action").style.display="none");for(var n=0,t=document.getElementById("role_select").options;n<t.length;n++)if(e==t[n].value)return void(t.selectedIndex=n)}function z(){var e="",n=document.getElementById("bg_select"),t=document.getElementById("bg_command").value;e=0==n.selectedIndex?document.getElementById("bg_filename").value:n.value,me.sendOOC("/"+t.replace("$1",e))}function Z(){var e=document.getElementById("role_select"),n=document.getElementById("role_command").value;me.sendOOC("/"+n.replace("$1",e.value)),K(e.value)}function q(){me.sendOOC("/"+document.getElementById("randomchar_command").value)}function Q(){$("#callmod_dialog").dialog("open")}function X(){me.sendRT("testimony1")}function Y(){me.sendRT("testimony2")}function ee(){me.sendHP(1,String(parseInt(me.hp[0])+1))}function ne(){me.sendHP(1,String(parseInt(me.hp[0])-1))}function te(){me.sendHP(2,String(parseInt(me.hp[1])+1))}function oe(){me.sendHP(2,String(parseInt(me.hp[1])-1))}function ae(){var e=document.getElementById("bg_select"),n=document.getElementById("bg_filename"),t=document.getElementById("bg_preview");0==e.selectedIndex?(n.style.display="initial",t.src=l+"background/"+n.value.toLowerCase()+"/defenseempty.png"):(n.style.display="none",t.src=l+"background/"+e.value.toLowerCase()+"/defenseempty.png")}function se(e){e==A?(document.getElementById("button_effect_"+e).className="client_button",A=0):(document.getElementById("button_effect_"+e).className="client_button dark",A&&(document.getElementById("button_effect_"+A).className="client_button"),A=e)}function ie(){me.flip?document.getElementById("button_flip").className="client_button":document.getElementById("button_flip").className="client_button dark",me.flip=!me.flip}function pe(){me.presentable?document.getElementById("button_present").className="client_button":document.getElementById("button_present").className="client_button dark",me.presentable=!me.presentable}function ge(e){e!=m&&(document.getElementById("menu_"+e).className="menu_icon active",document.getElementById("content_"+e).className="menu_content active",document.getElementById("menu_"+m).className="menu_icon",document.getElementById("content_"+m).className="menu_content",m=e)}function re(e){e==h?(document.getElementById("button_"+e).className="client_button",h=0):(document.getElementById("button_"+e).className="client_button dark",h&&(document.getElementById("button_"+h).className="client_button"),h=e)}function ce(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function le(e){return e.replace(/#/g,"<pound>").replace(/&/g,"<and>").replace(/%/g,"<percent>").replace(/\$/g,"<dollar>")}function de(e){return e.replace(/<pound>/g,"#").replace(/<and>/g,"&").replace(/<percent>/g,"%").replace(/<dollar>/g,"$")}function ue(e){var n=document.getElementById("client_encoding").value;if("unicode"==n)return e.replace(/[^\0-~]/g,function(e){return"\\u"+("000"+e.charCodeAt().toString(16)).slice(-4)});if("utf16"==n){for(var t=new ArrayBuffer(2*e.length),o=new Uint16Array(t),a=0,s=e.length;a<s;a++)o[a]=e.charCodeAt(a);return String(o)}return e}function Ae(e){var n=document.getElementById("client_decoding").value;return"unicode"==n?e.replace(/\\u([\d\w]{1,})/gi,function(e,n){return String.fromCharCode(parseInt(n,16))}):"utf16"==n?String.fromCharCode.apply(null,new Uint16Array(e.split(","))):e}window.onOOCEnter=S,window.onEnter=I,window.musiclist_click=v,window.area_click=J,window.changeMusicVolume=b,window.changeSFXVolume=T,window.changeBlipVolume=k,window.changeCharacter=w,window.imgError=E,window.demoError=B,window.ReconnectButton=P,window.RetryButton=L,window.pickChar=x,window.pickEmotion=R,window.pickEvidence=O,window.addEvidence=H,window.editEvidence=N,window.deleteEvidence=U,window.cancelEvidence=V,window.getIndexFromSelect=W,window.updateEvidenceIcon=j,window.updateActionCommands=K,window.changeBackgroundOOC=z,window.changeRoleOOC=Z,window.randomCharacterOOC=q,window.callMod=Q,window.initWT=X,window.initCE=Y,window.addHPD=ee,window.redHPD=ne,window.addHPP=te,window.redHPP=oe,window.updateBackgroundPreview=ae,window.toggleEffect=se,window.toggleFlip=ie,window.togglePresent=pe,window.toggleMenu=ge,window.toggleShout=re,void 0===String.prototype.trim&&(String.prototype.trim=function(){return String(this).replace(/^\s+|\s+$/g,"")}),String.prototype.hashCode=function(){var e=0;if(0===this.length)return e;for(var n=0;n<this.length;n++){e=(e<<5)-e+this.charCodeAt(n),e|=0}return e};var me=new D(r),he=new y;$(document).ready(function(){me.initialObservBBCode(),me.loadResources()}),$(function(){$("#callmod_dialog").dialog({autoOpen:!1,resizable:!1,show:{effect:"drop",direction:"down",duration:500},hide:{effect:"drop",direction:"down",duration:500},height:"auto",width:400,modal:!0,buttons:{Sure:function(){me.sendZZ(""),$(this).dialog("close")},Cancel:function(){$(this).dialog("close")}}})})}]); //# sourceMappingURL=client.b.js.map
\ No newline at end of file |
