Estructuras_de_Datos/dtjava.js

1 line
39 KiB
JavaScript
Raw Normal View History

2016-07-10 15:31:15 -04:00
var dtjava=function(){function t(d){return(d!=undefined&&d!=null)}function u(d){return(d!=null&&typeof d!="undefined")}function B(d,aY){for(var w=0;w<d.length;w++){if(aY.indexOf(d[w])!=-1){return true}}return false}var x=(function(){var d=document.getElementsByTagName("script");var w=d[d.length-1].getAttribute("src");return w?w.substring(0,w.lastIndexOf("/")+1):""})();var aj=false;postponeNativePluginInstallation=false;var aC="1.7.0_06";var W=document;var O=window;var aJ=false;var j=[];var A=[];var Z=null;function Q(d){if(aJ){d()}else{j[j.length]=d}}function m(d){if(aJ){d()}else{A[A.length]=d}}function I(){if(!aJ){try{var w=W.getElementsByTagName("body")[0].appendChild(W.createElement("div"));w.parentNode.removeChild(w)}catch(aY){return}aJ=true;for(var d=0;d<j.length;d++){j[d]()}for(var d=0;d<A.length;d++){A[d]()}}}function a(w){if(u(O.addEventListener)){O.addEventListener("load",w,false)}else{if(u(W.addEventListener)){W.addEventListener("load",w,false)}else{if(u(O.attachEvent)){O.attachEvent("onload",w)}else{if(typeof O.onload=="function"){var d=O.onload;O.onload=function(){d();w()}}else{O.onload=w}}}}}function aw(){var bd=u(W.getElementById)&&u(W.getElementsByTagName)&&u(W.createElement);var a7=navigator.userAgent.toLowerCase(),bb=navigator.platform.toLowerCase();var bg=bb?/win/.test(bb):/win/.test(a7),a0=bb?/mac/.test(bb):/mac/.test(a7),a4=bb?/linux/.test(bb):/linux/.test(a7),a9=/chrome/.test(a7),d=!a9&&/webkit/.test(a7)?parseFloat(a7.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,bf=/opera/.test(a7),a1=null,w=null;var ba=false;try{ba=u(window.execScript);if(!ba){ba=(navigator.userAgent.match(/Trident/i)!=null)}}catch(a2){ba=false}if(a0){if((bb&&/intel/.test(bb))||/intel/.test(a7)){a1="intel"}var a8=a7.match(/mac os x (10[0-9_\.]+)/);w=t(a8)?a8[0].replace("mac os x ","").replace(/_/g,"."):null}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}var be=navigator.mimeTypes;var a3=null;var aZ=null;var aY=null;var a5=false;if(typeof __dtjavaTestHook__!=="undefined"&&__dtjavaTestHook__!=null&&__dtjavaTestHook__.jre!=null&&__dtjavaTestHook__.jfx!=null&&__dtjavaTestHook__.deploy!=null){a3=__dtjavaTestHook__.jre;aZ=__dtjavaTestHook__.deploy;aY=__dtjavaTestHook__.jfx;a5=true}else{for(var a8=0;a8<be.length;a8++){var bc=navigator.mimeTypes[a8].type;if(bc.indexOf("application/x-java-applet;version")!=-1&&bc.indexOf("=")!=-1){var a6=bc.substring(bc.indexOf("=")+1);if(a3==null||aU(a3+"+",a6)){a3=a6}}if(bc.indexOf("application/x-java-applet;deploy")!=-1&&bc.indexOf("=")!=-1){aZ=bc.substring(bc.indexOf("=")+1)}if(bc.indexOf("application/x-java-applet;javafx")!=-1&&bc.indexOf("=")!=-1){aY=bc.substring(bc.indexOf("=")+1)}}}return{haveDom:bd,wk:d,ie:ba,win:bg,linux:a4,mac:a0,op:bf,chrome:a9,jre:a3,deploy:aZ,fx:aY,cputype:a1,osVersion:w,override:a5}}var ax=false;function al(){if(typeof __dtjavaTestHook__!=="undefined"){jre=null;jfx=null;deploy=null;if((__dtjavaTestHook__!=null)&&(__dtjavaTestHook__.args!=null)){jre=__dtjavaTestHook__.args.jre;jfx=__dtjavaTestHook__.args.jfx;deploy=__dtjavaTestHook__.args.deploy}if((window.location.href.indexOf("http://localhost")==0)||(window.location.href.indexOf("file:///")==0)){__dtjavaTestHook__={detectEnv:aw,Version:l,checkFXSupport:aH,versionCheck:aU,versionCheckFX:i,jre:jre,jfx:jfx,deploy:deploy}}}if(ax){return}Z=aw();if(!Z.haveDom){return}if((u(W.readyState)&&W.readyState=="complete")||(!u(W.readyState)&&(W.getElementsByTagName("body")[0]||W.body))){I()}if(!aJ){if(u(W.addEventListener)){W.addEventListener("DOMContentLoaded",I,false)}if(Z.ie&&Z.win){if(u(W.addEventListener)){W.addEventListener("onreadystatechange",function(){if(W.readyState=="complete"){W.removeEventListener("onreadystatechange",arguments.callee,false);I()}},false)}else{W.attachEvent("onreadystatechange",function(){if(W.readyState=="complete"){W.detachEvent("onreadystatechange",arguments.callee);I()}})}if(O==top){(function(){if(aJ){return}try{W.documentElement.doScroll("left")}catch(d){setTimeout(arguments.callee,0);return}I()})()}}if(Z.wk){(function(){if(aJ){re