/*
 * Copyright CADMAI Software GmbH.
 * All rights reserved.
 *
 * Redistribution (includes making available on a web location) is permitted 
 * provided that the following conditions are met:
 *
 * The redistributor must hold one of these licenses:
 * a valid CADMAI WebGl-Publisher license (SingleWebGlPubLic)
 * a valid CADMAI WebGl-Publisher Revit export license (SingleWebGlRevitExportLic)
 * a valid CADMAI WebGl-Publisher Inventor export license (SingleWebGlInventorExportLic)
 * or a written permission of CADMAI Software GmbH 
 *
 * The redistributor / user does not have the right to change, translate,
 * back-develop, decompile or disassemble the software.
 * 
 * Redistributions must retain the above copyright notice, 
 * this list of conditions and the following disclaimer.
 *   
 * Neither the name of CADMAI Software GmbH nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 "\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74";function e4(h,gZ,v6){var A=h.createProgram();if(!A){throw new zU("\x63\x6d\x69\x43\x72\x65\x61\x74\x65\x53\x68\x61\x64\x65\x72","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x4f\x70\x65\x6e\x47\x4c\x5f\x45\x52\x52\x4f\x52");return null;}var Sv=h.createShader(h.VERTEX_SHADER);if(!Sv){throw new zU("\x63\x6d\x69\x43\x72\x65\x61\x74\x65\x53\x68\x61\x64\x65\x72","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x76\x65\x72\x74\x65\x78\x20\x73\x68\x61\x64\x65\x72","\x4f\x70\x65\x6e\x47\x4c\x5f\x45\x52\x52\x4f\x52");return null;}h.shaderSource(Sv,gZ);h.compileShader(Sv);if(!h.getShaderParameter(Sv,h.COMPILE_STATUS)){var LJ=h.getShaderInfoLog(Sv);throw new zU("\x63\x6d\x69\x43\x72\x65\x61\x74\x65\x53\x68\x61\x64\x65\x72","\x43\x6f\x6d\x70\x69\x6c\x65\x20\x45\x72\x72\x6f\x72\x20\x56\x65\x72\x74\x65\x78\x20\x53\x68\x61\x64\x65\x72\x3a\x20"+LJ,"\x4f\x70\x65\x6e\x47\x4c\x5f\x45\x52\x52\x4f\x52");return null;}h.attachShader(A,Sv);var qb=h.createShader(h.FRAGMENT_SHADER);if(!qb){throw new zU("\x63\x6d\x69\x43\x72\x65\x61\x74\x65\x53\x68\x61\x64\x65\x72","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x66\x72\x61\x67\x6d\x65\x6e\x74\x20\x73\x68\x61\x64\x65\x72","\x4f\x70\x65\x6e\x47\x4c\x5f\x45\x52\x52\x4f\x52");return null;}h.shaderSource(qb,v6);h.compileShader(qb);if(!h.getShaderParameter(qb,h.COMPILE_STATUS)){var LJ=h.getShaderInfoLog(qb);throw new zU("\x63\x6d\x69\x43\x72\x65\x61\x74\x65\x53\x68\x61\x64\x65\x72","\x43\x6f\x6d\x70\x69\x6c\x65\x20\x45\x72\x72\x6f\x72\x20\x46\x72\x61\x67\x6d\x65\x6e\x74\x20\x53\x68\x61\x64\x65\x72\x3a\x20"+LJ,"\x4f\x70\x65\x6e\x47\x4c\x5f\x45\x52\x52\x4f\x52");return null;}h.attachShader(A,qb);h.linkProgram(A);if(!h.getProgramParameter(A,h.LINK_STATUS)){var LJ=h.getProgramInfoLog(A);throw new zU("\x63\x6d\x69\x43\x72\x65\x61\x74\x65\x53\x68\x61\x64\x65\x72","\x4c\x69\x6e\x6b\x20\x45\x72\x72\x6f\x72\x20\x53\x68\x61\x64\x65\x72\x3a\x20"+LJ,"\x4f\x70\x65\x6e\x47\x4c\x5f\x45\x52\x52\x4f\x52");return null;}return A;};var EL=function(){this.usable=false;this.A=null;this.aN="\x6e\x6f\x6e\x65";this.v=null;this.tG=false;this.uF=false;this.oB=1;this.i8=null;this.f0=false;this.Fg=false;};var rq=function(o){var Yw=Yu;var DT=CE;var H=o.q9();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.W=null;var YB=null;var a5=null;var Fc=null;var Ni=null;var Jj=null;var Vc=null;this.aN="\x50\x6c\x61\x69\x6e\x43\x6f\x6c\x6f\x72";this.v=o;this.i8=H.TRIANGLES;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x50\x6c\x61\x69\x6e\x43\x6f\x6c\x6f\x72\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Fc=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x50\x6c\x61\x69\x6e\x43\x6f\x6c\x6f\x72\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x50\x6c\x61\x69\x6e\x43\x6f\x6c\x6f\x72\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(uL,gw){if(H==null){this.v.s("\x43\x6d\x69\x50\x6c\x61\x69\x6e\x43\x6f\x6c\x6f\x72\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);H.disable(H.BLEND);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniform4f(Fc,uL[0],uL[1],uL[2],1.0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.W);H.useProgram(null);return 0;};};rq.prototype=new EL();var Vt=function(o){var Yw=cu;var DT=R9;var H=o.q9();this.W=null;var Vn=null;var rz=null;var rR=null;var g9=null;var Sq=1.0;var zI=1.0;this.aN="\x44\x65\x70\x74\x68\x49\x6d\x61\x67\x65";this.v=o;this.i8=H.TRIANGLES;this.tj=function(sK){if(sK.loaded){g9=sK;return 0;}else return-1;};this.yz=function(){return g9;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x44\x65\x70\x74\x68\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}g9=this.v.yz();if(g9==null){this.v.s("\x43\x6d\x69\x44\x65\x70\x74\x68\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(g9.Na){this.v.s("\x43\x6d\x69\x44\x65\x70\x74\x68\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");rz=H.getUniformLocation(this.A,"\x75\x58\x53\x63\x61\x6c\x65");rR=H.getUniformLocation(this.A,"\x75\x59\x53\x63\x61\x6c\x65");Vn=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x44\x65\x70\x74\x68\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x44\x65\x70\x74\x68\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){if(H==null){this.v.s("\x43\x6d\x69\x44\x65\x70\x74\x68\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){if(this.v.rF()==false){Sq=1.0;zI=1.0;}else{if(this.v.Fa()>g9.XK){Sq=1.0;zI=g9.XK/this.v.Fa();}else{Sq=this.v.Fa()/g9.XK;zI=1.0;};}H.useProgram(this.A);H.disable(H.BLEND);H.enableVertexAttribArray(this.W);H.uniform1i(Vn,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,g9.Dz);return 0;}else return-1;};this.hE=function(){return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};Vt.prototype=new EL();var pI=function(o){var Yw=gb;var DT=gF;var H=o.q9();this.W=null;var Vn=null;var rz=null;var rR=null;var MN=null;var Sq=1.0;var zI=1.0;this.aN="\x53\x65\x6c\x65\x63\x74\x69\x6f\x6e\x49\x6d\x61\x67\x65";this.v=o;this.i8=H.TRIANGLES;this.Wn=function(sK){if(sK.loaded){MN=sK;return 0;}else return-1;};this.GL=function(){return MN;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x53\x65\x6c\x65\x63\x74\x69\x6f\x6e\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}MN=this.v.GL();if(MN==null){this.v.s("\x43\x6d\x69\x53\x65\x6c\x65\x63\x74\x69\x6f\x6e\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(MN.Na){this.v.s("\x43\x6d\x69\x53\x65\x6c\x65\x63\x74\x69\x6f\x6e\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");rz=H.getUniformLocation(this.A,"\x75\x58\x53\x63\x61\x6c\x65");rR=H.getUniformLocation(this.A,"\x75\x59\x53\x63\x61\x6c\x65");Vn=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x53\x65\x6c\x65\x63\x74\x69\x6f\x6e\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x53\x65\x6c\x65\x63\x74\x69\x6f\x6e\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){if(H==null){this.v.s("\x43\x6d\x69\x53\x65\x6c\x65\x63\x74\x69\x6f\x6e\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){if(this.v.rF()==false){Sq=1.0;zI=1.0;}else{if(this.v.Fa()>MN.XK){Sq=1.0;zI=MN.XK/this.v.Fa();}else{Sq=this.v.Fa()/MN.XK;zI=1.0;};}H.useProgram(this.A);H.disable(H.BLEND);H.enableVertexAttribArray(this.W);H.uniform1f(rz,Sq);H.uniform1f(rR,zI);H.uniform1i(Vn,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,MN.Dz);return 0;}else return-1;};this.hE=function(){return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};pI.prototype=new EL();var H0=function(o){var Yw=Tl;var DT=GS;var H=o.q9();this.W=null;var Vn=null;var rz=null;var rR=null;var q0=null;var Sq=1.0;var zI=1.0;this.aN="\x42\x67\x49\x6d\x61\x67\x65";this.v=o;this.i8=H.TRIANGLES;this.Lq=function(sK){if(sK.loaded){q0=sK;return 0;}else return-1;};this.Jm=function(){return q0;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x42\x67\x49\x6d\x61\x67\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}q0=this.v.J2();if(q0==null){this.v.s("\x43\x6d\x69\x42\x67\x49\x6d\x61\x67\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(q0.Na){this.v.s("\x43\x6d\x69\x42\x67\x49\x6d\x61\x67\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");rz=H.getUniformLocation(this.A,"\x75\x58\x53\x63\x61\x6c\x65");rR=H.getUniformLocation(this.A,"\x75\x59\x53\x63\x61\x6c\x65");Vn=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x42\x67\x49\x6d\x61\x67\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x42\x67\x49\x6d\x61\x67\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){if(H==null){this.v.s("\x43\x6d\x69\x42\x67\x49\x6d\x61\x67\x65\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){if(this.v.rF()==false){Sq=1.0;zI=1.0;}else{if(this.v.Fa()>q0.XK){Sq=1.0;zI=q0.XK/this.v.Fa();}else{Sq=this.v.Fa()/q0.XK;zI=1.0;};}H.useProgram(this.A);H.disable(H.BLEND);H.enableVertexAttribArray(this.W);H.uniform1f(rz,Sq);H.uniform1f(rR,zI);H.uniform1i(Vn,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,q0.Dz);return 0;}else return-1;};this.hE=function(){return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};H0.prototype=new EL();var II=function(o){var Yw=Xr;var DT=ef;var H=o.q9();var HC=null;this.W=null;var YB=null;var a5=null;var zD=null;var HC=null;var cT=null;this.aN="\x53\x6b\x79\x42\x6f\x78";this.v=o;this.i8=H.TRIANGLES;this.Lq=function(sK){if(sK.loaded){HC=sK;return 0;}else return-1;};this.Jm=function(){return HC;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x53\x6b\x79\x42\x6f\x78\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}HC=this.v.ro();if(HC==null){this.v.s("\x43\x6d\x69\x53\x6b\x79\x42\x6f\x78\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x63\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(HC.Na){this.v.s("\x43\x6d\x69\x53\x6b\x79\x42\x6f\x78\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x43\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");zD=H.getUniformLocation(this.A,"\x75\x53\x6b\x79\x42\x6f\x78");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x53\x6b\x79\x42\x6f\x78\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x53\x6b\x79\x42\x6f\x78\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){if(H==null){this.v.s("\x43\x6d\x69\x53\x6b\x79\x42\x6f\x78\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);H.disable(H.BLEND);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniform1i(zD,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_CUBE_MAP,HC.Dz);H.uniform1f(cT,this.v.j4);return 0;}else return-1;};this.hE=function(){return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_CUBE_MAP,null);H.useProgram(null);return 0;};};II.prototype=new EL();var YD=function(o){var Yw=xo;var DT=L1;var H=o.q9();this.W=null;var YB=null;var a5=null;var Fc=null;var PA=null;this.aN="\x50\x6f\x69\x6e\x74";this.v=o;this.i8=H.POINTS;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x50\x6f\x69\x6e\x74\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Fc=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");PA=H.getUniformLocation(this.A,"\x75\x50\x6f\x69\x6e\x74\x53\x69\x7a\x65");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x50\x6f\x69\x6e\x74\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x50\x6f\x69\x6e\x74\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(uL,oU,gw){if(H==null){this.v.s("\x43\x6d\x69\x50\x6f\x69\x6e\x74\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);H.disable(H.BLEND);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniform4f(Fc,uL[0],uL[1],uL[2],uL[3]);H.uniform1f(PA,oU);return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.W);H.useProgram(null);return 0;};};YD.prototype=new EL();var S8=function(o){var Yw=ex;var DT=Xw;var H=o.q9();this.W=null;this.j2=null;var YB=null;var a5=null;var PA=null;this.aN="\x56\x65\x72\x74\x65\x78\x43\x6f\x6c\x6f\x72";this.v=o;this.i8=H.POINTS;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x56\x65\x72\x74\x65\x78\x43\x6f\x6c\x6f\x72\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.j2=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x43\x6f\x6c\x6f\x72");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");PA=H.getUniformLocation(this.A,"\x75\x50\x6f\x69\x6e\x74\x53\x69\x7a\x65");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x56\x65\x72\x74\x65\x78\x43\x6f\x6c\x6f\x72\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x56\x65\x72\x74\x65\x78\x43\x6f\x6c\x6f\x72\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(oU,gw){if(H==null){this.v.s("\x43\x6d\x69\x50\x6f\x69\x6e\x74\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);H.disable(H.BLEND);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.j2);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniform1f(PA,oU);return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.W);H.useProgram(null);return 0;};};S8.prototype=new EL();var VS=function(o){var Yw=s4;var DT=oZ;var H=o.q9();this.W=null;var YB=null;var a5=null;var Fc=null;var PA=null;var VP=null;var wm=0;this.aN="\x53\x70\x72\x69\x74\x65";this.v=o;this.i8=H.POINTS;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x53\x70\x72\x69\x74\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Fc=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");PA=H.getUniformLocation(this.A,"\x75\x50\x6f\x69\x6e\x74\x53\x69\x7a\x65");VP=H.getUniformLocation(this.A,"\x75\x50\x69\x78\x65\x6c\x44\x65\x6c\x74\x61");wm=H.getUniformLocation(this.A,"\x75\x52\x65\x6e\x64\x65\x72\x4d\x6f\x64\x65");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x53\x70\x72\x69\x74\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x53\x70\x72\x69\x74\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(uL,oU,Lp,iJ,gw){if(H==null){this.v.s("\x43\x6d\x69\x53\x70\x72\x69\x74\x65\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniform4f(Fc,uL[0],uL[1],uL[2],uL[3]);H.uniform1f(PA,oU);H.uniform2f(VP,Lp[0],Lp[1]);H.uniform1i(wm,iJ);return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.W);H.useProgram(null);return 0;};};VS.prototype=new EL();var Ml=function(o){var Yw=M5;var DT=zn;var H=o.q9();this.W=null;var YB=null;var a5=null;var Fc=null;var kS=null;var Qj=null;this.aN="\x4c\x69\x6e\x65";this.v=o;this.i8=H.LINES;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x4c\x69\x6e\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Fc=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");kS=H.getUniformLocation(this.A,"\x75\x4c\x69\x6e\x65\x53\x74\x79\x6c\x65");Qj=H.getUniformLocation(this.A,"\x75\x55\x6e\x69\x74\x4c\x65\x6e\x67\x74\x68");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x4c\x69\x6e\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x4c\x69\x6e\x65\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(uL,Fm,gw){if(H==null){this.v.s("\x43\x6d\x69\x4c\x69\x6e\x65\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);H.disable(H.BLEND);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniform4f(Fc,uL[0],uL[1],uL[2],1.0);H.uniform1i(kS,Fm);H.uniform1f(Qj,this.v.GI);return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.W);H.useProgram(null);return 0;};};Ml.prototype=new EL();var ha=function(o){var Yw=dM;var DT=dG;var H=o.q9();this.W=null;this.rD=null;this.j9=null;var L=null;var hD=null;var r5=null;this.aN="\x54\x65\x78\x74";this.v=o;this.i8=H.TRIANGLES;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");L=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");hD=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");r5=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(uL,gw){if(H==null){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.uniformMatrix4fv(hD,false,this.v.uf());H.uniformMatrix4fv(L,false,this.v.jD());H.uniform4f(r5,uL[0],uL[1],uL[2],1.0);return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(hD,false,this.v.uf());H.uniformMatrix4fv(L,false,this.v.jD());return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.useProgram(null);return 0;};};ha.prototype=new EL();var wT=function(o){var Yw=E9;var DT=aQ;var H=o.q9();var sb=null;var oI=o.getLight1Pos();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var KO=null;var Nk=null;var H_=null;var Fc=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var YM=new Array(o.ambientColIni[0],o.ambientColIni[1],o.ambientColIni[2]);var sF=new Array(o.light1ColIni[0],o.light1ColIni[1],o.light1ColIni[2]);this.aN="\x43\x6f\x6c\x6f\x72\x33\x44";this.v=o;this.i8=H.TRIANGLES;this.f0=false;this.Pm=function(newValue){if((newValue)&&(newValue.length>=3)){YM[0]=newValue[0];YM[1]=newValue[1];YM[2]=newValue[2];return 0;}return-1;};this.N9=function(newValue){if((newValue)&&(newValue.length>=3)){sF[0]=newValue[0];sF[1]=newValue[1];sF[2]=newValue[2];return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x43\x6f\x6c\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");KO=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74\x43\x6f\x6c\x6f\x72");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");H_=H.getUniformLocation(this.A,"\x75\x44\x69\x72\x65\x63\x74\x69\x6f\x6e\x61\x6c\x43\x6f\x6c\x6f\x72");Fc=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x43\x6f\x6c\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x43\x6f\x6c\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x43\x6f\x6c\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniform3f(KO,YM[0],YM[1],YM[2]);H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform3f(H_,sF[0],sF[1],sF[2]);H.uniform4f(Fc,sb[0],sb[1],sb[2],sb[3]);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.Oo);H.uniform1i(x8,this.v.Wh);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(Hn,false,this.v.Oo);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.useProgram(null);return 0;};};wT.prototype=new EL();var aD=function(o){var Yw=gQ;var DT=J0;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var lz=null;var a5=null;var Nk=null;var zD=null;var Fc=null;var cT=null;var Hn=null;var x8=null;var HC=null;var Ni=null;var Jj=null;var Vc=null;var re=null;var i6=null;var pb=null;var I5=null;var ZF=null;var ky=null;var ZT=0.8;var Ye=0.0;var ua=-0.1;var HD=0.10;var ae=1.1;var Ec=0.1;this.aN="\x50\x6c\x61\x73\x74\x69\x63";this.v=o;this.i8=H.TRIANGLES;this.f0=true;this.G1=function(newValue){if(newValue){ZT=newValue;return 0;}return-1;};this.JR=function(newValue){if(newValue){Ye=newValue;return 0;}return-1;};this.kk=function(newValue){if(newValue){ua=newValue;return 0;}return-1;};this.mV=function(newValue){if(newValue){HD=newValue;return 0;}return-1;};this.xD=function(newValue){if(newValue){ae=newValue;return 0;}return-1;};this.lT=function(newValue){if(newValue){Ec=newValue;return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x45\x6e\x76\x4d\x61\x70\x70\x65\x64\x43\x6f\x6c\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}HC=this.v.yM();if(HC==null){this.v.s("\x43\x6d\x69\x45\x6e\x76\x4d\x61\x70\x70\x65\x64\x43\x6f\x6c\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x63\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(HC.Na){this.v.s("\x43\x6d\x69\x45\x6e\x76\x4d\x61\x70\x70\x65\x64\x43\x6f\x6c\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x43\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");zD=H.getUniformLocation(this.A,"\x75\x45\x6e\x76\x4d\x61\x70");Fc=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");re=H.getUniformLocation(this.A,"\x75\x41\x74\x74\x65\x6e\x75\x61\x74\x69\x6f\x6e");i6=H.getUniformLocation(this.A,"\x75\x53\x68\x69\x6e\x69\x6e\x65\x73\x73\x56\x61\x6c");pb=H.getUniformLocation(this.A,"\x75\x53\x70\x65\x63\x75\x6c\x61\x72\x56\x61\x6c");I5=H.getUniformLocation(this.A,"\x75\x45\x6e\x76\x46\x61\x63\x74\x6f\x72");ZF=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x56\x61\x6c");ky=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74\x56\x61\x6c");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x45\x6e\x76\x4d\x61\x70\x70\x65\x64\x43\x6f\x6c\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x45\x6e\x76\x4d\x61\x70\x70\x65\x64\x43\x6f\x6c\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.P1=function(){HC=this.v.yM();};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x45\x6e\x76\x4d\x61\x70\x70\x65\x64\x43\x6f\x6c\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(zD,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_CUBE_MAP,HC.Dz);H.uniform4f(Fc,sb[0],sb[1],sb[2],sb[3]);H.uniform1f(re,ZT);H.uniform1f(i6,Ye);H.uniform1f(pb,ua);H.uniform1f(I5,HD);H.uniform1f(ZF,ae);H.uniform1f(ky,Ec);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.Oo);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(Hn,false,this.v.Oo);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_CUBE_MAP,null);H.useProgram(null);return 0;};};aD.prototype=new EL();var rj=function(o){var Yw=uJ;var DT=vQ;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.rD=null;var YB=null;var lz=null;var a5=null;var Nk=null;var Vn=null;var b8=null;var re=null;var i6=null;var pb=null;var ZF=null;var ky=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var wG=null;var W1=0.1;var ZT=0.7;var Ye=3.0;var ua=0.5;var ae=1.0;var Ec=0.0;this.aN="\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75";this.v=o;this.i8=H.TRIANGLES;this.f0=true;this.tG=true;this.G1=function(newValue){if(newValue){ZT=newValue;return 0;}return-1;};this.JR=function(newValue){if(newValue){Ye=newValue;return 0;}return-1;};this.kk=function(newValue){if(newValue){ua=newValue;return 0;}return-1;};this.xD=function(newValue){if(newValue){ae=newValue;return 0;}return-1;};this.lT=function(newValue){if(newValue){Ec=newValue;return 0;}return-1;};this.fb=function(uC){if(H==null){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}var hY=this.v.getBitmapDirectory();switch(uC){case "\x4d\x61\x74\x74\x4d\x65\x74\x61\x6c":W1=0.1;ZT=0.7;Ye=3.0;ua=0.5;ae=1.0;Ec=0.0;wG=this.v.getTexture(hY+"\x2f\x6d\x65\x74\x61\x6c\x32\x2e\x6a\x70\x67");this.aN="\x4d\x61\x74\x74\x4d\x65\x74\x61\x6c";break;case "\x43\x61\x73\x74\x65\x64\x4d\x65\x74\x61\x6c":W1=1.0;ZT=1.2;Ye=0.0;ua=0.0;ae=1.0;Ec=0.0;wG=this.v.getTexture(hY+"\x2f\x6d\x65\x74\x61\x6c\x31\x2e\x6a\x70\x67");this.aN="\x43\x61\x73\x74\x65\x64\x4d\x65\x74\x61\x6c";break;case "\x46\x69\x72\x57\x6f\x6f\x64":W1=2.0;ZT=2.0;Ye=0.0;ua=0.0;ae=0.4;Ec=0.05;wG=this.v.getTexture(hY+"\x2f\x77\x6f\x6f\x64\x31\x30\x2e\x6a\x70\x67");this.aN="\x46\x69\x72\x57\x6f\x6f\x64";break;};if(wG==null){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(wG.Na){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");Vn=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65");b8=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x53\x63\x61\x6c\x65");re=H.getUniformLocation(this.A,"\x75\x41\x74\x74\x65\x6e\x75\x61\x74\x69\x6f\x6e");i6=H.getUniformLocation(this.A,"\x75\x53\x68\x69\x6e\x69\x6e\x65\x73\x73\x56\x61\x6c");pb=H.getUniformLocation(this.A,"\x75\x53\x70\x65\x63\x75\x6c\x61\x72\x56\x61\x6c");ZF=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x56\x61\x6c");ky=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74\x56\x61\x6c");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(Vn,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,wG.Dz);H.uniform1f(b8,W1);H.uniform1f(re,ZT);H.uniform1f(i6,Ye);H.uniform1f(pb,ua);H.uniform1f(ZF,ae);H.uniform1f(ky,Ec);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.Oo);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(Hn,false,this.v.Oo);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};rj.prototype=new EL();var CmiTexture3DShader=function(o){var Yw=Sl;var DT=Th;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.rD=null;var YB=null;var lz=null;var a5=null;var Nk=null;var Vn=null;var Fc=null;var b8=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var W1=1.0;this.aN="\x54\x65\x78\x74\x75\x72\x65\x33\x44";this.v=o;this.i8=H.TRIANGLES;this.f0=true;this.tG=true;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");Vn=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65");b8=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x53\x63\x61\x6c\x65");Fc=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){if(Z.Fx){if(Z.Fx.textureScale!=undefined){W1=parseFloat(Z.Fx.textureScale);}else{W1=1.0;};}H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(Vn,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,Z.eQ().Dz);H.uniform1f(b8,W1);H.uniform4f(Fc,sb[0],sb[1],sb[2],sb[3]);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.Oo);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(Hn,false,this.v.Oo);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};CmiTexture3DShader.prototype=new EL();var Ik=function(o){var Yw=WP;var DT=Vf;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.tE=null;var YB=null;var lz=null;var a5=null;var Nk=null;var Vn=null;var Fc=null;var b8=null;var fG=null;var Aj=null;var Mo=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var W1=0.5;var XT=0.5;var nq=0.5;var I0=0.0;this.aN="\x50\x72\x6f\x6a\x65\x63\x74\x65\x64\x54\x65\x78\x74\x75\x72\x65\x33\x44";this.v=o;this.i8=H.TRIANGLES;this.f0=true;this.tG=true;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x50\x72\x6f\x6a\x65\x63\x74\x65\x64\x54\x65\x78\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.tE=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");Vn=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65");b8=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x53\x63\x61\x6c\x65");fG=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x44\x78");Aj=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x44\x79");Mo=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x41\x6e\x67");Fc=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x50\x72\x6f\x6a\x65\x63\x74\x65\x64\x54\x65\x78\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x50\x72\x6f\x6a\x65\x63\x74\x65\x64\x54\x65\x78\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x50\x72\x6f\x6a\x65\x63\x74\x65\x64\x54\x65\x78\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){if(Z.Fx){if(Z.Fx.textureScale!=undefined){W1=parseFloat(Z.Fx.textureScale);}else{W1=1.0;}if(Z.Fx.Vm!=undefined){XT=parseFloat(Z.Fx.Vm);}else{XT=1.0;}if(Z.Fx.ew!=undefined){nq=parseFloat(Z.Fx.ew);}else{nq=1.0;}if(Z.Fx.Qk!=undefined){I0=parseFloat(Z.Fx.Qk);}else{I0=1.0;};}H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.tE);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(Vn,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,Z.eQ().Dz);H.texParameteri(H.TEXTURE_2D,H.TEXTURE_WRAP_S,H.CLAMP_TO_EDGE);H.texParameteri(H.TEXTURE_2D,H.TEXTURE_WRAP_T,H.CLAMP_TO_EDGE);H.uniform1f(b8,W1);H.uniform1f(fG,XT);H.uniform1f(Aj,nq);H.uniform1f(Mo,I0);H.uniform4f(Fc,sb[0],sb[1],sb[2],sb[3]);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.Oo);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(Hn,false,this.v.Oo);return 0;};this.PL=function(gw){H.texParameteri(H.TEXTURE_2D,H.TEXTURE_WRAP_S,H.REPEAT);H.texParameteri(H.TEXTURE_2D,H.TEXTURE_WRAP_T,H.REPEAT);H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.tE);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};Ik.prototype=new EL();var oq=function(o){var Yw=rL;var DT=sm;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.rD=null;var YB=null;var lz=null;var a5=null;var Nk=null;var Jk=null;var Vn=null;var zD=null;var b8=null;var re=null;var i6=null;var pb=null;var I5=null;var ZF=null;var ky=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var wG=null;var HC=null;var W1=3.0;var ZT=1.7;var Ye=25.0;var ua=0.35;var HD=0.08;var ae=0.82;var Ec=0.0;this.aN="\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x45\x6e\x76\x4d\x61\x70\x70\x65\x64";this.v=o;this.i8=H.TRIANGLES;this.f0=true;this.tG=true;this.G1=function(newValue){if(newValue){ZT=newValue;return 0;}return-1;};this.JR=function(newValue){if(newValue){Ye=newValue;return 0;}return-1;};this.kk=function(newValue){if(newValue){ua=newValue;return 0;}return-1;};this.mV=function(newValue){if(newValue){HD=newValue;return 0;}return-1;};this.xD=function(newValue){if(newValue){ae=newValue;return 0;}return-1;};this.lT=function(newValue){if(newValue){Ec=newValue;return 0;}return-1;};this.fb=function(uC){if(H==null){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x33\x44\x45\x6e\x76\x4d\x61\x70\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}var hY=this.v.getBitmapDirectory();switch(uC){case "\x42\x75\x72\x6c\x57\x6f\x6f\x64":W1=3.0;ZT=1.7;Ye=25.0;ua=0.35;ae=0.82;Ec=0.0;HD=0.08;wG=this.v.getTexture(hY+"\x2f\x77\x6f\x6f\x64\x34\x2e\x6a\x70\x67");this.aN="\x42\x75\x72\x6c\x57\x6f\x6f\x64";break;case "\x47\x6c\x6f\x73\x73\x79\x4d\x65\x74\x61\x6c":W1=4.0;ZT=0.5;Ye=7.0;ua=0.8;ae=1.3;Ec=0.0;HD=0.05;wG=this.v.getTexture(hY+"\x2f\x6d\x65\x74\x61\x6c\x37\x2e\x6a\x70\x67");this.aN="\x47\x6c\x6f\x73\x73\x79\x4d\x65\x74\x61\x6c";break;case "\x50\x6f\x6c\x69\x73\x68\x65\x64\x47\x72\x61\x79\x53\x74\x6f\x6e\x65":W1=4.0;ZT=1.2;Ye=25.0;ua=0.35;ae=0.85;Ec=0.0;HD=0.08;wG=this.v.getTexture(hY+"\x2f\x73\x74\x6f\x6e\x65\x38\x2e\x6a\x70\x67");this.aN="\x50\x6f\x6c\x69\x73\x68\x65\x64\x47\x72\x61\x79\x53\x74\x6f\x6e\x65";break;case "\x50\x6f\x6c\x69\x73\x68\x65\x64\x4d\x61\x72\x62\x6c\x65":W1=4.0;ZT=1.2;Ye=25.0;ua=0.35;ae=0.85;Ec=0.0;HD=0.08;wG=this.v.getTexture(hY+"\x2f\x73\x74\x6f\x6e\x65\x37\x2e\x6a\x70\x67");this.aN="\x50\x6f\x6c\x69\x73\x68\x65\x64\x4d\x61\x72\x62\x6c\x65";break;case "\x50\x6f\x6c\x69\x73\x68\x65\x64\x4d\x65\x74\x61\x6c":W1=4.0;ZT=0.45;Ye=10.0;ua=0.8;ae=1.0;Ec=0.0;HD=0.7;wG=this.v.getTexture(hY+"\x2f\x6d\x65\x74\x61\x6c\x37\x2e\x6a\x70\x67");this.aN="\x50\x6f\x6c\x69\x73\x68\x65\x64\x4d\x65\x74\x61\x6c";break;case "\x50\x6f\x6c\x69\x73\x68\x65\x64\x59\x65\x6c\x6c\x6f\x77\x53\x74\x6f\x6e\x65":W1=4.0;ZT=1.2;Ye=25.0;ua=0.35;ae=0.85;Ec=0.0;HD=0.08;wG=this.v.getTexture(hY+"\x2f\x73\x74\x6f\x6e\x65\x39\x2e\x6a\x70\x67");this.aN="\x50\x6f\x6c\x69\x73\x68\x65\x64\x59\x65\x6c\x6c\x6f\x77\x53\x74\x6f\x6e\x65";break;case "\x57\x61\x6c\x6e\x75\x74\x57\x6f\x6f\x64":W1=3.0;ZT=1.7;Ye=25.0;ua=0.35;ae=0.82;Ec=0.0;HD=0.08;wG=this.v.getTexture(hY+"\x2f\x77\x6f\x6f\x64\x32\x2e\x6a\x70\x67");this.aN="\x57\x61\x6c\x6e\x75\x74\x57\x6f\x6f\x64";break;};if(wG==null){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x33\x44\x45\x6e\x76\x4d\x61\x70\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(wG.Na){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x33\x44\x45\x6e\x76\x4d\x61\x70\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}HC=this.v.yM();if(HC==null){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x33\x44\x45\x6e\x76\x4d\x61\x70\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x63\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(HC.Na){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x33\x44\x45\x6e\x76\x4d\x61\x70\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x43\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");Vn=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65");zD=H.getUniformLocation(this.A,"\x75\x45\x6e\x76\x4d\x61\x70");b8=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x53\x63\x61\x6c\x65");re=H.getUniformLocation(this.A,"\x75\x41\x74\x74\x65\x6e\x75\x61\x74\x69\x6f\x6e");i6=H.getUniformLocation(this.A,"\x75\x53\x68\x69\x6e\x69\x6e\x65\x73\x73\x56\x61\x6c");pb=H.getUniformLocation(this.A,"\x75\x53\x70\x65\x63\x75\x6c\x61\x72\x56\x61\x6c");I5=H.getUniformLocation(this.A,"\x75\x45\x6e\x76\x46\x61\x63\x74\x6f\x72");ZF=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x56\x61\x6c");ky=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74\x56\x61\x6c");Jk=H.getUniformLocation(this.A,"\x75\x53\x69\x7a\x65\x56\x61\x6c");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x33\x44\x45\x6e\x76\x4d\x61\x70\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x33\x44\x45\x6e\x76\x4d\x61\x70\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.P1=function(){HC=this.v.yM();};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x50\x65\x72\x50\x69\x78\x65\x6c\x49\x6c\x6c\x75\x33\x44\x45\x6e\x76\x4d\x61\x70\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(Vn,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,wG.Dz);H.uniform1i(zD,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_CUBE_MAP,HC.Dz);H.uniform1f(b8,W1);H.uniform1f(re,ZT);H.uniform1f(i6,Ye);H.uniform1f(pb,ua);H.uniform1f(I5,HD);H.uniform1f(ZF,ae);H.uniform1f(ky,Ec);H.uniform1f(Jk,10.0);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.Oo);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(Hn,false,this.v.Oo);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_CUBE_MAP,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};oq.prototype=new EL();var lN=function(o){var Yw=xH;var DT=gK;var H=o.q9();var sb=null;var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var Xg=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var zD=null;var HC=null;this.aN="\x43\x68\x72\x6f\x6d\x61\x74\x69\x63\x41\x62\x65\x72\x72\x61\x74\x69\x6f\x6e";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x43\x68\x72\x6f\x6d\x41\x62\x62\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}HC=this.v.getTexture("\x53\x6e\x6f\x77");if(HC==null){this.v.s("\x43\x6d\x69\x43\x68\x72\x6f\x6d\x41\x62\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x63\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(HC.Na){this.v.s("\x43\x6d\x69\x43\x68\x72\x6f\x6d\x41\x62\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x43\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Xg=H.getUniformLocation(this.A,"\x75\x56\x69\x65\x77\x50\x6f\x73");zD=H.getUniformLocation(this.A,"\x75\x45\x6e\x76\x4d\x61\x70");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x43\x68\x72\x6f\x6d\x41\x62\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x43\x68\x72\x6f\x6d\x41\x62\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x43\x68\x72\x6f\x6d\x41\x62\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform3f(Xg,0.0,0.0,0.0);H.uniform1i(zD,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_CUBE_MAP,HC.Dz);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_CUBE_MAP,null);H.useProgram(null);return 0;};};lN.prototype=new EL();var o2=function(o){var Yw=OG;var DT=G7;var H=o.q9();var sb=null;var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var Xg=null;var Fc=null;var cT=null;var Hn=null;var x8=null;var SG=null;var zD=null;var Vy=null;var Jr=null;var s3=null;var Ni=null;var Jj=null;var Vc=null;var kH=null;var HC=null;var YH=0.1;var Be=0.3;var rQ=0.3;this.aN="\x47\x6c\x61\x73\x73";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.tc=function(newValue){if(newValue){YH=newValue;return 0;}return-1;};this.Ds=function(newValue){if(newValue){Be=newValue;return 0;}return-1;};this.hC=function(newValue){if(newValue){rQ=newValue;return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x47\x6c\x61\x73\x73\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}kH=this.v.getTexture("\x52\x61\x69\x6e\x62\x6f\x77");if(kH==null){this.v.s("\x43\x6d\x69\x47\x6c\x61\x73\x73\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(kH.Na){this.v.s("\x43\x6d\x69\x47\x6c\x61\x73\x73\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}HC=this.v.yM();if(HC==null){this.v.s("\x43\x6d\x69\x47\x6c\x61\x73\x73\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x63\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(HC.Na){this.v.s("\x43\x6d\x69\x47\x6c\x61\x73\x73\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x43\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Xg=H.getUniformLocation(this.A,"\x75\x56\x69\x65\x77\x50\x6f\x73");SG=H.getUniformLocation(this.A,"\x75\x52\x61\x69\x6e\x62\x6f\x77");zD=H.getUniformLocation(this.A,"\x75\x45\x6e\x76\x4d\x61\x70");Vy=H.getUniformLocation(this.A,"\x75\x52\x61\x69\x6e\x62\x6f\x77\x46\x61\x63\x74\x6f\x72");Jr=H.getUniformLocation(this.A,"\x75\x4d\x69\x72\x72\x6f\x72\x46\x61\x63\x74\x6f\x72");s3=H.getUniformLocation(this.A,"\x75\x43\x6f\x6c\x6f\x72\x46\x61\x63\x74\x6f\x72");Fc=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x47\x6c\x61\x73\x73\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x47\x6c\x61\x73\x73\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.P1=function(){HC=this.v.yM();};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x47\x6c\x61\x73\x73\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);H.enable(H.BLEND);H.blendFunc(H.DST_COLOR,H.ONE_MINUS_SRC_ALPHA);H.blendFunc(H.SRC_COLOR,H.SRC_ALPHA);if(this.v.clipPlaneActive==false){H.enable(H.CULL_FACE);H.cullFace(H.BACK);}H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform3f(Xg,0.0,0.0,0.0);H.uniform1i(SG,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,kH.Dz);H.uniform1i(zD,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_CUBE_MAP,HC.Dz);H.uniform1f(Vy,YH);H.uniform1f(Jr,Be);H.uniform1f(s3,rQ);H.uniform4f(Fc,sb[0],sb[1],sb[2],sb[3]);H.uniform1f(cT,this.v.j4);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disable(H.CULL_FACE);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_CUBE_MAP,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};o2.prototype=new EL();var k7=function(o){var Yw=NO;var DT=Q2;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var lz=null;var XY=null;var Nk=null;var Dr=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var Sm=null;var jM=null;var Fv=null;var t0=null;var u8=null;var co=null;var JL=null;var KP=null;var Ec=new Array(0.13,0.16,0.13,1.0);var as=0.12;var Gy=new Array(-1.5,-20.0,26.0,1.0);var K7=new Array(1.0,1.0,1.0,1.0);var bX=null;var PY=null;var Uc=new Array(0.93,0.94,1.0,1.0);var xU=new Array(0.23,0.25,0.20,1.0);this.aN="\x42\x72\x75\x73\x68\x65\x64\x4d\x65\x74\x61\x6c";this.v=o;this.i8=H.TRIANGLES;this.f0=true;this.Fg=true;this.d2=function(newValue){if((newValue)&&(newValue.length>=4)){Ec[0]=newValue[0];Ec[1]=newValue[1];Ec[2]=newValue[2];Ec[3]=newValue[3];return 0;}return-1;};this.zS=function(newValue){if(newValue){as=newValue;return 0;}return-1;};this.I9=function(newValue){if((newValue)&&(newValue.length>=4)){Uc[0]=newValue[0];Uc[1]=newValue[1];Uc[2]=newValue[2];Uc[3]=newValue[3];return 0;}return-1;};this.xC=function(newValue){if((newValue)&&(newValue.length>=4)){xU[0]=newValue[0];xU[1]=newValue[1];xU[2]=newValue[2];xU[3]=newValue[3];return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x42\x72\x75\x73\x68\x65\x64\x4d\x65\x74\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}bX=this.v.getTexture("\x41\x6e\x69\x73\x6f\x53\x74\x72\x61\x6e\x64");if(bX==null){this.v.s("\x43\x6d\x69\x42\x72\x75\x73\x68\x65\x64\x4d\x65\x74\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(bX.Na){this.v.s("\x43\x6d\x69\x42\x72\x75\x73\x68\x65\x64\x4d\x65\x74\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}PY=this.v.getTexture("\x52\x69\x6e\x67\x47\x72\x61\x64\x69\x65\x6e\x74");if(PY==null){this.v.s("\x43\x6d\x69\x42\x72\x75\x73\x68\x65\x64\x4d\x65\x74\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x63\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(PY.Na){this.v.s("\x43\x6d\x69\x42\x72\x75\x73\x68\x65\x64\x4d\x65\x74\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x43\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Sm=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74");jM=H.getUniformLocation(this.A,"\x75\x46\x6c\x41\x6d\x62\x69\x65\x6e\x74");Fv=H.getUniformLocation(this.A,"\x75\x52\x69\x6e\x67\x43\x65\x6e\x74\x65\x72");t0=H.getUniformLocation(this.A,"\x75\x52\x69\x6e\x67\x53\x63\x61\x6c\x65");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");u8=H.getUniformLocation(this.A,"\x75\x53\x74\x72\x61\x6e\x64");co=H.getUniformLocation(this.A,"\x75\x52\x69\x6e\x67\x47\x72\x61\x64\x69\x65\x6e\x74");Dr=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x43\x6f\x6c\x6f\x72");JL=H.getUniformLocation(this.A,"\x75\x52\x69\x6e\x67\x43\x6f\x6c\x6f\x72");KP=H.getUniformLocation(this.A,"\x75\x52\x69\x6e\x67\x41\x6d\x62\x69\x65\x6e\x74\x43\x6f\x6c\x6f\x72");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x42\x72\x75\x73\x68\x65\x64\x4d\x65\x74\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x42\x72\x75\x73\x68\x65\x64\x4d\x65\x74\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x42\x72\x75\x73\x68\x65\x64\x4d\x65\x74\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform4f(Sm,Ec[0],Ec[1],Ec[2],Ec[3]);H.uniform1f(jM,as);H.uniform4f(Fv,Gy[0],Gy[1],Gy[2],Gy[3]);H.uniform4f(t0,K7[0],K7[1],K7[2],K7[3]);H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(u8,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,bX.Dz);H.uniform1i(co,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,PY.Dz);H.uniform4f(Dr,sb[0],sb[1],sb[2],sb[3]);H.uniform4f(JL,Uc[0],Uc[1],Uc[2],Uc[3]);H.uniform4f(KP,xU[0],xU[1],xU[2],xU[3]);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};k7.prototype=new EL();var eR=function(o){var Yw=CS;var DT=PJ;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var Uw=null;var Nk=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var aF=null;var k8=null;var xF=null;var w3=null;var jS=null;var eV=null;var wp=null;var Dr=null;var K4=null;var za=new Array(0.8,0.8,0.8,1.0);var v1=new Array(0.13,0.13,0.13,1.0);var We=0.1;var HV=20.5;var Fl=0.1;var XF=new Array(0.5,0.5,0.5,1.0);var IT=new Array(0.23,0.23,0.23,1.0);var et=new Array(1.0,1.0,1.0,1.0);var Du=new Array(0.43,0.41,0.41,1.0);this.aN="\x56\x65\x6c\x76\x65\x74";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.Kn=function(newValue){if((newValue)&&(newValue.length>=4)){za[0]=newValue[0];za[1]=newValue[1];za[2]=newValue[2];za[3]=newValue[3];return 0;}return-1;};this.Cm=function(newValue){if((newValue)&&(newValue.length>=4)){v1[0]=newValue[0];v1[1]=newValue[1];v1[2]=newValue[2];v1[3]=newValue[3];return 0;}return-1;};this.qN=function(newValue){if(newValue){We=newValue;return 0;}return-1;};this.lD=function(newValue){if(newValue){HV=newValue;return 0;}return-1;};this.s6=function(newValue){if(newValue){Fl=newValue;return 0;}return-1;};this.uq=function(newValue){if((newValue)&&(newValue.length>=4)){XF[0]=newValue[0];XF[1]=newValue[1];XF[2]=newValue[2];XF[3]=newValue[3];return 0;}return-1;};this.WK=function(newValue){if((newValue)&&(newValue.length>=4)){IT[0]=newValue[0];IT[1]=newValue[1];IT[2]=newValue[2];IT[3]=newValue[3];return 0;}return-1;};this.ZB=function(newValue){if((newValue)&&(newValue.length>=4)){et[0]=newValue[0];et[1]=newValue[1];et[2]=newValue[2];et[3]=newValue[3];return 0;}return-1;};this.kj=function(newValue){if((newValue)&&(newValue.length>=4)){Du[0]=newValue[0];Du[1]=newValue[1];Du[2]=newValue[2];Du[3]=newValue[3];return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x56\x65\x6c\x76\x65\x74\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Uw=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");aF=H.getUniformLocation(this.A,"\x75\x53\x68\x65\x65\x6e");k8=H.getUniformLocation(this.A,"\x75\x53\x68\x69\x6e\x79");xF=H.getUniformLocation(this.A,"\x75\x52\x6f\x75\x67\x68\x6e\x65\x73\x73");w3=H.getUniformLocation(this.A,"\x75\x45\x64\x67\x69\x6e\x65\x73\x73");jS=H.getUniformLocation(this.A,"\x75\x42\x61\x63\x6b\x73\x63\x61\x74\x74\x65\x72");eV=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x41\x6d\x62\x69\x65\x6e\x74");wp=H.getUniformLocation(this.A,"\x75\x4b\x61");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");Dr=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x43\x6f\x6c\x6f\x72");K4=H.getUniformLocation(this.A,"\x75\x4b\x64");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x56\x65\x6c\x76\x65\x74\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x56\x65\x6c\x76\x65\x74\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x56\x65\x6c\x76\x65\x74\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform4f(Uw,sb[0],sb[1],sb[2],sb[3]);H.uniform4f(aF,za[0],za[1],za[2],za[3]);H.uniform4f(k8,v1[0],v1[1],v1[2],v1[3]);H.uniform1f(xF,We);H.uniform1f(w3,HV);H.uniform1f(jS,Fl);H.uniform4f(eV,XF[0],XF[1],XF[2],XF[3]);H.uniform4f(wp,IT[0],IT[1],IT[2],IT[3]);H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform4f(Dr,et[0],et[1],et[2],et[3]);H.uniform4f(K4,Du[0],Du[1],Du[2],Du[3]);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.useProgram(null);return 0;};};eR.prototype=new EL();var c2=function(o){var Yw=t3;var DT=dw;var H=o.q9();var sb=null;var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var Mr=null;var pl=2.2;this.aN="\x4e\x6f\x72\x6d\x61\x6c\x73";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.Sw=function(newValue){if(newValue){pl=newValue;return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x45\x79\x65\x4e\x6f\x72\x6d\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Mr=H.getUniformLocation(this.A,"\x75\x47\x61\x6d\x6d\x61");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x45\x79\x65\x4e\x6f\x72\x6d\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x45\x79\x65\x4e\x6f\x72\x6d\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x45\x79\x65\x4e\x6f\x72\x6d\x61\x6c\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform1f(Mr,pl);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.useProgram(null);return 0;};};c2.prototype=new EL();var lw=function(o){var Yw=t9;var DT=Gf;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.rD=null;var YB=null;var a5=null;var XY=null;var Nk=null;var LK=null;var fB=null;var pi=null;var f9=null;var cT=null;var Hn=null;var x8=null;var Zv=null;var BC=null;var Dh=null;var Hp=null;var QX=null;var kJ=null;var UE=null;var b8=null;var Ni=null;var Jj=null;var Vc=null;var SQ=0.023;var wh=2.0;var SH=0.325;var nQ=0.46;var wi=1.5;var Gj=new Array(0.0,0.0,0.0,1.0);var QB=new Array(0.8,0.8,0.8,1.0);var W1=1.5;this.aN="\x52\x75\x73\x74\x79";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.tG=true;this.setScale=function(newValue){if(newValue){SQ=newValue;return 0;}return-1;};this.oz=function(newValue){if(newValue){wh=newValue;return 0;}return-1;};this.eS=function(newValue){if(newValue){SH=newValue;return 0;}return-1;};this.nJ=function(newValue){if(newValue){nQ=newValue;return 0;}return-1;};this.rr=function(newValue){if(newValue){wi=newValue;return 0;}return-1;};this.mz=function(newValue){if((newValue)&&(newValue.length>=4)){Gj[0]=newValue[0];Gj[1]=newValue[1];Gj[2]=newValue[2];Gj[3]=newValue[3];return 0;}return-1;};this.U6=function(newValue){if((newValue)&&(newValue.length>=4)){QB[0]=newValue[0];QB[1]=newValue[1];QB[2]=newValue[2];QB[3]=newValue[3];return 0;}return-1;};this.mO=function(newValue){if(newValue){W1=newValue;return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x52\x75\x73\x74\x79\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}var hY=this.v.getBitmapDirectory();pi=this.v.getTexture(hY+"\x2f\x72\x75\x73\x74\x79\x2e\x6a\x70\x67");if(pi==null){this.v.s("\x43\x6d\x69\x52\x75\x73\x74\x79\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(pi.Na){this.v.s("\x43\x6d\x69\x52\x75\x73\x74\x79\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}f9=this.v.getTexture("\x4e\x6f\x69\x73\x65\x32\x44");if(f9==null){this.v.s("\x43\x6d\x69\x52\x75\x73\x74\x79\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(f9.Na){this.v.s("\x43\x6d\x69\x52\x75\x73\x74\x79\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");Zv=H.getUniformLocation(this.A,"\x75\x53\x63\x61\x6c\x65");BC=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x49\x6e\x74\x65\x6e\x73\x69\x74\x79\x46\x61\x63\x74\x6f\x72");LK=H.getUniformLocation(this.A,"\x75\x52\x75\x73\x74\x79");fB=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65\x32\x64");Dh=H.getUniformLocation(this.A,"\x75\x45\x72\x6f\x73\x69\x6f\x6e\x46\x61\x63\x74\x6f\x72");Hp=H.getUniformLocation(this.A,"\x75\x49\x6e\x74\x46\x61\x63\x74\x6f\x72\x31");QX=H.getUniformLocation(this.A,"\x75\x49\x6e\x74\x46\x61\x63\x74\x6f\x72\x32");kJ=H.getUniformLocation(this.A,"\x75\x43\x6f\x6c\x6f\x72\x31");UE=H.getUniformLocation(this.A,"\x75\x43\x6f\x6c\x6f\x72\x32");b8=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x53\x63\x61\x6c\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x52\x75\x73\x74\x79\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x52\x75\x73\x74\x79\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x52\x75\x73\x74\x79\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1f(Zv,SQ);H.uniform1f(BC,wh);H.uniform1i(LK,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,pi.Dz);H.uniform1i(fB,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,f9.Dz);H.uniform1f(Dh,SH);H.uniform1f(Hp,nQ);H.uniform1f(QX,wi);H.uniform4f(kJ,Gj[0],Gj[1],Gj[2],Gj[3]);H.uniform4f(UE,QB[0],QB[1],QB[2],QB[3]);H.uniform1f(b8,W1);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};lw.prototype=new EL();var OB=function(o){var Yw=Jd;var DT=xe;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.rD=null;var YB=null;var a5=null;var XY=null;var Nk=null;var Dr=null;var NT=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var tP=null;var AH=null;var Sm=null;var K4=null;var Zv=null;var Ol=null;var Tk=new Array(0.0,0.0,5.0);var ua=new Array(0.2,0.2,0.2,1.0);var Ec=new Array(0.2,0.2,0.2,1.0);var Du=0.8;var SQ=10.0;var kh=0.1;this.aN="\x4c\x61\x74\x74\x69\x63\x65";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.tG=true;this.Zg=function(newValue){if((newValue)&&(newValue.length==3)){Tk[0]=newValue[0];Tk[1]=newValue[1];Tk[2]=newValue[2];return 0;}return-1;};this.OC=function(newValue){if((newValue)&&(newValue.length>=4)){ua[0]=newValue[0];ua[1]=newValue[1];ua[2]=newValue[2];ua[3]=newValue[3];return 0;}return-1;};this.OC=function(newValue){if((newValue)&&(newValue.length>=4)){Ec[0]=newValue[0];Ec[1]=newValue[1];Ec[2]=newValue[2];Ec[3]=newValue[3];return 0;}return-1;};this.Q1=function(newValue){if(newValue){Du=newValue;return 0;}return-1;};this.xv=function(newValue){if(newValue){SQ=newValue;return 0;}return-1;};this.vM=function(newValue){if(newValue){kh=newValue;return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x4c\x61\x74\x74\x69\x63\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73\x69\x74\x69\x6f\x6e");Dr=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x43\x6f\x6c\x6f\x72");tP=H.getUniformLocation(this.A,"\x75\x45\x79\x65\x50\x6f\x73\x69\x74\x69\x6f\x6e");AH=H.getUniformLocation(this.A,"\x75\x53\x70\x65\x63\x75\x6c\x61\x72");Sm=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74");K4=H.getUniformLocation(this.A,"\x75\x4b\x64");Zv=H.getUniformLocation(this.A,"\x75\x53\x63\x61\x6c\x65");Ol=H.getUniformLocation(this.A,"\x75\x54\x68\x72\x65\x73\x68\x6f\x6c\x64");NT=H.getUniformLocation(this.A,"\x75\x53\x75\x72\x66\x61\x63\x65\x43\x6f\x6c\x6f\x72");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x4c\x61\x74\x74\x69\x63\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x4c\x61\x74\x74\x69\x63\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x4c\x61\x74\x74\x69\x63\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform4f(Dr,sb[0],sb[1],sb[2],sb[3]);H.uniform3f(tP,Tk[0],Tk[1],Tk[2]);H.uniform4f(AH,ua[0],ua[1],ua[2],ua[3]);H.uniform4f(Sm,Ec[0],Ec[1],Ec[2],Ec[3]);H.uniform1f(K4,Du);H.uniform1f(Zv,SQ);H.uniform1f(Ol,kh);H.uniform4f(NT,sb[0],sb[1],sb[2],sb[3]);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.useProgram(null);return 0;};};OB.prototype=new EL();var df=function(o){var Yw=B9;var DT=vi;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.rD=null;this.r6=null;this.Yr=null;var YB=null;var lz=null;var a5=null;var Nk=null;var bi=null;var Fc=null;var cT=null;var Ni=null;var Jj=null;var Vc=null;var _V=null;var b8=null;var re=null;var i6=null;var pb=null;var ZF=null;var ky=null;var WZ=null;var I2=null;var W1=0.0045;var ZT=0.6;var Ye=10.0;var ua=0.5;var ae=1.0;var Ec=0.2;var Rl=1.5;var Hn=null;var x8=null;this.aN="\x53\x74\x72\x75\x63\x74\x75\x72\x65";this.v=o;this.tG=true;this.uF=true;this.i8=H.TRIANGLES;this.f0=true;this.mO=function(newValue){if(newValue){W1=newValue;return 0;}return-1;};this.G1=function(newValue){if(newValue){ZT=newValue;return 0;}return-1;};this.JR=function(newValue){if(newValue){Ye=newValue;return 0;}return-1;};this.kk=function(newValue){if(newValue){ua=newValue;return 0;}return-1;};this.xD=function(newValue){if(newValue){ae=newValue;return 0;}return-1;};this.lT=function(newValue){if(newValue){Ec=newValue;return 0;}return-1;};this.q8=function(newValue){if(newValue){Rl=newValue;return 0;}return-1;};this.fb=function(uC){if(H==null){this.v.s("\x43\x6d\x69\x53\x74\x72\x75\x63\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}switch(uC){case "\x45\x6d\x62\x6f\x73\x73\x65\x64\x53\x71\x75\x61\x72\x65\x73":W1=0.003;ZT=0.6;Ye=10.0;ua=0.4;ae=1.0;Ec=0.2;Rl=1.5;I2=this.v.getTexture("\x53\x71\x75\x61\x72\x65\x42\x75\x6d\x70");this.aN="\x45\x6d\x62\x6f\x73\x73\x65\x64\x53\x71\x75\x61\x72\x65\x73";break;case "\x45\x6d\x62\x6f\x73\x73\x65\x64\x43\x72\x6f\x73\x73\x65\x73":W1=0.0039;ZT=0.6;Ye=10.0;ua=0.4;ae=1.0;Ec=0.2;Rl=1.5;I2=this.v.getTexture("\x43\x72\x6f\x73\x73\x42\x75\x6d\x70");this.aN="\x45\x6d\x62\x6f\x73\x73\x65\x64\x43\x72\x6f\x73\x73\x65\x73";break;case "\x45\x6d\x62\x6f\x73\x73\x65\x64\x53\x75\x72\x66\x61\x63\x65":W1=0.011;ZT=0.6;Ye=10.0;ua=0.4;ae=1.0;Ec=0.2;Rl=1.5;I2=this.v.getTexture("\x53\x74\x72\x75\x63\x74\x75\x72\x65\x42\x75\x6d\x70");this.aN="\x45\x6d\x62\x6f\x73\x73\x65\x64\x53\x75\x72\x66\x61\x63\x65";break;};if(I2==null){this.v.s("\x43\x6d\x69\x53\x74\x72\x75\x63\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(I2.Na){this.v.s("\x43\x6d\x69\x53\x74\x72\x75\x63\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.Yr=H.getAttribLocation(this.A,"\x61\x42\x69\x6e\x6f\x72\x6d\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");this.r6=H.getAttribLocation(this.A,"\x61\x54\x61\x6e\x67\x65\x6e\x74\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");_V=H.getUniformLocation(this.A,"\x75\x4e\x6f\x72\x6d\x61\x6c\x4d\x61\x70");b8=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x53\x63\x61\x6c\x65");re=H.getUniformLocation(this.A,"\x75\x41\x74\x74\x65\x6e\x75\x61\x74\x69\x6f\x6e");i6=H.getUniformLocation(this.A,"\x75\x53\x68\x69\x6e\x69\x6e\x65\x73\x73\x56\x61\x6c");pb=H.getUniformLocation(this.A,"\x75\x53\x70\x65\x63\x75\x6c\x61\x72\x56\x61\x6c");ZF=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x56\x61\x6c");ky=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74\x56\x61\x6c");WZ=H.getUniformLocation(this.A,"\x75\x42\x75\x6d\x70\x69\x6e\x65\x73\x73");bi=H.getUniformLocation(this.A,"\x75\x53\x69\x7a\x65");Fc=H.getUniformLocation(this.A,"\x75\x43\x6f\x6c\x6f\x72");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x53\x74\x72\x75\x63\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x53\x74\x72\x75\x63\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x53\x74\x72\x75\x63\x74\x75\x72\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.enableVertexAttribArray(this.r6);H.enableVertexAttribArray(this.Yr);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(_V,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,I2.Dz);H.uniform1f(b8,W1);H.uniform1f(re,ZT);H.uniform1f(i6,Ye);H.uniform1f(pb,ua);H.uniform1f(ZF,ae);H.uniform1f(ky,Ec);H.uniform1f(WZ,Rl);H.uniform1f(bi,Z.size);H.uniform4f(Fc,sb[0],sb[1],sb[2],sb[3]);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.disableVertexAttribArray(this.r6);H.disableVertexAttribArray(this.Yr);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};df.prototype=new EL();var Re=function(o){var Yw=ep;var DT=iF;var H=o.q9();var sb=null;var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var lz=null;var Fc=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var GP=null;var Jf=5.0;this.aN="\x47\x6c\x69\x74\x74\x65\x72\x50\x6c\x61\x73\x74\x69\x63";this.v=o;this.i8=H.TRIANGLES;this.f0=true;this.Fg=true;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x47\x6c\x69\x74\x74\x65\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");GP=H.getUniformLocation(this.A,"\x75\x47\x6c\x69\x74\x74\x65\x72\x53\x74\x72\x65\x6e\x67\x74\x68");Fc=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x47\x6c\x69\x74\x74\x65\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x47\x6c\x69\x74\x74\x65\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x47\x6c\x69\x74\x74\x65\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniform1f(GP,Jf);H.uniform4f(Fc,sb[0]*0.8,sb[1]*0.8,sb[2]*0.8,sb[3]);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.useProgram(null);return 0;};};Re.prototype=new EL();var ZM=function(o){var Yw=ih;var DT=Nv;var H=o.q9();var sb=null;var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var Xg=null;var SG=null;var Uw=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var kH=null;var zD=null;var Dg=null;var Vy=null;var Nk=null;var HC=null;var CO=0.6;var YH=0.1;var v4=new Array(100.0,100.0,100.0);this.aN="\x4d\x69\x72\x72\x6f\x72";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.Wp=function(newValue){if(newValue){CO=newValue;return 0;}return-1;};this.tc=function(newValue){if(newValue){YH=newValue;return 0;}return-1;};this.fb=function(uC){if(H==null){this.v.s("\x43\x6d\x69\x4d\x69\x72\x72\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}kH=this.v.getTexture("\x52\x61\x69\x6e\x62\x6f\x77");if(kH==null){this.v.s("\x43\x6d\x69\x4d\x69\x72\x72\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(kH.Na){this.v.s("\x43\x6d\x69\x4d\x69\x72\x72\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}HC=this.v.yM();if(HC==null){this.v.s("\x43\x6d\x69\x4d\x69\x72\x72\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x63\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(HC.Na){this.v.s("\x43\x6d\x69\x4d\x69\x72\x72\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x43\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");Xg=H.getUniformLocation(this.A,"\x75\x56\x69\x65\x77\x50\x6f\x73");SG=H.getUniformLocation(this.A,"\x75\x52\x61\x69\x6e\x62\x6f\x77");zD=H.getUniformLocation(this.A,"\x75\x45\x6e\x76\x4d\x61\x70");Uw=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");Dg=H.getUniformLocation(this.A,"\x75\x4d\x69\x78\x52\x61\x74\x69\x6f");Vy=H.getUniformLocation(this.A,"\x75\x52\x61\x69\x6e\x62\x6f\x77\x46\x61\x63\x74\x6f\x72");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x4d\x69\x72\x72\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x4d\x69\x72\x72\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.P1=function(){HC=this.v.yM();};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x4d\x69\x72\x72\x6f\x72\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform3f(Nk,v4[0],v4[1],v4[2]);H.uniform3f(Xg,0.0,0.0,0.0);H.uniform1i(SG,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,kH.Dz);H.uniform1i(zD,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_CUBE_MAP,HC.Dz);H.uniform4f(Uw,sb[0],sb[1],sb[2],sb[3]);H.uniform1f(Dg,CO);H.uniform1f(Vy,YH);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_CUBE_MAP,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};ZM.prototype=new EL();var aA=function(o){var Yw=B9;var DT=u0;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.rD=null;this.r6=null;this.Yr=null;var YB=null;var lz=null;var a5=null;var Nk=null;var bi=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var PV=null;var _V=null;var b8=null;var re=null;var i6=null;var pb=null;var ZF=null;var ky=null;var WZ=null;var WR=null;var I2=null;var W1=0.03;var ZT=1.0;var Ye=33.0;var ua=0.0;var ae=1.0;var Ec=0.0;var Rl=1.0;this.aN="\x54\x65\x78\x74\x75\x72\x65\x42\x75\x6d\x70";this.v=o;this.tG=true;this.uF=true;this.i8=H.TRIANGLES;this.f0=true;this.fb=function(uC){if(H==null){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x42\x75\x6d\x70\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}var hY=this.v.getBitmapDirectory();switch(uC){case "\x53\x68\x65\x6c\x76\x65\x73":W1=0.03;ZT=1.0;Ye=33.0;ua=0.0;ae=1.0;Ec=0.0;Rl=2.0;I2=this.v.getTexture("\x57\x6f\x6f\x64\x35\x42\x75\x6d\x70");WR=this.v.getTexture(hY+"\x2f\x77\x6f\x6f\x64\x35\x2e\x6a\x70\x67");this.aN="\x53\x68\x65\x6c\x76\x65\x73";break;};if(I2==null){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x42\x75\x6d\x70\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(I2.Na){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x42\x75\x6d\x70\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(WR==null){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x42\x75\x6d\x70\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(WR.Na){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x42\x75\x6d\x70\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.Yr=H.getAttribLocation(this.A,"\x61\x42\x69\x6e\x6f\x72\x6d\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");this.r6=H.getAttribLocation(this.A,"\x61\x54\x61\x6e\x67\x65\x6e\x74\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");PV=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x54\x65\x78\x74\x75\x72\x65");_V=H.getUniformLocation(this.A,"\x75\x4e\x6f\x72\x6d\x61\x6c\x4d\x61\x70");b8=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x53\x63\x61\x6c\x65");re=H.getUniformLocation(this.A,"\x75\x41\x74\x74\x65\x6e\x75\x61\x74\x69\x6f\x6e");i6=H.getUniformLocation(this.A,"\x75\x53\x68\x69\x6e\x69\x6e\x65\x73\x73\x56\x61\x6c");pb=H.getUniformLocation(this.A,"\x75\x53\x70\x65\x63\x75\x6c\x61\x72\x56\x61\x6c");ZF=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x56\x61\x6c");ky=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74\x56\x61\x6c");WZ=H.getUniformLocation(this.A,"\x75\x42\x75\x6d\x70\x69\x6e\x65\x73\x73");bi=H.getUniformLocation(this.A,"\x75\x53\x69\x7a\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x42\x75\x6d\x70\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x42\x75\x6d\x70\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x54\x65\x78\x74\x75\x72\x65\x42\x75\x6d\x70\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.enableVertexAttribArray(this.r6);H.enableVertexAttribArray(this.Yr);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(PV,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,WR.Dz);H.uniform1i(_V,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,I2.Dz);H.uniform1f(b8,W1);H.uniform1f(re,ZT);H.uniform1f(i6,Ye);H.uniform1f(pb,ua);H.uniform1f(ZF,ae);H.uniform1f(ky,Ec);H.uniform1f(WZ,Rl);H.uniform1f(bi,Z.size);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.disableVertexAttribArray(this.r6);H.disableVertexAttribArray(this.Yr);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};aA.prototype=new EL();var bv=function(o){var Yw=MY;var DT=or;var H=o.q9();var oI=o.getLight1Pos();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.rD=null;this.r6=null;this.Yr=null;var YB=null;var lz=null;var a5=null;var XY=null;var Hn=null;var Nk=null;var cT=null;var PV=null;var _V=null;var fR=null;var i6=null;var zt=null;var q2=null;var Wx=null;var WZ=null;var b8=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var Cj=0.0;var iR=0.0;var LD=new Array(0.8,0.8,0.8,1.0);var d3=new Array(0.2,0.2,0.2,1.0);var yo=new Array(0.0,0.0,0.0,1.0);var Rl=1.0;var W1=1.0;this.aN="\x47\x65\x6e\x65\x72\x69\x63\x4e\x6f\x52\x65\x66\x6c\x65\x63\x74";this.v=o;this.tG=true;this.uF=true;this.i8=H.TRIANGLES;this.f0=true;this.Fg=true;this.fb=function(uC){if(H==null){this.v.s("\x43\x6d\x69\x47\x65\x6e\x65\x72\x69\x63\x4e\x6f\x52\x65\x66\x6c\x65\x63\x74\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.Yr=H.getAttribLocation(this.A,"\x61\x42\x69\x6e\x6f\x72\x6d\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");this.r6=H.getAttribLocation(this.A,"\x61\x54\x61\x6e\x67\x65\x6e\x74\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");PV=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x54\x65\x78\x74\x75\x72\x65");_V=H.getUniformLocation(this.A,"\x75\x4e\x6f\x72\x6d\x61\x6c\x4d\x61\x70");fR=H.getUniformLocation(this.A,"\x75\x54\x72\x61\x6e\x73\x70\x61\x72\x65\x6e\x63\x79");i6=H.getUniformLocation(this.A,"\x75\x53\x68\x69\x6e\x69\x6e\x65\x73\x73\x56\x61\x6c");zt=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x43\x6f\x6c\x6f\x72");q2=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74\x43\x6f\x6c\x6f\x72");Wx=H.getUniformLocation(this.A,"\x75\x53\x70\x65\x63\x75\x6c\x61\x72\x43\x6f\x6c\x6f\x72");WZ=H.getUniformLocation(this.A,"\x75\x42\x75\x6d\x70\x69\x6e\x65\x73\x73");b8=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x53\x63\x61\x6c\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x47\x65\x6e\x65\x72\x69\x63\x4e\x6f\x52\x65\x66\x6c\x65\x63\x74\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x47\x65\x6e\x65\x72\x69\x63\x4e\x6f\x52\x65\x66\x6c\x65\x63\x74\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){if(H==null){this.v.s("\x43\x6d\x69\x47\x65\x6e\x65\x72\x69\x63\x4e\x6f\x52\x65\x66\x6c\x65\x63\x74\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){if(Z.Fx){if((Z.Fx.diffuseColor!=undefined)&&(Z.Fx.diffuseColor.length>2)){LD[0]=Z.Fx.diffuseColor[0];LD[1]=Z.Fx.diffuseColor[1];LD[2]=Z.Fx.diffuseColor[2];}if((Z.Fx.specularColor!=undefined)&&(Z.Fx.specularColor.length>2)){yo[0]=Z.Fx.specularColor[0];yo[1]=Z.Fx.specularColor[1];yo[2]=Z.Fx.specularColor[2];}if((Z.Fx.ambientColor!=undefined)&&(Z.Fx.ambientColor.length>2)){d3[0]=Z.Fx.ambientColor[0];d3[1]=Z.Fx.ambientColor[1];d3[2]=Z.Fx.ambientColor[2];}if(Z.Fx.shininessVal!=undefined){iR=parseFloat(Z.Fx.shininessVal);}if(Z.Fx.transparency!=undefined){Cj=parseFloat(Z.Fx.transparency);}if(Z.Fx.bumpiness!=undefined){Rl=parseFloat(Z.Fx.bumpiness);}if(Z.Fx.textureScale!=undefined){W1=parseFloat(Z.Fx.textureScale);}else{W1=1.0;};}if(Z.sO()==true)Rl=0.0;H.useProgram(this.A);if(Cj>0.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else{H.disable(H.BLEND);H.disable(H.CULL_FACE);}H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.enableVertexAttribArray(this.r6);H.enableVertexAttribArray(this.Yr);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(XY,false,this.v.sH());oI=this.v.getLight1Pos();H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(PV,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,Z.WW().Dz);H.uniform1i(_V,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,Z.rZ().Dz);H.uniform1f(fR,Cj);H.uniform1f(i6,iR);H.uniform4f(zt,LD[0],LD[1],LD[2],LD[3]);H.uniform4f(q2,d3[0],d3[1],d3[2],d3[3]);H.uniform4f(Wx,yo[0],yo[1],yo[2],yo[3]);H.uniform1f(b8,W1);H.uniform1f(cT,this.v.j4);H.uniform1f(WZ,Rl);H.uniformMatrix4fv(Hn,false,this.v.Oo);H.uniform1i(x8,this.v.Wh);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.Oo);return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.disableVertexAttribArray(this.r6);H.disableVertexAttribArray(this.Yr);H.disable(H.CULL_FACE);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};bv.prototype=new EL();var iw=function(o){var Yw=ww;var DT=Zx;var H=o.q9();var oI=o.getLight1Pos();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.rD=null;this.r6=null;this.Yr=null;var YB=null;var lz=null;var a5=null;var XY=null;var Hn=null;var Nk=null;var cT=null;var Ni=null;var Jj=null;var Vc=null;var PV=null;var _V=null;var fR=null;var i6=null;var zt=null;var q2=null;var Wx=null;var WZ=null;var b8=null;var x8=null;var zD=null;var I5=null;var Jk=null;var Y0=null;var Cj=0.0;var iR=0.0;var LD=new Array(0.8,0.8,0.8,1.0);var d3=new Array(0.2,0.2,0.2,1.0);var yo=new Array(0.0,0.0,0.0,1.0);var Rl=1.0;var W1=1.0;var HD=0.0;var HC=null;var XZ=null;var IB=null;this.aN="\x47\x65\x6e\x65\x72\x69\x63";this.v=o;this.tG=true;this.uF=true;this.i8=H.TRIANGLES;this.f0=true;this.Fg=true;this.fb=function(uC){if(H==null){this.v.s("\x43\x6d\x69\x47\x65\x6e\x65\x72\x69\x63\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}HC=this.v.yM();XZ=this.v.getTexture("\x44\x75\x6d\x6d\x79\x54\x65\x78\x74\x75\x72\x65");IB=this.v.getTexture("\x44\x75\x6d\x6d\x79\x43\x75\x62\x65\x54\x65\x78\x74\x75\x72\x65");if(HC==null){this.v.s("\x43\x6d\x69\x47\x65\x6e\x65\x72\x69\x63\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x63\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(HC.Na){this.v.s("\x43\x6d\x69\x47\x65\x6e\x65\x72\x69\x63\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x43\x75\x62\x65\x20\x74\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.Yr=H.getAttribLocation(this.A,"\x61\x42\x69\x6e\x6f\x72\x6d\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");this.r6=H.getAttribLocation(this.A,"\x61\x54\x61\x6e\x67\x65\x6e\x74\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");PV=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x54\x65\x78\x74\x75\x72\x65");_V=H.getUniformLocation(this.A,"\x75\x4e\x6f\x72\x6d\x61\x6c\x4d\x61\x70");fR=H.getUniformLocation(this.A,"\x75\x54\x72\x61\x6e\x73\x70\x61\x72\x65\x6e\x63\x79");i6=H.getUniformLocation(this.A,"\x75\x53\x68\x69\x6e\x69\x6e\x65\x73\x73\x56\x61\x6c");zt=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x43\x6f\x6c\x6f\x72");q2=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74\x43\x6f\x6c\x6f\x72");Wx=H.getUniformLocation(this.A,"\x75\x53\x70\x65\x63\x75\x6c\x61\x72\x43\x6f\x6c\x6f\x72");WZ=H.getUniformLocation(this.A,"\x75\x42\x75\x6d\x70\x69\x6e\x65\x73\x73");b8=H.getUniformLocation(this.A,"\x75\x54\x65\x78\x74\x75\x72\x65\x53\x63\x61\x6c\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");zD=H.getUniformLocation(this.A,"\x75\x45\x6e\x76\x4d\x61\x70");I5=H.getUniformLocation(this.A,"\x75\x45\x6e\x76\x46\x61\x63\x74\x6f\x72");Jk=H.getUniformLocation(this.A,"\x75\x53\x69\x7a\x65\x56\x61\x6c");Y0=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x47\x65\x6e\x65\x72\x69\x63\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x47\x65\x6e\x65\x72\x69\x63\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.P1=function(){HC=this.v.yM();};this.Np=function(Z,gw){if(H==null){this.v.s("\x43\x6d\x69\x47\x65\x6e\x65\x72\x69\x63\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){if(Z.Fx){if((Z.Fx.diffuseColor!=undefined)&&(Z.Fx.diffuseColor.length>2)){LD[0]=Z.Fx.diffuseColor[0];LD[1]=Z.Fx.diffuseColor[1];LD[2]=Z.Fx.diffuseColor[2];}if((Z.Fx.specularColor!=undefined)&&(Z.Fx.specularColor.length>2)){yo[0]=Z.Fx.specularColor[0];yo[1]=Z.Fx.specularColor[1];yo[2]=Z.Fx.specularColor[2];}if((Z.Fx.ambientColor!=undefined)&&(Z.Fx.ambientColor.length>2)){d3[0]=Z.Fx.ambientColor[0];d3[1]=Z.Fx.ambientColor[1];d3[2]=Z.Fx.ambientColor[2];}if(Z.Fx.shininessVal!=undefined){iR=parseFloat(Z.Fx.shininessVal);}if(Z.Fx.transparency!=undefined){Cj=parseFloat(Z.Fx.transparency);}if(Z.Fx.bumpiness!=undefined){Rl=parseFloat(Z.Fx.bumpiness);}if(Z.Fx.textureScale!=undefined){W1=parseFloat(Z.Fx.textureScale);}else{W1=1.0;}if(Z.Fx.envFactor!=undefined){HD=parseFloat(Z.Fx.envFactor);}}if(Z.sO()==true)Rl=0.0;H.useProgram(this.A);H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);if(Cj>0.0){H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else{H.disable(H.CULL_FACE);}H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.enableVertexAttribArray(this.r6);H.enableVertexAttribArray(this.Yr);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(XY,false,this.v.sH());oI=this.v.getLight1Pos();H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(PV,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,Z.WW().Dz);if(Rl!=0.0){H.uniform1i(_V,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,Z.rZ().Dz);}else{H.uniform1i(_V,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,XZ.Dz);}if(HD!=0.0){H.uniform1i(zD,2);H.activeTexture(H.TEXTURE2);H.bindTexture(H.TEXTURE_CUBE_MAP,HC.Dz);}else{H.uniform1i(zD,2);H.activeTexture(H.TEXTURE2);H.bindTexture(H.TEXTURE_CUBE_MAP,IB.Dz);}H.uniform1f(fR,Cj);H.uniform1f(i6,iR);H.uniform4f(zt,LD[0],LD[1],LD[2],LD[3]);H.uniform4f(q2,d3[0],d3[1],d3[2],d3[3]);H.uniform4f(Wx,yo[0],yo[1],yo[2],yo[3]);H.uniform1f(b8,W1);H.uniform1f(cT,this.v.j4);H.uniform1f(WZ,Rl);H.uniformMatrix4fv(Hn,false,this.v.Oo);H.uniform1i(x8,this.v.Wh);H.uniform1f(Jk,10.0);H.uniform1f(I5,HD);if(Z.ME()==true)H.uniform1i(Y0,1);else H.uniform1i(Y0,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.Oo);return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.disableVertexAttribArray(this.r6);H.disableVertexAttribArray(this.Yr);H.disable(H.CULL_FACE);H.activeTexture(H.TEXTURE2);H.bindTexture(H.TEXTURE_CUBE_MAP,null);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};iw.prototype=new EL();var MR=function(o){var Yw=jl;var DT=fs;var H=o.q9();var oI=o.getLight1Pos();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;this.rD=null;this.r6=null;this.Yr=null;var YB=null;var lz=null;var a5=null;var XY=null;var Hn=null;var Nk=null;var cT=null;var Ni=null;var Jj=null;var Vc=null;var PV=null;var _V=null;var fR=null;var i6=null;var zt=null;var q2=null;var Wx=null;var WZ=null;var x8=null;var Cj=0.0;var iR=0.0;var LD=new Array(0.8,0.8,0.8,1.0);var d3=new Array(0.2,0.2,0.2,1.0);var yo=new Array(0.0,0.0,0.0,1.0);var Rl=1.0;this.aN="\x57\x61\x76\x65\x66\x72\x6f\x6e\x74\x42\x75\x6d\x70";this.v=o;this.tG=true;this.uF=true;this.i8=H.TRIANGLES;this.f0=true;this.Fg=true;this.fb=function(uC){if(H==null){this.v.s("\x43\x6d\x69\x57\x61\x76\x65\x66\x72\x6f\x6e\x74\x42\x75\x6d\x70\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.Yr=H.getAttribLocation(this.A,"\x61\x42\x69\x6e\x6f\x72\x6d\x61\x6c\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");this.rD=H.getAttribLocation(this.A,"\x61\x54\x65\x78\x74\x75\x72\x65\x43\x6f\x6f\x72\x64");this.r6=H.getAttribLocation(this.A,"\x61\x54\x61\x6e\x67\x65\x6e\x74\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");PV=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x54\x65\x78\x74\x75\x72\x65");_V=H.getUniformLocation(this.A,"\x75\x4e\x6f\x72\x6d\x61\x6c\x4d\x61\x70");fR=H.getUniformLocation(this.A,"\x75\x54\x72\x61\x6e\x73\x70\x61\x72\x65\x6e\x63\x79");i6=H.getUniformLocation(this.A,"\x75\x53\x68\x69\x6e\x69\x6e\x65\x73\x73\x56\x61\x6c");zt=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x43\x6f\x6c\x6f\x72");q2=H.getUniformLocation(this.A,"\x75\x41\x6d\x62\x69\x65\x6e\x74\x43\x6f\x6c\x6f\x72");Wx=H.getUniformLocation(this.A,"\x75\x53\x70\x65\x63\x75\x6c\x61\x72\x43\x6f\x6c\x6f\x72");WZ=H.getUniformLocation(this.A,"\x75\x42\x75\x6d\x70\x69\x6e\x65\x73\x73");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x57\x61\x76\x65\x66\x72\x6f\x6e\x74\x42\x75\x6d\x70\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x57\x61\x76\x65\x66\x72\x6f\x6e\x74\x42\x75\x6d\x70\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){if(H==null){this.v.s("\x43\x6d\x69\x57\x61\x76\x65\x66\x72\x6f\x6e\x74\x42\x75\x6d\x70\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){if(Z.Fx){if((Z.Fx.diffuseColor!=undefined)&&(Z.Fx.diffuseColor.length>2)){LD[0]=Z.Fx.diffuseColor[0];LD[1]=Z.Fx.diffuseColor[1];LD[2]=Z.Fx.diffuseColor[2];}if((Z.Fx.specularColor!=undefined)&&(Z.Fx.specularColor.length>2)){yo[0]=Z.Fx.specularColor[0];yo[1]=Z.Fx.specularColor[1];yo[2]=Z.Fx.specularColor[2];}if((Z.Fx.ambientColor!=undefined)&&(Z.Fx.ambientColor.length>2)){d3[0]=Z.Fx.ambientColor[0];d3[1]=Z.Fx.ambientColor[1];d3[2]=Z.Fx.ambientColor[2];}if(Z.Fx.shininessVal!=undefined){iR=parseFloat(Z.Fx.shininessVal);}if(Z.Fx.transparency!=undefined){Cj=parseFloat(Z.Fx.transparency);}}if(Z.sO()==true)Rl=0.0;else Rl=1.0;H.useProgram(this.A);if(Cj>0.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else{H.disable(H.BLEND);H.disable(H.CULL_FACE);}H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.enableVertexAttribArray(this.rD);H.enableVertexAttribArray(this.r6);H.enableVertexAttribArray(this.Yr);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.Oo);oI=this.v.getLight1Pos();H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(PV,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,Z.WW().Dz);H.uniform1i(_V,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,Z.rZ().Dz);H.uniform1f(fR,Cj);H.uniform1f(i6,iR);H.uniform4f(zt,LD[0],LD[1],LD[2],LD[3]);H.uniform4f(q2,d3[0],d3[1],d3[2],d3[3]);H.uniform4f(Wx,yo[0],yo[1],yo[2],yo[3]);H.uniform1f(cT,this.v.j4);H.uniform1f(WZ,Rl);H.uniform1i(x8,this.v.Wh);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.Oo);return 0;};this.PL=function(gw){H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.disableVertexAttribArray(this.rD);H.disableVertexAttribArray(this.r6);H.disableVertexAttribArray(this.Yr);H.disable(H.CULL_FACE);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};MR.prototype=new EL();var uK=function(o){var Yw=OO;var DT=hx;var H=o.q9();var sb=null;var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var f_=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var rC=null;var o9=null;var cS=null;var Jv=new Array(0.75,0.75,1.0,1.0);var Jw=0.4;var MT=0.8;this.aN="\x43\x61\x72\x74\x6f\x6f\x6e";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.Iw=function(newValue){if((newValue)&&(newValue.length>=4)){Jv[0]=newValue[0];Jv[1]=newValue[1];Jv[2]=newValue[2];Jv[3]=newValue[3];return 0;}return-1;};this.aG=function(newValue){if(newValue){Jw=newValue;return 0;}return-1;};this.aG=function(newValue){if(newValue){MT=newValue;return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x43\x61\x72\x74\x6f\x6f\x6e\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");f_=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x43\x6f\x6c\x6f\x72");rC=H.getUniformLocation(this.A,"\x75\x50\x68\x6f\x6e\x67\x43\x6f\x6c\x6f\x72");o9=H.getUniformLocation(this.A,"\x75\x45\x64\x67\x65");cS=H.getUniformLocation(this.A,"\x75\x50\x68\x6f\x6e\x67");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x43\x61\x72\x74\x6f\x6f\x6e\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x43\x61\x72\x74\x6f\x6f\x6e\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x43\x61\x72\x74\x6f\x6f\x6e\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform4f(f_,sb[0],sb[1],sb[2],sb[3]);H.uniform4f(rC,Jv[0],Jv[1],Jv[2],Jv[3]);H.uniform1f(o9,Jw);H.uniform1f(cS,MT);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.useProgram(null);return 0;};};uK.prototype=new EL();var i4=function(o){var Yw=ng;var DT=iA;var H=o.q9();var sb=null;var Ni=null;var Jj=null;var Vc=null;this.LX=null;this.W=null;var YB=null;var lz=null;var a5=null;var VC=null;var Uw=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var tT=null;var gp=null;var Ud=null;var si=null;var t_=new Array(-100.0,0.0,0.0,1.0);var yD=new Array(100.0,-100.0,0.0,1.0);var tU=new Array(0.0,0.0,100.0,1.0);this.aN="\x4d\x65\x74\x61\x6c\x6c\x69\x63\x43\x61\x72\x74\x6f\x6f\x6e";this.v=o;this.i8=H.TRIANGLES;this.f0=true;this.QA=function(newValue){if((newValue)&&(newValue.length>=3)){t_[0]=newValue[0];t_[1]=newValue[1];t_[2]=newValue[2];return 0;}return-1;};this.setLight1Pos=function(newValue){if((newValue)&&(newValue.length>=3)){yD[0]=newValue[0];yD[1]=newValue[1];yD[2]=newValue[2];return 0;}return-1;};this.iE=function(newValue){if((newValue)&&(newValue.length>=3)){tU[0]=newValue[0];tU[1]=newValue[1];tU[2]=newValue[2];return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x4d\x65\x74\x61\x6c\x6c\x69\x63\x43\x61\x72\x74\x6f\x6f\x6e\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}tT=this.v.getTexture("\x4d\x65\x74\x61\x6c\x6c\x69\x63\x4f\x75\x74\x6c\x69\x6e\x65");if(tT==null){this.v.s("\x43\x6d\x69\x4d\x65\x74\x61\x6c\x6c\x69\x63\x43\x61\x72\x74\x6f\x6f\x6e\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(tT.Na){this.v.s("\x43\x6d\x69\x4d\x65\x74\x61\x6c\x6c\x69\x63\x43\x61\x72\x74\x6f\x6f\x6e\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");lz=H.getUniformLocation(this.A,"\x75\x4d\x56\x49\x6e\x76\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");gp=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x30");Ud=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x31");si=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x32");VC=H.getUniformLocation(this.A,"\x75\x4f\x75\x74\x6c\x69\x6e\x65");Uw=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x4d\x65\x74\x61\x6c\x6c\x69\x63\x43\x61\x72\x74\x6f\x6f\x6e\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x4d\x65\x74\x61\x6c\x6c\x69\x63\x43\x61\x72\x74\x6f\x6f\x6e\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x4d\x65\x74\x61\x6c\x6c\x69\x63\x43\x61\x72\x74\x6f\x6f\x6e\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniform4f(gp,t_[0],t_[1],t_[2],t_[3]);H.uniform4f(Ud,yD[0],yD[1],yD[2],yD[3]);H.uniform4f(si,tU[0],tU[1],tU[2],tU[3]);H.uniform1i(VC,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,tT.Dz);H.uniform4f(Uw,sb[0],sb[1],sb[2],sb[3]);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(lz,false,this.v.BV());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};i4.prototype=new EL();var A0=function(o){var jt=FP;var yb=zL;var PB=fk;var nY=yN;var xg=null;var Xa=null;var O4=null;var M6=null;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var M9=null;var K1=null;var LN=null;var dj=null;var eC=null;var Nk=null;var cT=null;var Hn=null;var x8=null;var NT=null;var m1=null;var LV=null;var MB=null;var YS=null;var Ni=null;var Jj=null;var Vc=null;var kW=null;var kb=null;var Us=null;var XP=null;var _6=new Array(0.8,0.8,0.8,1.0);var gA=new Array(0.2,0.2,0.2,1.0);var ni=0.45;var Ct=0.45;var Ir=new Array(0.0,0.0,0.0,1.0);this.aN="\x41\x64\x76\x61\x6e\x63\x65\x64\x47\x6f\x6f\x63\x68";this.v=o;this.i8=H.TRIANGLES;this.oB=2;this.Fg=true;this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x41\x64\x76\x61\x6e\x63\x65\x64\x47\x6f\x6f\x63\x68\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}try{this.A=e4(H,jt,yb);xg=e4(H,PB,nY);if((this.A!=null)&&(xg!=null)){this.usable=true;H.useProgram(this.A);M9=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");K1=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");LN=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");dj=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");eC=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");NT=H.getUniformLocation(this.A,"\x75\x53\x75\x72\x66\x61\x63\x65\x43\x6f\x6c\x6f\x72");m1=H.getUniformLocation(this.A,"\x75\x57\x61\x72\x6d\x43\x6f\x6c\x6f\x72");LV=H.getUniformLocation(this.A,"\x75\x43\x6f\x6f\x6c\x43\x6f\x6c\x6f\x72");MB=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x57\x61\x72\x6d");YS=H.getUniformLocation(this.A,"\x75\x44\x69\x66\x66\x75\x73\x65\x43\x6f\x6f\x6c");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");H.useProgram(xg);kW=H.getAttribLocation(xg,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");kb=H.getUniformLocation(xg,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");Us=H.getUniformLocation(xg,"\x75\x50\x4d\x61\x74\x72\x69\x78");XP=H.getUniformLocation(xg,"\x75\x43\x6f\x6c\x6f\x72\x31");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x41\x64\x76\x61\x6e\x63\x65\x64\x47\x6f\x6f\x63\x68\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x41\x64\x76\x61\x6e\x63\x65\x64\x47\x6f\x6f\x63\x68\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x41\x64\x76\x61\x6e\x63\x65\x64\x47\x6f\x6f\x63\x68\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);switch(gw){case 0:Xa=H.getParameter(H.CULL_FACE);O4=H.getParameter(H.DEPTH_FUNC);H.enable(H.CULL_FACE);H.cullFace(H.BACK);H.depthFunc(H.LESS);this.i8=H.TRIANGLES;this.LX=M9;this.W=K1;H.useProgram(this.A);H.enableVertexAttribArray(M9);H.enableVertexAttribArray(K1);H.uniformMatrix4fv(eC,false,this.v.uf());H.uniformMatrix4fv(LN,false,this.v.jD());H.uniformMatrix4fv(dj,false,this.v.sH());H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform4f(NT,_6[0],_6[1],_6[2],_6[3]);H.uniform4f(m1,sb[0],sb[1],sb[2],sb[3]);H.uniform4f(LV,gA[0],gA[1],gA[2],gA[3]);H.uniform1f(MB,ni);H.uniform1f(YS,Ct);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}break;case 1:M6=H.getParameter(H.LINE_WIDTH);H.enable(H.CULL_FACE);H.cullFace(H.FRONT);H.depthFunc(H.LEQUAL);this.i8=H.LINES;H.lineWidth(4.0);this.W=kW;H.useProgram(xg);H.enableVertexAttribArray(kW);H.uniformMatrix4fv(Us,false,this.v.uf());H.uniformMatrix4fv(kb,false,this.v.jD());H.uniform4f(XP,Ir[0],Ir[1],Ir[2],Ir[3]);break;};return 0;}else return-1;};this.hE=function(){H.disable(H.CULL_FACE);H.uniformMatrix4fv(eC,false,this.v.uf());H.uniformMatrix4fv(LN,false,this.v.jD());H.uniformMatrix4fv(dj,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniformMatrix4fv(Us,false,this.v.uf());H.uniformMatrix4fv(kb,false,this.v.jD());return 0;};this.PL=function(gw){switch(gw){case 0:H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);this.LX=null;this.W=null;H.useProgram(null);break;case 1:this.i8=H.TRIANGLES;H.disable(H.CULL_FACE);H.depthFunc(O4);H.lineWidth(M6);H.disableVertexAttribArray(this.W);this.W=null;H.useProgram(null);break;};return 0;};};A0.prototype=new EL();var BG=function(o){var Yw=Oz;var DT=G3;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var Nk=null;var U8=null;var uM=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var Zv=null;var K4=null;var XV=null;var n4=null;var Mj=null;var VX=null;var Dp=null;var t0=null;var SQ=0.025;var Du=0.89;var a8=0.66;var zv=new Array(0.5,0.27,0.0,7.0);var In=new Array(0.9,0.6,0.2,1.0);var GU=6.72;var V6=0.96;var K7=2.2;this.aN="\x50\x72\x6f\x63\x65\x64\x75\x72\x61\x6c\x57\x6f\x6f\x64";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.setScale=function(newValue){if(newValue){SQ=newValue;return 0;}return-1;};this.Q1=function(newValue){if(newValue){Du=newValue;return 0;}return-1;};this._S=function(newValue){if(newValue){a8=newValue;return 0;}return-1;};this.ht=function(newValue){if((newValue)&&(newValue.length>=4)){zv[0]=newValue[0];zv[1]=newValue[1];zv[2]=newValue[2];zv[3]=newValue[3];return 0;}return-1;};this.tr=function(newValue){if((newValue)&&(newValue.length>=4)){In[0]=newValue[0];In[1]=newValue[1];In[2]=newValue[2];In[3]=newValue[3];return 0;}return-1;};this.mN=function(newValue){if(newValue){GU=newValue;return 0;}return-1;};this.mN=function(newValue){if(newValue){V6=newValue;return 0;}return-1;};this.OF=function(newValue){if(newValue){K7=newValue;return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x50\x72\x6f\x63\x65\x64\x75\x72\x61\x6c\x57\x6f\x6f\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}uM=this.v.getTexture("\x4e\x6f\x69\x73\x65\x33\x44");if(uM==null){this.v.s("\x43\x6d\x69\x50\x72\x6f\x63\x65\x64\x75\x72\x61\x6c\x57\x6f\x6f\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(uM.Na){this.v.s("\x43\x6d\x69\x50\x72\x6f\x63\x65\x64\x75\x72\x61\x6c\x57\x6f\x6f\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Zv=H.getUniformLocation(this.A,"\x75\x53\x63\x61\x6c\x65");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");K4=H.getUniformLocation(this.A,"\x75\x4b\x64");XV=H.getUniformLocation(this.A,"\x75\x4b\x73");n4=H.getUniformLocation(this.A,"\x75\x44\x61\x72\x6b\x57\x6f\x6f\x64");Mj=H.getUniformLocation(this.A,"\x75\x4c\x69\x74\x65\x57\x6f\x6f\x64");VX=H.getUniformLocation(this.A,"\x75\x46\x72\x65\x71\x75\x65\x6e\x63\x79");Dp=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65\x53\x63\x61\x6c\x65");t0=H.getUniformLocation(this.A,"\x75\x52\x69\x6e\x67\x53\x63\x61\x6c\x65");U8=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x50\x72\x6f\x63\x65\x64\x75\x72\x61\x6c\x57\x6f\x6f\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x50\x72\x6f\x63\x65\x64\x75\x72\x61\x6c\x57\x6f\x6f\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x50\x72\x6f\x63\x65\x64\x75\x72\x61\x6c\x57\x6f\x6f\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform1f(Zv,SQ);H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1f(K4,Du);H.uniform1f(XV,a8);H.uniform4f(n4,zv[0],zv[1],zv[2],zv[3]);H.uniform4f(Mj,In[0],In[1],In[2],In[3]);H.uniform1f(VX,GU);H.uniform1f(Dp,V6);H.uniform1f(t0,K7);H.uniform1i(U8,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,uM.Dz);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};BG.prototype=new EL();var eZ=function(o){var Yw=vS;var DT=sT;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var bi=null;var U8=null;var uM=null;var HW=null;var xc=null;var Nk=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var Dr=null;var ra=null;var XV=null;var wp=null;var K4=null;var HQ=null;var Xm=null;var et=new Array(1.0,1.0,1.0,1.0);var FX=0.1;var a8=new Array(0.79,0.79,0.79,1.0);var IT=new Array(0.93,0.93,0.93,1.0);var Du=new Array(0.83,0.83,0.83,1.0);var jV=1.0;var L7=new Array(0.8,0.8,0.8,1.0);this.aN="\x42\x6c\x75\x65\x4d\x61\x72\x62\x6c\x65";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.ZB=function(newValue){if((newValue)&&(newValue.length>=4)){et[0]=newValue[0];et[1]=newValue[1];et[2]=newValue[2];et[3]=newValue[3];return 0;}return-1;};this.qN=function(newValue){if(newValue){FX=newValue;return 0;}return-1;};this.Po=function(newValue){if((newValue)&&(newValue.length>=4)){a8[0]=newValue[0];a8[1]=newValue[1];a8[2]=newValue[2];a8[3]=newValue[3];return 0;}return-1;};this.WK=function(newValue){if((newValue)&&(newValue.length>=4)){IT[0]=newValue[0];IT[1]=newValue[1];IT[2]=newValue[2];IT[3]=newValue[3];return 0;}return-1;};this.kj=function(newValue){if((newValue)&&(newValue.length>=4)){Du[0]=newValue[0];Du[1]=newValue[1];Du[2]=newValue[2];Du[3]=newValue[3];return 0;}return-1;};this.RR=function(newValue){if(newValue){jV=newValue;return 0;}return-1;};this._A=function(newValue){if((newValue)&&(newValue.length>=4)){L7[0]=newValue[0];L7[1]=newValue[1];L7[2]=newValue[2];L7[3]=newValue[3];return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x42\x6c\x75\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}xc=this.v.getTexture("\x42\x6c\x75\x65\x53\x70\x6c\x69\x6e\x65");uM=this.v.getTexture("\x4e\x6f\x69\x73\x65\x33\x44");if(xc==null){this.v.s("\x43\x6d\x69\x42\x6c\x75\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(xc.Na){this.v.s("\x43\x6d\x69\x42\x6c\x75\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(uM==null){this.v.s("\x43\x6d\x69\x42\x6c\x75\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(uM.Na){this.v.s("\x43\x6d\x69\x42\x6c\x75\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");bi=H.getUniformLocation(this.A,"\x75\x53\x69\x7a\x65");Dr=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x43\x6f\x6c\x6f\x72");ra=H.getUniformLocation(this.A,"\x75\x52\x6f\x75\x67\x68");XV=H.getUniformLocation(this.A,"\x75\x4b\x73");wp=H.getUniformLocation(this.A,"\x75\x4b\x61");K4=H.getUniformLocation(this.A,"\x75\x4b\x64");HQ=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65\x41\x6d\x70");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");Xm=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x41\x6d\x62");HW=H.getUniformLocation(this.A,"\x75\x4d\x61\x72\x62\x6c\x65\x53\x70\x6c\x69\x6e\x65");U8=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x42\x6c\x75\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x42\x6c\x75\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x42\x6c\x75\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform1f(bi,Z.size);H.uniform4f(Dr,et[0],et[1],et[2],et[3]);H.uniform1f(ra,FX);H.uniform4f(XV,a8[0],a8[1],a8[2],a8[3]);H.uniform4f(wp,IT[0],IT[1],IT[2],IT[3]);H.uniform4f(K4,Du[0],Du[1],Du[2],Du[3]);H.uniform1f(HQ,jV);H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform4f(Xm,L7[0],L7[1],L7[2],L7[3]);H.uniform1i(HW,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,xc.Dz);H.uniform1i(U8,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,uM.Dz);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};eZ.prototype=new EL();var VM=function(o){var Yw=GO;var DT=OI;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var Nk=null;var U8=null;var uM=null;var bi=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var sW=null;var Dr=null;var wp=null;var K4=null;var D0=new Array(0.9,0.9,0.9,1.0);var et=new Array(1.0,1.0,1.0,1.0);var IT=new Array(0.93,0.93,0.93,1.0);var Du=new Array(0.83,0.83,0.83,1.0);this.aN="\x47\x72\x61\x6e\x69\x74\x65";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.ZB=function(newValue){if((newValue)&&(newValue.length>=4)){D0[0]=newValue[0];D0[1]=newValue[1];D0[2]=newValue[2];D0[3]=newValue[3];return 0;}return-1;};this.ZB=function(newValue){if((newValue)&&(newValue.length>=4)){et[0]=newValue[0];et[1]=newValue[1];et[2]=newValue[2];et[3]=newValue[3];return 0;}return-1;};this.WK=function(newValue){if((newValue)&&(newValue.length>=4)){IT[0]=newValue[0];IT[1]=newValue[1];IT[2]=newValue[2];IT[3]=newValue[3];return 0;}return-1;};this.kj=function(newValue){if((newValue)&&(newValue.length>=4)){Du[0]=newValue[0];Du[1]=newValue[1];Du[2]=newValue[2];Du[3]=newValue[3];return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x47\x72\x61\x6e\x69\x74\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}uM=this.v.getTexture("\x4e\x6f\x69\x73\x65\x33\x44");if(uM==null){this.v.s("\x43\x6d\x69\x47\x72\x61\x6e\x69\x74\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(uM.Na){this.v.s("\x43\x6d\x69\x47\x72\x61\x6e\x69\x74\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");bi=H.getUniformLocation(this.A,"\x75\x53\x69\x7a\x65");sW=H.getUniformLocation(this.A,"\x75\x47\x72\x61\x6e\x69\x74\x65\x43\x6f\x6c\x6f\x72");Dr=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x43\x6f\x6c\x6f\x72");wp=H.getUniformLocation(this.A,"\x75\x4b\x61");K4=H.getUniformLocation(this.A,"\x75\x4b\x64");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");U8=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x47\x72\x61\x6e\x69\x74\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x47\x72\x61\x6e\x69\x74\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x47\x72\x61\x6e\x69\x74\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform1f(bi,Z.size);H.uniform4f(sW,D0[0],D0[1],D0[2],D0[3]);H.uniform4f(Dr,et[0],et[1],et[2],et[3]);H.uniform4f(wp,IT[0],IT[1],IT[2],IT[3]);H.uniform4f(K4,Du[0],Du[1],Du[2],Du[3]);H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform1i(U8,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,uM.Dz);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};VM.prototype=new EL();var iz=function(o){var Yw=Ki;var DT=oe;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var bi=null;var HW=null;var xc=null;var U8=null;var uM=null;var Nk=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var Dr=null;var wp=null;var K4=null;var HQ=null;var Xm=null;var et=new Array(1.0,1.0,1.0,1.0);var IT=new Array(0.93,0.93,0.93,1.0);var Du=new Array(0.83,0.83,0.83,1.0);var jV=1.0;var L7=new Array(0.5,0.5,0.5,1.0);this.aN="\x4d\x75\x73\x67\x72\x61\x76\x65\x53\x74\x72\x61\x74\x61";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.ZB=function(newValue){if((newValue)&&(newValue.length>=4)){et[0]=newValue[0];et[1]=newValue[1];et[2]=newValue[2];et[3]=newValue[3];return 0;}return-1;};this.WK=function(newValue){if((newValue)&&(newValue.length>=4)){IT[0]=newValue[0];IT[1]=newValue[1];IT[2]=newValue[2];IT[3]=newValue[3];return 0;}return-1;};this.kj=function(newValue){if((newValue)&&(newValue.length>=4)){Du[0]=newValue[0];Du[1]=newValue[1];Du[2]=newValue[2];Du[3]=newValue[3];return 0;}return-1;};this.RR=function(newValue){if(newValue){jV=newValue;return 0;}return-1;};this._A=function(newValue){if((newValue)&&(newValue.length>=4)){L7[0]=newValue[0];L7[1]=newValue[1];L7[2]=newValue[2];L7[3]=newValue[3];return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x4d\x75\x73\x67\x72\x61\x76\x65\x53\x74\x72\x61\x74\x61\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}xc=this.v.getTexture("\x53\x74\x72\x61\x74\x61\x53\x70\x6c\x69\x6e\x65");uM=this.v.getTexture("\x4e\x6f\x69\x73\x65\x33\x44");if(xc==null){this.v.s("\x43\x6d\x69\x4d\x75\x73\x67\x72\x61\x76\x65\x53\x74\x72\x61\x74\x61\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(xc.Na){this.v.s("\x43\x6d\x69\x4d\x75\x73\x67\x72\x61\x76\x65\x53\x74\x72\x61\x74\x61\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(uM==null){this.v.s("\x43\x6d\x69\x4d\x75\x73\x67\x72\x61\x76\x65\x53\x74\x72\x61\x74\x61\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(uM.Na){this.v.s("\x43\x6d\x69\x4d\x75\x73\x67\x72\x61\x76\x65\x53\x74\x72\x61\x74\x61\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");bi=H.getUniformLocation(this.A,"\x75\x53\x69\x7a\x65");Dr=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x43\x6f\x6c\x6f\x72");wp=H.getUniformLocation(this.A,"\x75\x4b\x61");K4=H.getUniformLocation(this.A,"\x75\x4b\x64");HQ=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65\x41\x6d\x70");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");Xm=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x41\x6d\x62");HW=H.getUniformLocation(this.A,"\x75\x4d\x61\x72\x62\x6c\x65\x53\x70\x6c\x69\x6e\x65");U8=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x4d\x75\x73\x67\x72\x61\x76\x65\x53\x74\x72\x61\x74\x61\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x4d\x75\x73\x67\x72\x61\x76\x65\x53\x74\x72\x61\x74\x61\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x4d\x75\x73\x67\x72\x61\x76\x65\x53\x74\x72\x61\x74\x61\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform1f(bi,Z.size);H.uniform4f(Dr,et[0],et[1],et[2],et[3]);H.uniform4f(wp,IT[0],IT[1],IT[2],IT[3]);H.uniform4f(K4,Du[0],Du[1],Du[2],Du[3]);H.uniform1f(HQ,jV);H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform4f(Xm,L7[0],L7[1],L7[2],L7[3]);H.uniform1i(HW,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,xc.Dz);H.uniform1i(U8,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,uM.Dz);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,null);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};iz.prototype=new EL();var qJ=function(o){var Yw=zw;var DT=uH;var H=o.q9();var sb=null;var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var U8=null;var uM=null;var VZ=null;var ft=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var Zv=null;var aF=null;var Dp=null;var aV=null;var SQ=0.05;var za=0.68;var V6=0.07;var lu=10.0;this.aN="\x50\x6c\x61\x69\x64";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.setScale=function(newValue){if(newValue){SQ=newValue;return 0;}return-1;};this.mQ=function(newValue){if(newValue){za=newValue;return 0;}return-1;};this.FC=function(newValue){if(newValue){V6=newValue;return 0;}return-1;};this.OX=function(newValue){if(newValue){lu=newValue;return 0;}return-1;};this.fb=function(uC){if(H==null){this.v.s("\x43\x6d\x69\x50\x6c\x61\x69\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}uM=this.v.getTexture("\x4e\x6f\x69\x73\x65\x33\x44");if(uM==null){this.v.s("\x43\x6d\x69\x50\x6c\x61\x69\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(uM.Na){this.v.s("\x43\x6d\x69\x50\x6c\x61\x69\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}switch(uC){case "\x42\x61\x74\x69\x6b":SQ=0.05;za=0.68;V6=1.1;lu=10.0;this.aN="\x42\x61\x74\x69\x6b";break;default:SQ=0.05;za=0.68;V6=0.07;lu=10.0;this.aN="\x50\x6c\x61\x69\x64";break;};try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Zv=H.getUniformLocation(this.A,"\x75\x53\x63\x61\x6c\x65");aF=H.getUniformLocation(this.A,"\x75\x53\x68\x65\x65\x6e");Dp=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65\x53\x63\x61\x6c\x65");aV=H.getUniformLocation(this.A,"\x75\x46\x75\x72\x72\x69\x6e\x65\x73\x73");VZ=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x44\x69\x72");ft=H.getUniformLocation(this.A,"\x75\x43\x6f\x6c\x6f\x72");U8=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x50\x6c\x61\x69\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x50\x6c\x61\x69\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x50\x6c\x61\x69\x64\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform1f(Zv,SQ);H.uniform1f(aF,za);H.uniform1f(Dp,V6);H.uniform1f(aV,lu);H.uniform3f(VZ,0.26,0.26,-0.9);H.uniform4f(ft,sb[0],sb[1],sb[2],1.0);H.uniform1i(U8,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,uM.Dz);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};qJ.prototype=new EL();var ki=function(o){var Yw=H5;var DT=Vr;var H=o.q9();var sb=null;var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var ft=null;var U8=null;var uM=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var Gc=null;var oJ=null;var Dp=null;var W2=0.06;var gX=0.016;var V6=0.64;this.aN="\x52\x61\x67";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.de=function(newValue){if(newValue){W2=newValue;return 0;}return-1;};this.MQ=function(newValue){if(newValue){gX=newValue;return 0;}return-1;};this.FC=function(newValue){if(newValue){V6=newValue;return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x52\x61\x67\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}uM=this.v.getTexture("\x4e\x6f\x69\x73\x65\x33\x44");if(uM==null){this.v.s("\x43\x6d\x69\x52\x61\x67\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(uM.Na){this.v.s("\x43\x6d\x69\x52\x61\x67\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");Gc=H.getUniformLocation(this.A,"\x75\x50\x61\x74\x74\x65\x72\x6e\x52\x61\x74\x65");oJ=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65\x52\x61\x74\x65");Dp=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65\x53\x63\x61\x6c\x65");ft=H.getUniformLocation(this.A,"\x75\x43\x6f\x6c\x6f\x72");U8=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x52\x61\x67\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x52\x61\x67\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x52\x61\x67\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform1f(Gc,W2);H.uniform1f(oJ,gX);H.uniform1f(Dp,V6);H.uniform4f(ft,sb[0],sb[1],sb[2],1.0);H.uniform1i(U8,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,uM.Dz);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};ki.prototype=new EL();var S2=function(o){var Yw=_C;var DT=FW;var H=o.q9();var sb=null;var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var bi=null;var VZ=null;var U8=null;var uM=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var ft=null;var g7=new Array(1.0,0.84,0.63,1.0);this.aN="\x53\x69\x6d\x70\x6c\x65\x4d\x61\x72\x62\x6c\x65";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.setColor=function(newValue){if((newValue)&&(newValue.length>=4)){g7[0]=newValue[0];g7[1]=newValue[1];g7[2]=newValue[2];g7[3]=newValue[3];return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x53\x69\x6d\x70\x6c\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}uM=this.v.getTexture("\x4e\x6f\x69\x73\x65\x33\x44");if(uM==null){this.v.s("\x43\x6d\x69\x53\x69\x6d\x70\x6c\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(uM.Na){this.v.s("\x43\x6d\x69\x53\x69\x6d\x70\x6c\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");bi=H.getUniformLocation(this.A,"\x75\x53\x69\x7a\x65");ft=H.getUniformLocation(this.A,"\x75\x43\x6f\x6c\x6f\x72");VZ=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x44\x69\x72");U8=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x53\x69\x6d\x70\x6c\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x53\x69\x6d\x70\x6c\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x53\x69\x6d\x70\x6c\x65\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform1f(bi,Z.size);H.uniform4f(ft,g7[0],g7[1],g7[2],g7[3]);H.uniform3f(VZ,0.41,0.41,0.82);H.uniform1i(U8,0);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,uM.Dz);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE0);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};S2.prototype=new EL();var aU=function(o){var Yw=CV;var DT=Z5;var H=o.q9();var sb=null;var oI=o.gm();var qV=new mat4.createIdent();var t=[1.0,0.0,0.0];var vc=[0.0,0.0,0.0];this.LX=null;this.W=null;var YB=null;var a5=null;var XY=null;var bi=null;var Nk=null;var U8=null;var uM=null;var cT=null;var Hn=null;var x8=null;var Ni=null;var Jj=null;var Vc=null;var Uw=null;var eo=null;var Qo=null;var Ha=null;var XV=null;var wp=null;var K4=null;var HQ=null;var Xm=null;var sP=new Array(0.06,0.08,0.44,1.0);var Ih=new Array(0.65,0.66,0.95,1.0);var Qw=5.36;var rs=0.4;var a8=new Array(0.79,0.79,0.79,1.0);var IT=new Array(0.93,0.93,0.93,1.0);var Du=new Array(0.83,0.83,0.83,1.0);var jV=1.0;var L7=new Array(0.5,0.5,0.5,1.0);this.aN="\x56\x65\x69\x6e\x65\x64\x4d\x61\x72\x62\x6c\x65";this.v=o;this.i8=H.TRIANGLES;this.Fg=true;this.Ur=function(newValue){if((newValue)&&(newValue.length>=4)){sP[0]=newValue[0];sP[1]=newValue[1];sP[2]=newValue[2];sP[3]=newValue[3];return 0;}return-1;};this.KX=function(newValue){if((newValue)&&(newValue.length>=4)){Ih[0]=newValue[0];Ih[1]=newValue[1];Ih[2]=newValue[2];Ih[3]=newValue[3];return 0;}return-1;};this.dJ=function(newValue){if(newValue){Qw=newValue;return 0;}return-1;};this.Ca=function(newValue){if(newValue){rs=newValue;return 0;}return-1;};this.Po=function(newValue){if((newValue)&&(newValue.length>=4)){a8[0]=newValue[0];a8[1]=newValue[1];a8[2]=newValue[2];a8[3]=newValue[3];return 0;}return-1;};this.WK=function(newValue){if((newValue)&&(newValue.length>=4)){IT[0]=newValue[0];IT[1]=newValue[1];IT[2]=newValue[2];IT[3]=newValue[3];return 0;}return-1;};this.kj=function(newValue){if((newValue)&&(newValue.length>=4)){Du[0]=newValue[0];Du[1]=newValue[1];Du[2]=newValue[2];Du[3]=newValue[3];return 0;}return-1;};this.RR=function(newValue){if(newValue){jV=newValue;return 0;}return-1;};this.Bt=function(newValue){if((newValue)&&(newValue.length>=4)){L7[0]=newValue[0];L7[1]=newValue[1];L7[2]=newValue[2];L7[3]=newValue[3];return 0;}return-1;};this.fb=function(){if(H==null){this.v.s("\x43\x6d\x69\x56\x65\x69\x6e\x65\x64\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}uM=this.v.getTexture("\x4e\x6f\x69\x73\x65\x33\x44");if(uM==null){this.v.s("\x43\x6d\x69\x56\x65\x69\x6e\x65\x64\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x4e\x6f\x20\x74\x65\x78\x74\x75\x72\x65\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}if(uM.Na){this.v.s("\x43\x6d\x69\x56\x65\x69\x6e\x65\x64\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x54\x65\x78\x74\x75\x72\x65\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x20\x28\x6c\x6f\x61\x64\x20\x65\x72\x72\x6f\x72\x29","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}try{this.A=e4(H,Yw,DT);if(this.A!=null){this.usable=true;H.useProgram(this.A);this.LX=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x4e\x6f\x72\x6d\x61\x6c");this.W=H.getAttribLocation(this.A,"\x61\x56\x65\x72\x74\x65\x78\x50\x6f\x73\x69\x74\x69\x6f\x6e");YB=H.getUniformLocation(this.A,"\x75\x4d\x56\x4d\x61\x74\x72\x69\x78");a5=H.getUniformLocation(this.A,"\x75\x50\x4d\x61\x74\x72\x69\x78");XY=H.getUniformLocation(this.A,"\x75\x4e\x4d\x61\x74\x72\x69\x78");bi=H.getUniformLocation(this.A,"\x75\x53\x69\x7a\x65");Uw=H.getUniformLocation(this.A,"\x75\x42\x61\x73\x65\x43\x6f\x6c\x6f\x72");eo=H.getUniformLocation(this.A,"\x75\x56\x65\x69\x6e\x43\x6f\x6c\x6f\x72");Qo=H.getUniformLocation(this.A,"\x75\x53\x68\x61\x72\x70\x6e\x65\x73\x73");Ha=H.getUniformLocation(this.A,"\x75\x56\x65\x69\x6e\x46\x72\x65\x71\x75\x65\x6e\x63\x79");XV=H.getUniformLocation(this.A,"\x75\x4b\x73");wp=H.getUniformLocation(this.A,"\x75\x4b\x61");K4=H.getUniformLocation(this.A,"\x75\x4b\x64");HQ=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65\x41\x6d\x70");Nk=H.getUniformLocation(this.A,"\x75\x4c\x69\x67\x68\x74\x50\x6f\x73");Xm=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x41\x6d\x62");U8=H.getUniformLocation(this.A,"\x75\x4e\x6f\x69\x73\x65");cT=H.getUniformLocation(this.A,"\x75\x47\x6c\x6f\x62\x61\x6c\x42\x72\x69\x67\x68\x74\x6e\x65\x73\x73");Hn=H.getUniformLocation(this.A,"\x75\x4c\x56\x4d\x61\x74\x72\x69\x78");x8=H.getUniformLocation(this.A,"\x75\x55\x73\x65\x46\x69\x78\x65\x64\x4c\x69\x67\x68\x74\x50\x6f\x73");Vc=H.getUniformLocation(this.A,"\x75\x44\x6f\x43\x6c\x69\x70\x70\x69\x6e\x67");Ni=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x50\x6f\x69\x6e\x74");Jj=H.getUniformLocation(this.A,"\x75\x50\x6c\x61\x6e\x65\x44\x69\x72");H.useProgram(null);return 0;}else{this.v.s("\x43\x6d\x69\x56\x65\x69\x6e\x65\x64\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74","\x45\x72\x72\x6f\x72\x20\x63\x72\x65\x61\x74\x69\x6e\x67\x20\x74\x68\x65\x20\x73\x68\x61\x64\x65\x72\x20\x70\x72\x6f\x67\x72\x61\x6d","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}}catch(N){this.v.s("\x43\x6d\x69\x56\x65\x69\x6e\x65\x64\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x69\x6e\x69\x74",N.message,"\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");this.usable=false;return-1;}};this.Np=function(Z,gw){sb=Z.getColor();if(H==null){this.v.s("\x43\x6d\x69\x56\x65\x69\x6e\x65\x64\x4d\x61\x72\x62\x6c\x65\x33\x44\x53\x68\x61\x64\x65\x72\x2e\x62\x65\x67\x69\x6e\x44\x72\x61\x77","\x57\x65\x62\x47\x4c\x20\x63\x6f\x6e\x74\x65\x78\x74\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64","\x53\x43\x52\x49\x50\x54\x5f\x45\x52\x52\x4f\x52");return-1;}if(this.usable){H.useProgram(this.A);if(sb[3]<1.0){H.enable(H.BLEND);H.blendFunc(H.SRC_ALPHA,H.ONE_MINUS_SRC_ALPHA);H.enable(H.CULL_FACE);H.cullFace(H.BACK);}else H.disable(H.BLEND);H.enableVertexAttribArray(this.LX);H.enableVertexAttribArray(this.W);H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniform1f(bi,Z.size);H.uniform4f(Uw,sP[0],sP[1],sP[2],sP[3]);H.uniform4f(eo,Ih[0],Ih[1],Ih[2],Ih[3]);H.uniform1f(Qo,Qw);H.uniform1f(Ha,rs);H.uniform4f(XV,a8[0],a8[1],a8[2],a8[3]);H.uniform4f(wp,IT[0],IT[1],IT[2],IT[3]);H.uniform4f(K4,Du[0],Du[1],Du[2],Du[3]);H.uniform1f(HQ,jV);H.uniform3f(Nk,oI[0],oI[1],oI[2]);H.uniform4f(Xm,L7[0],L7[1],L7[2],L7[3]);H.uniform1i(U8,1);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,uM.Dz);H.uniform1f(cT,this.v.j4);H.uniformMatrix4fv(Hn,false,this.v.PU);H.uniform1i(x8,0);H.uniform1i(Vc,this.v.clipPlaneActive);if((this.v.clipPlaneActive==true)&&(this.v.VN!=null)){mat4.multiplyVec3(this.v.VN,this.v.clipPlanePoint,vc);mat4.multiplyVec3(this.v.ln,this.v.clipPlaneDir,t);H.uniform3f(Ni,vc[0],vc[1],vc[2]);H.uniform3f(Jj,t[0],t[1],t[2]);}else{H.uniform3f(Ni,this.v.clipPlanePoint[0],this.v.clipPlanePoint[1],this.v.clipPlanePoint[2]);H.uniform3f(Jj,this.v.clipPlaneDir[0],this.v.clipPlaneDir[1],this.v.clipPlaneDir[2]);}return 0;}else return-1;};this.hE=function(){H.uniformMatrix4fv(YB,false,this.v.jD());H.uniformMatrix4fv(a5,false,this.v.uf());H.uniformMatrix4fv(XY,false,this.v.sH());H.uniformMatrix4fv(Hn,false,this.v.PU);return 0;};this.PL=function(gw){H.disable(H.CULL_FACE);H.disableVertexAttribArray(this.LX);H.disableVertexAttribArray(this.W);H.activeTexture(H.TEXTURE1);H.bindTexture(H.TEXTURE_2D,null);H.useProgram(null);return 0;};};aU.prototype=new EL();
