THREE.BinaryLoader.prototype.load=function(a,c,b,d){if(ainstanceofObject)console.warn("DEPRECATED: BinaryLoader( parameters ) is now BinaryLoader( url, callback, texturePath, binaryPath )."),d=a,a=d.model,c=d.callback,b=d.texture_path,d=d.bin_path;varb=b?b:this.extractUrlbase(a),d=d?d:this.extractUrlbase(a),f=this.showProgress?THREE.Loader.prototype.updateProgress:null;this.onLoadStart();this.loadAjaxJSON(this,a,c,b,d,f)};
THREE.BinaryLoader.prototype.loadAjaxJSON=function(a,c,b,d,f,g){vare=newXMLHttpRequest;e.onreadystatechange=function(){if(e.readyState==4)if(e.status==200||e.status==0)try{varh=JSON.parse(e.responseText);h.metadata===void0||h.metadata.formatVersion===void0||h.metadata.formatVersion!==3?console.error("Deprecated file format."):a.loadAjaxBuffers(h,b,f,d,g)}catch(i){console.error(i),console.warn("DEPRECATED: ["+c+"] seems to be using old model format")}elseconsole.error("Couldn't load ["+c+"] ["+
THREE.BinaryLoader.prototype.loadAjaxJSON=function(a,c,b,d,f,g){vare=newXMLHttpRequest;e.onreadystatechange=function(){if(e.readyState==4)if(e.status==200||e.status==0)try{varh=JSON.parse(e.responseText);h.metadata===void0||h.metadata.formatVersion===void0||h.metadata.formatVersion!==3?console.error("Deprecated file format."):a.loadAjaxBuffers(h,b,f,d,g)}catch(i){console.error(i),console.warn("DEPRECATED: ["+c+"] seems to be using old model format")}elseconsole.error("Couldn't load ["+c+"] ["+
THREE.BinaryLoader.prototype.load=function(a,c,b,d){if(ainstanceofObject)console.warn("DEPRECATED: BinaryLoader( parameters ) is now BinaryLoader( url, callback, texturePath, binaryPath )."),d=a,a=d.model,c=d.callback,b=d.texture_path,d=d.bin_path;varb=b?b:this.extractUrlbase(a),d=d?d:this.extractUrlbase(a),g=this.showProgress?THREE.Loader.prototype.updateProgress:null;this.onLoadStart();this.loadAjaxJSON(this,a,c,b,d,g)};
THREE.BinaryLoader.prototype.loadAjaxJSON=function(a,c,b,d,g,f){vare=newXMLHttpRequest;e.onreadystatechange=function(){if(e.readyState==4)if(e.status==200||e.status==0)try{varh=JSON.parse(e.responseText);h.metadata===void0||h.metadata.formatVersion===void0||h.metadata.formatVersion!==3?console.error("Deprecated file format."):a.loadAjaxBuffers(h,b,g,d,f)}catch(i){console.error(i),console.warn("DEPRECATED: ["+c+"] seems to be using old model format")}elseconsole.error("Couldn't load ["+c+"] ["+
THREE.BinaryLoader.prototype.loadAjaxJSON=function(a,c,b,d,g,f){vare=newXMLHttpRequest;e.onreadystatechange=function(){if(e.readyState==4)if(e.status==200||e.status==0)try{varh=JSON.parse(e.responseText);h.metadata===void0||h.metadata.formatVersion===void0||h.metadata.formatVersion!==3?console.error("Deprecated file format."):a.loadAjaxBuffers(h,b,g,d,f)}catch(i){console.error(i),console.warn("DEPRECATED: ["+c+"] seems to be using old model format")}elseconsole.error("Couldn't load ["+c+"] ["+