(function(C,D,E,F,u,G,p,H,q,r,s,I,K,v,L,w,M,N,y,x,A,O,B,P,Q,R,S,a,T,U,z,V,W,X,Y,Z,$,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,ra,c,f){p("J.popup");q(["J.api.GenericMenuInterface","java.util.Hashtable","JU.Lst"],"J.popup.GenericPopup",["java.util.StringTokenizer","JU.PT","$.SB","JU.Logger"],function(){var b=s(function(){this.strMenuStructure=this.helper=null;this.isWebGL=this.isSigned=this.isApplet=this.isJS=this.allowSignedFeatures=!1;this.thisy=this.thisx=0;this.isTainted=!0;this.SignedOnly=
this.htMenus=this.currentMenuItemId=this.buttonGroup=this.htCheckbox=this.thisPopup=this.popupMenu=this.menuName=null;this.updatingForShow=!1;r(this,arguments)},J.popup,"GenericPopup",null,J.api.GenericMenuInterface);x(b,function(){this.htCheckbox=new java.util.Hashtable;this.htMenus=new java.util.Hashtable;this.SignedOnly=new JU.Lst});c(b,"appCheckItem",function(){},"~S,J.api.SC");c(b,"appCheckSpecialMenu",function(){},"~S,J.api.SC,~S");c(b,"initSwing",function(h,a,d,l,e,b){this.isJS=l;this.isApplet=
null!=d;this.isSigned=e;this.isWebGL=b;this.allowSignedFeatures=!this.isApplet||e;this.menuName=h;this.thisPopup=this.popupMenu=this.helper.menuCreatePopup(h,d);this.htMenus.put(h,this.popupMenu);this.addMenuItems("",h,this.popupMenu,a)},"~S,J.popup.PopupResource,~O,~B,~B,~B");c(b,"addMenuItems",function(h,a,d,l){h=h+"."+a;var e=l.getStructure(a);JU.Logger.debugging&&JU.Logger.debug(h+" --- "+e);if(null==e)this.menuCreateItem(d,"#"+a,"","");else{a=new java.util.StringTokenizer(e);for(var b;0<=e.indexOf("@");){for(e=
"";a.hasMoreTokens();)e+=" "+((b=a.nextToken()).startsWith("@")?l.getStructure(b):b);e=e.substring(1);a=new java.util.StringTokenizer(e)}for(;a.hasMoreTokens();)if(b=a.nextToken(),this.checkKey(b))if("-".equals(b))this.menuAddSeparator(d),this.helper.menuAddButtonGroup(null);else if(",".equals(b))this.menuAddSeparator(d);else{var e=l.getWord(b),c=null,c="",f=!1,e=this.appFixLabel(null==e?b:e);if(!e.equals("null")){if(0<=b.indexOf("Menu")){0>b.indexOf("more")&&this.helper.menuAddButtonGroup(null);
var n=this.menuNewSubMenu(e,h+"."+b);this.menuAddSubMenu(d,n);this.addMenu(h,b,n,e,l);c=n}else if(b.endsWith("Checkbox")||(f=b.endsWith("CB")||b.endsWith("RD"))){c=l.getStructure(b);n=b.substring(0,b.length-(!f?8:2));f=f&&b.endsWith("RD");if(null==c||0==c.length&&!f)c="set "+n+" T/F";c=this.menuCreateCheckboxItem(d,e,n+":"+c,h+"."+b,!1,f);this.rememberCheckbox(n,c);f&&this.helper.menuAddButtonGroup(c)}else c=l.getStructure(b),null==c&&(c=b),c=this.menuCreateItem(d,e,c,h+"."+b);this.htMenus.put(b,
c);b.startsWith("SIGNED")&&(this.SignedOnly.addLast(c),this.allowSignedFeatures||this.menuEnable(c,!1));this.appCheckItem(b,c)}}}},"~S,~S,J.api.SC,J.popup.PopupResource");c(b,"addMenu",function(h,a,d,l,b){0>a.indexOf("Computed")&&this.addMenuItems(h,a,d,b);this.appCheckSpecialMenu(a,d,l)},"~S,~S,J.api.SC,~S,J.popup.PopupResource");c(b,"updateSignedAppletItems",function(){for(var h=this.SignedOnly.size();0<=--h;)this.menuEnable(this.SignedOnly.get(h),this.allowSignedFeatures)});c(b,"checkKey",function(h){return 0>
h.indexOf(this.isApplet?"JAVA":"APPLET")&&(!this.isWebGL||0>h.indexOf("NOGL"))},"~S");c(b,"rememberCheckbox",function(h,a){this.htCheckbox.put(h+"::"+this.htCheckbox.size(),a)},"~S,J.api.SC");c(b,"updateButton",function(h,g,d){g=a(-1,[g]);var l=this.getEntryIcon(g);g=g[0];h.init(g,l,d,this.thisPopup);this.isTainted=!0},"J.api.SC,~S,~S");c(b,"getEntryIcon",function(h){var a=h[0];if(!a.startsWith("<"))return null;var d=a.indexOf(">");h[0]=a.substring(d+1);h=a.substring(1,d);return this.getImageIcon(h)},
"~A");c(b,"addMenuItem",function(h,a){return this.menuCreateItem(h,a,"",null)},"J.api.SC,~S");c(b,"menuSetLabel",function(h,a){null!=h&&(h.setText(a),this.isTainted=!0)},"J.api.SC,~S");c(b,"menuClickCallback",function(h,a){this.doMenuClickCallback(h,a)},"J.api.SC,~S");c(b,"doMenuClickCallback",function(h,a){this.appRestorePopupMenu();if(!(null==a||0==a.length))if(a.equals("MAIN"))this.show(this.thisx,this.thisy,!0);else{var d=this.menuGetId(h);null!=d&&(a=this.getScriptForCallback(h,d,a),this.currentMenuItemId=
d);null!=a&&this.appRunScript(a)}},"J.api.SC,~S");c(b,"menuCheckBoxCallback",function(h){this.doMenuCheckBoxCallback(h)},"J.api.SC");c(b,"doMenuCheckBoxCallback",function(h){this.appRestorePopupMenu();var a=h.isSelected(),d=h.getActionCommand();this.runCheckBoxScript(h,d,a);this.appUpdateSpecialCheckBoxValue(h,d,a);this.isTainted=!0;h=this.menuGetId(h);null!=h&&(this.currentMenuItemId=h)},"J.api.SC");c(b,"runCheckBoxScript",function(h,a,d){if(h.isEnabled()){if(0>a.indexOf("##")){var l=a.indexOf(":");
if(0>l){JU.Logger.error("check box "+h+" IS "+a);return}var b=a.substring(0,l);if(this.appRunSpecialCheckBox(h,b,a,d))return;a=a.substring(l+1);if(0<=(l=a.indexOf("|")))a=(d?a.substring(0,l):a.substring(l+1)).trim();a=JU.PT.rep(a,"T/F",d?" TRUE":" FALSE")}this.appRunScript(a)}},"J.api.SC,~S,~B");c(b,"menuCreateItem",function(h,a,d,l){var b=this.helper.getMenuItem(a);b.addActionListener(this.helper);return this.newMenuItem(b,h,a,d,l)},"J.api.SC,~S,~S,~S");c(b,"menuCreateCheckboxItem",function(h,a,
d,b,e,c){c=c?this.helper.getRadio(a):this.helper.getCheckBox(a);c.setSelected(e);c.addItemListener(this.helper);return this.newMenuItem(c,h,a,d,b)},"J.api.SC,~S,~S,~S,~B,~B");c(b,"menuAddSeparator",function(h){h.add(this.helper.getMenuItem(null));this.isTainted=!0},"J.api.SC");c(b,"menuNewSubMenu",function(h,a){var d=this.helper.getMenu(h);d.addMouseListener(this.helper);this.updateButton(d,h,null);d.setName(a);d.setAutoscrolls(!0);return d},"~S,~S");c(b,"menuRemoveAll",function(h,a){if(0>=a)h.removeAll();
else for(var d=h.getComponentCount();--d>=a;)h.remove(d);this.isTainted=!0},"J.api.SC,~N");c(b,"newMenuItem",function(h,a,d,b,e){this.updateButton(h,d,b);h.addMouseListener(this.helper);h.setName(null==e?a.getName()+".":e);this.menuAddItem(a,h);return h},"J.api.SC,J.api.SC,~S,~S,~S");c(b,"setText",function(h,a){var d=this.htMenus.get(h);null!=d&&d.setText(a);return d},"~S,~S");c(b,"menuAddItem",function(h,a){h.add(a);this.isTainted=!0},"J.api.SC,J.api.SC");c(b,"menuAddSubMenu",function(h,a){a.addMouseListener(this.helper);
this.menuAddItem(h,a)},"J.api.SC,J.api.SC");c(b,"menuEnable",function(h,a){null==h||h.isEnabled()==a||h.setEnabled(a)},"J.api.SC,~B");c(b,"menuGetId",function(h){return h.getName()},"J.api.SC");c(b,"menuSetAutoscrolls",function(h){h.setAutoscrolls(!0);this.isTainted=!0},"J.api.SC");c(b,"menuGetListPosition",function(h){var a=h.getParent(),d;for(d=a.getComponentCount();0<=--d&&this.helper.getSwingComponent(a.getComponent(d))!==h;);return d},"J.api.SC");c(b,"show",function(h,a,d){this.appUpdateForShow();
this.updateCheckBoxesForShow();d&&this.menuShowPopup(this.popupMenu,this.thisx,this.thisy)},"~N,~N,~B");c(b,"updateCheckBoxesForShow",function(){for(var h,a=this.htCheckbox.entrySet().iterator();a.hasNext()&&((h=a.next())||1);){var d=h.getKey(),b=h.getValue(),d=d.substring(0,d.indexOf(":")),d=this.appGetBooleanProperty(d),e=this.updatingForShow;this.updatingForShow=!0;b.isSelected()!=d&&(b.setSelected(d),this.isTainted=!0);this.updatingForShow=e}});f(b,"jpiGetMenuAsString",function(h){this.appUpdateForShow();
var a=h.indexOf("|");if(0<=a){var d=h.substring(a);h=h.substring(0,a);if(0<=d.indexOf("current"))return h=new JU.SB,a=this.htMenus.get(this.menuName),this.menuGetAsText(h,0,a,"PopupMenu"),h.toString()}return this.appGetMenuAsString(h)},"~S");c(b,"appGetMenuAsString",function(){return null},"~S");c(b,"menuGetAsText",function(h,a,d,b){d=d.getComponents();for(var e=null,c=null,f=null,k="S",n=0;n<d.length;n++){var m=this.helper.getSwingComponent(d[n]),p=this.helper.getItemType(m);switch(p){case 4:k="M";
b=m.getName();e="enabled:"+m.isEnabled();f=m.getText();c=null;break;case 0:k="S";e=c=f=null;break;default:k="I";e="enabled:"+m.isEnabled();if(2==p||3==p)e+=";checked:"+m.isSelected();c=this.getScriptForCallback(m,m.getName(),m.getActionCommand());b=m.getName();f=m.getText()}J.popup.GenericPopup.addItemText(h,k,a,b,f,c,e);2==p&&this.menuGetAsText(h,a+1,this.helper.getSwingComponent(m.getPopupMenu()),b)}},"JU.SB,~N,J.api.SC,~S");b.addItemText=c(b,"addItemText",function(h,a,d,b,e,c,f){h.appendC(a).appendI(d).appendC("\t").append(b);
null==e?h.append(".\n"):h.append("\t").append(e).append("\t").append(null==c||0==c.length?"-":c).append("\t").append(f).append("\n")},"JU.SB,~S,~N,~S,~S,~S,~S");b.convertToMegabytes=c(b,"convertToMegabytes",function(h){9223372036854251E3>=h&&(h+=524288);return u(h/1048576)},"~N");f(b,"jpiDispose",function(){this.popupMenu=this.thisPopup=null;this.helper.dispose(this.popupMenu);this.helper=null})});p("J.popup");q(["J.popup.GenericPopup","java.util.Properties"],"J.popup.JmolGenericPopup",["J.i18n.GT"],
function(){var a=s(function(){this.frankPopup=null;this.nFrankList=0;this.menuText=this.vwr=null;r(this,arguments)},J.popup,"JmolGenericPopup",J.popup.GenericPopup);x(a,function(){this.menuText=new java.util.Properties});f(a,"jpiInitialize",function(a,g){var d=J.i18n.GT.setDoTranslate(!0),b=this.getBundle(g);this.initialize(a,b,b.getMenuName());J.i18n.GT.setDoTranslate(d)},"J.api.PlatformViewer,~S");c(a,"initialize",function(a,g,d){this.vwr=a;this.initSwing(d,g,a.isJSNoAWT?a.html5Applet:null,a.isJSNoAWT,
a.getBooleanProperty("_signedApplet"),a.isWebGL)},"JV.Viewer,J.popup.PopupResource,~S");f(a,"jpiShow",function(a,g){this.vwr.haveDisplay&&(this.thisx=a,this.thisy=g,this.show(a,g,!1),0>a&&this.showFrankMenu()||(this.appRestorePopupMenu(),this.menuShowPopup(this.popupMenu,this.thisx,this.thisy)))},"~N,~N");c(a,"showFrankMenu",function(){return!0});c(a,"jpiDispose",function(){this.vwr=null;z(this,J.popup.JmolGenericPopup,"jpiDispose",[])});f(a,"jpiGetMenuAsObject",function(){return this.popupMenu});
f(a,"appFixLabel",function(a){return a},"~S");f(a,"appGetBooleanProperty",function(a){return this.vwr.getBooleanProperty(a)},"~S");f(a,"appRunSpecialCheckBox",function(a,g,d,b){if(this.appGetBooleanProperty(g)==b)return!0;if(0>g.indexOf("mk")&&!g.endsWith("P!"))return!1;if(0<=g.indexOf("mk")||0<=g.indexOf("??"))d=this.getUnknownCheckBoxScriptToRun(a,g,d,b);else{if(!b)return!0;d="set picking "+g.substring(0,g.length-2)}null!=d&&this.appRunScript(d);return!0},"J.api.SC,~S,~S,~B");f(a,"appRestorePopupMenu",
function(){this.thisPopup=this.popupMenu});f(a,"appRunScript",function(a){this.vwr.evalStringGUI(a)},"~S")});p("J.popup");q(["J.popup.JmolGenericPopup","JU.Lst"],"J.popup.JmolPopup","java.util.Arrays $.Hashtable JU.PT J.i18n.GT JM.Group J.popup.MainPopupResourceBundle JU.Elements JV.JC".split(" "),function(){var b=s(function(){this.updateMode=0;this.titleWidthMax=20;this.currentFrankId=this.modelSetRoot=this.modelSetFileName=this.modelSetName=this.nullModelSetName=null;this.configurationSelected=
"";this.TemperatureOnly=this.ChargesOnly=this.SymmetryOnly=this.Special=this.VibrationOnly=this.FramesOnly=this.SingleModelOnly=this.UnitcellOnly=this.FileMolOnly=this.FileUnitOnly=this.PDBOnly=this.NotPDB=this.modelInfo=this.modelSetInfo=this.frankList=this.altlocs=null;this.isZapped=this.isVibration=this.isUnitCell=this.hasSymmetry=this.isPDB=this.isMultiFrame=this.isMultiConfiguration=this.isLastFrame=this.haveCharges=this.haveBFactors=this.fileHasUnitCell=!1;this.ac=this.modelCount=this.modelIndex=
0;this.noZapped=this.hnmrPeaks=this.cnmrPeaks=this.group3Counts=this.group3List=null;r(this,arguments)},J.popup,"JmolPopup",J.popup.JmolGenericPopup);x(b,function(){this.frankList=Array(10);this.NotPDB=new JU.Lst;this.PDBOnly=new JU.Lst;this.FileUnitOnly=new JU.Lst;this.FileMolOnly=new JU.Lst;this.UnitcellOnly=new JU.Lst;this.SingleModelOnly=new JU.Lst;this.FramesOnly=new JU.Lst;this.VibrationOnly=new JU.Lst;this.Special=new JU.Lst;this.SymmetryOnly=new JU.Lst;this.ChargesOnly=new JU.Lst;this.TemperatureOnly=
new JU.Lst;this.noZapped=a(-1,["surfaceMenu","measureMenu","pickingMenu","computationMenu","SIGNEDJAVAcaptureMenuSPECIAL"])});c(b,"jpiDispose",function(){this.helper.menuClearListeners(this.frankPopup);this.frankPopup=null;z(this,J.popup.JmolPopup,"jpiDispose",[])});f(b,"getBundle",function(a){return new J.popup.MainPopupResourceBundle(this.strMenuStructure=a,this.menuText)},"~S");f(b,"showFrankMenu",function(){this.getViewerData();this.setFrankMenu(this.currentMenuItemId);this.thisx=-this.thisx-
50;return 1<this.nFrankList?(this.thisy-=20*this.nFrankList,this.menuShowPopup(this.frankPopup,this.thisx,this.thisy),!0):!1});f(b,"jpiUpdateComputedMenus",function(){-1!=this.updateMode&&(this.isTainted=!0,this.getViewerData(),this.updateMode=0,this.updateMenus())});c(b,"updateMenus",function(){this.updateSelectMenu();this.updateModelSetComputedMenu();this.updateAboutSubmenu();if(0==this.updateMode)this.updateFileMenu(),this.updateElementsComputedMenu(this.vwr.getElementsPresentBitSet(this.modelIndex)),
this.updateHeteroComputedMenu(this.vwr.ms.getHeteroList(this.modelIndex)),this.updateSurfMoComputedMenu(this.modelInfo.get("moData")),this.updateFileTypeDependentMenus(),this.updatePDBResidueComputedMenus(),this.updateMode=1,this.updateConfigurationComputedMenu(),this.updateSYMMETRYComputedMenus(),this.updateFRAMESbyModelComputedMenu(),this.updateLanguageSubmenu();else{this.updateSpectraMenu();this.updateFRAMESbyModelComputedMenu();this.updateSceneComputedMenu();for(var a=this.Special.size();0<=--a;)this.updateSpecialMenuItem(this.Special.get(a))}});
f(b,"appCheckItem",function(a,g){0<=a.indexOf("!PDB")?this.NotPDB.addLast(g):0<=a.indexOf("PDB")&&this.PDBOnly.addLast(g);0<=a.indexOf("CHARGE")?this.ChargesOnly.addLast(g):0<=a.indexOf("BFACTORS")?this.TemperatureOnly.addLast(g):0<=a.indexOf("UNITCELL")?this.UnitcellOnly.addLast(g):0<=a.indexOf("FILEUNIT")?this.FileUnitOnly.addLast(g):0<=a.indexOf("FILEMOL")&&this.FileMolOnly.addLast(g);0<=a.indexOf("!FRAMES")?this.SingleModelOnly.addLast(g):0<=a.indexOf("FRAMES")&&this.FramesOnly.addLast(g);0<=
a.indexOf("VIBRATION")?this.VibrationOnly.addLast(g):0<=a.indexOf("SYMMETRY")&&this.SymmetryOnly.addLast(g);0<=a.indexOf("SPECIAL")&&this.Special.addLast(g)},"~S,J.api.SC");f(b,"appGetMenuAsString",function(a){return(new J.popup.MainPopupResourceBundle(this.strMenuStructure,null)).getMenuAsText(a)},"~S");f(b,"getScriptForCallback",function(a,g,d){if(""===d||g.endsWith("Checkbox"))return d;if(0==d.indexOf("SELECT"))return"select thisModel and ("+d.substring(6)+")";if(0<=(a=g.lastIndexOf("["))){g=g.substring(a+
1);if(0<=(a=g.indexOf("]")))g=g.substring(0,a);g=g.$replace("_"," ");0>d.indexOf("[]")&&(d="[] "+d);d=d.$replace("_"," ");return JU.PT.rep(d,"[]",g)}0<=d.indexOf("?FILEROOT?")?d=JU.PT.rep(d,"FILEROOT?",this.modelSetRoot):0<=d.indexOf("?FILE?")?d=JU.PT.rep(d,"FILE?",this.modelSetFileName):0<=d.indexOf("?PdbId?")&&(d=JU.PT.rep(d,"PdbId?","=xxxx"));return d},"J.api.SC,~S,~S");f(b,"appRestorePopupMenu",function(){this.thisPopup=this.popupMenu;if(!(this.vwr.isJSNoAWT||2>this.nFrankList)){for(var a=this.nFrankList;0<
--a;){var g=this.frankList[a];this.helper.menuInsertSubMenu(g[0],g[1],g[2].intValue())}this.nFrankList=1}});f(b,"appUpdateSpecialCheckBoxValue",function(a,g){!this.updatingForShow&&0<=g.indexOf("#CONFIG")&&(this.configurationSelected=g,this.updateConfigurationComputedMenu(),this.updateModelSetComputedMenu())},"J.api.SC,~S,~B");c(b,"setFrankMenu",function(h){if(!(null!=this.currentFrankId&&this.currentFrankId===h&&0<this.nFrankList)){null==this.frankPopup&&(this.frankPopup=this.helper.menuCreatePopup("Frank",
this.vwr.html5Applet));this.thisPopup=this.frankPopup;this.menuRemoveAll(this.frankPopup,0);this.menuCreateItem(this.frankPopup,this.getMenuText("mainMenuText"),"MAIN","");this.currentFrankId=h;this.nFrankList=0;this.frankList[this.nFrankList++]=a(-1,[null,null,null]);if(null!=h)for(var g=h.indexOf(".",2)+1;;){var d=h.indexOf(".",g);if(0>d)break;g=this.htMenus.get(h.substring(g,d));this.frankList[this.nFrankList++]=a(-1,[g.getParent(),g,Integer.$valueOf(this.vwr.isJSNoAWT?0:this.menuGetListPosition(g))]);
this.menuAddSubMenu(this.frankPopup,g);g=d+1}this.thisPopup=this.popupMenu}},"~S");c(b,"checkBoolean",function(a){return null!=this.modelSetInfo&&this.modelSetInfo.get(a)===Boolean.TRUE},"~S");c(b,"getViewerData",function(){this.modelSetName=this.vwr.ms.modelSetName;this.modelSetFileName=this.vwr.getModelSetFileName();var a=this.modelSetFileName.lastIndexOf(".");if((this.isZapped="zapped".equals(this.modelSetName))||"string".equals(this.modelSetFileName)||"String[]".equals(this.modelSetFileName))this.modelSetFileName=
"";this.modelSetRoot=this.modelSetFileName.substring(0,0>a?this.modelSetFileName.length:a);0==this.modelSetRoot.length&&(this.modelSetRoot="Jmol");this.modelIndex=this.vwr.am.cmi;this.modelCount=this.vwr.ms.mc;this.ac=this.vwr.ms.getAtomCountInModel(this.modelIndex);this.modelSetInfo=this.vwr.getModelSetAuxiliaryInfo();this.modelInfo=this.vwr.ms.getModelAuxiliaryInfo(this.modelIndex);null==this.modelInfo&&(this.modelInfo=new java.util.Hashtable);this.isPDB=this.checkBoolean(JV.JC.getBoolName(4));
this.isMultiFrame=1<this.modelCount;this.hasSymmetry=!this.isPDB&&this.modelInfo.containsKey("hasSymmetry");this.isUnitCell=this.modelInfo.containsKey("unitCellParams");this.fileHasUnitCell=this.isPDB&&this.isUnitCell||this.checkBoolean("fileHasUnitCell");this.isLastFrame=this.modelIndex==this.modelCount-1;this.altlocs=this.vwr.ms.getAltLocListInModel(this.modelIndex);this.isMultiConfiguration=0<this.altlocs.length;this.isVibration=this.vwr.modelHasVibrationVectors(this.modelIndex);this.haveCharges=
null!=this.vwr.ms.getPartialCharges();this.haveBFactors=this.vwr.getBooleanProperty("haveBFactors");this.cnmrPeaks=this.modelInfo.get("jdxAtomSelect_13CNMR");this.hnmrPeaks=this.modelInfo.get("jdxAtomSelect_1HNMR")});f(b,"appCheckSpecialMenu",function(a,g,d){"modelSetMenu".equals(a)&&(this.nullModelSetName=d,this.menuEnable(g,!1))},"~S,J.api.SC,~S");f(b,"appUpdateForShow",function(){-1!=this.updateMode&&(this.isTainted=!0,this.getViewerData(),this.updateMode=2,this.updateMenus())});c(b,"updateFileMenu",
function(){var a=this.htMenus.get("fileMenu");if(null!=a){var g=this.getMenuText("writeFileTextVARIABLE"),a=this.htMenus.get("writeFileTextVARIABLE");null!=a&&(this.modelSetFileName.equals("zapped")||this.modelSetFileName.equals("")?(this.menuSetLabel(a,""),this.menuEnable(a,!1)):(this.menuSetLabel(a,J.i18n.GT.o(J.i18n.GT.$(g),this.modelSetFileName)),this.menuEnable(a,!0)))}});c(b,"getMenuText",function(a){var g=this.menuText.getProperty(a);return null==g?a:g},"~S");c(b,"updateSelectMenu",function(){var a=
this.htMenus.get("selectMenuText");null!=a&&(this.menuEnable(a,0!=this.ac),this.menuSetLabel(a,this.gti("selectMenuText",this.vwr.slm.getSelectionCount())))});c(b,"updateElementsComputedMenu",function(a){var g=this.htMenus.get("elementsComputedMenu");if(null!=g&&(this.menuRemoveAll(g,0),this.menuEnable(g,!1),null!=a)){for(var d=a.nextSetBit(0);0<=d;d=a.nextSetBit(d+1)){var b=JU.Elements.elementNameFromNumber(d),e=JU.Elements.elementSymbolFromNumber(d),e=e+" - "+b;this.menuCreateItem(g,e,"SELECT "+
b,null)}for(d=4;d<JU.Elements.altElementMax;++d)e=JU.Elements.elementNumberMax+d,a.get(e)&&(e=JU.Elements.altElementNumberFromIndex(d),b=JU.Elements.elementNameFromNumber(e),e=JU.Elements.elementSymbolFromNumber(e),e=e+" - "+b,this.menuCreateItem(g,e,"SELECT "+b,null));this.menuEnable(g,!0)}},"JU.BS");c(b,"updateSpectraMenu",function(){var a=this.htMenus.get("spectraMenu");if(null!=a){var g=this.htMenus.get("hnmrMenu");null!=g&&this.menuRemoveAll(g,0);var d=this.htMenus.get("cnmrMenu");null!=d&&this.menuRemoveAll(d,
0);this.menuRemoveAll(a,0);var b=(new Boolean(this.setSpectraMenu(g,this.hnmrPeaks)|this.setSpectraMenu(d,this.cnmrPeaks))).valueOf();b&&(null!=g&&this.menuAddSubMenu(a,g),null!=d&&this.menuAddSubMenu(a,d));this.menuEnable(a,b)}});c(b,"setSpectraMenu",function(a,g){var d=null==g?0:g.size();if(0==d||null==a)return!1;this.menuEnable(a,!1);for(var b=0;b<d;b++){var e=g.get(b),c=JU.PT.getQuotedAttribute(e,"title"),e=JU.PT.getQuotedAttribute(e,"atoms");null!=e&&this.menuCreateItem(a,c,"select visible & (@"+
JU.PT.rep(e,","," or @")+")","Focus"+b)}this.menuEnable(a,!0);return!0},"J.api.SC,JU.Lst");c(b,"updateHeteroComputedMenu",function(a){var g=this.htMenus.get("PDBheteroComputedMenu");if(null!=g&&(this.menuRemoveAll(g,0),this.menuEnable(g,!1),null!=a)){var d=0,b;for(a=a.entrySet().iterator();a.hasNext()&&((b=a.next())||1);){var e=b.getKey(),c=b.getValue();20<c.length&&(c=c.substring(0,20)+"...");this.menuCreateItem(g,e+" - "+c,"SELECT ["+e+"]",null);d++}this.menuEnable(g,0<d)}},"java.util.Map");c(b,
"updateSurfMoComputedMenu",function(a){var g=this.htMenus.get("surfMoComputedMenuText");if(null!=g){this.menuRemoveAll(g,0);a=null==a?null:a.get("mos");var d=null==a?0:a.size(),b=this.getMenuText("surfMoComputedMenuText");if(0==d)this.menuSetLabel(g,J.i18n.GT.o(J.i18n.GT.$(b),"")),this.menuEnable(g,!1);else{this.menuSetLabel(g,J.i18n.GT.i(J.i18n.GT.$(b),d));this.menuEnable(g,!0);var b=g,e=d%25;0==e&&(e=25);for(var c=25<d?0:-2147483648;0<=--d;){0<=c&&0==c++%e&&(c==e+1&&(e=25),c="mo"+c+"Menu",b=this.menuNewSubMenu(Math.max(d+
2-e,1)+"..."+(d+1),this.menuGetId(g)+"."+c),this.menuAddSubMenu(g,b),this.htMenus.put(c,b),c=1);var f=a.get(d),f="#"+(d+1)+" "+(f.containsKey("type")?f.get("type")+" ":"")+(f.containsKey("symmetry")?f.get("symmetry")+" ":"")+(f.containsKey("occupancy")?"("+f.get("occupancy")+") ":"")+(f.containsKey("energy")?f.get("energy"):"");this.menuCreateItem(b,f,"mo "+(d+1),null)}}}},"java.util.Map");c(b,"updateFileTypeDependentMenus",function(){for(var a=this.NotPDB.size();0<=--a;)this.menuEnable(this.NotPDB.get(a),
!this.isPDB);for(a=this.PDBOnly.size();0<=--a;)this.menuEnable(this.PDBOnly.get(a),this.isPDB);for(a=this.UnitcellOnly.size();0<=--a;)this.menuEnable(this.UnitcellOnly.get(a),this.isUnitCell);for(a=this.FileUnitOnly.size();0<=--a;)this.menuEnable(this.FileUnitOnly.get(a),this.isUnitCell||this.fileHasUnitCell);for(a=this.FileMolOnly.size();0<=--a;)this.menuEnable(this.FileMolOnly.get(a),this.isUnitCell||this.fileHasUnitCell);for(a=this.SingleModelOnly.size();0<=--a;)this.menuEnable(this.SingleModelOnly.get(a),
this.isLastFrame);for(a=this.FramesOnly.size();0<=--a;)this.menuEnable(this.FramesOnly.get(a),this.isMultiFrame);for(a=this.VibrationOnly.size();0<=--a;)this.menuEnable(this.VibrationOnly.get(a),this.isVibration);for(a=this.SymmetryOnly.size();0<=--a;)this.menuEnable(this.SymmetryOnly.get(a),this.hasSymmetry&&this.isUnitCell);for(a=this.ChargesOnly.size();0<=--a;)this.menuEnable(this.ChargesOnly.get(a),this.haveCharges);for(a=this.TemperatureOnly.size();0<=--a;)this.menuEnable(this.TemperatureOnly.get(a),
this.haveBFactors);this.updateSignedAppletItems()});c(b,"updateSceneComputedMenu",function(){var a=this.htMenus.get("sceneComputedMenu");if(null!=a){this.menuRemoveAll(a,0);this.menuEnable(a,!1);var g=this.vwr.ms.getInfoM("scenes");if(null!=g){for(var d=0;d<g.length;d++)this.menuCreateItem(a,g[d],"restore scene "+JU.PT.esc(g[d])+" 1.0",null);this.menuEnable(a,!0)}}});c(b,"updatePDBResidueComputedMenus",function(){var a=!1,g=this.htMenus.get("PDBaaResiduesComputedMenu");null!=g&&(this.menuRemoveAll(g,
0),this.menuEnable(g,!1),a=!0);var d=this.htMenus.get("PDBnucleicResiduesComputedMenu");null!=d&&(this.menuRemoveAll(d,0),this.menuEnable(d,!1),a=!0);var b=this.htMenus.get("PDBcarboResiduesComputedMenu");null!=b&&(this.menuRemoveAll(b,0),this.menuEnable(b,!1),a=!0);if(null!=this.modelSetInfo&&a){var a=0>this.modelIndex?0:this.modelIndex+1,e=this.modelSetInfo.get("group3Lists");this.group3List=null==e?null:e[a];this.group3Counts=null==e?null:this.modelSetInfo.get("group3Counts")[a];if(null!=this.group3List){a=
0;e=JM.Group.standardGroupList;if(null!=g){for(var c=1;24>c;++c)a+=this.updateGroup3List(g,e.substring(6*c-4,6*c-1).trim());a+=this.augmentGroup3List(g,"p>",!0);this.menuEnable(g,0<a);this.menuEnable(this.htMenus.get("PDBproteinMenu"),0<a)}null!=d&&(a=this.augmentGroup3List(d,"n>",!1),this.menuEnable(d,0<a),this.menuEnable(this.htMenus.get("PDBnucleicMenu"),0<a),g=0<a&&0<=this.modelIndex?this.vwr.ms.getInfo(this.modelIndex,"dssr"):null,null!=g&&this.setSecStrucMenu(this.htMenus.get("aaStructureMenu"),
g));null!=b&&(a=this.augmentGroup3List(b,"c>",!1),this.menuEnable(b,0<a),this.menuEnable(this.htMenus.get("PDBcarboMenu"),0<a))}}});c(b,"setSecStrucMenu",function(a,g){var d=g.get("counts");if(null==d)return!1;var b=Array(d.size());d.keySet().toArray(b);java.util.Arrays.sort(b);if(0==b.length)return!1;a.removeAll();for(var e=0;e<b.length;e++)this.menuCreateItem(a,b[e]+" ("+d.get(b[e])+")","select modelIndex="+this.modelIndex+" && within('dssr', '"+b[e]+"');",null);return!0},"J.api.SC,java.util.Map");
c(b,"updateGroup3List",function(a,b){var d=0,c=this.group3Counts[u(this.group3List.indexOf(b)/6)];b=b.trim();var e=null;0<c&&(e="SELECT "+b,b+="  ("+c+")",d++);e=this.menuCreateItem(a,b,e,this.menuGetId(a)+"."+b);0==c&&this.menuEnable(e,!1);return d},"J.api.SC,~S");c(b,"augmentGroup3List",function(a,b,d){for(var c=138,e=0;;){c=this.group3List.indexOf(b,c);if(0>c)break;0==e++&&d&&this.menuAddSeparator(a);var f=this.group3Counts[u(c/6)],j=this.group3List.substring(c+2,c+5),f=j+"  ("+f+")";this.menuCreateItem(a,
f,"SELECT ["+j+"]",this.menuGetId(a)+"."+f);c++}return e},"J.api.SC,~S,~B");c(b,"updateSYMMETRYComputedMenus",function(){this.updateSYMMETRYSelectComputedMenu();this.updateSYMMETRYShowComputedMenu()});c(b,"updateSYMMETRYShowComputedMenu",function(){var a=this.htMenus.get("SYMMETRYShowComputedMenu");if(null!=a&&(this.menuRemoveAll(a,0),this.menuEnable(a,!1),this.hasSymmetry&&!(0>this.modelIndex))){var b=this.vwr.getProperty("DATA_API","spaceGroupInfo",null);if(null!=b){var d=b.get("operations");if(null!=
d){b=b.get("spaceGroupName");this.menuSetLabel(a,null==b?J.i18n.GT.$("Space Group"):b);for(var b=a,c=25<d.length?0:-2147483648,e=0;e<d.length;e++){0<=c&&0==c++%25&&(c="drawsymop"+c+"Menu",b=this.menuNewSubMenu(e+1+"..."+Math.min(e+25,d.length),this.menuGetId(a)+"."+c),this.menuAddSubMenu(a,b),this.htMenus.put(c,b),c=1);0==e&&this.menuEnable(this.menuCreateItem(b,J.i18n.GT.$("none"),"draw sym_* delete",null),!0);var f=d[e][1];0>f.indexOf("x1")&&(f=d[e][0]);this.menuEnable(this.menuCreateItem(b,e+1+
" "+d[e][2]+" ("+f+")","draw SYMOP "+(e+1),null),!0)}this.menuEnable(a,!0)}}}});c(b,"updateSYMMETRYSelectComputedMenu",function(){var a=this.htMenus.get("SYMMETRYSelectComputedMenu");if(null!=a&&(this.menuRemoveAll(a,0),this.menuEnable(a,!1),this.hasSymmetry&&!(0>this.modelIndex))){var b=this.modelInfo.get("symmetryOperations");if(null!=b){for(var d=null!=this.vwr.getOperativeSymmetry(),c=a,e=25<b.length?0:-2147483648,f=0;f<b.length;f++)0<=e&&0==e++%25&&(e="symop"+e+"Menu",c=this.menuNewSubMenu(f+
1+"..."+Math.min(f+25,b.length),this.menuGetId(a)+"."+e),this.menuAddSubMenu(a,c),this.htMenus.put(e,c),e=1),this.menuEnable(this.menuCreateItem(c,"symop="+(f+1)+" # "+b[f],"SELECT symop="+(f+1),null),d);this.menuEnable(a,!0)}}});c(b,"updateFRAMESbyModelComputedMenu",function(){var a=this.htMenus.get("FRAMESbyModelComputedMenu");if(null!=a&&(this.menuEnable(a,0<this.modelCount),this.menuSetLabel(a,0>this.modelIndex?this.gti("allModelsText",this.modelCount):this.gto("modelMenuText",this.modelIndex+
1+"/"+this.modelCount)),this.menuRemoveAll(a,0),!(1>this.modelCount))){1<this.modelCount&&this.menuCreateCheckboxItem(a,J.i18n.GT.$("All"),"frame 0 ##",null,0>this.modelIndex,!1);for(var b=a,d=25<this.modelCount?0:-2147483648,c=0;c<this.modelCount;c++){0<=d&&0==d++%25&&(d="model"+d+"Menu",b=this.menuNewSubMenu(c+1+"..."+Math.min(c+25,this.modelCount),this.menuGetId(a)+"."+d),this.menuAddSubMenu(a,b),this.htMenus.put(d,b),d=1);var e=""+this.vwr.getModelNumberDotted(c),f=this.vwr.getModelName(c),j=
this.vwr.ms.getInfo(c,"spectrumTypes");null!=j&&f.startsWith(j)&&(j=null);if(!f.equals(e)){var k=f.indexOf(";PATH");0<=k&&(f=f.substring(0,k));if(0==f.indexOf("Model[")&&0<=(k=f.indexOf("]:")))f=f.substring(k+2);f=e+": "+f}60<f.length&&(f=f.substring(0,55)+"...");null!=j&&(f+=" ("+j+")");this.menuCreateCheckboxItem(b,f,"model "+e+" ##",null,this.modelIndex==c,!1)}}});c(b,"updateConfigurationComputedMenu",function(){var a=this.htMenus.get("configurationComputedMenu");if(null!=a&&(this.menuEnable(a,
this.isMultiConfiguration),this.isMultiConfiguration)){var b=this.altlocs.length;this.menuSetLabel(a,this.gti("configurationMenuText",b));this.menuRemoveAll(a,0);var d="hide none ##CONFIG";this.menuCreateCheckboxItem(a,J.i18n.GT.$("All"),d,null,1==this.updateMode&&this.configurationSelected.equals(d),!1);for(var c=0;c<b;c++){var d="configuration "+(c+1)+"; hide thisModel and not selected ##CONFIG",e=""+(c+1)+' -- "'+this.altlocs.charAt(c)+'"';this.menuCreateCheckboxItem(a,e,d,null,1==this.updateMode&&
this.configurationSelected.equals(d),!1)}}});c(b,"updateModelSetComputedMenu",function(){var b=this.htMenus.get("modelSetMenu");if(null!=b){this.menuRemoveAll(b,0);this.menuSetLabel(b,this.nullModelSetName);this.menuEnable(b,!1);for(var g=this.noZapped.length;0<=--g;)this.menuEnable(this.htMenus.get(this.noZapped[g]),!this.isZapped);if(!(null==this.modelSetName||this.isZapped)){this.isMultiFrame?(this.modelSetName=this.gti("modelSetCollectionText",this.modelCount),this.modelSetName.length>this.titleWidthMax&&
(this.modelSetName=this.modelSetName.substring(0,this.titleWidthMax)+"...")):this.vwr.getBooleanProperty("hideNameInPopup")?this.modelSetName=this.getMenuText("hiddenModelSetText"):this.modelSetName.length>this.titleWidthMax&&(this.modelSetName=this.modelSetName.substring(0,this.titleWidthMax)+"...");this.menuSetLabel(b,this.modelSetName);this.menuEnable(b,!0);this.menuEnable(this.htMenus.get("computationMenu"),100>=this.ac);this.addMenuItem(b,this.gti("atomsText",this.ac));this.addMenuItem(b,this.gti("bondsText",
this.vwr.ms.getBondCountInModel(this.modelIndex)));if(this.isPDB){this.menuAddSeparator(b);this.addMenuItem(b,this.gti("groupsText",this.vwr.ms.getGroupCountInModel(this.modelIndex)));this.addMenuItem(b,this.gti("chainsText",this.vwr.ms.getChainCountInModelWater(this.modelIndex,!1)));this.addMenuItem(b,this.gti("polymersText",this.vwr.ms.getBioPolymerCountInModel(this.modelIndex)));var d=this.htMenus.get("BiomoleculesMenu");null==d&&(d=this.menuNewSubMenu(J.i18n.GT.$(this.getMenuText("biomoleculesMenuText")),
this.menuGetId(b)+".biomolecules"),this.menuAddSubMenu(b,d));this.menuRemoveAll(d,0);this.menuEnable(d,!1);var c;if(0<=this.modelIndex&&null!=(c=this.vwr.ms.getInfo(this.modelIndex,"biomolecules"))){this.menuEnable(d,!0);for(var e=c.size(),g=0;g<e;g++){var f=this.isMultiFrame?"":'save orientation;load "" FILTER "biomolecule '+(g+1)+'";restore orientation;',j=c.get(g).get("atomCount").intValue(),j=this.gto(this.isMultiFrame?"biomoleculeText":"loadBiomoleculeText",a(-1,[Integer.$valueOf(g+1),Integer.$valueOf(j)]));
this.menuCreateItem(d,j,f,null)}}}this.isApplet&&!this.vwr.getBooleanProperty("hideNameInPopup")&&(this.menuAddSeparator(b),this.menuCreateItem(b,this.gto("viewMenuText",this.modelSetFileName),"show url",null))}}});c(b,"gti",function(a,b){return J.i18n.GT.i(J.i18n.GT.$(this.getMenuText(a)),b)},"~S,~N");c(b,"gto",function(a,b){return J.i18n.GT.o(J.i18n.GT.$(this.getMenuText(a)),b)},"~S,~O");c(b,"updateAboutSubmenu",function(){this.isApplet&&this.setText("APPLETid",this.vwr.appletName)});c(b,"updateLanguageSubmenu",
function(){var a=this.htMenus.get("languageComputedMenu");if(null!=a){this.menuRemoveAll(a,0);for(var b=J.i18n.GT.getLanguage(),d=this.menuGetId(a),c=J.i18n.GT.getLanguageList(null),e=0,f=0;e<c.length;e++)if(b.equals(c[e].code)&&(c[e].display=!0),c[e].display){var j=c[e].code,k=c[e].language,n=c[e].nativeLanguage,m=j+" - "+J.i18n.GT.$(k);null!=n&&!n.equals(J.i18n.GT.$(k))&&(m+=" - "+n);0<f++&&1==f%4&&this.menuAddSeparator(a);this.menuCreateCheckboxItem(a,m,'language = "'+j+'" ##'+k,d+"."+j,b.equals(j),
!1)}}});c(b,"updateSpecialMenuItem",function(a){a.setText(this.getSpecialLabel(a.getName(),a.getText()))},"J.api.SC");c(b,"getSpecialLabel",function(a,b){var d=b.indexOf(" (");0>d&&(d=b.length);var c=null;0<=a.indexOf("captureLooping")?c=1073742070==this.vwr.am.animationReplayMode?"ONCE":"LOOP":0<=a.indexOf("captureFps")?c=""+this.vwr.getInt(553648132):0<=a.indexOf("captureMenu")&&(c=null==this.vwr.captureParams?J.i18n.GT.$("not capturing"):this.vwr.fm.getFilePath(this.vwr.captureParams.get("captureFileName"),
!1,!0)+" "+this.vwr.captureParams.get("captureCount"));return null==c?b:b.substring(0,d)+" ("+c+")"},"~S,~S")});p("J.popup");q(["J.popup.PopupResource","JV.JC"],"J.popup.MainPopupResourceBundle",["JU.PT","J.i18n.GT","JV.Viewer"],function(){var b=y(J.popup,"MainPopupResourceBundle",J.popup.PopupResource);f(b,"getMenuName",function(){return"popupMenu"});f(b,"buildStructure",function(a){this.addItems(J.popup.MainPopupResourceBundle.menuContents);this.addItems(J.popup.MainPopupResourceBundle.structureContents);
null!=a&&this.setStructure(a,new J.i18n.GT)},"~S");b.Box=c(b,"Box",function(a){return"if (showBoundBox or showUnitcell) {"+a+"} else {boundbox on;"+a+";boundbox off}"},"~S");f(b,"getWordContents",function(){var b=J.i18n.GT.setDoTranslate(!0),c=J.i18n.GT.$("{0}% van der Waals"),d=J.i18n.GT.$("Export {0} 3D model"),f=J.i18n.GT.$("Export {0} image"),e=J.i18n.GT.$("Reload {0}"),t=J.i18n.GT.$("Scale {0}"),j=J.i18n.GT.$("{0} \u00c5"),k=J.i18n.GT.$("{0} px"),c=a(-1,["cnmrMenu",J.i18n.GT.$("13C-NMR"),"hnmrMenu",
J.i18n.GT.$("1H-NMR"),"aboutMenu",J.i18n.GT.$("About..."),"negativeCharge",J.i18n.GT.$("Acidic Residues (-)"),"allModelsText",J.i18n.GT.$("All {0} models"),"allHetero",J.i18n.GT.$('All PDB "HETATM"'),"Solvent",J.i18n.GT.$("All Solvent"),"Water",J.i18n.GT.$("All Water"),"selectAll",J.i18n.GT.$("All"),"allProtein",null,"allNucleic",null,"allCarbo",null,"altloc#PDB",J.i18n.GT.$("Alternative Location"),"amino#PDB",J.i18n.GT.$("Amino Acid"),"byAngstromMenu",J.i18n.GT.$("Angstrom Width"),"animModeMenu",
J.i18n.GT.$("Animation Mode"),"FRAMESanimateMenu",J.i18n.GT.$("Animation"),"atPairs",J.i18n.GT.$("AT pairs"),"atomMenu",J.i18n.GT.$("Atoms"),"[color_atoms]Menu",null,"atomsText",J.i18n.GT.$("atoms: {0}"),"auPairs",J.i18n.GT.$("AU pairs"),"[color_axes]Menu",J.i18n.GT.$("Axes"),"showAxesCB",null,"[set_axes]Menu",null,"axisA",J.i18n.GT.$("Axis a"),"axisB",J.i18n.GT.$("Axis b"),"axisC",J.i18n.GT.$("Axis c"),"hkl",J.i18n.GT.$("Miller plane"),"axisX",J.i18n.GT.$("Axis x"),"axisY",J.i18n.GT.$("Axis y"),
"axisZ",J.i18n.GT.$("Axis z"),"back",J.i18n.GT.$("Back"),"proteinBackbone",J.i18n.GT.$("Backbone"),"nucleicBackbone",null,"backbone",null,"[color_backbone]Menu",null,"[color_background]Menu",J.i18n.GT.$("Background"),"renderBallAndStick",J.i18n.GT.$("Ball and Stick"),"nucleicBases",J.i18n.GT.$("Bases"),"positiveCharge",J.i18n.GT.$("Basic Residues (+)"),"best",J.i18n.GT.$("Best"),"biomoleculeText",J.i18n.GT.$("biomolecule {0} ({1} atoms)"),"biomoleculesMenuText",J.i18n.GT.$("Biomolecules"),"black",
J.i18n.GT.$("Black"),"blue",J.i18n.GT.$("Blue"),"bondMenu",J.i18n.GT.$("Bonds"),"[color_bonds]Menu",null,"bondsText",J.i18n.GT.$("bonds: {0}"),"bottom",J.i18n.GT.$("Bottom"),"[color_boundbox]Menu",J.i18n.GT.$("Boundbox"),"[set_boundbox]Menu",null,"showBoundBoxCB",null,"PDBheteroComputedMenu",J.i18n.GT.$("By HETATM"),"PDBaaResiduesComputedMenu",J.i18n.GT.$("By Residue Name"),"PDBnucleicResiduesComputedMenu",null,"PDBcarboResiduesComputedMenu",null,"schemeMenu",J.i18n.GT.$("By Scheme"),"[color_]schemeMenu",
null,"hbondCalc",J.i18n.GT.$("Calculate"),"SIGNEDJAVAcaptureRock",J.i18n.GT.$("Capture rock"),"SIGNEDJAVAcaptureSpin",J.i18n.GT.$("Capture spin"),"SIGNEDJAVAcaptureMenuSPECIAL",J.i18n.GT.$("Capture"),"PDBcarboMenu",J.i18n.GT.$("Carbohydrate"),"cartoonRockets",J.i18n.GT.$("Cartoon Rockets"),"PDBrenderCartoonsOnly",J.i18n.GT.$("Cartoon"),"cartoon",null,"[color_cartoon]sMenu",null,"pickCenter",J.i18n.GT.$("Center"),"labelCentered",J.i18n.GT.$("Centered"),"chain#PDB",J.i18n.GT.$("Chain"),"chainsText",
J.i18n.GT.$("chains: {0}"),"colorChargeMenu",J.i18n.GT.$("Charge"),"measureAngle",J.i18n.GT.$("Click for angle measurement"),"measureDistance",J.i18n.GT.$("Click for distance measurement"),"measureTorsion",J.i18n.GT.$("Click for torsion (dihedral) measurement"),"PDBmeasureSequence",J.i18n.GT.$("Click two atoms to display a sequence in the console"),"modelSetCollectionText",J.i18n.GT.$("Collection of {0} models"),"colorMenu",J.i18n.GT.$("Color"),"computationMenu",J.i18n.GT.$("Computation"),"configurationMenuText",
J.i18n.GT.$("Configurations ({0})"),"configurationComputedMenu",J.i18n.GT.$("Configurations"),"showConsole",J.i18n.GT.$("Console"),"renderCpkSpacefill",J.i18n.GT.$("CPK Spacefill"),"stereoCrossEyed",J.i18n.GT.$("Cross-eyed viewing"),"showState",J.i18n.GT.$("Current state"),"cyan",J.i18n.GT.$("Cyan"),"darkgray",J.i18n.GT.$("Dark Gray"),"measureDelete",J.i18n.GT.$("Delete measurements"),"SIGNEDJAVAcaptureOff",J.i18n.GT.$("Disable capturing"),"hideNotSelectedCB",J.i18n.GT.$("Display Selected Only"),
"distanceAngstroms",J.i18n.GT.$("Distance units Angstroms"),"distanceNanometers",J.i18n.GT.$("Distance units nanometers"),"distancePicometers",J.i18n.GT.$("Distance units picometers"),"distanceHz",J.i18n.GT.$("Distance units hz (NMR J-coupling)"),"ssbondMenu",J.i18n.GT.$("Disulfide Bonds"),"[color_ssbonds]Menu",null,"DNA",J.i18n.GT.$("DNA"),"surfDots",J.i18n.GT.$("Dot Surface"),"dotted",J.i18n.GT.$("Dotted"),"measureOff",J.i18n.GT.$("Double-Click begins and ends all measurements"),"cpk",J.i18n.GT.$("Element (CPK)"),
"elementsComputedMenu",J.i18n.GT.$("Element"),"SIGNEDJAVAcaptureEnd",J.i18n.GT.$("End capturing"),"exportMenu",J.i18n.GT.$("Export"),"extractMOL",J.i18n.GT.$("Extract MOL data"),"showFile",J.i18n.GT.$("File Contents"),"showFileHeader",J.i18n.GT.$("File Header"),"fileMenu",J.i18n.GT.$("File"),"formalcharge",J.i18n.GT.$("Formal Charge"),"front",J.i18n.GT.$("Front"),"gcPairs",J.i18n.GT.$("GC pairs"),"gold",J.i18n.GT.$("Gold"),"gray",J.i18n.GT.$("Gray"),"green",J.i18n.GT.$("Green"),"group#PDB",J.i18n.GT.$("Group"),
"groupsText",J.i18n.GT.$("groups: {0}"),"PDBheteroMenu",J.i18n.GT.$("Hetero"),"off#axes",J.i18n.GT.$("Hide"),"showHistory",J.i18n.GT.$("History"),"hbondMenu",J.i18n.GT.$("Hydrogen Bonds"),"[color_hbonds]Menu",null,"pickIdent",J.i18n.GT.$("Identity"),"indigo",J.i18n.GT.$("Indigo"),"none",J.i18n.GT.$("Inherit"),"invertSelection",J.i18n.GT.$("Invert Selection"),"showIsosurface",J.i18n.GT.$("Isosurface JVXL data"),"help",J.i18n.GT.$("Jmol Script Commands"),"pickLabel",J.i18n.GT.$("Label"),"labelMenu",
J.i18n.GT.$("Labels"),"[color_labels]Menu",null,"languageComputedMenu",J.i18n.GT.$("Language"),"left",J.i18n.GT.$("Left"),"Ligand",J.i18n.GT.$("Ligand"),"lightgray",J.i18n.GT.$("Light Gray"),"measureList",J.i18n.GT.$("List measurements"),"loadBiomoleculeText",J.i18n.GT.$("load biomolecule {0} ({1} atoms)"),"SIGNEDloadFileUnitCell",J.i18n.GT.$("Load full unit cell"),"loadMenu",J.i18n.GT.$("Load"),"loop",J.i18n.GT.$("Loop"),"labelLowerLeft",J.i18n.GT.$("Lower Left"),"labelLowerRight",J.i18n.GT.$("Lower Right"),
"mainMenuText",J.i18n.GT.$("Main Menu"),"opaque",J.i18n.GT.$("Make Opaque"),"surfOpaque",null,"translucent",J.i18n.GT.$("Make Translucent"),"surfTranslucent",null,"maroon",J.i18n.GT.$("Maroon"),"measureMenu",J.i18n.GT.$("Measurements"),"showMeasure",null,"modelMenuText",J.i18n.GT.$("model {0}"),"hiddenModelSetText",J.i18n.GT.$("Model information"),"modelkit",J.i18n.GT.$("Model kit"),"showModel",J.i18n.GT.$("Model"),"FRAMESbyModelComputedMenu",J.i18n.GT.$("Model/Frame"),"modelKitMode",J.i18n.GT.$("modelKitMode"),
"surf2MEP",J.i18n.GT.$("Molecular Electrostatic Potential (range -0.1 0.1)"),"surfMEP",J.i18n.GT.$("Molecular Electrostatic Potential (range ALL)"),"showMo",J.i18n.GT.$("Molecular orbital JVXL data"),"surfMoComputedMenuText",J.i18n.GT.$("Molecular Orbitals ({0})"),"surfMolecular",J.i18n.GT.$("Molecular Surface"),"molecule",J.i18n.GT.$("Molecule"),"monomer#PDB",J.i18n.GT.$("Monomer"),"mouse",J.i18n.GT.$("Mouse Manual"),"nextframe",J.i18n.GT.$("Next Frame"),"modelSetMenu",J.i18n.GT.$("No atoms loaded"),
"exceptWater",J.i18n.GT.$("Nonaqueous HETATM")+" (hetero and not water)","nonWaterSolvent",J.i18n.GT.$("Nonaqueous Solvent")+" (solvent and not water)","PDBnoneOfTheAbove",J.i18n.GT.$("None of the above"),"selectNone",J.i18n.GT.$("None"),"stereoNone",null,"labelNone",null,"nonpolar",J.i18n.GT.$("Nonpolar Residues"),"PDBnucleicMenu",J.i18n.GT.$("Nucleic"),"atomNone",J.i18n.GT.$("Off"),"bondNone",null,"hbondNone",null,"ssbondNone",null,"structureNone",null,"vibrationOff",null,"vectorOff",null,"spinOff",
null,"pickOff",null,"surfOff",null,"olive",J.i18n.GT.$("Olive"),"bondWireframe",J.i18n.GT.$("On"),"hbondWireframe",null,"ssbondWireframe",null,"vibrationOn",null,"vectorOn",null,"spinOn",null,"on",null,"SIGNEDloadPdb",J.i18n.GT.$("Get PDB file"),"SIGNEDloadMol",J.i18n.GT.$("Get MOL file"),"SIGNEDloadFile",J.i18n.GT.$("Open local file"),"SIGNEDloadScript",J.i18n.GT.$("Open script"),"SIGNEDloadUrl",J.i18n.GT.$("Open URL"),"minimize",J.i18n.GT.$("Optimize structure"),"orange",J.i18n.GT.$("Orange"),"orchid",
J.i18n.GT.$("Orchid"),"showOrient",J.i18n.GT.$("Orientation"),"palindrome",J.i18n.GT.$("Palindrome"),"partialcharge",J.i18n.GT.$("Partial Charge"),"pause",J.i18n.GT.$("Pause"),"perspectiveDepthCB",J.i18n.GT.$("Perspective Depth"),"byPixelMenu",J.i18n.GT.$("Pixel Width"),"onceThrough",J.i18n.GT.$("Play Once"),"play",J.i18n.GT.$("Play"),"polar",J.i18n.GT.$("Polar Residues"),"polymersText",J.i18n.GT.$("polymers: {0}"),"labelPositionMenu",J.i18n.GT.$("Position Label on Atom"),"prevframe",J.i18n.GT.$("Previous Frame"),
"PDBproteinMenu",J.i18n.GT.$("Protein"),"colorrasmolCB",J.i18n.GT.$("RasMol Colors"),"red",J.i18n.GT.$("Red"),"stereoRedBlue",J.i18n.GT.$("Red+Blue glasses"),"stereoRedCyan",J.i18n.GT.$("Red+Cyan glasses"),"stereoRedGreen",J.i18n.GT.$("Red+Green glasses"),"SIGNEDJAVAcaptureOn",J.i18n.GT.$("Re-enable capturing"),"FILEUNITninePoly",J.i18n.GT.$("Reload + Polyhedra"),"reload",J.i18n.GT.$("Reload"),"restart",J.i18n.GT.$("Restart"),"resume",J.i18n.GT.$("Resume"),"playrev",J.i18n.GT.$("Reverse"),"rewind",
J.i18n.GT.$("Rewind"),"ribbons",J.i18n.GT.$("Ribbons"),"[color_ribbon]sMenu",null,"right",J.i18n.GT.$("Right"),"RNA",J.i18n.GT.$("RNA"),"rockets",J.i18n.GT.$("Rockets"),"[color_rockets]Menu",null,"salmon",J.i18n.GT.$("Salmon"),"writeFileTextVARIABLE",J.i18n.GT.$("Save a copy of {0}"),"SIGNEDwriteJmol",J.i18n.GT.$("Save as PNG/JMOL (image+zip)"),"SIGNEDwriteIsosurface",J.i18n.GT.$("Save JVXL isosurface"),"writeHistory",J.i18n.GT.$("Save script with history"),"writeState",J.i18n.GT.$("Save script with state"),
"saveMenu",J.i18n.GT.$("Save"),"sceneComputedMenu",J.i18n.GT.$("Scenes"),"renderSchemeMenu",J.i18n.GT.$("Scheme"),"aaStructureMenu",J.i18n.GT.$("Secondary Structure"),"structure#PDB",null,"selectMenuText",J.i18n.GT.$("Select ({0})"),"pickAtom",J.i18n.GT.$("Select atom"),"dragAtom",J.i18n.GT.$("Drag atom"),"dragMolecule",J.i18n.GT.$("Drag molecule"),"PDBpickChain",J.i18n.GT.$("Select chain"),"pickElement",J.i18n.GT.$("Select element"),"PDBpickGroup",J.i18n.GT.$("Select group"),"pickMolecule",J.i18n.GT.$("Select molecule"),
"SYMMETRYpickSite",J.i18n.GT.$("Select site"),"showSelectionsCB",J.i18n.GT.$("Selection Halos"),"SIGNEDJAVAcaptureFpsSPECIAL",J.i18n.GT.$("Set capture replay rate"),"[set_spin_FPS]Menu",J.i18n.GT.$("Set FPS"),"FRAMESanimFpsMenu",null,"PDBhbondBackbone",J.i18n.GT.$("Set H-Bonds Backbone"),"PDBhbondSidechain",J.i18n.GT.$("Set H-Bonds Side Chain"),"pickingMenu",J.i18n.GT.$("Set picking"),"PDBssbondBackbone",J.i18n.GT.$("Set SS-Bonds Backbone"),"PDBssbondSidechain",J.i18n.GT.$("Set SS-Bonds Side Chain"),
"[set_spin_X]Menu",J.i18n.GT.$("Set X Rate"),"[set_spin_Y]Menu",J.i18n.GT.$("Set Y Rate"),"[set_spin_Z]Menu",J.i18n.GT.$("Set Z Rate"),"shapely#PDB",J.i18n.GT.$("Shapely"),"showHydrogensCB",J.i18n.GT.$("Show Hydrogens"),"showMeasurementsCB",J.i18n.GT.$("Show Measurements"),"SYMMETRYpickSymmetry",J.i18n.GT.$("Show symmetry operation"),"showMenu",J.i18n.GT.$("Show"),"proteinSideChains",J.i18n.GT.$("Side Chains"),"slateblue",J.i18n.GT.$("Slate Blue"),"SYMMETRYShowComputedMenu",J.i18n.GT.$("Space Group"),
"showSpacegroup",null,"spectraMenu",J.i18n.GT.$("Spectra"),"spinMenu",J.i18n.GT.$("Spin"),"pickSpin",null,"SIGNEDJAVAcaptureBegin",J.i18n.GT.$("Start capturing"),"stereoMenu",J.i18n.GT.$("Stereographic"),"renderSticks",J.i18n.GT.$("Sticks"),"stop",J.i18n.GT.$("Stop"),"strands",J.i18n.GT.$("Strands"),"[color_strands]Menu",null,"PDBstructureMenu",J.i18n.GT.$("Structures"),"colorPDBStructuresMenu",null,"renderMenu",J.i18n.GT.$("Style"),"[color_isosurface]Menu",J.i18n.GT.$("Surfaces"),"surfaceMenu",null,
"SYMMETRYSelectComputedMenu",J.i18n.GT.$("Symmetry"),"SYMMETRYshowSymmetry",null,"FILEUNITMenu",null,"systemMenu",J.i18n.GT.$("System"),"relativeTemperature#BFACTORS",J.i18n.GT.$("Temperature (Relative)"),"fixedTemperature#BFACTORS",J.i18n.GT.$("Temperature (Fixed)"),"SIGNEDJAVAcaptureLoopingSPECIAL",J.i18n.GT.$("Toggle capture looping"),"top",JU.PT.split(J.i18n.GT.$('Top[as in "view from the top, from above" - (translators: remove this bracketed part]'),"[")[0],"PDBrenderTraceOnly",J.i18n.GT.$("Trace"),
"trace",null,"[color_trace]Menu",null,"translations",J.i18n.GT.$("Translations"),"noCharge",J.i18n.GT.$("Uncharged Residues"),"[color_UNITCELL]Menu",J.i18n.GT.$("Unit cell"),"UNITCELLshow",null,"[set_UNITCELL]Menu",null,"showUNITCELLCB",null,"labelUpperLeft",J.i18n.GT.$("Upper Left"),"labelUpperRight",J.i18n.GT.$("Upper Right"),"surfVDW",J.i18n.GT.$("van der Waals Surface"),"VIBRATIONvectorMenu",J.i18n.GT.$("Vectors"),"property_vxyz#VIBRATION",null,"[color_vectors]Menu",null,"VIBRATIONMenu",J.i18n.GT.$("Vibration"),
"viewMenuText",J.i18n.GT.$("View {0}"),"viewMenu",J.i18n.GT.$("View"),"violet",J.i18n.GT.$("Violet"),"stereoWallEyed",J.i18n.GT.$("Wall-eyed viewing"),"white",J.i18n.GT.$("White"),"renderWireframe",J.i18n.GT.$("Wireframe"),"labelName",J.i18n.GT.$("With Atom Name"),"labelNumber",J.i18n.GT.$("With Atom Number"),"labelSymbol",J.i18n.GT.$("With Element Symbol"),"yellow",J.i18n.GT.$("Yellow"),"zoomIn",J.i18n.GT.$("Zoom In"),"zoomOut",J.i18n.GT.$("Zoom Out"),"zoomMenu",J.i18n.GT.$("Zoom"),"vector005",J.i18n.GT.o(j,
"0.05"),"bond100",J.i18n.GT.o(j,"0.10"),"hbond100",null,"ssbond100",null,"vector01",null,"10a",null,"bond150",J.i18n.GT.o(j,"0.15"),"hbond150",null,"ssbond150",null,"bond200",J.i18n.GT.o(j,"0.20"),"hbond200",null,"ssbond200",null,"20a",null,"bond250",J.i18n.GT.o(j,"0.25"),"hbond250",null,"ssbond250",null,"25a",null,"bond300",J.i18n.GT.o(j,"0.30"),"hbond300",null,"ssbond300",null,"50a",J.i18n.GT.o(j,"0.50"),"100a",J.i18n.GT.o(j,"1.0"),"1p",J.i18n.GT.i(k,1),"10p",J.i18n.GT.i(k,10),"3p",J.i18n.GT.i(k,
3),"vector3",null,"5p",J.i18n.GT.i(k,5),"atom100",J.i18n.GT.i(c,100),"atom15",J.i18n.GT.i(c,15),"atom20",J.i18n.GT.i(c,20),"atom25",J.i18n.GT.i(c,25),"atom50",J.i18n.GT.i(c,50),"atom75",J.i18n.GT.i(c,75),"SIGNEDNOGLwriteIdtf",J.i18n.GT.o(d,"IDTF"),"SIGNEDNOGLwriteMaya",J.i18n.GT.o(d,"Maya"),"SIGNEDNOGLwriteVrml",J.i18n.GT.o(d,"VRML"),"SIGNEDNOGLwriteX3d",J.i18n.GT.o(d,"X3D"),"SIGNEDNOGLwriteSTL",J.i18n.GT.o(d,"STL"),"SIGNEDNOGLwriteGif",J.i18n.GT.o(f,"GIF"),"SIGNEDNOGLwriteJpg",J.i18n.GT.o(f,"JPG"),
"SIGNEDNOGLwritePng",J.i18n.GT.o(f,"PNG"),"SIGNEDNOGLwritePngJmol",J.i18n.GT.o(f,"PNG+JMOL"),"SIGNEDNOGLwritePovray",J.i18n.GT.o(f,"POV-Ray"),"FILEUNITnineRestricted",J.i18n.GT.o(J.i18n.GT.$("Reload {0} + Display {1}"),a(-1,["{444 666 1}","555"])),"FILEMOLload",J.i18n.GT.o(e,"(molecular)"),"FILEUNITone",J.i18n.GT.o(e,"{1 1 1}"),"FILEUNITnine",J.i18n.GT.o(e,"{444 666 1}"),"vectorScale02",J.i18n.GT.o(t,"0.2"),"vectorScale05",J.i18n.GT.o(t,"0.5"),"vectorScale1",J.i18n.GT.o(t,"1"),"vectorScale2",J.i18n.GT.o(t,
"2"),"vectorScale5",J.i18n.GT.o(t,"5"),"surfSolvent14",J.i18n.GT.o(J.i18n.GT.$("Solvent Surface ({0}-Angstrom probe)"),"1.4"),"surfSolventAccessible14",J.i18n.GT.o(J.i18n.GT.$("Solvent-Accessible Surface (VDW + {0} Angstrom)"),"1.4"),"vibration20","*2","vibration05","/2","JAVAmemTotal","?","JAVAmemMax",null,"JAVAprocessors",null,"s0","0","animfps10","10","s10",null,"zoom100","100%","zoom150","150%","animfps20","20","s20",null,"zoom200","200%","animfps30","30","s30",null,"s40","40","zoom400","400%",
"animfps5","5","s5",null,"animfps50","50","s50",null,"zoom50","50%","zoom800","800%","JSConsole",J.i18n.GT.$("JavaScript Console"),"jmolMenu","Jmol","date",JV.JC.date,"version",JV.JC.version,"javaVender",JV.Viewer.strJavaVendor,"javaVersion",JV.Viewer.strJavaVersion,"os",JV.Viewer.strOSName,"jmolorg","http://www.jmol.org"]);J.i18n.GT.setDoTranslate(b);b=1;for(d=c.length;b<d;b+=2)null==c[b]&&(c[b]=c[b-2]);return c});f(b,"getMenuAsText",function(a){return this.getStuctureAsText(a,J.popup.MainPopupResourceBundle.menuContents,
J.popup.MainPopupResourceBundle.structureContents)},"~S");b.menuContents=a(-1,[a(-1,["@COLOR","black darkgray lightgray white - red orange yellow green cyan blue indigo violet"]),a(-1,["@AXESCOLOR","gray salmon maroon olive slateblue gold orchid"]),a(-1,["popupMenu","fileMenu modelSetMenu FRAMESbyModelComputedMenu configurationComputedMenu - selectMenuText viewMenu renderMenu colorMenu - surfaceMenu FILEUNITMenu - sceneComputedMenu zoomMenu spinMenu VIBRATIONMenu spectraMenu FRAMESanimateMenu - measureMenu pickingMenu - showConsole JSConsole showMenu computationMenu - languageComputedMenu aboutMenu"]),
a(-1,["fileMenu","loadMenu saveMenu exportMenu SIGNEDJAVAcaptureMenuSPECIAL "]),a(-1,["loadMenu","SIGNEDloadFile SIGNEDloadUrl SIGNEDloadPdb SIGNEDloadMol SIGNEDloadScript - reload SIGNEDloadFileUnitCell"]),a(-1,["saveMenu","writeFileTextVARIABLE writeState writeHistory SIGNEDwriteJmol SIGNEDwriteIsosurface "]),a(-1,["exportMenu","SIGNEDNOGLwriteGif SIGNEDNOGLwriteJpg SIGNEDNOGLwritePng SIGNEDNOGLwritePngJmol SIGNEDNOGLwritePovray - SIGNEDNOGLwriteVrml SIGNEDNOGLwriteX3d SIGNEDNOGLwriteSTL"]),a(-1,
["selectMenuText","hideNotSelectedCB showSelectionsCB - selectAll selectNone invertSelection - elementsComputedMenu SYMMETRYSelectComputedMenu - PDBproteinMenu PDBnucleicMenu PDBheteroMenu PDBcarboMenu PDBnoneOfTheAbove"]),a(-1,["PDBproteinMenu","PDBaaResiduesComputedMenu - allProtein proteinBackbone proteinSideChains - polar nonpolar - positiveCharge negativeCharge noCharge"]),a(-1,["PDBcarboMenu","PDBcarboResiduesComputedMenu - allCarbo"]),a(-1,["PDBnucleicMenu","PDBnucleicResiduesComputedMenu - allNucleic nucleicBackbone nucleicBases - DNA RNA - atPairs auPairs gcPairs - aaStructureMenu"]),
a(-1,["PDBheteroMenu","PDBheteroComputedMenu - allHetero Solvent Water - Ligand exceptWater nonWaterSolvent"]),a(-1,["viewMenu","best front left right top bottom back - axisX axisY axisZ - axisA axisB axisC - hkl"]),a(-1,["renderMenu","renderSchemeMenu - atomMenu labelMenu bondMenu hbondMenu ssbondMenu - PDBstructureMenu - [set_axes]Menu [set_boundbox]Menu [set_UNITCELL]Menu - perspectiveDepthCB stereoMenu"]),a(-1,["renderSchemeMenu","renderCpkSpacefill renderBallAndStick renderSticks renderWireframe PDBrenderCartoonsOnly PDBrenderTraceOnly"]),
a(-1,["atomMenu","showHydrogensCB - atomNone - atom15 atom20 atom25 atom50 atom75 atom100"]),a(-1,["bondMenu","bondNone bondWireframe - bond100 bond150 bond200 bond250 bond300"]),a(-1,["hbondMenu","hbondCalc hbondNone hbondWireframe - PDBhbondSidechain PDBhbondBackbone - hbond100 hbond150 hbond200 hbond250 hbond300"]),a(-1,["ssbondMenu","ssbondNone ssbondWireframe - PDBssbondSidechain PDBssbondBackbone - ssbond100 ssbond150 ssbond200 ssbond250 ssbond300"]),a(-1,["PDBstructureMenu","structureNone - backbone cartoon cartoonRockets ribbons rockets strands trace"]),
a(-1,["VIBRATIONvectorMenu","vectorOff vectorOn vibScale20 vibScale05 vector3 vector005 vector01 - vectorScale02 vectorScale05 vectorScale1 vectorScale2 vectorScale5"]),a(-1,["stereoMenu","stereoNone stereoRedCyan stereoRedBlue stereoRedGreen stereoCrossEyed stereoWallEyed"]),a(-1,["labelMenu","labelNone - labelSymbol labelName labelNumber - labelPositionMenu"]),a(-1,["labelPositionMenu","labelCentered labelUpperRight labelLowerRight labelUpperLeft labelLowerLeft"]),a(-1,["colorMenu","colorrasmolCB [color_]schemeMenu - [color_atoms]Menu [color_bonds]Menu [color_hbonds]Menu [color_ssbonds]Menu colorPDBStructuresMenu [color_isosurface]Menu - [color_labels]Menu [color_vectors]Menu - [color_axes]Menu [color_boundbox]Menu [color_UNITCELL]Menu [color_background]Menu"]),
a(-1,["[color_atoms]Menu","schemeMenu - @COLOR - opaque translucent"]),a(-1,["[color_bonds]Menu","none - @COLOR - opaque translucent"]),a(-1,["[color_hbonds]Menu",null]),a(-1,["[color_ssbonds]Menu",null]),a(-1,["[color_labels]Menu",null]),a(-1,["[color_vectors]Menu",null]),a(-1,["[color_backbone]Menu","none - schemeMenu - @COLOR - opaque translucent"]),a(-1,["[color_cartoon]sMenu",null]),a(-1,["[color_ribbon]sMenu",null]),a(-1,["[color_rockets]Menu",null]),a(-1,["[color_strands]Menu",null]),a(-1,
["[color_trace]Menu",null]),a(-1,["[color_background]Menu","@COLOR"]),a(-1,["[color_isosurface]Menu","@COLOR - opaque translucent"]),a(-1,["[color_axes]Menu","@AXESCOLOR"]),a(-1,["[color_boundbox]Menu",null]),a(-1,["[color_UNITCELL]Menu",null]),a(-1,["colorPDBStructuresMenu","[color_backbone]Menu [color_cartoon]sMenu [color_ribbon]sMenu [color_rockets]Menu [color_strands]Menu [color_trace]Menu"]),a(-1,["schemeMenu","cpk molecule formalcharge partialcharge - altloc#PDB amino#PDB chain#PDB group#PDB monomer#PDB shapely#PDB structure#PDB relativeTemperature#BFACTORS fixedTemperature#BFACTORS property_vxyz#VIBRATION"]),
a(-1,["[color_]schemeMenu",null]),a(-1,["zoomMenu","zoom50 zoom100 zoom150 zoom200 zoom400 zoom800 - zoomIn zoomOut"]),a(-1,["spinMenu","spinOn spinOff - [set_spin_X]Menu [set_spin_Y]Menu [set_spin_Z]Menu - [set_spin_FPS]Menu"]),a(-1,["VIBRATIONMenu","vibrationOff vibrationOn vibration20 vibration05 VIBRATIONvectorMenu"]),a(-1,["spectraMenu","hnmrMenu cnmrMenu"]),a(-1,["FRAMESanimateMenu","animModeMenu - play pause resume stop - nextframe prevframe rewind - playrev restart - FRAMESanimFpsMenu"]),
a(-1,["FRAMESanimFpsMenu","animfps5 animfps10 animfps20 animfps30 animfps50"]),a(-1,["measureMenu","showMeasurementsCB - measureOff measureDistance measureAngle measureTorsion PDBmeasureSequence - measureDelete measureList - distanceNanometers distanceAngstroms distancePicometers distanceHz"]),a(-1,["pickingMenu","pickOff pickCenter pickIdent pickLabel pickAtom pickMolecule pickElement - dragAtom dragMolecule - pickSpin - modelKitMode - PDBpickChain PDBpickGroup SYMMETRYpickSite"]),a(-1,["computationMenu",
"minimize"]),a(-1,["showMenu","showHistory showFile showFileHeader - showOrient showMeasure - showSpacegroup showState SYMMETRYshowSymmetry UNITCELLshow - showIsosurface showMo - modelkit extractMOL"]),a(-1,["SIGNEDJAVAcaptureMenuSPECIAL","SIGNEDJAVAcaptureRock SIGNEDJAVAcaptureSpin - SIGNEDJAVAcaptureBegin SIGNEDJAVAcaptureEnd SIGNEDJAVAcaptureOff SIGNEDJAVAcaptureOn SIGNEDJAVAcaptureFpsSPECIAL SIGNEDJAVAcaptureLoopingSPECIAL"]),a(-1,["[set_spin_X]Menu","s0 s5 s10 s20 s30 s40 s50"]),a(-1,["[set_spin_Y]Menu",
null]),a(-1,["[set_spin_Z]Menu",null]),a(-1,["[set_spin_FPS]Menu",null]),a(-1,["animModeMenu","onceThrough palindrome loop"]),a(-1,["surfaceMenu","surfDots surfVDW surfSolventAccessible14 surfSolvent14 surfMolecular surf2MEP surfMEP surfMoComputedMenuText - surfOpaque surfTranslucent surfOff"]),a(-1,["FILEUNITMenu","SYMMETRYShowComputedMenu FILEMOLload FILEUNITone FILEUNITnine FILEUNITnineRestricted FILEUNITninePoly"]),a(-1,["[set_axes]Menu","on off#axes dotted - byPixelMenu byAngstromMenu"]),a(-1,
["[set_boundbox]Menu",null]),a(-1,["[set_UNITCELL]Menu",null]),a(-1,["byPixelMenu","1p 3p 5p 10p"]),a(-1,["byAngstromMenu","10a 20a 25a 50a 100a"]),a(-1,["aboutMenu","jmolMenu systemMenu"]),a(-1,["jmolMenu","APPLETid version date - help - mouse translations jmolorg"]),a(-1,["systemMenu","os javaVender javaVersion JAVAprocessors JAVAmemMax JAVAmemTotal"])]);b.structureContents=a(-1,[a(-1,["jmolorg",'show url "http://www.jmol.org"']),a(-1,["help","help"]),a(-1,["mouse",'show url "http://wiki.jmol.org/index.php/Mouse_Manual"']),
a(-1,["translations",'show url "http://wiki.jmol.org/index.php/Internationalisation"']),a(-1,["colorrasmolCB",""]),a(-1,["hideNotSelectedCB","set hideNotSelected true | set hideNotSelected false; hide(none)"]),a(-1,["perspectiveDepthCB",""]),a(-1,["showAxesCB","set showAxes true | set showAxes false;set axesMolecular"]),a(-1,["showBoundBoxCB",""]),a(-1,["showHydrogensCB",""]),a(-1,["showMeasurementsCB",""]),a(-1,["showSelectionsCB",""]),a(-1,["showUNITCELLCB",""]),a(-1,["selectAll","SELECT all"]),
a(-1,["selectNone","SELECT none"]),a(-1,["invertSelection","SELECT not selected"]),a(-1,["allProtein","SELECT protein"]),a(-1,["proteinBackbone","SELECT protein and backbone"]),a(-1,["proteinSideChains","SELECT protein and not backbone"]),a(-1,["polar","SELECT protein and polar"]),a(-1,["nonpolar","SELECT protein and not polar"]),a(-1,["positiveCharge","SELECT protein and basic"]),a(-1,["negativeCharge","SELECT protein and acidic"]),a(-1,["noCharge","SELECT protein and not (acidic,basic)"]),a(-1,
["allCarbo","SELECT carbohydrate"]),a(-1,["allNucleic","SELECT nucleic"]),a(-1,["DNA","SELECT dna"]),a(-1,["RNA","SELECT rna"]),a(-1,["nucleicBackbone","SELECT nucleic and backbone"]),a(-1,["nucleicBases","SELECT nucleic and not backbone"]),a(-1,["atPairs","SELECT a,t"]),a(-1,["gcPairs","SELECT g,c"]),a(-1,["auPairs","SELECT a,u"]),a(-1,["A","SELECT a"]),a(-1,["C","SELECT c"]),a(-1,["G","SELECT g"]),a(-1,["T","SELECT t"]),a(-1,["U","SELECT u"]),a(-1,["allHetero","SELECT hetero"]),a(-1,["Solvent",
"SELECT solvent"]),a(-1,["Water","SELECT water"]),a(-1,["nonWaterSolvent","SELECT solvent and not water"]),a(-1,["exceptWater","SELECT hetero and not water"]),a(-1,["Ligand","SELECT ligand"]),a(-1,["PDBnoneOfTheAbove","SELECT not(hetero,protein,nucleic,carbohydrate)"]),a(-1,["best","rotate best -1.0"]),a(-1,["front",J.popup.MainPopupResourceBundle.Box("moveto 2.0 front;delay 1")]),a(-1,["left",J.popup.MainPopupResourceBundle.Box("moveto 1.0 front;moveto 2.0 left;delay 1")]),a(-1,["right",J.popup.MainPopupResourceBundle.Box("moveto 1.0 front;moveto 2.0 right;delay 1")]),
a(-1,["top",J.popup.MainPopupResourceBundle.Box("moveto 1.0 front;moveto 2.0 top;delay 1")]),a(-1,["bottom",J.popup.MainPopupResourceBundle.Box("moveto 1.0 front;moveto 2.0 bottom;delay 1")]),a(-1,["back",J.popup.MainPopupResourceBundle.Box("moveto 1.0 front;moveto 2.0 back;delay 1")]),a(-1,["axisA","moveto axis a"]),a(-1,["axisB","moveto axis b"]),a(-1,["axisC","moveto axis c"]),a(-1,["axisX","moveto axis x"]),a(-1,["axisY","moveto axis y"]),a(-1,["axisZ","moveto axis z"]),a(-1,["hkl","moveto hkl ?"]),
a(-1,["renderCpkSpacefill","restrict bonds not selected;select not selected;spacefill 100%;color cpk"]),a(-1,["renderBallAndStick","restrict bonds not selected;select not selected;spacefill 23%AUTO;wireframe 0.15;color cpk"]),a(-1,["renderSticks","restrict bonds not selected;select not selected;wireframe 0.3;color cpk"]),a(-1,["renderWireframe","restrict bonds not selected;select not selected;wireframe on;color cpk"]),a(-1,["PDBrenderCartoonsOnly","restrict bonds not selected;select not selected;cartoons on;color structure"]),
a(-1,["PDBrenderTraceOnly","restrict bonds not selected;select not selected;trace on;color structure"]),a(-1,["atomNone","cpk off"]),a(-1,["atom15","cpk 15%"]),a(-1,["atom20","cpk 20%"]),a(-1,["atom25","cpk 25%"]),a(-1,["atom50","cpk 50%"]),a(-1,["atom75","cpk 75%"]),a(-1,["atom100","cpk on"]),a(-1,["bondNone","wireframe off"]),a(-1,["bondWireframe","wireframe on"]),a(-1,["bond100","wireframe .1"]),a(-1,["bond150","wireframe .15"]),a(-1,["bond200","wireframe .2"]),a(-1,["bond250","wireframe .25"]),
a(-1,["bond300","wireframe .3"]),a(-1,["hbondCalc","hbonds calculate"]),a(-1,["hbondNone","hbonds off"]),a(-1,["hbondWireframe","hbonds on"]),a(-1,["PDBhbondSidechain","set hbonds sidechain"]),a(-1,["PDBhbondBackbone","set hbonds backbone"]),a(-1,["hbond100","hbonds .1"]),a(-1,["hbond150","hbonds .15"]),a(-1,["hbond200","hbonds .2"]),a(-1,["hbond250","hbonds .25"]),a(-1,["hbond300","hbonds .3"]),a(-1,["ssbondNone","ssbonds off"]),a(-1,["ssbondWireframe","ssbonds on"]),a(-1,["PDBssbondSidechain","set ssbonds sidechain"]),
a(-1,["PDBssbondBackbone","set ssbonds backbone"]),a(-1,["ssbond100","ssbonds .1"]),a(-1,["ssbond150","ssbonds .15"]),a(-1,["ssbond200","ssbonds .2"]),a(-1,["ssbond250","ssbonds .25"]),a(-1,["ssbond300","ssbonds .3"]),a(-1,["structureNone","backbone off;cartoons off;ribbons off;rockets off;strands off;trace off;"]),a(-1,["backbone","restrict not selected;select not selected;backbone 0.3"]),a(-1,["cartoon","restrict not selected;select not selected;set cartoonRockets false;cartoons on"]),a(-1,["cartoonRockets",
"restrict not selected;select not selected;set cartoonRockets;cartoons on"]),a(-1,["ribbons","restrict not selected;select not selected;ribbons on"]),a(-1,["rockets","restrict not selected;select not selected;rockets on"]),a(-1,["strands","restrict not selected;select not selected;strands on"]),a(-1,["trace","restrict not selected;select not selected;trace 0.3"]),a(-1,["vibrationOff","vibration off"]),a(-1,["vibrationOn","vibration on"]),a(-1,["vibration20","vibrationScale *= 2"]),a(-1,["vibration05",
"vibrationScale /= 2"]),a(-1,["vectorOff","vectors off"]),a(-1,["vectorOn","vectors on"]),a(-1,["vector3","vectors 3"]),a(-1,["vector005","vectors 0.05"]),a(-1,["vector01","vectors 0.1"]),a(-1,["vectorScale02","vector scale 0.2"]),a(-1,["vectorScale05","vector scale 0.5"]),a(-1,["vectorScale1","vector scale 1"]),a(-1,["vectorScale2","vector scale 2"]),a(-1,["vectorScale5","vector scale 5"]),a(-1,["stereoNone","stereo off"]),a(-1,["stereoRedCyan","stereo redcyan 3"]),a(-1,["stereoRedBlue","stereo redblue 3"]),
a(-1,["stereoRedGreen","stereo redgreen 3"]),a(-1,["stereoCrossEyed","stereo -5"]),a(-1,["stereoWallEyed","stereo 5"]),a(-1,["labelNone","label off"]),a(-1,["labelSymbol","label %e"]),a(-1,["labelName","label %a"]),a(-1,["labelNumber","label %i"]),a(-1,["labelCentered","set labeloffset 0 0"]),a(-1,["labelUpperRight","set labeloffset 4 4"]),a(-1,["labelLowerRight","set labeloffset 4 -4"]),a(-1,["labelUpperLeft","set labeloffset -4 4"]),a(-1,["labelLowerLeft","set labeloffset -4 -4"]),a(-1,["zoom50",
"zoom 50"]),a(-1,["zoom100","zoom 100"]),a(-1,["zoom150","zoom 150"]),a(-1,["zoom200","zoom 200"]),a(-1,["zoom400","zoom 400"]),a(-1,["zoom800","zoom 800"]),a(-1,["zoomIn","move 0 0 0 40 0 0 0 0 1"]),a(-1,["zoomOut","move 0 0 0 -40 0 0 0 0 1"]),a(-1,["spinOn","spin on"]),a(-1,["spinOff","spin off"]),a(-1,["s0","0"]),a(-1,["s5","5"]),a(-1,["s10","10"]),a(-1,["s20","20"]),a(-1,["s30","30"]),a(-1,["s40","40"]),a(-1,["s50","50"]),a(-1,["onceThrough","anim mode once#"]),a(-1,["palindrome","anim mode palindrome#"]),
a(-1,["loop","anim mode loop#"]),a(-1,["play","anim play#"]),a(-1,["pause","anim pause#"]),a(-1,["resume","anim resume#"]),a(-1,["stop","anim off#"]),a(-1,["nextframe","frame next#"]),a(-1,["prevframe","frame prev#"]),a(-1,["playrev","anim playrev#"]),a(-1,["rewind","anim rewind#"]),a(-1,["restart","anim on#"]),a(-1,["animfps5","anim fps 5#"]),a(-1,["animfps10","anim fps 10#"]),a(-1,["animfps20","anim fps 20#"]),a(-1,["animfps30","anim fps 30#"]),a(-1,["animfps50","anim fps 50#"]),a(-1,["measureOff",
"set pickingstyle MEASURE OFF; set picking OFF"]),a(-1,["measureDistance","set pickingstyle MEASURE; set picking MEASURE DISTANCE"]),a(-1,["measureAngle","set pickingstyle MEASURE; set picking MEASURE ANGLE"]),a(-1,["measureTorsion","set pickingstyle MEASURE; set picking MEASURE TORSION"]),a(-1,["PDBmeasureSequence","set pickingstyle MEASURE; set picking MEASURE SEQUENCE"]),a(-1,["measureDelete","measure delete"]),a(-1,["measureList","console on;show measurements"]),a(-1,["distanceNanometers","select *; set measure nanometers"]),
a(-1,["distanceAngstroms","select *; set measure angstroms"]),a(-1,["distancePicometers","select *; set measure picometers"]),a(-1,["distanceHz","select *; set measure hz"]),a(-1,["pickOff","set picking off"]),a(-1,["pickCenter","set picking center"]),a(-1,["pickIdent","set picking ident"]),a(-1,["pickLabel","set picking label"]),a(-1,["pickAtom","set picking atom"]),a(-1,["dragAtom","set picking dragAtom"]),a(-1,["dragMolecule","set picking dragMolecule"]),a(-1,["PDBpickChain","set picking chain"]),
a(-1,["pickElement","set picking element"]),a(-1,["modelKitMode","set modelKitMode"]),a(-1,["PDBpickGroup","set picking group"]),a(-1,["pickMolecule","set picking molecule"]),a(-1,["SYMMETRYpickSite","set picking site"]),a(-1,["pickSpin","set picking spin"]),a(-1,["SYMMETRYpickSymmetry","set picking symmetry"]),a(-1,["showConsole","console"]),a(-1,["JSConsole","JSCONSOLE"]),a(-1,["showFile","console on;show file"]),a(-1,["showFileHeader","console on;getProperty FileHeader"]),a(-1,["showHistory","console on;show history"]),
a(-1,["showIsosurface","console on;show isosurface"]),a(-1,["showMeasure","console on;show measure"]),a(-1,["showMo","console on;show mo"]),a(-1,["showModel","console on;show model"]),a(-1,["showOrient","console on;show orientation"]),a(-1,["showSpacegroup","console on;show spacegroup"]),a(-1,["showState","console on;show state"]),a(-1,["reload",'load ""']),a(-1,["SIGNEDloadPdb",JV.JC.getMenuScript("openPDB")]),a(-1,["SIGNEDloadMol",JV.JC.getMenuScript("openMOL")]),a(-1,["SIGNEDloadFile","load ?"]),
a(-1,["SIGNEDloadUrl","load http://?"]),a(-1,["SIGNEDloadFileUnitCell","load ? {1 1 1}"]),a(-1,["SIGNEDloadScript","script ?.spt"]),a(-1,["SIGNEDJAVAcaptureRock","animation mode loop;capture '?Jmol.gif' rock y 10"]),a(-1,["SIGNEDJAVAcaptureSpin","animation mode loop;capture '?Jmol.gif' spin y"]),a(-1,["SIGNEDJAVAcaptureBegin","capture '?Jmol.gif'"]),a(-1,["SIGNEDJAVAcaptureEnd","capture ''"]),a(-1,["SIGNEDJAVAcaptureOff","capture off"]),a(-1,["SIGNEDJAVAcaptureOn","capture on"]),a(-1,["SIGNEDJAVAcaptureFpsSPECIAL",
"animation fps @{0+prompt('Capture replay frames per second?', animationFPS)};prompt 'animation FPS ' + animationFPS"]),a(-1,["SIGNEDJAVAcaptureLoopingSPECIAL","animation mode @{(animationMode=='ONCE' ? 'LOOP':'ONCE')};prompt 'animation MODE ' + animationMode"]),a(-1,["writeFileTextVARIABLE",'if (_applet && !_signedApplet) { console;show file } else { write file "?FILE?"}']),a(-1,["writeState",'if (_applet && !_signedApplet) { console;show state } else { write state "?FILEROOT?.spt"}']),a(-1,["writeHistory",
'if (_applet && !_signedApplet) { console;show history } else { write history "?FILEROOT?.his"}']),a(-1,["SIGNEDwriteJmol",'write PNGJ "?FILEROOT?.png"']),a(-1,["SIGNEDwriteIsosurface",'write isosurface "?FILEROOT?.jvxl"']),a(-1,["SIGNEDNOGLwriteGif",'write image "?FILEROOT?.gif"']),a(-1,["SIGNEDNOGLwriteJpg",'write image "?FILEROOT?.jpg"']),a(-1,["SIGNEDNOGLwritePng",'write image "?FILEROOT?.png"']),a(-1,["SIGNEDNOGLwritePngJmol",'write PNGJ "?FILEROOT?.png"']),a(-1,["SIGNEDNOGLwritePovray",'write POVRAY "?FILEROOT?.pov"']),
a(-1,["SIGNEDNOGLwriteVrml",'write VRML "?FILEROOT?.wrl"']),a(-1,["SIGNEDNOGLwriteX3d",'write X3D "?FILEROOT?.x3d"']),a(-1,["SIGNEDNOGLwriteSTL",'write STL "?FILEROOT?.stl"']),a(-1,["SIGNEDNOGLwriteIdtf",'write IDTF "?FILEROOT?.idtf"']),a(-1,["SIGNEDNOGLwriteMaya",'write MAYA "?FILEROOT?.ma"']),a(-1,["SYMMETRYshowSymmetry","console on;show symmetry"]),a(-1,["UNITCELLshow","console on;show unitcell"]),a(-1,["extractMOL",'console on;getproperty extractModel "visible" ']),a(-1,["minimize","minimize"]),
a(-1,["modelkit","set modelkitmode"]),a(-1,["surfDots","dots on"]),a(-1,["surfVDW","isosurface delete resolution 0 solvent 0 translucent"]),a(-1,["surfMolecular","isosurface delete resolution 0 molecular translucent"]),a(-1,["surfSolvent14","isosurface delete resolution 0 solvent 1.4 translucent"]),a(-1,["surfSolventAccessible14","isosurface delete resolution 0 sasurface 1.4 translucent"]),a(-1,["surfMEP","isosurface delete resolution 0 vdw color range all map MEP translucent"]),a(-1,["surf2MEP",
"isosurface delete resolution 0 vdw color range -0.1 0.1 map MEP translucent"]),a(-1,["surfOpaque","mo opaque;isosurface opaque"]),a(-1,["surfTranslucent","mo translucent;isosurface translucent"]),a(-1,["surfOff","mo delete;isosurface delete;var ~~sel = {selected};select *;dots off;select ~~sel"]),a(-1,["FILEMOLload",'save orientation;load "";restore orientation;center']),a(-1,["FILEUNITone",'save orientation;load "" {1 1 1} ;restore orientation;center']),a(-1,["FILEUNITnine",'save orientation;load "" {444 666 1} ;restore orientation;center']),
a(-1,["FILEUNITnineRestricted",'save orientation;load "" {444 666 1} ;restore orientation; unitcell on; display cell=555;center visible;zoom 200']),a(-1,["FILEUNITninePoly",'save orientation;load "" {444 666 1} ;restore orientation; unitcell on; display cell=555; polyhedra 4,6 (displayed);center (visible);zoom 200']),a(-1,["1p","on"]),a(-1,["3p","3"]),a(-1,["5p","5"]),a(-1,["10p","10"]),a(-1,["10a","0.1"]),a(-1,["20a","0.20"]),a(-1,["25a","0.25"]),a(-1,["50a","0.50"]),a(-1,["100a","1.0"])])});p("J.popup");
B(J.popup,"PopupHelper");p("J.popup");q(null,"J.popup.PopupResource",["java.io.BufferedReader","$.StringReader","java.util.Properties","JU.SB"],function(){var a=s(function(){this.words=this.structure=null;r(this,arguments)},J.popup,"PopupResource",null);v(a,function(a,b){this.structure=new java.util.Properties;this.words=new java.util.Properties;this.buildStructure(a);this.localize(null!=a,b)},"~S,java.util.Properties");c(a,"getStructure",function(a){return this.structure.getProperty(a)},"~S");c(a,
"getWord",function(a){var b=this.words.getProperty(a);return null==b?a:b},"~S");c(a,"setStructure",function(a,b){var d=new java.io.BufferedReader(new java.io.StringReader(a)),c,e;try{for(;null!=(c=d.readLine());)if(!(0==c.length||"#"==c.charAt(0))){e=c.indexOf("=");0>e&&(e=c.length,c+="=");var f=c.substring(0,e).trim(),j=c.substring(e+1).trim(),k=null;if(0<=(e=f.indexOf("|")))k=f.substring(e+1).trim(),f=f.substring(0,e).trim();0!=f.length&&(0<j.length&&this.structure.setProperty(f,j),null!=k&&0<k.length&&
this.words.setProperty(f,null==b?k:b.translate(k)))}}catch(n){if(!w(n,Exception))throw n;}try{d.close()}catch(m){if(!w(m,Exception))throw m;}},"~S,J.api.Translator");c(a,"addItems",function(a){for(var b="",d=0;d<a.length;d++){var c=a[d],e=c[1];null==e&&(e=b);b=e;this.structure.setProperty(c[0],e)}},"~A");c(a,"localize",function(a,b){for(var d=this.getWordContents(),c=0;c<d.length;c++){var e=d[c++],f=this.words.getProperty(e);null==f&&(f=d[c]);this.words.setProperty(e,f);null!=b&&0<=e.indexOf("Text")&&
b.setProperty(e,f)}},"~B,java.util.Properties");c(a,"getStuctureAsText",function(a,b,d){return"# "+this.getMenuName()+".mnu "+a+"\n\n# Part I -- Menu Structure\n# ------------------------\n\n"+this.dumpStructure(b)+"\n\n# Part II -- Key Definitions\n# --------------------------\n\n"+this.dumpStructure(d)+"\n\n# Part III -- Word Translations\n# -----------------------------\n\n"+this.dumpWords()},"~S,~A,~A");c(a,"dumpWords",function(){for(var a=this.getWordContents(),b=new JU.SB,d=0;d<a.length;d++){var c=
a[d++];null==this.structure.getProperty(c)&&b.append(c).append(" | ").append(a[d]).appendC("\n")}return b.toString()});c(a,"dumpStructure",function(a){for(var b="",d=new JU.SB,c=0;c<a.length;c++){var e=a[c][0],f=this.words.getProperty(e);null!=f&&(e+=" | "+f);d.append(e).append(" = ").append(null==a[c][1]?b:b=a[c][1]).appendC("\n")}return d.toString()},"~A")});p("J.awtjs2d");q(["J.popup.JmolPopup"],"J.awtjs2d.JSJmolPopup",["J.awtjs2d.JSPopupHelper"],function(){var a=y(J.awtjs2d,"JSJmolPopup",J.popup.JmolPopup);
v(a,function(){A(this,J.awtjs2d.JSJmolPopup,[]);this.helper=new J.awtjs2d.JSPopupHelper(this)});f(a,"menuShowPopup",function(a,b,c){try{a.show(this.isTainted?this.vwr.html5Applet:null,b,c)}catch(f){if(!w(f,Exception))throw f;}this.isTainted=!1},"J.api.SC,~N,~N");f(a,"getUnknownCheckBoxScriptToRun",function(){return null},"J.api.SC,~S,~S,~B");f(a,"getImageIcon",function(){return null},"~S");f(a,"menuFocusCallback",function(){},"~S,~S,~B")});p("J.awtjs2d");q(["J.popup.PopupHelper"],"J.awtjs2d.JSPopupHelper",
"JS.ButtonGroup $.JCheckBoxMenuItem $.JMenu $.JMenuItem $.JPopupMenu $.JRadioButtonMenuItem".split(" "),function(){var a=s(function(){this.buttonGroup=this.popup=null;r(this,arguments)},J.awtjs2d,"JSPopupHelper",null,J.popup.PopupHelper);v(a,function(a){this.popup=a},"J.popup.GenericPopup");f(a,"menuCreatePopup",function(a,b){var c=new JS.JPopupMenu(a);c.setInvoker(b);return c},"~S,~O");f(a,"getMenu",function(a){var b=new JS.JMenu;b.setName(a);return b},"~S");f(a,"getMenuItem",function(a){return new JS.JMenuItem(a)},
"~S");f(a,"getRadio",function(){return new JS.JRadioButtonMenuItem},"~S");f(a,"getCheckBox",function(){return new JS.JCheckBoxMenuItem},"~S");f(a,"menuAddButtonGroup",function(a){null==a?null!=this.buttonGroup&&0<this.buttonGroup.getButtonCount()&&(this.buttonGroup=null):(null==this.buttonGroup&&(this.buttonGroup=new JS.ButtonGroup),this.buttonGroup.add(a))},"J.api.SC");f(a,"getItemType",function(a){return a.btnType},"J.api.SC");f(a,"menuInsertSubMenu",function(a,b){b.setParent(a)},"J.api.SC,J.api.SC,~N");
f(a,"getSwingComponent",function(a){return a},"~O");f(a,"menuClearListeners",function(a){null!=a&&a.disposeMenu()},"J.api.SC");c(a,"itemStateChanged",function(a){null!=this.popup&&this.popup.menuCheckBoxCallback(a.getSource())},"java.awt.event.ItemEvent");c(a,"actionPerformed",function(a){null!=this.popup&&this.popup.menuClickCallback(a.getSource(),a.getActionCommand())},"java.awt.event.ActionEvent");f(a,"getButtonGroup",function(){return this.buttonGroup});c(a,"handleEvent",function(a){var b=""+
a.getID();"mouseenter"===b?this.mouseEntered(a):"mouseleave"===b&&this.mouseExited(a)},"java.awt.event.MouseEvent");c(a,"mouseEntered",function(a){a=a.getSource();this.popup.menuFocusCallback(a.getName(),a.getActionCommand(),!0)},"java.awt.event.MouseEvent");c(a,"mouseExited",function(a){a=a.getSource();this.popup.menuFocusCallback(a.getName(),a.getActionCommand(),!1)},"java.awt.event.MouseEvent");f(a,"dispose",function(a){this.menuClearListeners(a);this.popup=null},"J.api.SC")})})(Clazz,Clazz.getClassName,
Clazz.newLongArray,Clazz.doubleToByte,Clazz.doubleToInt,Clazz.doubleToLong,Clazz.declarePackage,Clazz.instanceOf,Clazz.load,Clazz.instantialize,Clazz.decorateAsClass,Clazz.floatToInt,Clazz.floatToLong,Clazz.makeConstructor,Clazz.defineEnumConstant,Clazz.exceptionOf,Clazz.newIntArray,Clazz.newFloatArray,Clazz.declareType,Clazz.prepareFields,Clazz.superConstructor,Clazz.newByteArray,Clazz.declareInterface,Clazz.newShortArray,Clazz.innerTypeInstance,Clazz.isClassDefined,Clazz.prepareCallback,Clazz.newArray,
Clazz.castNullAs,Clazz.floatToShort,Clazz.superCall,Clazz.decorateAsType,Clazz.newBooleanArray,Clazz.newCharArray,Clazz.implementOf,Clazz.newDoubleArray,Clazz.overrideConstructor,Clazz.clone,Clazz.doubleToShort,Clazz.getInheritedLevel,Clazz.getParamsType,Clazz.isAF,Clazz.isAB,Clazz.isAI,Clazz.isAS,Clazz.isASS,Clazz.isAP,Clazz.isAFloat,Clazz.isAII,Clazz.isAFF,Clazz.isAFFF,Clazz.tryToSearchAndExecute,Clazz.getStackTrace,Clazz.inheritArgs,Clazz.alert,Clazz.defineMethod,Clazz.overrideMethod,Clazz.declareAnonymous,
Clazz.cloneFinals);
