text: jsme.onScriptDownloaded(['var $wnd = $wnd || window.parent;var __gwtModuleFunction = $wnd.jsme;var $sendStats = __gwtModuleFunction.__sendStats;$sendStats(\'moduleStartup\', \'moduleEvalStart\');var $gwt_version = "2.5.1";var $strongName = \'EBEA2E50489662707A1BC43759F8080C\';var $doc = $wnd.document;function __gwtStartLoadingFragment(frag) {var fragFile = \'deferredjs/\' + $strongName + \'/\' + frag + \'.cache.js\';return __gwtModuleFunction.__startLoadingFragment(fragFile);}function __gwtInstallCode(code) {return __gwtModuleFunction.__installRunAsyncCode(code);}var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;var m="",aa="\\t",ba="\\n",ca=" ",fa="  ",ga="   ",ha="   1",la="   2",na="   3",pa="  0",qa="  0  0",sa="  0  0  0",ta="  1",wa="  2",xa=" is not supported",za=" to ",Aa=\'"\',Ba=\'" \',Da=\'" cy="\',Fa=\'" height="\',Ja=\'" rx="\',Ma=\'" ry="\',Na=\'" stroke="\',Oa=\'" width="\',Qa=\'" x2="\',Ra=\'" y1="\',Sa=\'" y2="\',Ta=\'" y="\',Va=\'"/>\',Wa=\'": \',Ya=\'">\',Za="#",cb="$",gb="$$$$",lb="$MOL\\n",ub="$RXN",Ab="$RXN\\n\\n\\nJME Molecular Editor\\n",Bb="%",Cb="&",Db="&amp;",Eb="&gt;",Kb="&lt;",Mb="\'",Nb="(",Ob=")",Rb="*",Sb="+",\n$b=",",ac=", ",dc=",modifiers=",hc="-",ic="-C#C-Me",jc="-C#CH",kc="-C#N",nc="-C(=O)N",oc="-C(=O)OH",pc="-C(=O)OMe",uc="-CCl3",vc="-CF3",wc="-CMe3",xc="-NC=O",Bc="-NH-SO2-Me",Cc="-NMe2",Dc="-NO2",Fc="-OC(=O)Me",Gc="-SO2-NH2",Ic="-SO3H",Jc="-disabled",Kc="-selected",Sc=".",Tc="...",Xc="/",ad="//",bd="/>",cd="0",id="0px",jd="1",kd="100%",ld="1px",td="2",ud="2147483647",vd="3",wd="4",Bd="5",Ed="6",Fd=":",Gd=": ",Hd=";",Id="<",Jd="<\/g>",Pd="<\/svg>",Qd="<\/text>",Rd=\'<line x1="\',Td=\'<rect x="\',Ud=\'<text x="\',\nVd="=",Wd=">",Xd="?",Yd="??",Zd="@",$d="A",ge="API",he="ATOMS",ie="AfterStructureModified",je="Ag",ke="Al",se="AtomClicked",te="AtomHighlight",ue="Au",ve="Auto atom map molecule",ye="B",ze="BODY",Ae="Ba",Be="BeforePaste",Ce="BondClicked",De="BondHighlight",Ee="Br",Fe="C",Ge="CENTER",He="CFG",Ne="CSS1Compat",Oe="Ca",Pe="Cd",Qe="Center",Re="Change atom map",Se="Change atom mark value",Te="Cl",Ue="Class$",Ve="Color parameter outside of expected range",Ye="Compute 2D coordinates",Ze="Copy as ",$e="Cs",\naf="Cu",bf="DEFAULT",cf="DOMMouseScroll",df="Delete all atom map molecule",ef="Delete hydrogens",ff="Dialog",gf="E",hf="END",jf="ERROR - ",kf="F",qf="FG",rf=\'For input string: "\',sf="Fr",tf="GUI",uf="Ga",vf="H",wf="H+",xf="Helvetica",Bf="I",Cf="InchiKeySearch",Df="Incorrect URL: ",Ef="Internal index set to null.",Ff="Invalid UTF8 sequence",Gf="Invalid starting size",Hf="JME",If="JSME",Jf="JUSTIFY",Kf="JavaScript",Lf="K",Mf="LEFT",Nf="Li",Of="M  CHG",Pf="M  END",Qf="M  END\\n",Rf="M  ISO",Sf="M  RAD",\nXf="M  RBD",Yf="M  SUB",Zf="M  V30 ",$f="MDLV30/STEABS",ag="MDLV30/STERAC",bg="MDLV30/STEREL",cg="MOL",dg="Mg",eg="N",fg="NA",gg="NEW",hg="NONE",ig="Na",jg="Ni",kg="Null widget handle. If you are creating a composite, ensure that initWidget() has been called.",lg="O",mg="ONE_WAY_CORNER",ng="P",og="PASTE",pg="Q",vg="R",wg="R1",xg="R2",yg="R3",zg="R4",Ag="R5",Bg="R6",Cg="R7",Dg="R8",Eg="R9",Fg="RIGHT",Gg="ROLL_DOWN",Hg="RXN",Ig="Rb",Jg="S",Kg="SMILES",Rg="SMIRKS",Tg="Se",Ug="Set coordination bond",\nVg="Set molecule Chiral flag",Wg="Si",Xg="Sr",Yg="Style names cannot be empty",Zg=\'Too many percent/per mille characters in pattern "\',$g="US$",ah="Unset coordination bond",bh="Unset molecule chiral flag",ch="V2000",dh="V3000",eh="WebkitUserSelect",fh="X",gh="Zn",nh="[",oh="[object Array]",ph="\\\\",qh="\\\\.",rh="\\\\\\\\",sh="\\\\\\\\n",th="\\\\b",uh="\\\\t",vh="]",wh="]\'",xh="__gwtex_wrap",yh="a",zh="abs",Ah="absolute",Bh="addBond",Ch="addChain",Dh="addGroup",Eh="addRing",Fh="addRingBond",Gh="addTemplate",Hh=\n"alert",Ih="alertdialog",Jh="align",Kh="antialias",Lh="application",Mh="article",Nh="autonumber",Oh="backgroundColor",Ph="banner",Sh="begin",Th="black",Uh="blue",Vh="blur",Wh="bolder",Xh="boolean",Yh="border",Zh="border-left-width",$h="border-top-width",ai="borderStyle",bi="bottom",ci="button",di="c",ei="cellPadding",fi="cellSpacing",gi="center",hi="change",ii="chargeAtom0",ji="checkbox",ki="className",li="clear",mi="click",ni="clip",oi="code",pi="colSpan",qi="columnheader",ri="combobox",si="complementary",\nti="contentinfo",ui="contextmenu",vi="cursor",wi="dblclick",xi="definition",yi="depict",zi="dialog",Ai="directory",Bi="display",Ci="div",Di="document",Ei="download",Fi="dragend",Gi="dragenter",Hi="dragover",Ii="dragstart",Ji="drop",Ki="e",Li="end_gesture",Mi="error",Ni="false",Oi="fixed",Pi="focus",Qi="fontFamily",Ri="fontSize",Si="fontStyle",Ti="fontWeight",Ui="form",Vi="function",Wi="g",Xi="gesturechange",Yi="gestureend",Zi="gesturestart",$i="google",aj="grid",bj="gridcell",cj="group",dj="gwt-MenuBar",\nej="gwt-MenuBarPopup",hj="head",ij="heading",jj="height",kj="hidden",lj="i",mj="id",nj="img",oj="is_touch_supported",pj="italic",qj="java.vm.name",rj="jsa-resetDiv",sj="keydown",tj="keypress",uj="keyup",vj="left",wj="leftoversDownload",xj="link",yj="list",zj="listbox",Aj="listitem",Bj="load",Cj="log",Dj="m",Ej="main",Fj="margin",Gj="marginBottom",Hj="marginLeft",Ij="marginRight",Jj="marginTop",Kj="marker",Lj="marquee",Mj="math",Nj="menu",Oj="menuPopup",Pj="menubar",Qj="menuitem",Rj="menuitemcheckbox",\nSj="menuitemradio",Tj="methods setStarColor and setMarkerColor have been replaced by activateMarkerColor",Uj="middle",Vj="mol",Wj="mousedown",Xj="mousemove",Yj="mouseout",Zj="mouseover",$j="mouseup",ak="mousewheel",bk="move",ck="msie",fk="n",gk="name",hk="navigation",ik="none",jk="note",lk="nowrap",mk="null",nk="number",ok="object",pk="offsetHeight",qk="offsetWidth",rk="ontouchstart",sk="opacity",tk="opera",uk="option",vk="or",wk="outline",xk="overflow",yk="p",zk="padding",Ak="paddingBottom",Bk="paddingLeft",\nCk="paddingRight",Dk="paddingTop",Ek="paste",Fk="popupContent",Gk="position",Hk="presentation",Ik="progressbar",Jk="px",Kk="px ",Lk="px, ",Mk="px;",Nk="radio",Ok="radiogroup",Pk="readMolFile",Qk="rect(0px, 0px, 0px, 0px)",Rk="redo",Sk="region",Tk="rgb(",Uk="right",Vk="role",Wk="rotation",Xk="row",Yk="rowgroup",Zk="rowheader",$k="rtl",al="runAsyncCallback",bl="s",cl="safari",dl="scale100",fl="scrollbar",gl="se",hl="search",il="separator",jl="setAtom",ml="setBondDouble",nl="setBondSingle",ol="setBondTriple",\npl=\'shape-rendering="crispEdges"\',ql="slider",rl="span",sl="spinbutton",ul="status",vl="string",wl="subMenuIcon-selected",xl="tab",yl="table",zl="tablist",Al="tabpanel",Bl="tbody",Cl="td",Dl="text",El="text/plain",Fl="textAlign",Gl="textbox",Hl="timer",Il="title",Jl="toolbar",Kl="tooltip",Ll="top",Ml="touchcancel",Nl="touchend",Ol="touchmove",Pl="touchstart",Ql="tr",Rl="tree",Sl="treegrid",Tl="treeitem",Ul="true",Vl="undefined",Wl="undo",Xl="unknown type",Yl="value",Zl="verticalAlign",$l="visibility",\nam="visible",bm="whiteSpace",cm="width",dm="x",em="zIndex",fm="{",gm="|",hm="~",_,im={l:4194303,m:4194303,h:1048575},jm={l:0,m:0,h:0},km={l:1,m:0,h:0},lm={l:2,m:0,h:0},mm={l:3,m:0,h:0},nm={l:4,m:0,h:0},om={l:6,m:0,h:0},pm={l:8,m:0,h:0},qm={l:10,m:0,h:0},rm={l:16,m:0,h:0},sm={l:32,m:0,h:0},tm={l:64,m:0,h:0},um={l:128,m:0,h:0},vm={l:256,m:0,h:0},wm={l:512,m:0,h:0},xm={l:1024,m:0,h:0},ym={l:2048,m:0,h:0},zm={l:8192,m:0,h:0},Am={l:16384,m:0,h:0},Bm={l:32768,m:0,h:0},Cm={l:65536,m:0,h:0},Dm={l:131072,\nm:0,h:0},Em={l:262144,m:0,h:0},Fm={l:524288,m:0,h:0},Gm={},Hm={55:1,60:1,61:1,67:1,76:1,77:1,84:1,87:1,94:1},Im={27:1,29:1,37:1,42:1,43:1,45:1,49:1,51:1},Jm={76:1,87:1},Km={71:1,83:1,98:1},Lm={27:1,29:1,37:1,41:1,42:1,43:1,45:1,49:1,51:1},Mm={64:1,94:1},Nm={27:1,29:1,37:1,42:1,45:1,49:1,51:1},Om={115:1},Pm={128:1},Qm={97:1},Rm={117:1},Sm={54:1,94:1,98:1},Tm={3:1,94:1,98:1},Um={94:1,98:1},Vm={142:1},Wm={94:1,99:1,101:1,119:1},Xm={94:1,98:1,114:1},Ym={42:1,49:1},Zm={2:1,94:1,98:1},o={94:1,98:1,109:1},\n$m={20:1,22:1,94:1,99:1,101:1},an={21:1,22:1,94:1,99:1,101:1},bn={26:1},cn={60:1,61:1,67:1,84:1,94:1},dn={36:1},en={24:1,94:1,99:1,101:1},fn={28:1,52:1},gn={53:1,94:1,102:1,110:1,111:1},v={92:1,94:1,98:1},hn={94:1},ln={33:1,94:1},mn={114:1},nn={22:1,23:1,94:1,99:1,101:1},on={113:1},pn={60:1,67:1,84:1,94:1},qn={94:1,102:1,111:1},rn={35:1},sn={17:1},tn={50:1,94:1,99:1,101:1},un={},vn={29:1},wn={94:1,98:1,113:1},xn={13:1},yn={18:1},zn={10:1,94:1,98:1,109:1},An={67:1,94:1},Bn={22:1,25:1,94:1,99:1,101:1},\nCn={94:1,102:1,110:1,111:1},Dn={94:1,113:1},En={93:1,94:1,98:1,109:1};function x(a,b,c){var d=Gm[a];d&&!d.cZ?_=d.prototype:(!d&&(d=Gm[a]=function(){}),_=d.prototype=0>b?{}:new Gm[b],_.cM=c);for(var e=3;e<arguments.length;++e)arguments[e].prototype=_;d.cZ&&(_.cZ=d.cZ,d.cZ=null)}function y(){}x(1,-1,un);_.eQ=Fn;_.hC=Gn;_.tS=function(){return this.cZ.d+Zd+Hn(this.hC())};_.toString=function(){return this.tS()};_.tM=y;\nfunction In(){In=y;Jn=z(B,v,-1,[0,16777215,14286847,13402367,12779264,16758197,9474192,3166456,16715021,9494608,11789301,11230450,9109248,12560038,1578E4,16744448,16777008,2093087,8442339,9388244,4062976,15132390,12567239,10921643,9083335,10255047,14706227,15765664,5296208,13140019,8224944,12750735,6721423,12419299,16752896,10889513,6076625,7351984,65280,9764863,9756896,7586505,5551541,3907230,2396047,687500,27013,12632256,16767375,10909043,6717568,10380213,13924864,9699476,4366E3,5707663,51456,7394559,\n16777159,14286791,13107143,10747847,9437127,6422471,4587463,3211207,2097095,65436,58997,54354,48952,43812,5096191,5089023,2200790,2522539,2516630,1528967,13684960,16765219,12105936,10900557,5724513,10375093,11230208,7688005,4358806,4325478,32E3,7384058,47871,41471,36863,33023,27647,5528818,7888099,9064419,10565332,11739092,11739066,11734438,12389767,13041766,13369433,13697103,14221381,14680120,15073326,15400998,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13158600,1334015,56540,15075850,15132160,56540,15075850,15461355,8553170,1016335,1016335,1334015,15132160,3289770,14456450,16422400,16422400,11819700,3289770,1016335]);Kn=new Ln(255,128,0);Mn=new Ln(92,160,255);Nn=new Ln(160,0,64);On=new Ln(255,160,255);Pn=new Ln(32,96,255);Qn=new Ln(255,0,0);Rn=new Ln(0,255,0);Sn=new Ln(192,0,255);Tn=new Ln(255,160,0);Un=new Ln(0,128,0);Vn=new Ln(160,0,0)}var Jn,On,Mn,Kn,Pn,Un,Vn,Rn,Sn,Tn,Qn,Nn;\nfunction Wn(a,b){var c,d,e,f,g,h,j;Xn(a.d,1);if(null!=b)a.c=b;else{a.c=C(Yn,Zm,-1,a.d.d,2);for(e=0;e<a.d.d;++e)64==a.d.B[e]&&(a.c[e]=!0,Zn(a.d,e,1))}a.e=0;g=C(Yn,Zm,-1,a.d.c,2);for(e=0;e<a.d.d;++e)if(a.c[e]){++a.b;for(c=0;2>c;++c)g[D(a.d,c,e)]||(g[D(a.d,c,e)]=!0,++a.a)}if(0!=a.b){g=new $n(a.d,1);if(a.d.E)for(d=0;d<a.d.d;++d)if(a.c[d])for(f=0;2>f;++f){c=D(a.d,f,d);h=!1;for(e=0;e<a.d.f[c];++e)if(d!=ao(a.d,c,e)&&a.c[ao(a.d,c,e)]){h=!0;break}if(!h){h=d;for(f=D(a.d,1-f,d);-1!=h;){a.c[h]=!1;--a.b;Zn(a.d,\nh,64);h=-1;c=f;for(e=0;e<a.d.f[c];++e)if(a.c[ao(a.d,c,e)])if(-1==h)h=ao(a.d,c,e),f=bo(a.d,c,e);else{h=-1;break}}break}}for(d=0;d<a.d.c;++d){a:{e=void 0;for(e=0;e<a.d.f[d];++e)if(a.c[ao(a.d,d,e)]){e=!0;break a}e=!1}e&&(7==g.a[d]&&(5==a.d.x[d]&&0==a.d.q[d]||6==a.d.x[d]&&1==a.d.q[d])&&co(a,d),5==g.a[d]&&(6==a.d.x[d]&&-1==a.d.q[d]||7==a.d.x[d]&&0==a.d.q[d]&&3==eo(a.d,d)||8==a.d.x[d]&&0==a.d.q[d]&&2==a.d.f[d]||16==a.d.x[d]&&0==a.d.q[d]&&2==a.d.f[d])&&co(a,d))}for(d=0;d<a.d.d;++d){if(e=a.c[d])a:{j=e=h=\nf=c=c=void 0;for(e=0;2>e;++e)if(c=D(g.f,e,d),7==g.f.x[c]&&2==g.f.f[c]){c=D(g.f,1-e,d);for(j=0;j<g.f.f[c];++j)if(f=bo(g.f,c,j),h=ao(g.f,c,j),(8==g.f.x[f]||16==g.f.x[f])&&2==fo(g.f,h)&&1==g.f.f[f]){e=!0;break a}}e=!1}e&&(co(a,D(a.d,0,d)),co(a,D(a.d,1,d)))}for(e=0;e<a.d.d;++e)if(2==fo(a.d,e))for(f=0;2>f;++f){d=D(a.d,f,e);for(h=0;h<a.d.f[d];++h)if(c=ao(a.d,d,h),a.c[c]){co(a,d);break}}for(go(a);0!=a.b;){d=!1;for(e=0;e<a.d.d;++e)if(a.c[e]){for(h=c=0;2>h;++h){f=D(a.d,h,e);for(j=0;j<a.d.f[f];++j)a.c[ao(a.d,\nf,j)]&&++c}if(4==c){ho(a,e);go(a);d=!0;break}}if(!d)for(f=0;f<g.i.c;++f)if(6==io(g.j,f).length){e=!0;h=io(g.j,f);for(c=0;6>c;++c)if(!a.c[h[c]]){e=!1;break}if(e){for(c=0;6>c;c+=2)ho(a,h[c]);d=!0;break}}if(!d)for(e=0;e<a.d.d;++e)if(a.c[e]){ho(a,e);go(a);break}}}}function ho(a,b){var c,d,e,f;1==a.d.B[b]&&(Zn(a.d,b,2),a.e+=2);for(e=0;2>e;++e){c=D(a.d,e,b);for(f=0;f<a.d.f[c];++f)d=ao(a.d,c,f),a.c[d]&&(a.c[d]=!1,--a.b)}}\nfunction go(a){var b,c,d,e,f,g,h;do{h=!1;for(c=0;c<a.d.d;++c)if(a.c[c]){f=!1;for(e=0;2>e;++e){d=D(a.d,e,c);b=!1;for(g=0;g<a.d.f[d];++g)if(c!=ao(a.d,d,g)&&a.c[ao(a.d,d,g)]){b=!0;break}if(!b){f=!0;break}}f&&(h=!0,ho(a,c))}}while(h)}function co(a,b){var c,d;--a.a;for(d=0;d<a.d.f[b];++d)c=ao(a.d,b,d),a.c[c]&&(a.c[c]=!1,--a.b)}function jo(a){this.d=a}x(6,1,{},jo);_.a=0;_.b=0;_.c=null;_.d=null;_.e=0;\nfunction ko(a,b,c){var d,e,f,g,h;if(6!=a.H.x[b]&&7!=a.H.x[b])return!1;e=bo(a.H,b,0);d=bo(a.H,b,1);if(1!=a.H.k[e]||1!=a.H.k[d]||1==a.H.f[e]||1==a.H.f[d]||3<eo(a.H,e)||3<eo(a.H,d))return!1;e=new lo(a.H,a.c,b,e);if(e.f&&!c)return!1;f=new lo(a.H,a.c,b,d);if(f.f&&!c||e.f&&f.f)return!1;c&&(e.f&&e.c&&(a.L[b]=!0),f.f&&f.c&&(a.L[b]=!0));g=mo(e);h=mo(f);if(-1==g||-1==h||0==(g+h&1))return c||(a.S[b]=3),!0;d=0;switch(g+h){case 3:case 7:d=2;break;case 5:d=1}if(c){if(a.M&&0!=(a.G&2)||!a.M&&0!=(a.G&4))e.f&&(1==\nd?(no(a.b[e.b],tm),no(a.b[e.d],rm)):(no(a.b[e.b],rm),no(a.b[e.d],tm))),f.f&&(2==d?(no(a.b[f.b],tm),no(a.b[f.d],rm)):(no(a.b[f.b],rm),no(a.b[f.d],tm)))}else a.S[b]=d;return!0}\nfunction oo(a,b,c){var d,e,f,g,h;if(!po(a.H,b))return!1;d=D(a.H,0,b);e=D(a.H,1,b);f=new lo(a.H,a.c,d,e);if(f.f&&!c)return!1;g=new lo(a.H,a.c,e,d);if(g.f&&!c||f.f&&g.f)return!1;c&&(f.f&&(a.K[b]=qo(a,e)),g.f&&(a.K[b]=qo(a,d)));e=mo(f);h=mo(g);if(-1==e||-1==h||0==(e+h&1))return c||(a.k[b]=3),!0;d=0;switch(e+h){case 3:case 7:d=1;break;case 5:d=2}if(c){if(a.M&&0!=(a.G&2)||!a.M&&0!=(a.G&4))f.f&&(2==d?(no(a.b[f.b],nm),no(a.b[f.d],km)):(no(a.b[f.b],km),no(a.b[f.d],nm))),g.f&&(2==d?(no(a.b[g.b],nm),no(a.b[g.d],\nkm)):(no(a.b[g.b],km),no(a.b[g.d],nm)))}else a.k[b]=d;return!0}\nfunction ro(a,b,c){var d,e,f,g,h,j,l,n,q,r;if(0!=a.k[b])return!1;if(1==fo(a.H,b))return oo(a,b,c);if(2!=fo(a.H,b)||so(a.H,b))return!1;d=D(a.H,0,b);e=D(a.H,1,b);if(1==a.H.f[d]||1==a.H.f[e]||3<a.H.f[d]||3<a.H.f[e]||2==a.H.k[d]||2==a.H.k[e])return!1;f=new lo(a.H,a.c,e,d);if(f.f&&!c)return!1;e=new lo(a.H,a.c,d,e);if(e.f&&!c||f.f&&e.f)return!1;c&&(f.f&&f.c&&(a.K[b]=!0),e.f&&e.c&&(a.K[b]=!0));d=0!=(a.H.z[b]&16777216)?3:a.X?(g=C(to,Sm,-1,3,1),g[0]=uo(a.H,e.a)-uo(a.H,f.a),g[1]=vo(a.H,e.a)-vo(a.H,f.a),g[2]=\nwo(a.H,e.a)-wo(a.H,f.a),h=C(to,Sm,-1,3,1),h[0]=uo(a.H,f.b)-uo(a.H,f.a),h[1]=vo(a.H,f.b)-vo(a.H,f.a),h[2]=wo(a.H,f.b)-wo(a.H,f.a),j=C(to,Sm,-1,3,1),j[0]=uo(a.H,e.b)-uo(a.H,e.a),j[1]=vo(a.H,e.b)-vo(a.H,e.a),j[2]=wo(a.H,e.b)-wo(a.H,e.a),l=C(to,Sm,-1,3,1),l[0]=g[1]*h[2]-g[2]*h[1],l[1]=g[2]*h[0]-g[0]*h[2],l[2]=g[0]*h[1]-g[1]*h[0],n=C(to,Sm,-1,3,1),n[0]=g[1]*l[2]-g[2]*l[1],n[1]=g[2]*l[0]-g[0]*l[2],n[2]=g[0]*l[1]-g[1]*l[0],q=(h[0]*n[0]+h[1]*n[1]+h[2]*n[2])/(Math.sqrt(h[0]*h[0]+h[1]*h[1]+h[2]*h[2])*Math.sqrt(n[0]*\nn[0]+n[1]*n[1]+n[2]*n[2])),r=(j[0]*n[0]+j[1]*n[1]+j[2]*n[2])/(Math.sqrt(j[0]*j[0]+j[1]*j[1]+j[2]*j[2])*Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2])),0>q^0>r?1:2):-1==mo(f)||-1==mo(e)||0!=((mo(f)|mo(e))&1)?3:mo(f)==mo(e)?1:2;c?0!=(a.G&2)&&(f.f&&(1==d?(no(a.b[f.b],nm),no(a.b[f.d],km)):2==d&&(no(a.b[f.b],km),no(a.b[f.d],nm))),e.f&&(1==d?(no(a.b[e.b],nm),no(a.b[e.d],km)):2==d&&(no(a.b[e.b],km),no(a.b[e.d],nm)))):a.k[b]=d;return!0}\nfunction xo(a,b,c){var d,e,f,g,h,j,l;if(0!=a.S[b]||6!=a.H.x[b]&&7!=a.H.x[b]&&14!=a.H.x[b]&&15!=a.H.x[b]&&16!=a.H.x[b])return!1;if(0!=a.H.k[b]){if(2==a.H.f[b]&&2==a.H.j[b][0]&&2==a.H.j[b][1])return ko(a,b,c);if(15!=a.H.x[b]&&16!=a.H.x[b])return!1}if(3>a.H.f[b]||4<eo(a.H,b)||7==a.H.x[b]&&!a.I[b])return!1;d=C(B,v,-1,4,1);l=C(B,v,-1,4,1);j=C(Yn,Zm,-1,4,2);for(g=0;g<eo(a.H,b);++g){f=-1;for(h=e=0;h<eo(a.H,b);++h)!j[h]&&f<a.c[bo(a.H,b,h)]&&(f=a.c[bo(a.H,b,h)],e=h);d[g]=e;l[g]=f;j[e]=!0}if(4==eo(a.H,b)&&\nl[0]==l[1]&&l[2]==l[3]||4==eo(a.H,b)&&(l[0]==l[2]||l[1]==l[3])||3==eo(a.H,b)&&l[0]==l[2])return!1;f=e=0;h=!1;for(g=1;g<eo(a.H,b);++g)if(l[g-1]==l[g]){if(!c||0==l[g])return!1;e=bo(a.H,b,d[g-1]);f=bo(a.H,b,d[g]);yo(a.H,ao(a.H,b,d[g]))&&(a.L[b]=!0);h=!0}if(c&&!h)return!1;if(a.X){g=C(B,v,-1,4,1);for(l=0;l<eo(a.H,b);++l)g[l]=bo(a.H,b,d[l]);3==eo(a.H,b)&&(g[3]=b);d=zo([Ao,to],[o,Sm],[54,-1],[3,3],0,2,1);for(l=0;3>l;++l)d[l][0]=uo(a.H,g[l+1])-uo(a.H,g[0]),d[l][1]=vo(a.H,g[l+1])-vo(a.H,g[0]),d[l][2]=wo(a.H,\ng[l+1])-wo(a.H,g[0]);g=C(to,Sm,-1,3,1);g[0]=d[0][1]*d[1][2]-d[0][2]*d[1][1];g[1]=d[0][2]*d[1][0]-d[0][0]*d[1][2];g[2]=d[0][0]*d[1][1]-d[0][1]*d[1][0];d=0<(d[2][0]*g[0]+d[2][1]*g[1]+d[2][2]*g[2])/(Math.sqrt(d[2][0]*d[2][0]+d[2][1]*d[2][1]+d[2][2]*d[2][2])*Math.sqrt(g[0]*g[0]+g[1]*g[1]+g[2]*g[2]))?1:2}else{var n,q;l=z(Bo,En,92,[z(B,v,-1,[2,1,2,1]),z(B,v,-1,[1,2,2,1]),z(B,v,-1,[1,1,2,2]),z(B,v,-1,[2,1,1,2]),z(B,v,-1,[2,2,1,1]),z(B,v,-1,[1,2,1,2])]);g=C(to,Sm,-1,eo(a.H,b),1);for(q=0;q<eo(a.H,b);++q)g[q]=\nCo(a.H,bo(a.H,b,d[q]),b);h=~~(Do(a.H,b,d,g,null)<<24)>>24;if(3!=h)d=h;else{for(q=j=h=0;q<eo(a.H,b);++q)n=ao(a.H,b,d[q]),D(a.H,0,n)==b&&(9==a.H.B[n]&&(0!=j&&Eo(a.H,b),h=q,j=1),17==a.H.B[n]&&(0!=j&&Eo(a.H,b),h=q,j=2));if(0==j)d=3;else{for(q=1;q<eo(a.H,b);++q)g[q]<g[0]&&(g[q]+=6.283185307179586);if(3==eo(a.H,b)){switch(h){case 0:(g[1]<g[2]&&3.141592653589793>g[2]-g[1]||g[1]>g[2]&&3.141592653589793<g[1]-g[2])&&(j=3-j);break;case 1:3.141592653589793<g[2]-g[0]&&(j=3-j);break;case 2:3.141592653589793>g[1]-\ng[0]&&(j=3-j)}d=1==j?2:1}else d=0,g[1]<=g[2]&&g[2]<=g[3]?d=0:g[1]<=g[3]&&g[3]<=g[2]?d=1:g[2]<=g[1]&&g[1]<=g[3]?d=2:g[2]<=g[3]&&g[3]<=g[1]?d=3:g[3]<=g[1]&&g[1]<=g[2]?d=4:g[3]<=g[2]&&g[2]<=g[1]&&(d=5),d=l[d][h]==j?2:1}}}if(c){if(a.M&&0!=(a.G&2)||!a.M&&0!=(a.G&4))1==d?(no(a.b[e],xm),no(a.b[f],vm)):2==d&&(no(a.b[e],vm),no(a.b[f],xm))}else a.S[b]=d;return!0}\nfunction Fo(a){var b,c;b=0;c=a.b;Go(c,c.length,(Ho(),Ho(),Io));for(c=0;c<a.b.length;++c)(0==c||0!=Jo(a.b[c],a.b[c-1]))&&++b,a.c[a.b[c].a]=b;return b}\nfunction Ko(a,b){var c,d,e;d=!1;for(c=0;c<a.H.d;++c)if(ro(a,c,!1)){a.o[c]=a.C;if(b)a:{d=a;e=c;var f=void 0,g=void 0,h=void 0,j=void 0,l=void 0,n=void 0;if((1==d.k[e]||2==d.k[e])&&!Lo(d.H,e)){l=!1;try{for(j=0;2>j;++j)if(f=D(d.H,j,e),3==d.H.f[f]){g=C(B,v,-1,2,1);for(n=h=0;n<d.H.f[f];++n)ao(d.H,f,n)!=e&&(g[h++]=bo(d.H,f,n));d.c[g[0]]>d.c[g[1]]^Mo(d,f,g[0],g[1])&&(l=!l)}}catch(q){q=No(q);if(E(q,102)){d.e[e]=3;break a}throw q;}1==d.k[e]^l?d.e[e]=1:d.e[e]=2}}d=!0}e=!1;for(c=0;c<a.H.c;++c)if(xo(a,c,!1)){a.W[c]=\na.C;if(b)a:{e=a;var f=c,r=n=l=g=j=void 0,t=h=void 0;if(1==e.S[f]||2==e.S[f]){h=!1;if(2==e.H.k[f])try{for(r=0;2>r;++r)if(j=bo(e.H,f,r),3==e.H.f[j]){l=C(B,v,-1,2,1);for(t=n=0;t<e.H.f[j];++t)1==e.H.j[j][t]&&(l[n++]=bo(e.H,j,t));e.c[l[0]]>e.c[l[1]]^Mo(e,j,l[0],l[1])&&(h=!h)}}catch(A){A=No(A);if(E(A,102)){e.N[f]=3;break a}throw A;}else{try{for(var j=e,l=f,u=t=r=n=void 0,w=void 0,F=void 0,u=eo(j.H,l),w=C(B,v,-1,u,1),r=0;r<u;++r)w[r]=bo(j.H,l,r);for(r=u;1<r;--r){n=!1;for(t=1;t<r;++t)Mo(j,l,w[t-1],w[t])&&\n(n=!0,F=w[t-1],w[t-1]=w[t],w[t]=F);if(!n)break}g=w}catch(H){H=No(H);if(E(H,102)){e.N[f]=3;break a}throw H;}for(r=1;r<g.length;++r)for(t=0;t<r;++t)e.c[g[r]]<e.c[g[t]]&&(h=!h)}1==e.S[f]^h?e.N[f]=1:e.N[f]=2}}e=!0}e&&(a.C=!a.C);return d||e}\nfunction Oo(a){var b,c,d,e,f,g,h,j,l;for(e=0;e<a.V.c;++e){d=io(a.V,e);b=!0;l=-1;f=!1;for(h=0;h<d.length;++h){c=d[h];if(0==a.S[c]){b=!1;break}if(3!=a.S[c]){g=!0;for(j=0;j<d.length;++j)if(j!=h&&a.c[c]==a.c[d[j]]){g=!1;break}g&&l<a.c[c]&&(l=a.c[c],f=1==a.S[c])}}if(b&&-1!=l){for(h=0;h<d.length;++h)c=d[h],f&&(1==a.S[c]?a.S[c]=2:2==a.S[c]&&(a.S[c]=1)),a.U[c]=!1;Po(a.V,d);--e}}}\nfunction Qo(a){var b,c;b=Fo(a);do{c=b;b=a;for(var d=void 0,e=void 0,f=void 0,g=void 0,h=e=void 0,j=void 0,l=void 0,f=C(B,v,-1,b.E,1),d=0;d<b.H.c;++d){j=b.H.f[d]+Ro(b.H,d);for(g=0;g<So(b.H,d);++g)if(g<b.H.f[d]||g>=eo(b.H,d)){l=2*b.c[bo(b.H,d,g)];e=ao(b.H,d,g);2==fo(b.H,e)&&(so(b.H,e)||++l);for(e=0;e<g&&!(l<f[e]);++e);for(h=g;h>e;--h)f[h]=f[h-1];f[e]=l}To(b.b[d],d);Uo(b.b[d],16,Vo(b.c[d]));for(g=j;g<b.E;++g)Uo(b.b[d],17,jm);for(g=0;g<j;++g)Uo(b.b[d],17,Vo(f[g]))}b=Fo(a)}while(c!=b);return b}\nfunction Mo(a,b,c,d){var e,f,g,h,j,l,n,q,r,t,A,u,w,F,H;if(a.H.x[c]!=a.H.x[d])return a.H.x[c]>a.H.x[d];if(a.H.v[c]!=a.H.v[d])return g=0==a.H.v[c]?(Wo(),Xo)[a.H.x[c]]:a.H.v[c],a=0==a.H.v[d]?(Wo(),Xo)[a.H.x[d]]:a.H.v[d],g>a;h=a.H.c;r=C(B,v,-1,h,1);A=C(B,v,-1,h,1);u=C(B,v,-1,h,1);t=C(Yn,Zm,-1,h,2);g=C(Yn,Zm,-1,a.H.o,2);r[0]=b;r[1]=c;r[2]=d;A[0]=-1;A[1]=0;A[2]=0;g[b]=!0;g[c]=!0;g[d]=!0;j=1;w=2;b=C(B,v,-1,64,1);b[1]=1;b[2]=3;for(d=2;j<=w;){for(;j<b[d];){l=r[j];if(!t[j]){for(F=q=n=0;F<a.H.f[l];++F){c=bo(a.H,\nl,F);w+a.H.j[l][F]+1>=h&&(h+=a.H.c,r=Yo(r,h),A=Yo(A,h),u=Yo(u,h),t=(e=C(Yn,Zm,-1,h,2),Zo(t,0,e,t.length),e));if(0!=(a.H.z[ao(a.H,l,F)]&512))++n,q+=a.H.x[c];else for(f=1;f<a.H.j[l][F];++f)++w,r[w]=c,A[w]=j,t[w]=!0;H=A[j];if(c!=r[H]){f=!1;if(g[c])for(H=A[H];-1!=H;){if(c==r[H]){f=!0;break}H=A[H]}f?(++w,r[w]=c,A[w]=j,t[w]=!0):(++w,r[w]=c,A[w]=j,g[c]=!0)}}0!=n&&(++w,u[w]=~~((q<<2)/n),A[w]=j,t[w]=!0)}++j;if(1E4==j)throw new $o("Emergency break in while loop.");}b.length==d+1&&(b=Yo(b,b.length+64));b[d+\n1]=w+1;for(F=b[d];F<b[d+1];++F)0==u[F]&&(u[F]=(151==a.H.x[r[F]]?1:152==a.H.x[r[F]]?1:a.H.x[r[F]])<<2),u[F]+=u[A[F]]<<16;ap(a,t,u,A,r,b,d);if(u[1]!=u[2])return u[1]>u[2];1<d&&bp(u,A,b,d);++d}h=C(B,v,-1,a.H.c,1);c=!1;for(e=0;e<a.H.c;++e)if(g[e]&&0!=a.H.v[e]){c=!0;break}if(c){for(e=0;e<a.H.c;++e)h[e]=0==a.H.v[e]?(Wo(),Xo)[a.H.x[e]]:a.H.v[e];if(cp(a,t,u,A,r,h,b,d))return u[1]>u[2]}e=h.length;for(c=0;c<e;++c)h[c]=0;c=!1;for(e=0;e<a.H.d;++e)if(g[D(a.H,0,e)]||g[D(a.H,1,e)])1==a.e[e]?(h[D(a.H,0,e)]=1,h[D(a.H,\n1,e)]=1,c=!0):2==a.e[e]&&(h[D(a.H,0,e)]=2,h[D(a.H,1,e)]=2,c=!0);if(c&&cp(a,t,u,A,r,h,b,d))return u[1]>u[2];e=h.length;for(c=0;c<e;++c)h[c]=0;c=!1;for(e=0;e<a.H.c;++e)g[e]&&(2==a.N[e]?(h[e]=1,c=!0):1==a.N[e]&&(h[e]=2,c=!0));if(c&&cp(a,t,u,A,r,h,b,d))return u[1]>u[2];throw new $o("no distinction applying CIP rules");}\nfunction bp(a,b,c,d){var e,f,g,h;e=c[d];c=c[d+1]-e;h=C(dp,o,5,c,0);for(f=0;f<c;++f)h[f]=new ep,h[f].c=a[f+e],h[f].b=b[f+e],h[f].a=f+e;e=new fp;for(g=d;1<g;--g){for(f=0;f<c;++f)h[f].c+=a[h[f].b]<<16,h[f].b=b[h[f].b];Go(h,h.length,e?e:(Ho(),Ho(),Io));d=1;for(f=0;f<c;++f)a[h[f].a]=d,f!=c-1&&0!=(h[f].c!=h[f+1].c?h[f].c>h[f+1].c?1:-1:0)&&++d}}\nfunction cp(a,b,c,d,e,f,g,h){var j,l;for(l=1;l<h;++l){for(j=g[l];j<g[l+1];++j)c[j]=f[e[j]]+(c[d[j]]<<8);ap(a,b,c,d,e,g,l);if(c[1]!=c[2])return!0;1<l&&bp(c,d,g,l)}return!1}\nfunction ap(a,b,c,d,e,f,g){for(var h,j,l,n,q,r;1<g;--g){q=f[g]-f[g-1];r=C(gp,o,4,q,0);h=f[g];for(j=0;j<q;++j){l=f[g-1]+j;for(n=h;n<f[g+1]&&d[n]==l;)++n;r[j]=new hp;r[j].c=l;r[j].d=c[l];r[j].b=b[l]?0:a.H.f[a.H.o+e[l]]-a.H.f[e[l]]+ip(a.H,e[l]);r[j].a=C(B,v,-1,n-h,1);for(l=h;l<n;++l)r[j].a[l-h]=c[l];jp(r[j].a);h=n}j=new kp;Go(r,r.length,j?j:(Ho(),Ho(),Io));h=1;for(j=0;j<q;++j)c[r[j].c]=h,j!=q-1&&0!=lp(r[j],r[j+1])&&++h}}\nfunction mp(a){var b,c;c=zo([np,Bo],[o,En],[93,92],[2,32],0,2,0);for(b=0;b<a.H.c;++b)a.D[b]&&(1==a.Q[b]?c[0][a.P[b]]=op(c[0][a.P[b]],b):2==a.Q[b]&&(c[1][a.P[b]]=op(c[0][a.P[b]],b)));return c}function qo(a,b){var c,d,e,f,g;e=pp(a.H);for(c=0;c<e.i.c;++c)if(e.d[c]&&qp(e,c,b)){for(d=io(e.i,c),e=0,f=d.length;e<f;++e)if(c=d[e],c!=b)for(g=0;g<a.H.f[c];++g)if(po(a.H,ao(a.H,c,g)))return!0;break}return!1}\nfunction rp(a,b,c){a.J=b;for(b=0;b<a.H.c;++b)a.c[b]=c[b],a.S[b]=0,a.W[b]=!1;for(c=0;c<a.H.d;++c)a.k[c]=0,a.o[c]=!1}function sp(a,b){var c,d;c=D(a.H,0,b);if(c>=a.H.c)return!1;if(1==a.S[c]||2==a.S[c])return!0;if(3==a.S[c])return!1;d=tp(a.H,c);if(-1!=d)return 1==a.k[d]||2==a.k[d];for(d=0;d<a.H.f[c];++d)if(2==a.H.j[c][d]&&(1==a.S[bo(a.H,c,d)]||2==a.S[bo(a.H,c,d)]))return!0;return!1}function Yo(a,b){var c;c=C(B,v,-1,b,1);Zo(a,0,c,a.length);return c}\nfunction up(a,b){var c;if(65535<a.o)throw new vp("Cannot canonize a molecule having more than 65535 atoms");if(65535<a.p)throw new vp("Cannot canonize a molecule having more than 65535 bonds");this.H=a;this.G=b;Xn(this.H,3);var d,e,f,g,h,j,l,n,q,r,t,A,u,w,F,H,s,Q,da,Y;this.I=C(Yn,Zm,-1,this.H.c,2);for(d=0;d<this.H.c;++d)if(7==this.H.x[d])if(4==this.H.f[d])this.I[d]=!0;else if(3==this.H.f[d])if(1==this.H.q[d])this.I[d]=!0;else if(!wp(this.H,d))if(0!=(this.G&32))this.I[d]=!0;else if(3==xp(this.H,d)&&\n(Y=yp(this.H,d),!(7<Y))){Q=pp(this.H);for(da=0;da<Q.i.c&&!(io(Q.j,da).length==Y&&qp(Q,da,d));)++da;q=n=-1;for(r=0;3>r;++r){l=ao(this.H,d,r);var W;a:{for(var ja=l,vb=void 0,Ua=void 0,Ua=io(Q.j,da),vb=0;vb<Ua.length;++vb)if(ja==Ua[vb]){W=!0;break a}W=!1}if(!W){n=bo(this.H,d,r);q=l;break}}A=C(Yn,Zm,-1,this.H.d,2);A[q]=!0;u=C(B,v,-1,11,1);a:{var db=this.H,M=u,yb=n,ua=d,P=A,Ca=void 0,mb=void 0,va=void 0,hb=void 0,R=void 0,Uc=void 0,ra=void 0,qb=void 0,ib=void 0;if(yb==ua)M[0]=yb,w=0;else{Xn(db,1);hb=C(B,\nv,-1,db.o,1);va=C(B,v,-1,db.o,1);ib=C(B,v,-1,db.o,1);va[0]=yb;hb[yb]=1;for(R=mb=0;mb<=R&&10>=hb[va[mb]];){qb=va[mb];for(Uc=0;Uc<db.f[db.o+qb];++Uc)if(null==P||P.length<=db.i[qb][Uc]||!P[db.i[qb][Uc]]){Ca=db.e[qb][Uc];if(Ca==ua){ra=hb[qb];M[ra]=Ca;for(M[--ra]=qb;0<ra;)M[ra-1]=ib[M[ra]],--ra;w=hb[qb];break a}0==hb[Ca]&&(va[++R]=Ca,hb[Ca]=hb[qb]+1,ib[Ca]=qb)}++mb}w=-1}}if(-1!=w){for(f=1;!qp(Q,da,u[f]);)++f;e=w-f;g=u[f];if(6==Y&&2==e&&3==f&&3<=xp(this.H,u[1])){t=!1;s=io(Q.i,da);for(r=0;6>r;++r)if(d==\ns[r]){H=zp(Q,da,g==s[zp(Q,da,r+2)]?r-2:r+2);F=s[H];var bb;if(bb=3<=xp(this.H,F)){var $a;a:{var eb=this.H,La=u[1],ma=F,V=void 0,Fb=void 0,Tb=void 0,ea=void 0,Lc=void 0,G=void 0;if(La==ma)$a=0;else{Xn(eb,1);ea=C(B,v,-1,eb.o,1);Tb=C(B,v,-1,eb.o,1);Tb[0]=La;ea[La]=1;for(Lc=Fb=0;Fb<=Lc&&2>=ea[Tb[Fb]];){for(G=0;G<eb.f[eb.o+Tb[Fb]];++G){V=eb.e[Tb[Fb]][G];if(V==ma){$a=ea[Tb[Fb]];break a}0==ea[V]&&(Tb[++Lc]=V,ea[V]=ea[Tb[Fb]]+1)}++Fb}$a=-1}}bb=2==$a}bb&&(t=!0);break}if(t){this.I[d]=!0;continue}}h=1==this.H.k[g]||\n0!=(this.H.s[g]&4096)||wp(this.H,g);j=!h&&7==this.H.x[g]&&1!=this.H.q[g];if(1==e)!h&&!j&&4>=Y&&3>=f&&(this.I[d]=!0);else switch(Y){case 4:!h&&!j&&4>=f&&(this.I[d]=!0);break;case 5:j?3>=f&&(this.I[d]=!0):h||4>=f&&(this.I[d]=!0);break;case 6:2==e?h?4>=f&&(this.I[d]=!0):j||3>=f&&(this.I[d]=!0):3==e&&(h?6>=f&&(this.I[d]=!0):4>=f&&(this.I[d]=!0));break;case 7:3==e&&3>=f&&(this.I[d]=!0)}}}for(c=0;c<this.H.c;++c)if(0!=wo(this.H,c)){this.X=!0;break}this.S=C(Ap,Tm,-1,this.H.c,1);this.T=C(Yn,Zm,-1,this.H.c,\n2);this.W=C(Yn,Zm,-1,this.H.c,2);this.k=C(Ap,Tm,-1,this.H.d,1);this.o=C(Yn,Zm,-1,this.H.d,2);this.n=C(Yn,Zm,-1,this.H.d,2);var S,Lb,Gb,Mc,Ub,ka,nb,Hb,ya,ob,Nc,O,Ka;nb=!1;if(this.H.E)for(Ub=0;Ub<this.H.d;++Ub)if(0!=this.H.A[Ub]){nb=!0;break}this.E=2;for(S=0;S<this.H.c;++S)this.E=Bp(this.E,this.H.f[S]+Ro(this.H,S));Mc=Bp(2,nb?~~((78+36*this.E)/63):~~((78+21*this.E)/63));this.c=C(B,v,-1,this.H.o,1);this.b=C(Cp,o,6,this.H.c,0);for(S=0;S<this.H.c;++S)this.b[S]=new Dp(Mc);Gb=!1;for(S=0;S<this.H.c;++S){To(this.b[S],\nS);0!=(this.H.w[S]&1)||null!=Ep(this.H,S)?Uo(this.b[S],8,om):Uo(this.b[S],8,Vo(this.H.x[S]));Uo(this.b[S],8,Vo(this.H.v[S]));Uo(this.b[S],2,Vo(this.H.k[S]));Uo(this.b[S],4,Vo(this.H.f[S]+Ro(this.H,S)));0!=(this.H.w[S]&1)?Uo(this.b[S],4,pm):Uo(this.b[S],4,Vo(8+this.H.q[S]));Uo(this.b[S],5,Vo(Fp(31,yp(this.H,S))));var qc=this.b[S],yc=S,wb=void 0,Ib=void 0,xb=void 0,bc=void 0,wb=(~~(this.H.s[yc]&-268435456)>>>28)-1,Ib=Gp(this.H,yc,!1),xb=Gp(this.H,yc,!0),bc=-1;Ib!=xb?-1!=wb&&wb>Ib?bc=~~(wb<<24)>>24:\nbc=~~(Ib<<24)>>24:-1!=wb?(wb>xb||wb<xb&&wb>=Hp(this.H,yc))&&(bc=~~(wb<<24)>>24):!Ip(this.H,yc)&&0!=ip(this.H,yc)&&(bc=Hp(this.H,yc),bc-=Jp(this.H,yc,bc));var rb=yc,cc=bc;if(null==this.a)for(var ab=this.a=C(Ap,Tm,-1,this.H.c,1),K=ab,Vb=ab.length,Oc=void 0,Oc=0;Oc<Vb;++Oc)K[Oc]=-1;this.a[rb]=~~(cc<<24)>>24;Uo(qc,4,Vo(bc+1));Uo(this.b[S],2,Vo(~~(this.H.s[S]&48)>>4));this.H.E&&(Uo(this.b[S],30,Vo(this.H.w[S])),null!=Ep(this.H,S)&&(Gb=!0))}this.J=Qo(this);if(this.J<this.H.c){for(S=0;S<this.H.c;++S){To(this.b[S],\nS);Uo(this.b[S],16,Vo(this.c[S]));Hb=C(B,v,-1,this.H.f[S],1);for(ya=0;ya<this.H.f[S];++ya)Hb[ya]=this.c[bo(this.H,S,ya)]<<5,Hb[ya]|=Fp(31,this.H.n&&ao(this.H,S,ya)<this.H.d?this.H.n.b[ao(this.H,S,ya)]:0);jp(Hb);for(ya=this.E;ya>Hb.length;--ya)Uo(this.b[S],21,jm);for(ya=Hb.length-1;0<=ya;--ya)Uo(this.b[S],21,Vo(Hb[ya]))}this.J=Qo(this)}if(Gb&&this.J<this.H.c){for(S=0;S<this.H.c;++S){To(this.b[S],S);Uo(this.b[S],16,Vo(this.c[S]));Lb=Ep(this.H,S);O=null==Lb?0:Fp(12,Lb.length);for(ya=12;ya>O;--ya)Uo(this.b[S],\n8,jm);for(ya=O-1;0<=ya;--ya)Uo(this.b[S],8,Vo(Lb[ya]))}this.J=Qo(this)}if(nb&&this.J<this.H.c){for(S=0;S<this.H.c;++S){To(this.b[S],S);Uo(this.b[S],16,Vo(this.c[S]));ka=C(Kp,Um,-1,this.H.f[S]+Ro(this.H,S),3);for(ya=ob=0;ya<So(this.H,S);++ya)if(ya<this.H.f[S]||ya>=eo(this.H,S))ka[ob]=Vo(this.c[bo(this.H,S,ya)]),ka[ob]=Lp(ka[ob],20),ka[ob]=Mp(ka[ob],Vo(this.H.A[ao(this.H,S,ya)])),++ob;ka.sort(Np);for(ya=this.E;ya>ka.length;--ya)Uo(this.b[S],36,jm);for(ya=ka.length-1;0<=ya;--ya)Uo(this.b[S],36,ka[ya])}this.J=\nQo(this)}if(0!=(this.G&8)&&this.J<this.H.c){Nc=new Op;for(S=0;S<this.H.c;++S)if(null!=Pp(this.H,S))a:{var Vc=Nc,ec=Pp(this.H,S),zc=void 0,Wb=void 0,zb=void 0,rc=void 0,rc=Vc.a.c;if(0==rc)Qp(Vc.a,0,ec);else{for(zb=1;2*zb<=rc;)zb<<=1;Wb=zb;for(--zb;0!=Wb;)if(Wb>>=1,zb>=rc)zb-=Wb;else{zc=Rp(ec,io(Vc.a,zb));if(0==zc)break a;if(0==Wb)break;0>zc?zb-=Wb:zb+=Wb}zb<rc&&0<Rp(ec,io(Vc.a,zb))&&++zb;Qp(Vc.a,zb,ec)}}for(S=0;S<this.H.c;++S){var dd;if(null==Pp(this.H,S))dd=0;else{var oa;a:{var Xb=Nc,xd=Pp(this.H,\nS),Ac=void 0,Ga=void 0,sc=void 0,Pc=void 0,Pc=Xb.a.c;if(0!=Pc){for(sc=1;2*sc<=Pc;)sc<<=1;Ga=sc;for(--sc;0!=Ga;)if(Ga>>=1,sc>=Pc)sc-=Ga;else{Ac=Rp(xd,io(Xb.a,sc));if(0==Ac){oa=sc;break a}if(0==Ga)break;0>Ac?sc-=Ga:sc+=Ga}}oa=-1}dd=1+oa}Ka=dd;To(this.b[S],S);Uo(this.b[S],16,Vo(this.c[S]));Uo(this.b[S],16,Vo(Ka))}this.J=Qo(this)}if(0!=(this.G&16)&&this.J<this.H.c){for(S=0;S<this.H.c;++S)To(this.b[S],S),Uo(this.b[S],16,Vo(this.c[S])),Uo(this.b[S],1,Vo(Sp(this.H,S)?1:0));this.J=Qo(this)}var pb,lc,jb,le;\nle=this.J;jb=C(B,v,-1,this.H.c,1);for(pb=0;pb<this.H.c;++pb)jb[pb]=this.c[pb];if(!this.H.E){var Cd,Yc,fc,yd;this.C=!0;this.N=C(Ap,Tm,-1,this.H.c,1);this.e=C(Ap,Tm,-1,this.H.d,1);for(yd=Ko(this,!0);this.J<this.H.c&&yd;){for(Cd=0;Cd<this.H.c;++Cd)To(this.b[Cd],Cd),Uo(this.b[Cd],20,Vo(this.c[Cd]<<4|this.S[Cd]<<2));for(Yc=0;Yc<this.H.d;++Yc)no(this.b[D(this.H,0,Yc)],Vo(this.k[Yc])),no(this.b[D(this.H,1,Yc)],Vo(this.k[Yc]));fc=Qo(this);if(this.J==fc)break;this.J=fc;yd=Ko(this,!0)}rp(this,le,jb)}this.Q=\nC(Ap,Tm,-1,this.H.c,1);this.P=C(Ap,Tm,-1,this.H.c,1);for(pb=0;pb<this.H.c;++pb)this.Q[pb]=~~(Tp(this.H,pb)<<24)>>24,this.P[pb]=~~(Up(this.H,pb)<<24)>>24;this.j=C(Ap,Tm,-1,this.H.d,1);this.i=C(Ap,Tm,-1,this.H.d,1);for(lc=0;lc<this.H.d;++lc)this.j[lc]=~~(~~(this.H.z[lc]&3072)>>10<<24)>>24,this.i[lc]=~~(Vp(this.H,lc)<<24)>>24;var mc,gc,Hc,lf,ed,fb;this.C=!0;for(ed=Ko(this,!1);this.J<this.H.c&&ed;){for(mc=0;mc<this.H.c;++mc){To(this.b[mc],mc);Uo(this.b[mc],16,Vo(this.c[mc]));fb=this.S[mc]<<7;if((1==this.S[mc]||\n2==this.S[mc])&&0!=this.Q[mc])fb|=this.Q[mc]<<5,fb|=this.P[mc];Uo(this.b[mc],18,Vo(fb<<9))}for(gc=0;gc<this.H.d;++gc){Hc=this.k[gc]<<7;if((1==this.k[gc]||2==this.k[gc])&&1==this.H.B[gc]&&0!=this.j[gc])Hc|=this.j[gc]<<5,Hc|=this.i[gc];no(this.b[D(this.H,0,gc)],Vo(Hc));no(this.b[D(this.H,1,gc)],Vo(Hc))}lf=Qo(this);if(this.J==lf)break;this.J=lf;ed=Ko(this,!1)}this.M=!1;this.D=C(Yn,Zm,-1,this.H.c,2);for(pb=0;pb<this.H.c;++pb)0!=this.S[pb]&&(this.M=this.D[pb]=!0);var md,Qc;for(md=0;md<this.H.c;++md)(!this.D[md]||\n3==this.S[md])&&(this.Q[md]=0);for(Qc=0;Qc<this.H.d;++Qc)(1!=this.H.B[Qc]||0==this.k[Qc]||3==this.k[Qc])&&(this.j[Qc]=0);this.F=null;this.R=C(Yn,Zm,-1,this.H.c,2);if(this.M){var Ha=this.F=new Wp(this.H,jb,this.D,this.S,this.k,this.Q,this.P,this.W,this.o,this.R),fd,Zc,we,Ea,tc,Yb,Ie,Jb;if(null!=Ha.i){Yb=new Xp(Ha);Ha.b=new Yp;for(Ea=0;Ea<Ha.i.length;++Ea){for(var nd=void 0,mf=void 0,mf=nd=0;mf<Yb.b;++mf)Yb.e[mf][Ea]&&-3==Yb.c[mf]&&++nd;we=nd;if(0==we){Zp(Yb,Ea);Ie=$p(Ha,Ea,2);fd=$p(Ha,Ea,1);Zc=aq(Ha,\nEa);if(1==Ie&&1==fd&&!Zc){for(var Kd=Ha,ae=Ea,We=Yb.a+Yb.f++,me=void 0,Je=void 0,Je=0;Je<Kd.i[ae].length;++Je)me=Kd.i[ae][Je],2==Kd.n[me]&&(Kd.n[me]=1,Kd.k[me]=~~(We<<24)>>24);bq(Ha.b,new cq(Ea,1,-1,-1))}0<Ie?(Zc&&dq(Ha,Ea,Yb.j+Yb.i++,2),bq(Ha.b,new cq(Ea,1,-1,-1))):0<fd?(Zc&&dq(Ha,Ea,Yb.a+Yb.f++,1),bq(Ha.b,new cq(Ea,1,-1,-1))):Zc&&(dq(Ha,Ea,Yb.a+Yb.f++,1),bq(Ha.b,new cq(Ea,1,-1,-1)))}else if(1==we)if(aq(Ha,Ea)){a:{for(var gd=void 0,gd=0;gd<Yb.b;++gd)if(Yb.e[gd][Ea]&&-3==Yb.c[gd]){tc=gd<Yb.a?gd:gd<\nYb.b?gd-Yb.a:-1;break a}tc=-1}a:{for(var ne=void 0,ne=0;ne<Yb.b;++ne)if(Yb.e[ne][Ea]&&-3==Yb.c[ne]){Jb=ne<Yb.a?1:ne<Yb.b?2:0;break a}Jb=-1}bq(Ha.b,new cq(Ea,2,tc,Jb))}else Zp(Yb,Ea),bq(Ha.b,new cq(Ea,1,-1,-1))}}}this.U=C(Yn,Zm,-1,this.H.c,2);this.V=new Yp;var hd,be,ce,Tf,nf,Lg,od,oe;for(hd=ce=0;hd<this.H.c;++hd)0!=this.Q[hd]&&++ce;if(0!=ce){oe=C(B,v,-1,ce,1);for(hd=ce=0;hd<this.H.c;++hd)0!=this.Q[hd]&&(oe[ce]=this.Q[hd]<<29|this.P[hd]<<24|this.c[hd]<<12|hd,++ce);jp(oe);od=Tf=0;for(nf=oe[0]&-16777216;;)if(++od,\nod==oe.length||nf!=(oe[od]&-16777216)){be=C(B,v,-1,od-Tf,1);for(Lg=Tf;Lg<od;++Lg)hd=oe[Lg]&4095,be[Lg-Tf]=hd,this.U[hd]=!0;bq(this.V,be);if(od==oe.length)break;nf=oe[od]&-16777216;Tf=od}}rp(this,le,jb);var Wc,Pb,Ld,hh,ih,Md;this.C=!0;Ld=mp(this);this.F&&eq(this.F,this.c)&&(Ld=mp(this));Ko(this,!1)&&Oo(this);for(Md=!0;this.J<this.H.c&&Md;){for(var qg=Ld,Nd=void 0,Xa=void 0,Ke=void 0,zd=void 0,de=void 0,Od=void 0,Dd=void 0,sb=void 0,pd=void 0,Xe=void 0,Ke=zo([Bo,B],[En,v],[92,-1],[2,32],0,2,1),zd=0;2>\nzd;++zd){Nd=C(Bo,En,92,32,0);for(Xa=Xe=0;32>Xa;++Xa)if(null!=qg[zd][Xa]){sb=qg[zd][Xa].length;Nd[Xa]=C(B,v,-1,sb,1);for(de=0;de<sb;++de)Nd[Xa][de]=this.c[qg[zd][Xa][de]];jp(Nd[Xa]);++Xe}for(pd=Xe;0<pd;--pd){Dd=0;Od=null;for(Xa=0;32>Xa;++Xa)if(null!=Nd[Xa])if(null==Od||Od.length<Nd[Xa].length)Od=Nd[Xa],Dd=Xa;else if(Od.length==Nd[Xa].length)for(de=Od.length-1;0<=de;--de)if(Od[de]<Nd[Xa][de]){Od=Nd[Xa];Dd=Xa;break}Ke[zd][Dd]=pd;Nd[Dd]=null}}hh=Ke;for(Wc=0;Wc<this.H.c;++Wc)To(this.b[Wc],Wc),Uo(this.b[Wc],\n16,Vo(this.c[Wc])),Uo(this.b[Wc],20,jm),!this.R[Wc]&&0!=this.Q[Wc]&&no(this.b[Wc],Vo((this.Q[Wc]<<18)+(hh[1==this.Q[Wc]?0:1][this.P[Wc]]<<8))),no(this.b[Wc],Vo(this.S[Wc]<<4));for(Pb=0;Pb<this.H.d;++Pb)no(this.b[D(this.H,0,Pb)],Vo(this.k[Pb])),no(this.b[D(this.H,1,Pb)],Vo(this.k[Pb]));ih=Qo(this);if(this.J==ih)break;this.J=ih;Md=!1;this.F&&eq(this.F,this.c)&&(Md=!0,Ld=mp(this));Ko(this,!1)&&(Md=!0,Oo(this))}if(this.F){var Qh=this.F,Rc,Qb;Qb=!0;for(Rc=0;Rc<Qh.j.c;++Rc)if(0!=Qh.p[Rc]&&!Qh.e[Rc]){Qb=\n!1;break}this.B=Qb}var pe,qd,Ec,Mg,yf,Ng,jh,Le,rd,Uf,Sd,Vf;Sd=rd=Le=jh=Ng=Uf=yf=0;Vf=!1;pe=C(Yn,Zm,-1,32,2);for(qd=0;qd<this.H.c;++qd)0!=this.S[qd]&&(++yf,3==this.S[qd]?++Uf:0==this.Q[qd]?(++Ng,this.F&&this.F.e[qd]&&++jh):2==this.Q[qd]?0==this.P[qd]&&++rd:1==this.Q[qd]&&(Mg=this.P[qd],pe[Mg]||(++Sd,pe[Mg]=!0),0==this.P[qd]&&++Le,this.F&&this.F.e[qd]&&(Vf=!0)));for(Ec=0;Ec<this.H.d;++Ec)0!=this.k[Ec]&&1==this.H.B[Ec]&&(++yf,3==this.k[Ec]?++Uf:0==this.j[Ec]?(++Ng,this.F&&this.F.e[D(this.H,0,Ec)]&&this.F.e[D(this.H,\n1,Ec)]&&++jh):2==this.j[Ec]?0==this.i[Ec]&&++rd:1==this.j[Ec]&&(Mg=this.i[Ec],pe[Mg]||(++Sd,pe[Mg]=!0),0==this.i[Ec]&&++Le,this.F&&this.F.e[D(this.H,0,Ec)]&&this.F.e[D(this.H,1,Ec)]&&(Vf=!0)));this.H.C=0==yf?65536:0!=Uf?0:this.B?131072+(1<<Sd):Le+jh==yf&&!Vf?196608:Ng==yf?262144:rd==yf?327680:Ng==yf-1&&1==Le?393216:458752+(1<<Sd);var Zb,kh,Og,Pa,Rh;this.L=C(Yn,Zm,-1,this.H.c,2);this.K=C(Yn,Zm,-1,this.H.d,2);if(0!=(this.G&6))for(Zb=0;Zb<this.H.c;++Zb)To(this.b[Zb],Zb),Uo(this.b[Zb],28,Vo(this.c[Zb]<<\n12));if(this.J<this.H.c){for(Zb=Og=0;Zb<this.H.c;++Zb)xo(this,Zb,!0)&&++Og;for(kh=0;kh<this.H.d;++kh)ro(this,kh,!0)&&++Og}0!=(this.G&6)&&(this.J=Qo(this));if(0!=(this.G&1)){this.d=C(B,v,-1,this.H.c,1);for(Zb=0;Zb<this.H.c;++Zb)this.d[Zb]=this.c[Zb]}for(;this.J<this.H.c;){for(Zb=0;Zb<this.H.c;++Zb)To(this.b[Zb],Zb),Uo(this.b[Zb],17,Vo(2*this.c[Zb]));Rh=C(B,v,-1,this.J+1,1);for(Zb=0;Zb<this.H.c;++Zb)++Rh[this.c[Zb]];for(Pa=1;1==Rh[Pa];)++Pa;for(Zb=0;Zb<this.H.c;++Zb)if(this.c[Zb]==Pa){no(this.b[Zb],\nkm);break}this.J=Qo(this);Oo(this);this.F&&eq(this.F,this.c)}Oo(this);var $c,Ad,qe,tb,ee,xe,Pg,sd,rg,Wf,Ia,zf,fe,ia,sg,dk,kl,ek;fe=C(Yn,Zm,-1,this.H.c,2);ia=C(Yn,Zm,-1,this.H.d,2);for(Ad=$c=0;Ad<this.H.c;++Ad)this.L[Ad]&&!this.T[Ad]&&xo(this,Ad,!1)&&(this.T[Ad]=!0,fe[Ad]=!0,++$c);for(qe=0;qe<this.H.d;++qe)this.K[qe]&&!this.n[qe]&&ro(this,qe,!1)&&(this.n[qe]=!0,ia[qe]=!0,++$c);if(1==$c){for(Ad=0;Ad<this.H.c;++Ad)if(fe[Ad]){this.S[Ad]=0;break}for(qe=0;qe<this.H.d;++qe)if(ia[qe]){this.k[qe]=0;break}}else if(1<\n$c){var Af,Qg,fj,lh,mh,of,tg,gj,ll,re,Me,ug;if(!this.s){this.s=new Yp;re=0;Me=C(B,v,-1,this.H.c,1);of=C(B,v,-1,this.H.c,1);gj=C(B,v,-1,this.H.d,1);for(Af=0;Af<this.H.c;++Af)if(0==Me[Af]&&(0!=(this.H.s[Af]&3072)||1==this.H.k[Af])){of[0]=Af;tg=1;ll=0;Me[Af]=++re;Qg=C(Yn,Zm,-1,this.H.d,2);for(mh=0;mh<tg;++mh)for(ug=0;ug<this.H.f[of[mh]];++ug)if(lh=ao(this.H,of[mh],ug),yo(this.H,lh)||2==fo(this.H,lh)||po(this.H,lh))fj=bo(this.H,of[mh],ug),Qg[lh]||(gj[ll++]=lh,Qg[lh]=!0),0==Me[fj]&&(of[tg++]=fj,Me[fj]=\nre);bq(this.s,new fq(of,tg,gj,ll))}}for(ee=new gq(this.s);ee.b<ee.d.xg();){tb=hq(ee);Pg=sd=dk=sg=0;xe=rg=-1;for(Ia=0;Ia<tb.a.length;++Ia)if(fe[tb.a[Ia]]&&(++sg,1==this.S[tb.a[Ia]]||2==this.S[tb.a[Ia]]))++dk,rg<this.c[tb.a[Ia]]&&(rg=this.c[tb.a[Ia]],sd=tb.a[Ia]);for(Ia=0;Ia<tb.b.length;++Ia)if(ia[tb.b[Ia]]&&(++sg,kl=this.c[D(this.H,0,tb.b[Ia])],ek=this.c[D(this.H,1,tb.b[Ia])],Wf=kl>ek?(kl<<16)+ek:(ek<<16)+kl,1==this.k[tb.b[Ia]]||2==this.k[tb.b[Ia]]))++dk,xe<Wf&&(xe=Wf,Pg=tb.b[Ia]);if(0!=sg)if(1==sg){for(Ia=\n0;Ia<tb.a.length;++Ia)fe[tb.a[Ia]]&&(this.S[tb.a[Ia]]=0);for(Ia=0;Ia<tb.b.length;++Ia)ia[tb.b[Ia]]&&(this.k[tb.b[Ia]]=0)}else if(1==dk){for(Ia=0;Ia<tb.a.length;++Ia)fe[tb.a[Ia]]&&(this.S[tb.a[Ia]]=3);for(Ia=0;Ia<tb.b.length;++Ia)ia[tb.b[Ia]]&&(this.k[tb.b[Ia]]=3)}else if(zf=!1,-1!=rg?2==this.S[sd]&&(zf=!0):2==this.k[Pg]&&(zf=!0),zf){for(Ia=0;Ia<tb.a.length;++Ia)if(fe[tb.a[Ia]])switch(this.S[tb.a[Ia]]){case 1:this.S[tb.a[Ia]]=2;break;case 2:this.S[tb.a[Ia]]=1}for(Ia=0;Ia<tb.b.length;++Ia)if(ia[tb.b[Ia]])switch(this.k[tb.b[Ia]]){case 1:this.k[tb.b[Ia]]=\n2;break;case 2:this.k[tb.b[Ia]]=1}}}}var pf,kb;for(pf=0;pf<this.H.c;++pf)0!=(this.H.s[pf]&67108864)^3==this.S[pf]&&Eo(this.H,pf),(1==Tp(this.H,pf)||2==Tp(this.H,pf))&&(!this.D[pf]||3==this.S[pf])&&Eo(this.H,pf);for(kb=0;kb<this.H.p;++kb)(17==this.H.B[kb]||9==this.H.B[kb])&&!sp(this,kb)&&Eo(this.H,D(this.H,0,kb));for(kb=0;kb<this.H.d;++kb){if(2==fo(this.H,kb)){if(0!=(this.H.z[kb]&16777216)&&(1==this.k[kb]||2==this.k[kb]))this.k[kb]=3,Zn(this.H,kb,26);3==this.k[kb]&&!this.n[kb]&&26!=this.H.B[kb]&&(Eo(this.H,\nD(this.H,0,kb)),Eo(this.H,D(this.H,1,kb)))}1==this.H.B[kb]&&3==this.k[kb]&&(Eo(this.H,D(this.H,0,kb)),Eo(this.H,D(this.H,1,kb)));if((1==~~(this.H.z[kb]&3072)>>10||2==~~(this.H.z[kb]&3072)>>10)&&(1!=this.H.B[kb]||1!=this.k[kb]&&2!=this.k[kb]))Eo(this.H,D(this.H,0,kb)),Eo(this.H,D(this.H,1,kb))}}x(7,1,{},up);_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.i=null;_.j=null;_.k=null;_.n=null;_.o=null;_.p=0;_.q=null;_.r=0;_.s=null;_.t=null;_.u=null;_.v=null;_.w=null;_.x=!1;_.y=null;_.z=0;_.A=null;\n_.B=!1;_.C=!1;_.D=null;_.E=0;_.F=null;_.G=0;_.H=null;_.I=null;_.J=0;_.K=null;_.L=null;_.M=!1;_.N=null;_.O=null;_.P=null;_.Q=null;_.R=null;_.S=null;_.T=null;_.U=null;_.V=null;_.W=null;_.X=!1;function lp(a,b){var c,d,e,f;if(a.d!=b.d)return a.d>b.d?1:-1;e=a.a.length;f=b.a.length;c=e<f?e:f;for(d=0;d<c;++d)if(--e,--f,a.a[e]!=b.a[f])return a.a[e]>b.a[f]?1:-1;return e!=f?e>f?1:-1:a.b!=b.b?a.b>b.b?1:-1:0}function kp(){}x(8,1,{},kp);_.Dd=function(a,b){return lp(a,b)};function hp(){}x(9,1,{4:1},hp);_.a=null;\n_.b=0;_.c=0;_.d=0;function fp(){}x(10,1,{},fp);_.Dd=function(a,b){return a.c!=b.c?a.c>b.c?1:-1:0};function ep(){}x(11,1,{5:1},ep);_.a=0;_.b=0;_.c=0;function Uo(a,b,c){0==a.b&&(++a.c,a.b=63);63==a.b?(a.d[a.c]=Mp(a.d[a.c],c),a.b-=b):a.b>=b?(a.d[a.c]=Lp(a.d[a.c],b),a.d[a.c]=Mp(a.d[a.c],c),a.b-=b):(a.d[a.c]=Lp(a.d[a.c],a.b),a.d[a.c]=Mp(a.d[a.c],iq(c,b-a.b)),b-=a.b,++a.c,a.b=63-b,a.d[a.c]=Mp(a.d[a.c],jq(c,Vo((1<<b)-1))))}\nfunction no(a,b){var c=a.d,d=a.c,e;e=a.d[a.c];var f,g;f=e.l+b.l;g=e.m+b.m+(~~f>>22);e=kq(f&4194303,g&4194303,e.h+b.h+(~~g>>22)&1048575);c[d]=e}function Jo(a,b){var c;for(c=0;c<a.c;++c)if(a.d[c].l!=b.d[c].l||a.d[c].m!=b.d[c].m||a.d[c].h!=b.d[c].h)return!lq(a.d[c],b.d[c])?-1:1;return mq(a.d[a.c],b.d[a.c])?0:!lq(a.d[a.c],b.d[a.c])?-1:1}function To(a,b){a.a=b;a.c=0;a.b=63;var c=a.d,d=c.length,e;for(e=0;e<d;++e)c[e]=jm}function Dp(a){this.d=C(Kp,Um,-1,a,3)}x(12,1,{6:1,99:1},Dp);\n_.cT=function(a){return Jo(this,a)};_.a=0;_.b=0;_.c=0;_.d=null;function fq(a,b,c,d){var e;this.a=C(B,v,-1,b,1);this.b=C(B,v,-1,d,1);for(e=0;e<b;++e)this.a[e]=a[e];for(a=0;a<d;++a)this.b[a]=c[a]}x(13,1,{},fq);_.a=null;_.b=null;\nfunction nq(a,b,c){var d,e,f,g;if(null!=b){for(d=e=0;d<a.j.c;++d)b[d]&&++e;g=C(B,v,-1,e,1);for(d=e=0;d<a.j.c;++d)b[d]&&(g[e++]=d);e=!1;for(b=new gq(c);b.b<b.d.xg();)if(a=hq(b),a.length==g.length){d=!1;for(f=0;f<a.length;++f)if(a[f]!=g[f]){d=!0;break}if(!d){e=!0;break}}e||oq(c.b,c.c++,g)}}function aq(a,b){var c,d;for(d=0;d<a.i[b].length;++d)if(c=a.i[b][d],a.f[c]&&(1==a.p[c]||2==a.p[c])&&0==a.n[c])return!0;return!1}\nfunction $p(a,b,c){var d,e,f,g;for(g=f=e=0;g<a.i[b].length;++g)d=a.i[b][g],a.n[d]==c&&(d=1<<a.k[d],0==(f&d)&&(f|=d,++e));return e}function pq(a,b,c,d){var e,f;for(f=0;f<a.j.f[c];++f)if(e=bo(a.j,c,f),!d[e]&&qq(a,b,e))return e;return-1}function rq(a,b){return a.f[b]&&(1==a.p[b]||2==a.p[b])}\nfunction qq(a,b,c){var d,e,f;if(b==c||a.a[b]!=a.a[c]||0!=a.p[b]&&(3==a.p[b]||3==a.p[c]||a.q[b]^a.p[b]!=a.p[c]||a.n[b]!=a.n[c]||a.k[b]!=a.k[c]))return!1;d=sq(a.j,b,c);if(-1!=d&&(1==fo(a.j,d)&&0!=a.c[d]||2==fo(a.j,d)&&2==a.c[d]))return!1;if(1==a.j.k[b]&&0==(a.j.s[b]&4096)){d=-1;for(f=0;f<a.j.f[b];++f)if(bo(a.j,b,f)!=c&&2==a.j.j[b][f]){d=ao(a.j,b,f);break}e=-1;for(f=0;f<a.j.f[c];++f)if(bo(a.j,c,f)!=b&&2==a.j.j[c][f]){e=ao(a.j,c,f);break}if(-1!=d&&0!=a.c[d]&&a.d[d]^a.c[d]==a.c[e])return!1}return!0}\nfunction eq(a,b){var c,d,e,f;if(!a.b)return!1;c=!1;for(e=a.b.c-1;0<=e;--e){d=!1;f=io(a.b,e);if(2==f.a){d=a;for(var g=f.b,h=f.c,j=f.d,l=b,n=void 0,q=void 0,r=n=void 0,t=void 0,n=r=null,t=0;t<d.i[g].length;++t)q=d.i[g][t],d.f[q]&&(1==d.p[q]||2==d.p[q])&&(0==d.n[q]?n=op(n,(l[q]<<16)+q):d.n[q]==j&&d.k[q]==h&&(r=op(r,(l[q]<<16)+q)));n=tq(r,n);if(0==n)d=!1;else{if(0>n)for(t=0;t<d.i[g].length;++t)if(q=d.i[g][t],d.f[q]&&(1==d.p[q]||2==d.p[q]))0==d.n[q]?(d.n[q]=~~(j<<24)>>24,d.k[q]=~~(h<<24)>>24):d.n[q]==\nj&&d.k[q]==h&&(d.n[q]=0,d.k[q]=-1);d=!0}}else if(1==f.a){d=a;h=b;q=g=n=l=j=void 0;n=d.i[f.b];l=1;for(q=0;q<n.length;++q)if(j=n[q],d.f[j]&&2==d.n[j]){l=2;break}g=C(Bo,En,92,32,0);for(q=0;q<n.length;++q)j=n[q],d.f[j]&&d.n[j]==l&&(g[d.k[j]]=op(g[d.k[j]],(h[j]<<16)+j));for(q=0;32>q;++q)null!=g[q]&&jp(g[q]);h=new uq;Go(g,g.length,h?h:(Ho(),Ho(),Io));if(0==tq(g[0],g[1]))d=!1;else{for(q=0;q<g[0].length;++q)j=g[0][q]&65535,d.n[j]=0,d.k[j]=-1;d=!0}}if(d){Po(a.b,f);for(d=0;d<a.i[f.b].length;++d)c=a.i[f.b][d],\na.o[c]=!1;c=!0}}return c}function dq(a,b,c,d){var e,f;for(f=0;f<a.i[b].length;++f)if(e=a.i[b][f],a.f[e]&&(1==a.p[e]||2==a.p[e])&&0==a.n[e])a.n[e]=~~(d<<24)>>24,a.k[e]=~~(c<<24)>>24}\nfunction vq(a,b,c){var d,e,f,g,h,j,l,n,q,r,t,A,u;f=C(B,v,-1,a.j.c,1);t=C(B,v,-1,a.j.c,1);l=C(Yn,Zm,-1,a.j.c,2);n=C(Yn,Zm,-1,a.j.c,2);g=C(Yn,Zm,-1,a.j.c,2);C(wq,o,8,a.j.c,0);f[0]=b;t[b]=c;t[c]=-2;l[b]=!0;l[c]=!0;for(h=c=0;c<=h;){e=f[c];if(t[e]==e)for(j=0;j<a.j.f[e];++j){if(b=bo(a.j,e,j),!l[b])if(2==a.j.j[e][j]&&10>a.j.x[b])f[++h]=b,t[b]=b,g[b]=g[e]||2==a.j.k[b],n[b]=g[e]&&!n[e],l[b]=!0;else if(g[e]&&n[e]){q=pq(a,b,t[e],l);if(-1==q)return null;f[++h]=b;t[b]=q;t[q]=-2;g[b]=!1;l[b]=!0;l[q]=!0}else if(yo(a.j,\nao(a.j,e,j))&&(f[++h]=b,t[b]=b,g[b]=!1,l[b]=!0,(6==a.j.x[b]&&0==a.j.k[b]||7==a.j.x[b]&&1==a.j.q[b]||14==a.j.x[b]||15==a.j.x[b]&&2<a.j.f[b]||16==a.j.x[b]&&2<a.j.f[b])&&2<a.j.f[b])){d=!1;for(q=1;q<a.j.f[b];++q)if(A=bo(a.j,b,q),!l[A])for(r=0;r<q;++r)u=bo(a.j,b,r),!l[u]&&qq(a,A,u)&&(f[++h]=A,t[A]=u,t[u]=-2,g[A]=!1,l[A]=!0,d=l[u]=!0);if(!d)return null}}else{d=C(Yn,Zm,-1,a.j.f[e],2);for(j=0;j<a.j.f[e];++j)if(b=bo(a.j,e,j),l[b])d[j]=t[b]==b;else for(q=0;q<a.j.f[b];++q)if(bo(a.j,b,q)==t[e]){d[j]=!0;break}for(j=\n0;j<a.j.f[e];++j)if(d[j])if(b=bo(a.j,e,j),l[b]){if(-1==sq(a.j,b,t[e]))return null}else f[++h]=b,t[b]=b,n[b]=!1,g[b]=!0,l[b]=!0;for(j=0;j<a.j.f[e];++j)if(!d[j]&&(b=bo(a.j,e,j),!l[b])){q=pq(a,b,t[e],l);if(-1==q)return null;f[++h]=b;t[b]=q;t[q]=-2;g[b]=!1;l[b]=!0;l[q]=!0}}++c}return l}\nfunction Wp(a,b,c,d,e,f,g,h,j,l){this.j=a;this.a=b;this.f=c;this.p=d;this.c=e;this.n=f;this.k=g;this.q=h;this.d=j;this.o=l;a=new Yp;for(f=0;f<this.j.c;++f)if(2>this.j.k[f]||2<this.j.f[f])for(b=1;b<this.j.f[f];++b){d=bo(this.j,f,b);for(c=0;c<b;++c)e=bo(this.j,f,c),qq(this,d,e)&&nq(this,vq(this,d,e),a)}for(b=0;b<this.j.d;++b)0!=this.c[b]&&(2!=fo(this.j,b)||2!=this.c[b])||(d=D(this.j,0,b),e=D(this.j,1,b),qq(this,d,e)&&nq(this,vq(this,d,e),a));for(b=a.c-1;0<=b;--b){d=(xq(b,a.c),a.b[b]);e=!1;for(c=0;c<\nd.length;++c)if(this.f[d[c]]){e=!0;break}e||Po(a,d)}a=this.i=yq(a,zo([Bo,B],[En,v],[92,-1],[0,0],0,2,1));b=new zq;Go(a,a.length,b?b:(Ho(),Ho(),Io));this.e=C(Yn,Zm,-1,this.j.c,2);for(b=0;b<this.i.length;++b)for(c=0;c<this.i[b].length;++c)this.e[this.i[b][c]]=!0}function op(a,b){var c,d;d=C(B,v,-1,null==a?1:a.length+1,1);for(c=0;c<d.length-1;++c)d[c]=a[c];d[d.length-1]=b;return d}x(14,1,{},Wp);_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.i=null;_.j=null;_.k=null;_.n=null;_.o=null;_.p=null;\n_.q=null;function zq(){}x(15,1,{},zq);_.Dd=function(a,b){var c;a:if(a.length!=b.length)c=a.length<b.length?-1:1;else{for(c=0;c<a.length;++c)if(a[c]!=b[c]){c=a[c]<b[c]?-1:1;break a}c=0}return c};function Zp(a,b){var c,d,e,f,g,h;for(e=0;e<a.b;++e)if(a.e[e][b]&&-3!=a.c[e])for(d=0;d<=a.k.i.length;++d)if(d!=b&&a.e[e][d]){a.e[e][b]=!1;h=e<a.a?e:e<a.b?e-a.a:-1;g=1==(e<a.a?1:e<a.b?2:0)?a.a+a.f++:a.j+a.i++;for(f=0;f<a.k.i[b].length;++f)c=a.k.i[b][f],rq(a.k,c)&&a.k.k[c]==h&&(a.k.k[c]=~~(g<<24)>>24)}}\nfunction Aq(a,b){var c,d;d=a.k.n[b];c=a.k.k[b];return 0==d?a.b:1==d?c:a.a+c}\nfunction Xp(a){var b,c,d,e;this.k=a;for(c=0;c<a.j.c;++c)a.f[c]&&(1==a.p[c]||2==a.p[c])&&(1==a.n[c]?this.a<=a.k[c]&&(this.a=1+a.k[c]):2==a.n[c]&&this.j<=a.k[c]&&(this.j=1+a.k[c]));this.b=this.a+this.j;this.e=zo([Bq,Yn],[o,Zm],[2,-1],[this.b+1,a.i.length+1],0,2,2);for(c=0;c<a.j.c;++c)a.f[c]&&(1==a.p[c]||2==a.p[c])&&!a.e[c]&&(this.e[Aq(this,c)][a.i.length]=!0);for(b=0;b<a.i.length;++b)for(e=0;e<a.i[b].length;++e)c=a.i[b][e],a.f[c]&&(1==a.p[c]||2==a.p[c])&&(this.e[Aq(this,c)][b]=!0);this.d=C(Bo,En,92,\nthis.b,0);for(b=0;b<a.i.length;++b)for(c=1;c<this.b;++c)if(this.e[c][b])for(e=0;e<c;++e)this.e[e][b]&&(this.d[c]=op(this.d[c],e),this.d[e]=op(this.d[e],c));this.c=C(B,v,-1,this.b+1,1);for(e=0;e<this.b;++e)this.e[e][a.i.length]?this.c[e]=-1:this.c[e]=-2;for(b=0;b<a.i.length;++b)if(this.e[this.b][b])for(e=0;e<this.b;++e)this.e[e][b]&&this.c[e]!=b&&(-2==this.c[e]?this.c[e]=b:this.c[e]=-3);for(b=0;b<this.b;++b)if(-1<=this.c[b]){e=c=C(B,v,-1,this.b,1);d=b;var f=void 0,g=void 0,h=void 0,j=void 0,l=void 0,\nl=!1,j=1;e[d]=1;for(f=!0;f;){f=!1;for(g=0;g<this.b;++g)if(e[g]==j)for(h=0;h<this.b;++h){var n;if(n=0==e[h])a:{n=void 0;for(n=0;n<this.k.i.length;++n)if(this.e[g][n]&&this.e[h][n]){n=!0;break a}n=!1}n&&(-2==this.c[h]?(e[h]=j+1,f=!0):this.c[h]!=this.c[d]&&(e[h]=j+1,l=!0))}++j}if(l)for(e=0;e<this.b;++e)0!=c[e]&&(this.c[e]=-3)}for(b=0;b<a.i.length-1;++b)for(c=1;c<this.b;++c)if(this.e[c][b]&&-3!=this.c[c])for(e=0;e<c;++e)if(this.e[e][b]&&-3!=this.c[e]){a:{d=c;for(var f=e,g=b,q=l=j=void 0,r=void 0,t=r=\nq=n=h=void 0,h=j=void 0,h=g+1;h<this.k.i.length;++h)if(h!=g&&this.e[d][h]&&this.e[f][h]){q=C(B,v,-1,2,1);q[0]=f;q[1]=d;d=q;break a}h=C(B,v,-1,this.b,1);q=C(B,v,-1,this.b,1);n=C(B,v,-1,this.b,1);r=l=0;n[0]=d;for(q[d]=1;l<=r;){for(t=0;t<this.d[n[l]].length;++t){j=this.d[n[l]][t];if(j==f){if(0==l)continue;r=q[n[l]]+1;q=C(B,v,-1,r,1);q[0]=j;q[1]=n[l];for(j=2;j<r;++j)q[j]=h[q[j-1]];d=q;break a}0==q[j]&&-3!=this.c[j]&&(q[j]=q[n[l]]+1,n[++r]=j,h[j]=n[l])}++l}d=null}if(null!=d){for(e=0;e<d.length;++e)this.c[d[e]]=\n-3;q=n=e=l=j=f=h=g=f=void 0;n=2147483647;e=q=l=-1;for(f=0;f<this.k.j.c;++f)if(rq(this.k,f)&&0!=this.k.n[f])for(j=0;j<d.length;++j)if(g=d[j]<this.a?d[j]:d[j]<this.b?d[j]-this.a:-1,h=d[j]<this.a?1:d[j]<this.b?2:0,this.k.n[f]==h&&this.k.k[f]==g&&n>this.k.a[f]+(1==h?65536:0))n=this.k.a[f]+(1==h?65536:0),l=g,q=h,e=d[j];for(f=0;f<this.k.j.c;++f)rq(this.k,f)&&this.k.n[f]==q&&this.k.k[f]==l&&(this.k.n[f]=0,this.k.k[f]=-1);for(f=0;f<this.k.i.length;++f)this.e[e][f]=!1;break}}}x(16,1,{},Xp);_.a=0;_.b=0;\n_.c=null;_.d=null;_.e=null;_.f=0;_.i=0;_.j=0;_.k=null;function tq(a,b){var c,d;if(null==a)return null==b?0:1;if(null==b)return-1;c=Fp(a.length,b.length);for(d=0;d<c;++d)if((a[d]&-65536)!=(b[d]&-65536))return(a[d]&-65536)<(b[d]&-65536)?-1:1;return a.length==b.length?0:a.length<b.length?-1:1}function uq(){}x(17,1,{},uq);_.Dd=function(a,b){return tq(a,b)};function Cq(a,b){return(b.a-a.a)*(b.a-a.a)+(b.b-a.b)*(b.b-a.b)+(b.c-a.c)*(b.c-a.c)}function Dq(){}x(18,1,{7:1,94:1,99:1},Dq);\n_.cT=function(a){return this.a!=a.a?this.a<a.a?-1:1:this.b!=a.b?this.b<a.b?-1:1:this.c!=a.c?this.c<a.c?-1:1:0};_.eQ=function(a){return null==a||!E(a,7)?!1:1.0E-6>Eq(a.a-this.a)+Eq(a.b-this.b)+Eq(a.c-this.c)};_.tS=function(){var a;a=new Fq;return nh+Gq(a.a,this.a)+ac+Gq(a.a,this.b)+ac+Gq(a.a,this.c)+vh};_.a=0;_.b=0;_.c=0;function cq(a,b,c,d){this.b=a;this.a=b;this.c=c;this.d=d}x(20,1,{},cq);_.a=0;_.b=0;_.c=0;_.d=0;\nfunction mo(a){var b,c,d;if(0!=a.k)return a.k;if(a.j&&15!=a.e.x[a.a]&&16!=a.e.x[a.a])for(c=0;c<eo(a.e,a.a);++c)if(b=ao(a.e,a.a,c),Hq(a.e,b,a.a))return bo(a.e,a.a,c)==a.b?a.k=17==a.e.B[b]?3:1:a.k=17==a.e.B[b]?1:3,a.k;b=Co(a.e,a.a,a.i);c=Co(a.e,a.a,a.b);c<b&&(c+=6.283185307179586);if(2==eo(a.e,a.a)){b=c-b;if(3.0915926535897933<b&&3.191592653589793>b)return a.k=-1,a.k;a.k=3.141592653589793>b?4:2}else d=Co(a.e,a.a,a.d),d<b&&(d+=6.283185307179586),a.k=d<c?2:4;return a.k}\nfunction lo(a,b,c,d){var e,f,g;this.e=a;this.i=c;this.a=d;f=-1;for(g=0;g<eo(this.e,this.a);++g)c=bo(this.e,this.a,g),e=ao(this.e,this.a,g),c==this.i?26==this.e.B[e]&&(this.k=-1):(Hq(this.e,e,this.a)&&(this.j&&(a.s[d]|=131072),this.j=!0),f==b[c]?(this.d=c,this.f=!0,this.c=yo(this.e,e)):f<b[c]?(f=b[c],this.d=this.b,this.b=c):this.d=c)}x(21,1,{},lo);_.a=0;_.b=0;_.c=!1;_.d=0;_.e=null;_.f=!1;_.i=0;_.j=!1;_.k=0;\nfunction Wo(){Wo=y;Iq=z(Jq,o,1,[Xd,vf,"He",Nf,"Be",ye,Fe,eg,lg,kf,"Ne",ig,dg,ke,Wg,ng,Jg,Te,"Ar",Lf,Oe,"Sc","Ti","V","Cr","Mn","Fe","Co",jg,af,gh,uf,"Ge","As",Tg,Ee,"Kr",Ig,Xg,"Y","Zr","Nb","Mo","Tc","Ru","Rh","Pd",je,Pe,"In","Sn","Sb","Te",Bf,"Xe",$e,Ae,"La","Ce","Pr","Nd","Pm","Sm","Eu","Gd","Tb","Dy","Ho","Er","Tm","Yb","Lu","Hf","Ta","W","Re","Os","Ir","Pt",ue,"Hg","Tl","Pb","Bi","Po","At","Rn",sf,"Ra","Ac","Th","Pa","U","Np","Pu","Am","Cm","Bk","Cf","Es","Fm","Md","No","Lr",Yd,Yd,Yd,Yd,Yd,Yd,\nYd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,zg,Ag,Bg,Cg,Dg,Eg,"R10","R11","R12","R13","R14","R15","R16",wg,xg,yg,$d,"A1","A2","A3",Yd,Yd,"D","T",fh,vg,"H2",wf,"Nnn","HYD","Pol",Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,Yd,"Ala","Arg","Asn","Asp","Cys","Gln","Glu","Gly","His","Ile","Leu","Lys","Met","Phe","Pro","Ser","Thr","Trp","Tyr","Val"]);Xo=z(Kq,Um,-1,[0,1,4,7,9,11,12,14,16,19,20,23,24,27,28,31,32,35,40,39,40,45,48,51,52,55,56,59,58,63,64,69,74,75,80,79,84,85,88,89,90,93,98,0,102,103,106,107,\n114,115,120,121,130,127,132,133,138,139,140,141,142,0,152,153,158,159,164,165,166,169,174,175,180,181,184,187,192,193,195,197,202,205,208,209,0,0,0,0,0,0,232,0,238,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,71,156,114,115,103,128,129,57,137,113,113,128,131,147,97,87,101,186,163,99]);Lq=z(Mq,o,3,[null,z(Ap,Tm,-1,[1]),z(Ap,Tm,-1,[0]),z(Ap,Tm,-1,[1]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[3]),z(Ap,Tm,\n-1,[4]),z(Ap,Tm,-1,[3]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[1]),z(Ap,Tm,-1,[0]),z(Ap,Tm,-1,[1]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[3]),z(Ap,Tm,-1,[4]),z(Ap,Tm,-1,[3,5]),z(Ap,Tm,-1,[2,4,6]),z(Ap,Tm,-1,[1,3,5,7]),z(Ap,Tm,-1,[0]),z(Ap,Tm,-1,[1]),z(Ap,Tm,-1,[2]),null,null,null,null,null,null,null,null,null,null,z(Ap,Tm,-1,[2,3]),z(Ap,Tm,-1,[2,4]),z(Ap,Tm,-1,[3,5]),z(Ap,Tm,-1,[2,4,6]),z(Ap,Tm,-1,[1,3,5,7]),z(Ap,Tm,-1,[0,2]),z(Ap,Tm,-1,[1,2,3,4]),z(Ap,Tm,-1,[2]),null,null,null,null,null,null,null,null,null,null,z(Ap,\nTm,-1,[1,2,3]),z(Ap,Tm,-1,[2,4]),z(Ap,Tm,-1,[3,5]),z(Ap,Tm,-1,[2,4,6]),z(Ap,Tm,-1,[1,3,5,7]),z(Ap,Tm,-1,[0,2,4,6]),z(Ap,Tm,-1,[1]),z(Ap,Tm,-1,[2]),null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,\nnull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[3]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2]),\nz(Ap,Tm,-1,[2]),z(Ap,Tm,-1,[2])])}function Nq(a,b,c,d){var e;e=Oq(a,6);a=a.D[e];a.a=b;a.b=c;a.c=d;return e}\nfunction Oq(a,b){if(a.o>=a.G){var c=2*a.G,d,e,f;a.x=Pq(a.x,c);a.q=Pq(a.q,c);a.u=Pq(a.u,c);f=a.D.length;e=C(Qq,o,7,c,0);for(d=0;d<a.D.length;++d)e[d]=a.D[d];for(d=f;d<c;++d)e[d]=new Dq;a.D=e;a.v=Pq(a.v,c);a.s=Pq(a.s,c);a.w=Pq(a.w,c);null!=a.t&&(a.t=null);null!=a.r&&(a.r=null);a.G=c}a.x[a.o]=0;Rq(a,a.o,b);a.q[a.o]=0;a.s[a.o]=0;a.w[a.o]=0;a.u[a.o]=0;c=a.D[a.o];c.a=0;c.b=0;c.c=0;null!=a.t&&(a.t[a.o]=null);null!=a.r&&(a.r[a.o]=null);a.K=0;return a.o++}\nfunction Sq(a,b,c,d){var e;if(b==c)return-1;for(e=0;e<a.p;++e)if(a.y[0][e]==b&&a.y[1][e]==c||a.y[0][e]==c&&a.y[1][e]==b)return a.B[e]<d&&(a.B[e]=d),e;a.p>=a.H&&(e=2*a.H,a.y[0]=Pq(a.y[0],e),a.y[1]=Pq(a.y[1],e),a.B=Pq(a.B,e),a.z=Pq(a.z,e),a.A=Pq(a.A,e),a.H=e);a.y[0][a.p]=b;a.y[1][a.p]=c;a.B[a.p]=d;a.z[a.p]=0;a.A[a.p]=0;a.K=0;return a.p++}function Tq(a){a.o=0;a.p=0;a.E=!1;a.F=!1;a.C=0;a.t=null;a.r=null;a.I=null;a.K=0}\nfunction Pp(a,b){return null==a.r?null:null==a.r[b]?null:Uq(a.r[b],0,a.r[b].length)}function Up(a,b){return 1!=~~(a.s[b]&1572864)>>19&&2!=~~(a.s[b]&1572864)>>19?-1:~~(a.s[b]&65011712)>>21}function Tp(a,b){return~~(a.s[b]&1572864)>>19}function Ep(a,b){return null==a.t?null:a.t[b]}function uo(a,b){return a.D[b].a}function vo(a,b){return a.D[b].b}function wo(a,b){return a.D[b].c}\nfunction Vq(a,b,c,d){var e,f,g;f=!1;for(g=0;0==g&&!f;){for(e=0;e<c;++e)(f||32!=a.B[e])&&0==(a.A[e]&16320)&&++g;0==g&&(f=!0)}if(0==g){if(2>b)return d;g=1.7976931348623157E308;for(c=1;c<b;++c)for(e=0;e<c;++e)f=Wq(Cq(a.D[c],a.D[e])),0<f&&f<g&&(g=f);return 1.7976931348623157E308!=g?0.6*g:d}for(e=b=0;e<c;++e)(f||32!=a.B[e])&&0==(a.A[e]&16320)&&(b+=Wq(Cq(a.D[a.y[1][e]],a.D[a.y[0][e]])));return b/g}function Co(a,b,c){return Xq(a.D[b].a,a.D[b].b,a.D[c].a,a.D[c].b)}function D(a,b,c){return a.y[b][c]}\nfunction Vp(a,b){return 1!=~~(a.z[b]&3072)>>10&&2!=~~(a.z[b]&3072)>>10?-1:~~(a.z[b]&126976)>>12}function fo(a,b){switch(a.B[b]&103){case 1:case 64:return 1;case 2:return 2;case 4:return 3;default:return 0}}function Yq(a,b){var c;c=a.x[b]<Lq.length?Lq[a.x[b]]:null;return null==c?6:c[c.length-1]}\nfunction Jp(a,b,c){var d,e;if(171<=a.x[b]&&190>=a.x[b])return 0;e=0;32==(a.s[b]&48)&&(e-=1);(16==(a.s[b]&48)||48==(a.s[b]&48))&&(e-=2);d=a.q[b];0==d&&a.E&&(201326592==(a.w[b]&234881024)&&(d=-1),100663296==(a.w[b]&234881024)&&(d=1));7==a.x[b]||8==a.x[b]||9==a.x[b]?e+=d:6==a.x[b]||14==a.x[b]||32==a.x[b]?e-=0>d?-d:d:15==a.x[b]||33==a.x[b]?3>=c-e-d?e+=d:e-=d:16==a.x[b]||34==a.x[b]||52==a.x[b]?4>=c-e-d?e+=d:e-=0>d?-d:d:17==a.x[b]||35==a.x[b]||53==a.x[b]?5>=c-e-d?e+=d:e-=0>d?-d:d:e-=d;return e}\nfunction Zq(a,b){var c,d;c=(d=(~~(a.s[b]&-268435456)>>>28)-1,-1==d&&(d=Yq(a,b)),d);return c+Jp(a,b,c)}function $q(a){var b;a.K=0;a.x=C(B,v,-1,a.G,1);a.q=C(B,v,-1,a.G,1);a.u=C(B,v,-1,a.G,1);a.D=C(Qq,o,7,a.G,0);for(b=0;b<a.G;++b)a.D[b]=new Dq;a.v=C(B,v,-1,a.G,1);a.s=C(B,v,-1,a.G,1);a.w=C(B,v,-1,a.G,1);a.t=null;a.r=null;a.y=zo([Bo,B],[En,v],[92,-1],[2,a.H],0,2,1);a.B=C(B,v,-1,a.H,1);a.z=C(B,v,-1,a.H,1);a.A=C(B,v,-1,a.H,1)}function ar(a,b){return 0!=(a.s[b]&262144)}\nfunction Sp(a,b){return 0!=(a.s[b]&512)}function Hq(a,b,c){return(17==a.B[b]||9==a.B[b])&&a.y[0][b]==c}\nfunction br(a,b){var c,d,e,f;if(0!=b){d=null;for(c=0;c<a.o;++c)~~(a.s[c]&1572864)>>19==b&&(null==d&&(d=C(Yn,Zm,-1,32,2)),d[1!=~~(a.s[c]&1572864)>>19&&2!=~~(a.s[c]&1572864)>>19?-1:~~(a.s[c]&65011712)>>21]=!0);for(c=0;c<a.p;++c)~~(a.z[c]&3072)>>10==b&&(null==d&&(d=C(Yn,Zm,-1,32,2)),d[1!=~~(a.z[c]&3072)>>10&&2!=~~(a.z[c]&3072)>>10?-1:~~(a.z[c]&126976)>>12]=!0);f=0;if(null!=d){e=C(B,v,-1,32,1);for(c=0;32>c;++c)d[c]&&(e[c]=f++);for(c=0;c<a.o;++c)~~(a.s[c]&1572864)>>19==b&&(d=e[1!=~~(a.s[c]&1572864)>>19&&\n2!=~~(a.s[c]&1572864)>>19?-1:~~(a.s[c]&65011712)>>21],a.s[c]&=-65011713,a.s[c]|=d<<21);for(c=0;c<a.p;++c)~~(a.z[c]&3072)>>10==b&&(d=e[1!=~~(a.z[c]&3072)>>10&&2!=~~(a.z[c]&3072)>>10?-1:~~(a.z[c]&126976)>>12],a.z[c]&=-126977,a.z[c]|=d<<12)}}}function cr(a,b,c){if(-1<=c&&14>=c&&(a.s[b]&=268435455,c!=Yq(a,b)&&(a.s[b]|=1+c<<28),6==a.x[b]&&(-1==c||0==c||2==c||4==c)))a.s[b]&=-49,2==c&&(a.s[b]|=16)}function dr(a,b,c){a.q[b]=c;a.K=0}function er(a,b){a.s[b]&=-449;a.s[b]|=448}\nfunction fr(a,b,c,d){var e;if(0==c)a.s[b]&=-66584577,a.s[b]|=0;else{if(32<=d)return;if(-1==d){e=-1;for(d=0;d<a.o;++d)d!=b&&c==~~(a.s[d]&1572864)>>19&&e<(1!=~~(a.s[d]&1572864)>>19&&2!=~~(a.s[d]&1572864)>>19?-1:~~(a.s[d]&65011712)>>21)&&(e=1!=~~(a.s[d]&1572864)>>19&&2!=~~(a.s[d]&1572864)>>19?-1:~~(a.s[d]&65011712)>>21);for(d=0;d<a.p;++d)c==~~(a.z[d]&3072)>>10&&e<(1!=~~(a.z[d]&3072)>>10&&2!=~~(a.z[d]&3072)>>10?-1:~~(a.z[d]&126976)>>12)&&(e=1!=~~(a.z[d]&3072)>>10&&2!=~~(a.z[d]&3072)>>10?-1:~~(a.z[d]&\n126976)>>12);d=e+1;if(32<=d)return}a.s[b]&=-66584577;a.s[b]|=c<<19|d<<21}a.K&=3}\nfunction gr(a,b,c,d){if(null==c)null!=a.t&&(a.t[b]=null);else if(1==c.length&&!d){c=c[0];if(a.x[b]!=c&&(d=0,!((1==c||151==c||152==c)&&1<Hp(a,b))))if(a.w[b]&=-2,null!=a.t&&(a.t[b]=null),null!=a.r&&(a.r[b]=null),!(c==a.x[b]&&d==a.v[b]&&-1==(~~(a.s[b]&-268435456)>>>28)-1&&0==(a.s[b]&48))){if(151==c||152==c)d=c-149,c=1;a.s[b]&=960;a.x[b]=c;a.v[b]=d;a.q[b]=0;a.w[b]=0;cr(a,b,-1);hr(a,b,0);c=a.u[b];for(d=0;d<a.o;++d)ir(a.u[d])==(0>c?-c:c)&&(a.u[d]=0);a.K=0}null!=a.t&&(a.t[b]=null)}else null==a.t&&(a.t=C(Bo,\nEn,92,a.G,0)),a.t[b]=c,d&&(a.w[b]|=1),a.K=0,a.E=!0}function jr(a,b,c){c?a.s[b]|=262144:a.s[b]&=-262145}function kr(a,b,c){a.v[b]=c;a.K&=3}function lr(a,b,c,d){a.s[b]&=-8;a.s[b]|=c;d&&(a.s[b]|=4)}function mr(a,b,c){a.w[b]|=c;a.K=0;a.E=!0}function hr(a,b,c){a.s[b]&=-49;a.s[b]|=c;a.K&=3}function nr(a,b,c){a.D[b].a=c;a.K&=3}function or(a,b,c){a.D[b].b=c;a.K&=3}function pr(a,b,c){a.D[b].c=c;a.K&=3}\nfunction Rq(a,b,c){0<=c&&190>=c&&(151==c||152==c?(a.x[b]=1,a.v[b]=c-149):(a.x[b]=c,a.v[b]=0),a.s[b]&=268435455,a.K=0)}\nfunction qr(a,b,c,d){var e;if(0==c)a.z[b]&=-130049,a.z[b]|=0;else{if(32<=d)return;if(-1==d){e=-1;for(d=0;d<a.o;++d)c==~~(a.s[d]&1572864)>>19&&e<(1!=~~(a.s[d]&1572864)>>19&&2!=~~(a.s[d]&1572864)>>19?-1:~~(a.s[d]&65011712)>>21)&&(e=1!=~~(a.s[d]&1572864)>>19&&2!=~~(a.s[d]&1572864)>>19?-1:~~(a.s[d]&65011712)>>21);for(d=0;d<a.p;++d)d!=b&&c==~~(a.z[d]&3072)>>10&&e<(1!=~~(a.z[d]&3072)>>10&&2!=~~(a.z[d]&3072)>>10?-1:~~(a.z[d]&126976)>>12)&&(e=1!=~~(a.z[d]&3072)>>10&&2!=~~(a.z[d]&3072)>>10?-1:~~(a.z[d]&126976)>>\n12);d=e+1;if(32<=d)return}a.z[b]&=-130049;a.z[b]|=c<<10|d<<12}a.K&=3}function rr(a,b,c,d){a.z[b]&=-16777224;a.z[b]|=c;d&&(a.z[b]|=4)}function sr(a,b,c){a.A[b]|=c;a.K=0;a.E=!0}function Zn(a,b,c){a.B[b]=c;a.K=0}function tr(a,b){var c;a.E=b;if(!b){a.t=null;for(c=0;c<a.o;++c)a.w[c]=0;for(c=0;c<a.p;++c)a.A[c]=0,64==a.B[c]&&(a.B[c]=1)}a.K=0}function Eo(a,b){a.s[b]|=131072}\nfunction Xq(a,b,c,d){a=c-a;d-=b;0!=d?(b=Math.atan(a/d),0>d&&(0>a?b-=3.141592653589793:b+=3.141592653589793)):b=0<a?1.5707963267948966:-1.5707963267948966;return b}function ur(a,b){var c;for(c=a-b;-3.141592653589793>c;)c+=6.283185307179586;for(;3.141592653589793<c;)c-=6.283185307179586;return c}function vr(a){Wo();var b;for(b=1;b<Iq.length;++b)if(wr(a,Iq[b]))return b;return 0}function xr(a){switch(a){case 7:case 8:case 9:case 15:case 16:case 17:case 33:case 34:case 35:case 53:return!0}return!1}\nx(23,1,hn);_.o=0;_.p=0;_.q=null;_.r=null;_.s=null;_.t=null;_.u=null;_.v=null;_.w=null;_.x=null;_.y=null;_.z=null;_.A=null;_.B=null;_.C=0;_.D=null;_.E=!1;_.F=!1;_.G=0;_.H=0;_.I=null;_.J=!1;_.K=0;var Iq,Lq,Xo;\nfunction yr(a){var b,c,d,e,f,g;a.f=C(B,v,-1,3*a.o,1);a.e=C(Bo,En,92,a.o,0);a.i=C(Bo,En,92,a.o,0);a.j=C(Bo,En,92,a.o,0);a.k=C(B,v,-1,a.c,1);b=C(B,v,-1,a.o,1);for(d=0;d<a.p;++d)++b[a.y[0][d]],++b[a.y[1][d]];for(c=0;c<a.o;++c)a.e[c]=C(B,v,-1,b[c],1),a.i[c]=C(B,v,-1,b[c],1),a.j[c]=C(B,v,-1,b[c],1);f=!1;for(d=0;d<a.d;++d)if(g=fo(a,d),0==g)f=!0;else for(e=0;2>e;++e)c=a.y[e][d],b=a.f[2*a.o+c],a.j[c][b]=g,a.e[c][b]=a.y[1-e][d],a.i[c][b]=d,++a.f[2*a.o+c],++a.f[a.o+c],++a.f[c],c<a.c&&(1<g?a.k[c]+=g+g-2:64==\na.B[d]&&(a.k[c]=2));for(d=a.d;d<a.p;++d)for(e=0;2>e;++e)c=a.y[e][d],b=a.f[2*a.o+c],a.j[c][b]=1,a.e[c][b]=a.y[1-e][d],a.i[c][b]=d,++a.f[2*a.o+c],++a.f[a.o+c],a.y[1-e][d]<a.c&&++a.f[c];if(f)for(d=0;d<a.d;++d)if(g=fo(a,d),0==g)for(e=0;2>e;++e)c=a.y[e][d],b=a.f[2*a.o+c],a.j[c][b]=0,a.e[c][b]=a.y[1-e][d],a.i[c][b]=d,++a.f[2*a.o+c];for(c=0;c<a.c;++c)a.k[c]=~~(a.k[c]/2)}\nfunction zr(a,b){var c,d,e,f,g,h,j;if(0!=(b&~a.K)){if(0==(a.K&1)){Ar(a);yr(a);a.K|=1;if(a.E){for(d=0;d<a.o;++d)Hp(a,d)>=Zq(a,d)&&(a.w[d]&=-6145);c=!1;for(d=0;d<a.c;++d){e=a.f[a.o+d]-a.f[d];if(!a.J&&0<e){0==(a.w[d]&2048)&&(0==Zq(a,d)-Hp(a,d)?a.w[d]|=2048:(e=0,128==(a.w[d]&128)&&++e,384==(a.w[d]&1920)&&++e,a.w[d]&=-1921,Zq(a,d)-Hp(a,d)<=e?a.w[d]|=2048:0==e?a.w[d]|=128:a.w[d]|=384));for(f=a.f[d];f<a.f[a.o+d];++f)e=a.i[d][f],1==a.B[e]&&(a.x[a.e[d][f]]=-1,a.B[e]=128,c=!0)}0!=(a.w[d]&2)&&(a.w[d]&=-9);0!=\na.q[d]&&(a.s[d]&=-234881025)}if(c){for(e=0;e<a.p;++e)128==a.B[e]&&(d=a.y[0][e],f=a.y[1][e],-1==a.x[d]^-1==a.x[f]&&0!=a.q[d]&&0!=a.q[f]&&0>a.q[d]^0>a.q[f]&&(0>a.q[d]?(++a.q[d],--a.q[f]):(--a.q[d],++a.q[f])));d=C(B,v,-1,a.o,1);for(e=f=0;e<a.o;++e)if(-1==a.x[e])d[e]=-1;else{if(f<e){a.x[f]=a.x[e];a.q[f]=a.q[e];a.v[f]=a.v[e];a.s[f]=a.s[e];a.w[f]=a.w[e];a.u[f]=a.u[e];g=a.D[f];h=a.D[e];j=h.b;var l=h.c;g.a=h.a;g.b=j;g.c=l;null!=a.t&&(a.t[f]=a.t[e]);null!=a.r&&(a.r[f]=a.r[e])}d[e]=f;++f}a.o=f;for(e=f=0;e<\na.p;++e)128!=a.B[e]&&(a.B[f]=a.B[e],a.z[f]=a.z[e],a.A[f]=a.A[e],a.y[0][f]=d[a.y[0][e]],a.y[1][f]=d[a.y[1][e]],++f);a.p=f}}else c=!1;c&&(Ar(a),yr(a))}if(0!=(b&~a.K)&&0==(a.K&2)){for(c=0;c<a.c;++c)a.s[c]&=-31753;for(c=0;c<a.d;++c)a.z[c]&=-961;a.n=new $n(a,7);c=C(B,v,-1,a.c,1);for(d=0;d<a.d;++d)0!=a.n.b[d]&&(a.z[d]|=64,++c[a.y[0][d]],++c[a.y[1][d]]);for(d=0;d<a.c;++d)2==c[d]?a.s[d]|=1024:3==c[d]?a.s[d]|=2048:3<c[d]&&(a.s[d]|=3072);for(g=0;g<a.n.i.c;++g){d=io(a.n.i,g);f=io(a.n.j,g);e=d.length;for(c=0;c<\ne;++c)a.s[d[c]]|=8,a.z[f[c]]|=128,a.n.d[g]&&(a.s[d[c]]|=4096,a.z[f[c]]|=256),a.n.e[g]&&(a.z[f[c]]|=512),26==a.B[f[c]]&&(a.B[f[c]]=2)}for(c=0;c<a.d;++c)64==a.B[c]&&(a.s[a.y[0][c]]|=4096,a.s[a.y[1][c]]|=4096,a.z[c]|=256,a.z[c]|=512);for(c=0;c<a.c;++c)for(h=0;h<a.f[c];++h)if(f=a.i[c][h],0==(a.z[f]&256)){e=a.e[c][h];for(j=0;j<a.f[e];++j)a.i[e][j]!=f&&1<a.j[e][j]&&(6==a.x[a.e[e][j]]?a.s[c]|=8192:!so(a,a.i[e][j])&&xr(a.x[a.e[e][j]])&&(a.s[c]|=16384))}for(;;){g=!1;for(c=0;c<a.c;++c)if(0<a.k[c]&&16384==(20480&\na.s[c]))for(h=0;h<a.f[c];++h)if(1<a.j[c][h]){e=a.e[c][h];f=a.i[c][h];for(j=0;j<a.f[e];++j)a.i[e][j]!=f&&(d=a.e[e][j],0==(a.s[d]&16384)&&(a.s[d]|=16384,g=!0))}if(!g)break}a.K|=2}}}function tp(a,b){var c;if(3==a.f[b]&&0!=(a.s[b]&4096)&&6<=(a.n&&b<a.c?a.n.a[b]:0))for(c=0;c<a.f[b];++c)if(po(a,a.i[b][c]))return a.i[b][c];return-1}function eo(a,b){return a.f[a.o+b]}function So(a,b){return a.f[2*a.o+b]}function xp(a,b){var c;c=a.s[b]&3072;return 0==c?0:1024==c?2:2048==c?3:4}\nfunction yp(a,b){return a.n&&b<a.c?a.n.a[b]:0}function sq(a,b,c){var d;for(d=0;d<a.f[2*a.o+b];++d)if(a.e[b][d]==c)return a.i[b][d];return-1}function bo(a,b,c){return a.e[b][c]}function ao(a,b,c){return a.i[b][c]}\nfunction Br(a,b,c,d,e){var f,g,h,j;g=a.f[a.o+b];if(0!=a.k[b]||0!=(a.s[b]&4096)||3>a.f[b]||4<g)return!1;j=C(Yn,Zm,-1,4,2);for(h=0;h<g;++h){f=3.9269908169872414-d[h];if(0.0872664675116539<(0>=0.7853981633974483-f%1.5707963267948966?0-(0.7853981633974483-f%1.5707963267948966):0.7853981633974483-f%1.5707963267948966))return!1;e[h]=3&I(f/1.5707963267948966);if(j[e[h]])return!1;j[e[h]]=!0;if(0==(e[h]&1)){if(1!=a.B[a.i[b][c[h]]])return!1}else if(!Hq(a,a.i[b][c[h]],b))return!1}return j[0]&&j[2]}\nfunction Do(a,b,c,d,e){var f,g,h;f=a.f[a.o+b];null==e&&(e=C(B,v,-1,f,1));if(!Br(a,b,c,d,e))return 3;d=-1;for(h=0;h<f;++h)if(1==(e[h]&1)){g=a.B[a.i[b][c[h]]];if(-1!=d&&d!=g)return 3;d=g}b=2==ir(e[0]-e[1])?1:0;a=e[b]-e[b+1];return 3==(0>a?-a:a)^e[b]<e[b+1]^(3==f||1==(e[3]&1))^9==d?1:2}function Gp(a,b,c){var d;d=Hp(a,b);d-=Jp(a,b,d);c&&(d-=a.f[a.o+b]-a.f[b]);c=a.x[b]<Lq.length?Lq[a.x[b]]:null;b=null==c?6:c[0];if(d<=b)return-1;if(null!=c)for(a=1;b<d&&a<c.length;++a)b=c[a];return b>d?b:d}\nfunction ip(a,b){var c,d,e,f;if(a.E&&0==(a.w[b]&2048)||!Ip(a,b))return 0;Xn(a,1);for(d=e=0;d<a.f[a.o+b];++d)e+=a.j[b][d];if(a.E){c=1;for(d=0;d<a.f[b];++d)64==a.B[a.i[b][d]]&&++c;e+=~~c>>1}e-=Jp(a,b,e);c=(~~(a.s[b]&-268435456)>>>28)-1;if(-1==c)if(171<=a.x[b]&&190>=a.x[b])c=2;else if(f=a.x[b]<Lq.length?Lq[a.x[b]]:null,null==f)c=6;else{c=f[0];for(d=1;c<e&&d<f.length;++d)c=f[d]}return 0>c-e?0:c-e}function Ro(a,b){return a.f[2*a.o+b]-a.f[a.o+b]}\nfunction Hp(a,b){var c,d;a.Ed(1);for(c=d=0;c<a.f[a.o+b];++c)d+=a.j[b][c];return d}function pp(a){Xn(a,3);return a.n}function Cr(a,b,c){return 1!=fo(a,b)?0:16-a.f[a.o+c]+(1==a.x[c]?4096:0)+(0==(a.B[b]&24)||a.y[0][b]!=c?2048:0)+(0==(a.s[c]&3)?1024:0)+(0!=(a.z[b]&64)?0:512)+(6!=a.x[c]?256:0)}\nfunction Ar(a){var b,c,d,e,f;f=C(Yn,Zm,-1,a.o,2);for(b=0;b<a.p;++b)for(e=0;2>e;++e)Dr(a,a.y[e][b])&&!Dr(a,a.y[1-e][b])&&(f[a.y[e][b]]=!0);e=a.o;do--e;while(0<=e&&f[e]);for(b=0;b<e;++b)if(f[b]){c=a;d=b;var g=e,h=void 0,j=void 0,h=h=h=void 0,h=c.x[d];c.x[d]=c.x[g];c.x[g]=h;h=c.q[d];c.q[d]=c.q[g];c.q[g]=h;h=c.v[d];c.v[d]=c.v[g];c.v[g]=h;h=c.s[d];c.s[d]=c.s[g];c.s[g]=h;h=c.w[d];c.w[d]=c.w[g];c.w[g]=h;h=c.u[d];c.u[d]=c.u[g];c.u[g]=h;h=c.D[d];c.D[d]=c.D[g];c.D[g]=h;null!=c.t&&(h=c.t[d],c.t[d]=c.t[g],c.t[g]=\nh);null!=c.r&&(h=c.r[d],c.r[d]=c.r[g],c.r[g]=h);for(h=0;h<c.p;++h)for(j=0;2>j;++j)c.y[j][h]==d?c.y[j][h]=g:c.y[j][h]==g&&(c.y[j][h]=d);c.K=0;c=f[b];f[b]=f[e];f[e]=c;do--e;while(f[e])}a.c=e+1;if(a.o==a.c)a.d=a.p;else{e=C(Yn,Zm,-1,a.p,2);for(b=0;b<a.p;++b)c=a.y[0][b],d=a.y[1][b],(f[c]||f[d])&&(e[b]=!0);f=a.p;do--f;while(0<=f&&e[f]);for(b=0;b<f;++b)if(e[b]){c=a.y[0][b];a.y[0][b]=a.y[0][f];a.y[0][f]=c;c=a.y[1][b];a.y[1][b]=a.y[1][f];a.y[1][f]=c;c=a.B[b];a.B[b]=a.B[f];a.B[f]=c;e[b]=!1;do--f;while(e[f])}a.d=\nf+1}}function so(a,b){return 0!=(a.z[b]&256)}function po(a,b){var c,d,e,f,g;if(1!=a.B[b]||0!=(a.z[b]&256)||0!=(a.z[b]&64)&&7>(a.n&&b<a.d?a.n.b[b]:0))return!1;c=a.y[0][b];if(0==(a.s[c]&4096)||6>(a.n&&c<a.c?a.n.a[c]:0))return!1;d=a.y[1][b];if(0==(a.s[d]&4096)||6>(a.n&&d<a.c?a.n.a[d]:0))return!1;for(f=g=0;f<a.f[c];++f)e=a.e[c][f],e!=d&&2<a.f[e]&&++g;for(f=0;f<a.f[d];++f)e=a.e[d][f],e!=c&&2<a.f[e]&&++g;return 2<g}\nfunction wp(a,b){var c,d,e,f,g,h;if(7!=a.x[b])return!1;if(0!=(a.s[b]&4096)||0!=a.k[b]||0!=(a.w[b]&268435456))return!0;if(1==a.q[b])return!1;for(f=e=0;f<a.f[b];++f)1==a.j[b][f]&&(c=a.x[a.e[b][f]],(8==c||9==c||17==c)&&++e);if(0==e)for(f=0;f<a.f[b];++f)if(c=a.e[b][f],0!=a.k[c]){if(0!=(a.s[c]&4096)){if(5<=(a.n&&c<a.c?a.n.a[c]:0)){for(h=g=0;h<a.f[c];++h)d=a.e[c][h],d!=b&&3<=a.f[d]&&++g;if(2==g||1==g&&3==a.f[b])continue}return!0}for(h=0;h<a.f[c];++h)if((2==a.j[c][h]||so(a,a.i[c][h]))&&0!=(a.s[a.e[c][h]]&\n16384))return!0}if(2>e)for(f=0;f<a.f[b];++f){c=a.e[b][f];d=g=!1;for(h=0;h<a.f[c];++h)a.e[c][h]!=b&&(1!=a.j[c][h]&&(7==a.x[a.e[c][h]]||8==a.x[a.e[c][h]]||16==a.x[a.e[c][h]])&&(g=!0),1==a.j[c][h]&&7==a.x[a.e[c][h]]&&(d=!0));if(g&&(!d||0==e))return!0}return!1}function yo(a,b){return 0!=(a.z[b]&64)}function Dr(a,b){return 1==a.x[b]&&0==a.v[b]&&(null==a.r||null==a.r[b])}function Lo(a,b){return 0!=(a.z[b]&128)}\nfunction Er(a){var b;Xn(a,3);for(b=0;b<a.c;++b){var c=a,d=b,e=void 0,f=void 0,g=f=void 0,h=void 0,j=e=e=void 0,l=g=void 0,l=void 0;if(!(0==(c.s[d]&3)||3==(c.s[d]&3)))if(2==c.k[d]&&2==c.f[d]){var n=l=g=j=void 0,q=j=void 0,r=h=h=g=void 0,t=l=l=void 0,A=e=f=t=n=void 0,h=void 0;if(2!=c.f[d]||2!=c.j[d][0]||2!=c.j[d][1]||2>c.f[c.e[d][0]]||2>c.f[c.e[d][1]]||1!=c.k[c.e[d][0]]||1!=c.k[c.e[d][1]])lr(c,d,0,!1);else{l=t=f=e=-1;for(h=n=0;2>h;++h){g=c.e[d][h];for(r=0;r<c.f[c.o+g];++r)j=c.e[g][r],j!=d&&(q=c.i[g][r],\nA=Cr(c,q,j),n<A&&(n=A,f=j,e=q,t=g,l=c.e[d][1-h]))}if(-1!=f){for(h=0;2>h;++h)for(r=0;r<eo(c,c.e[d][h]);++r)c.e[c.e[d][h]][r]!=d&&(c.B[c.i[c.e[d][h]][r]]=1);c.y[1][e]!=f&&(c.y[0][e]=c.y[1][e],c.y[1][e]=f);g=2147483647;for(h=0;h<c.f[t];++h)j=c.e[t][h],j!=d&&g>j&&(g=j);t=C(B,v,-1,2,1);for(h=n=0;h<c.f[l];++h)j=c.e[l][h],j!=d&&(t[n++]=j);j=Xq(c.D[d].a,c.D[d].b,c.D[l].a,c.D[l].b);2==n?(t[0]>t[1]&&(h=t[0],t[0]=t[1],t[1]=h),h=ur(j,Co(c,l,t[0])),l=ur(j,Co(c,l,t[1])),l=h-l):l=ur(j,Co(c,l,t[0]));0>l^1==(c.s[d]&\n3)^g==f?c.B[e]=17:c.B[e]=9}}}else if(3>c.f[d]||4<c.f[d])lr(c,d,0,!1);else{f=c;e=d;g=j=l=void 0;l=f.f[f.o+e];g=C(B,v,-1,l,1);for(j=0;j<l;++j)g[j]=(f.e[e][j]<<16)+j;jp(g);for(j=0;j<l;++j)g[j]&=65535;l=g;e=c.f[c.o+d];f=C(to,Sm,-1,e,1);for(h=0;h<e;++h)f[h]=Co(c,c.e[d][l[h]],d);for(h=0;h<e;++h)c.y[0][c.i[d][h]]==d&&1==fo(c,c.i[d][h])&&(c.B[c.i[d][h]]=1);var j=c,g=d,h=l,t=f,u=q=A=r=n=void 0,r=void 0,n=j.f[j.o+g],q=C(B,v,-1,n,1),r=Do(j,g,h,t,q);if(3==r)j=!1;else{A=(j.s[g]&3)==r?17:9;for(u=0;u<n;++u)1==(q[u]&\n1)&&(r=j.i[g][h[u]],j.B[r]=A,j.y[0][r]!=g&&(j.y[1][r]=j.y[0][r],j.y[0][r]=g));j=!0}if(!j){j=-1;for(h=0;h<e;++h)if(g=c.i[d][h],(17==c.B[g]||9==c.B[g])&&c.y[0][g]==d)c.B[c.i[d][h]]=1,-1==j?j=g:j=-2;if(0>j)a:{for(var j=c,g=d,w=q=t=q=A=A=n=u=A=n=h=void 0,r=A=r=void 0,h=j.f[j.o+g],n=C(to,Sm,-1,h,1),t=0;t<h;++t)n[t]=Co(j,g,j.e[g][t]);for(t=1;t<h;++t)for(q=0;q<t;++q)if(r=Eq(ur(n[t],n[q])),0.08>r||3.061592653589793<r){for(w=u=A=0;w<h;++w)w!=t&&w!=q&&(A+=Eq(Fr(n[t],n[w])),u+=Eq(Fr(n[q],n[w])));A=A<u?j.i[g][t]:\nj.i[g][q];if(1==fo(j,A)){j=A;break a}}r=-1;for(t=n=0;t<h;++t)A=j.e[g][t],q=j.i[g][t],A=Cr(j,q,A),n<A&&(n=A,r=q);j=r}c.y[0][j]!=d&&(c.y[1][j]=c.y[0][j],c.y[0][j]=d);g=-1;for(h=0;h<e;++h)if(j==c.i[d][l[h]]){g=h;break}l=z(Bo,En,92,[z(B,v,-1,[2,1,2,1]),z(B,v,-1,[1,2,2,1]),z(B,v,-1,[1,1,2,2]),z(B,v,-1,[2,1,1,2]),z(B,v,-1,[2,2,1,1]),z(B,v,-1,[1,2,1,2])]);for(h=1;h<e;++h)f[h]<f[0]&&(f[h]+=6.283185307179586);if(3==e){e=!1;switch(g){case 0:e=f[1]<f[2]&&3.141592653589793>f[2]-f[1]||f[1]>f[2]&&3.141592653589793<\nf[1]-f[2];break;case 1:e=3.141592653589793<f[2]-f[0];break;case 2:e=3.141592653589793>f[1]-f[0]}f=1==(c.s[d]&3)^e?17:9}else e=0,f[1]<=f[2]&&f[2]<=f[3]?e=0:f[1]<=f[3]&&f[3]<=f[2]?e=1:f[2]<=f[1]&&f[1]<=f[3]?e=2:f[2]<=f[3]&&f[3]<=f[1]?e=3:f[3]<=f[1]&&f[1]<=f[2]?e=4:f[3]<=f[2]&&f[2]<=f[1]&&(e=5),f=1==(c.s[d]&3)^1==l[e][g]?9:17;c.B[j]=f}}}for(b=0;b<a.d;++b)if(d=a,c=b,h=A=e=h=f=l=n=t=l=r=g=h=j=q=t=g=n=j=l=void 0,!(0==(d.z[c]&3)||3==(d.z[c]&3))&&po(d,c)){l=h=f=e=-1;for(g=n=0;2>g;++g){j=d.y[g][c];for(r=0;r<\nd.f[d.o+j];++r)q=d.i[j][r],q!=c&&1==fo(d,q)&&(t=d.e[j][r],A=Cr(d,q,t),n<A&&(n=A,f=t,e=q,h=j,l=d.y[1-g][c]))}if(-1!=f){for(g=0;2>g;++g)for(r=0;r<eo(d,d.y[g][c]);++r)q=d.i[d.y[g][c]][r],q!=c&&1==fo(d,q)&&(d.B[q]=1);d.y[1][e]!=f&&(d.y[0][e]=d.y[1][e],d.y[1][e]=f);j=2147483647;for(g=0;g<d.f[h];++g)t=d.e[h][g],d.i[h][g]!=c&&j>t&&(j=t);t=C(B,v,-1,2,1);for(g=n=0;g<d.f[l];++g)d.i[l][g]!=c&&(t[n++]=d.e[l][g]);g=Xq(d.D[h].a,d.D[h].b,d.D[l].a,d.D[l].b);2==n?(t[0]>t[1]&&(h=t[0],t[0]=t[1],t[1]=h),h=ur(g,Co(d,\nl,t[0])),l=ur(g,Co(d,l,t[1])),l=h-l):l=ur(g,Co(d,l,t[0]));0>l^2==(d.z[c]&3)^j==f?d.B[e]=17:d.B[e]=9}}}function Ip(a,b){var c;return 0!=(a.s[b]&-268435456)?!0:1==a.x[b]?!1:(c=a.x[b],1==c||5<=c&&9>=c||14<=c&&17>=c||32<=c&&35>=c||52<=c&&53>=c)||13==a.x[b]||171<=a.x[b]}x(22,23,hn);_.Ed=function(a){zr(this,a)};_.c=0;_.d=0;_.e=null;_.f=null;_.i=null;_.j=null;_.k=null;_.n=null;\nfunction Gr(a,b){var c,d;c=b;var e,f;9.0E-4>(0>=c?0-c:c)&&(c=0);c=J(L(N(c*Math.pow(10,4))))/Math.pow(10,4);d=m+(new Hr(c)).a;e=Ir(d,Jr(46));0>e&&(d+=Sc,e=Ir(d,Jr(46)));f=d.length;for(c=1;c<=4-f+e+1;++c)d+=cd;10<d.length&&(d=Xd);e=m;for(c=1;c<=10-d.length;++c)e+=ca;d=e+d;for(c=d.length;10>c;++c)Kr(a.a,32);Lr(a.a,d)}function Mr(a,b){var c,d,e;if(0>b||999<b)Lr(a.a,"  ?");else{c=!1;for(d=0;3>d;++d)e=~~(b/100),0==e?2==d||c?Kr(a.a,48):Kr(a.a,32):(Kr(a.a,48+e&65535),c=!0),b=10*(b%100)}}\nfunction Nr(a){var b=new Or,c,d,e,f,g,h,j,l;Xn(a,7);f=!0;for(c=0;c<a.c;++c)if(0!=(a.s[c]&3)&&3!=(a.s[c]&3)&&1!=~~(a.s[c]&1572864)>>19){f=!1;break}l=-1;if(f){d=C(B,v,-1,32,1);for(c=0;c<a.c;++c)if(0!=(a.s[c]&3)&&3!=(a.s[c]&3)&&1==~~(a.s[c]&1572864)>>19){c=1!=~~(a.s[c]&1572864)>>19&&2!=~~(a.s[c]&1572864)>>19?-1:~~(a.s[c]&65011712)>>21;++d[c];0<d[c]&&(l=c);break}}this.a=b;Lr(this.a,(null!=a.I?a.I:m)+ba);Lr(this.a,"Actelion Java MolfileCreator 1.0\\n\\n");Mr(this,a.o);Mr(this,a.p);Lr(this.a,qa);Mr(this,\nf?0:1);Lr(this.a,"  0  0  0  0  0999 V2000\\n");b=1==a.o;for(c=1;c<a.o;++c)if(a.D[c].a!=a.D[0].a||a.D[c].b!=a.D[0].b||a.D[c].c!=a.D[0].c){b=!0;break}d=1;if(b)if(c=Vq(a,a.o,a.p,24),0!=c)(1>c||3<c)&&(d=1.5/c);else{e=1.7976931348623157E308;for(c=1;c<a.o;++c)for(d=0;d<c;++d)g=a.D[d].a-a.D[c].a,h=a.D[d].b-a.D[c].b,j=a.D[d].c-a.D[c].c,g=g*g+h*h+j*j,e>g&&(e=g);d=3/e}for(c=0;c<a.o;++c)b?(Gr(this,d*a.D[c].a),Gr(this,d*-a.D[c].b),Gr(this,d*-a.D[c].c)):Lr(this.a,"    0.0000    0.0000    0.0000"),null!=(null==\na.t?null:a.t[c])?Lr(this.a," L  "):0!=(a.w[c]&1)?Lr(this.a," A  "):(e=(Wo(),Iq)[a.x[c]],Lr(this.a,ca+e),1==e.length?Lr(this.a,fa):2==e.length&&Lr(this.a,ca)),Lr(this.a," 0  0  0"),e=1920&a.w[c],0==e?Lr(this.a,pa):384==e?Lr(this.a,"  3"):128==e?Lr(this.a,wa):1792==e?Lr(this.a,ta):1664==e&&Lr(this.a,wa),Lr(this.a,0!=(a.w[c]&8192)?ta:pa),e=(~~(a.s[c]&-268435456)>>>28)-1,-1==e?Lr(this.a,pa):0==e?Lr(this.a," 15"):Mr(this,e),Lr(this.a,sa),Mr(this,ir(a.u[c])),Lr(this.a,"  0  0\\n");for(c=0;c<a.p;++c){switch(a.B[c]){case 1:b=\n1;d=0;break;case 2:b=2;d=0;break;case 4:b=3;d=0;break;case 9:b=1;d=6;break;case 17:d=b=1;break;case 26:b=2;d=3;break;case 64:b=4;d=0;break;default:b=1,d=0}f&&(1==d||6==d)&&Up(a,a.y[0][c])!=l&&(d=0);e=a.A[c]&15;0!=e&&(8==e?b=4:3==e?b=5:9==e?b=6:10==e?b=7:b=8);e=a.A[c]&48;e=0==e?0:32==e?1:2;Mr(this,1+a.y[0][c]);Mr(this,1+a.y[1][c]);Mr(this,b);Mr(this,d);Lr(this.a,pa);Mr(this,e);Lr(this.a,"  0\\n")}for(c=f=0;c<a.o;++c)0!=a.q[c]&&++f;if(0!=f){Lr(this.a,Of);Mr(this,f);for(c=0;c<a.o;++c)0!=a.q[c]&&(Lr(this.a,\nca),Mr(this,c+1),f=a.q[c],0>f?(Lr(this.a,"  -"),f=-f):Lr(this.a,ga),Kr(this.a,48+f&65535));Lr(this.a,ba)}for(c=f=0;c<a.o;++c)0==a.v[c]||++f;if(0!=f){Lr(this.a,Rf);Mr(this,f);for(c=0;c<a.o;++c)0!=a.v[c]&&(Lr(this.a,ca),Mr(this,c+1),Lr(this.a,ca),Mr(this,a.v[c]));Lr(this.a,ba)}for(c=f=0;c<a.o;++c)0!=(a.s[c]&48)&&++f;if(0!=f){Lr(this.a,Sf);Mr(this,f);for(c=0;c<a.o;++c)if(0!=(a.s[c]&48))switch(Lr(this.a,ca),Mr(this,c+1),a.s[c]&48){case 16:Lr(this.a,ha);break;case 32:Lr(this.a,la);break;case 48:Lr(this.a,\nna)}Lr(this.a,ba)}if(a.E){for(c=f=0;c<a.o;++c)0!=(a.w[c]&120)&&++f;if(0!=f){Lr(this.a,Xf);Mr(this,f);for(c=0;c<a.o;++c)if(f=a.w[c]&120,0!=f)switch(Lr(this.a,ca),Mr(this,c+1),f){case 112:Lr(this.a,"  -1");break;case 8:Lr(this.a,ha);break;case 104:Lr(this.a,la);break;case 88:Lr(this.a,na);break;case 56:Lr(this.a,"   4")}Lr(this.a,ba)}for(c=0;c<a.o;++c)if(f=null==a.t?null:a.t[c],null!=f){Lr(this.a,"M  ALS ");Mr(this,c+1);Mr(this,f.length);Lr(this.a,0!=(a.w[c]&1)?" T ":" F ");for(l=0;l<f.length;++l)switch(b=\n(Wo(),Iq)[f[l]],b.length){case 1:Lr(this.a,b+ga);break;case 2:Lr(this.a,b+fa);break;case 3:Lr(this.a,b+ca);break;default:Lr(this.a,"   ?")}Lr(this.a,ba)}for(c=f=0;c<a.o;++c)0!=(a.w[c]&6144)&&++f;if(0!=f){Lr(this.a,Yf);Mr(this,f);for(c=0;c<a.o;++c)f=a.w[c]&6144,0!=f&&(Lr(this.a,ca),Mr(this,c+1),0!=(f&4096)?Lr(this.a,ga+(a.f[a.o+c]+1)):Lr(this.a,"  -2"));Lr(this.a,ba)}}Lr(this.a,Qf)}x(25,1,{},Nr);_.a=null;\nfunction Pr(a,b,c,d,e,f){var g,h;h=1;g=!1;switch(e){case 1:h=17;break;case 3:h=26;break;case 4:h=17;g=!0;break;case 6:h=9;break;default:switch(d){case 1:h=1;break;case 2:h=2;break;case 3:h=4;break;case 4:h=64;break;case 8:a.d&&(h=32)}}c=Sq(a.c,b,c,h);e=0;g&&fr(a.c,b,1,-1);if(4<d)switch(d){case 5:e|=3;break;case 6:e|=9;break;case 7:e|=10;break;case 8:a.d||(e|=15)}1==f&&(e|=32);2==f&&(e|=16);0!=e&&sr(a.c,c,e);return c}function Qr(a,b){var c;c=Rr(a,b+1);return-1==c?a.length:c}\nfunction Sr(a,b){var c;c=!a.a?null:Tr(a.a,new Ur(b));return!c?b-1:c.a}function Vr(a,b){var c;c=!a.b?null:Tr(a.b,new Ur(b));return!c?b-1:c.a}function Wr(a,b){var c;if(-1==b)return-1;for(c=b+1;c<a.length;++c)if(32!=a.charCodeAt(c)&&9!=a.charCodeAt(c))return c;return-1}function Rr(a,b){var c;for(c=b;c<a.length;++c)if(32==a.charCodeAt(c)||9==a.charCodeAt(c))return c;return-1}\nfunction Xr(a){var b,c;if(0<=a.indexOf(nh)){b=a.indexOf(" NOT[");c=a.indexOf(vh,b);if(0<=b&&0<c)return-(c+1);b=a.indexOf(" [");c=a.indexOf(vh,b);if(0<=b&&0<c)return c+1;b=a.indexOf(" \'NOT[");c=a.indexOf(wh,b);if(0<=b&&0<c)return-(c+2);b=a.indexOf(" \'[");c=a.indexOf(wh,b);if(0<=b&&0<c)return c+2}return 0}function Yr(a,b,c){a.c=b;return Zr(a,c)}function $r(a){return 0==a.length?0:as(a,10)}\nfunction Zr(a,b){var c,d,e,f,g,h,j,l,n,q,r,t,A,u,w,F,H,s,Q,da,Y,W,ja,vb,Ua,db,M,yb,ua,P,Ca,mb,va,hb,R,Uc,ra,qb,ib,bb;try{a.c&&(Tq(a.c),tr(a.c,!1));Y=bs(b);if(null==Y||null==bs(b)||null==(H=bs(b)))return!1;a.d=-1!=H.indexOf("From CSD data. Using bond type \'Any\'");if(null==(H=bs(b)))return!1;try{W=as(cs(H.substr(0,3)),10),ja=as(cs(H.substr(3,3)),10),vb=$r(cs(H.substr(6,3))),r=$r(cs(H.substr(12,3))),Uc=39<=H.length&&ds(H.substr(34,5),dh)?3:2}catch($a){$a=No($a);if(E($a,102))return!1;throw $a;}if(3==\nUc)return M=es(a,b),a.c.I=Y,M;!a.c&&(a.c=new fs(W,ja));a.c.I=Y;0==r&&(a.c.F=!0);if(0==W){for(;null!=H&&!ds(H,Pf)&&!ds(H,gb)&&!ds(gs(H,1),cb);)H=bs(b);return!0}for(A=0;A<W;++A){if(null==(H=bs(b)))return!1;qb=hs(cs(H.substr(0,10)));ib=hs(cs(H.substr(10,10)));bb=hs(cs(H.substr(20,10)));d=Nq(a.c,qb,-ib,-bb);F=cs(H.substr(31,3));g=vr(F);Rq(a.c,d,g);ds(F,$d)&&mr(a.c,d,1);da=$r(cs(H.substr(34,2)));0!=da&&kr(a.c,d,(Wo(),Xo)[g]+da);q=$r(cs(H.substr(36,3)));0!=q&&dr(a.c,d,4-q);s=63>H.length?0:$r(cs(H.substr(60,\n3)));a.c.u[d]=s;t=45>H.length?0:$r(cs(H.substr(42,3)));switch(t){case 0:break;case 1:mr(a.c,d,768);break;case 2:mr(a.c,d,128);break;case 3:mr(a.c,d,384);break;default:mr(a.c,d,896)}48<=H.length&&49==H.charCodeAt(47)&&mr(a.c,d,8192);R=51>H.length?0:$r(cs(H.substr(48,3)));switch(R){case 0:break;case 15:cr(a.c,d,0);break;default:cr(a.c,d,R)}}for(A=0;A<ja;++A){if(null==(H=bs(b)))return!1;e=as(cs(H.substr(0,3)),10)-1;f=as(cs(H.substr(3,3)),10)-1;l=as(cs(H.substr(6,3)),10);ua=12>H.length?0:$r(cs(H.substr(9,\n3)));va=18>H.length?0:$r(cs(H.substr(15,3)));Pr(a,e,f,l,ua,va)}for(A=0;A<vb;++A)if(null==bs(b))return!1;if(null==(H=bs(b)))return 0==r&&Xn(a.c,7),!0;for(;null!=H&&!ds(H,Pf)&&!ds(H,gb);){if(0==H.indexOf(Of)&&(u=as(cs(H.substr(6,3)),10),0<u)){c=10;ra=14;for(w=1;w<=u;++w,c+=8,ra+=8)d=as(cs(H.substr(c,c+3-c)),10)-1,n=as(cs(H.substr(ra,ra+3-ra)),10),dr(a.c,d,n)}if(0==H.indexOf(Rf)&&(u=as(cs(H.substr(6,3)),10),0<u)){c=10;ra=14;for(w=1;w<=u;++w,c+=8,ra+=8)d=as(cs(H.substr(c,c+3-c)),10)-1,Q=as(cs(H.substr(ra,\nra+3-ra)),10),kr(a.c,d,Q)}if(0==H.indexOf(Sf)&&(u=as(cs(H.substr(6,3)),10),0<u)){c=10;ra=14;for(w=1;w<=u;++w,c+=8,ra+=8)switch(d=as(cs(H.substr(c,c+3-c)),10)-1,db=as(cs(H.substr(ra,ra+3-ra)),10),db){case 1:hr(a.c,d,16);break;case 2:hr(a.c,d,32);break;case 3:hr(a.c,d,48)}}if(0==H.indexOf(Xf)&&(u=as(cs(H.substr(6,3)),10),0<u)){c=10;ra=14;for(w=1;w<=u;++w,c+=8,ra+=8)switch(d=as(cs(H.substr(c,c+3-c)),10)-1,yb=as(cs(H.substr(ra,ra+3-ra)),10),yb){case 3:case -1:mr(a.c,d,112);break;case 1:mr(a.c,d,8);break;\ncase 2:mr(a.c,d,104);break;case 4:mr(a.c,d,56)}}if(0==H.indexOf("M  ALS")&&(d=as(cs(H.substr(7,3)),10)-1,0<=d)){Ua=as(cs(H.substr(10,3)),10);h=84==H.charCodeAt(14);hb=C(B,v,-1,Ua,1);c=16;for(w=0;w<Ua;++w,c+=4)mb=cs(H.substr(c,c+4-c)),hb[w]=vr(mb);gr(a.c,d,hb,h)}if(0==H.indexOf(Yf)&&(u=as(cs(H.substr(6,3)),10),0<u)){c=10;ra=14;for(w=1;w<=u;++w,c+=8,ra+=8)if(d=as(cs(H.substr(c,c+3-c)),10)-1,P=as(cs(H.substr(ra,ra+3-ra)),10),-2==P)mr(a.c,d,2048);else if(0<P){for(j=Ca=0;j<a.c.p;++j)(D(a.c,0,j)==d||D(a.c,\n1,j)==d)&&++Ca;P>Ca&&mr(a.c,d,4096)}}H=bs(b)}}catch(eb){eb=No(eb);if(E(eb,102))return is(eb),!1;throw eb;}Xn(a.c,7);return!0}\nfunction es(a,b){var c,d,e;a.a&&(e=a.a,e.b=null,e.c=0);a.b&&(e=a.b,e.b=null,e.c=0);e=0;for(d=bs(b);null!=d&&0==d.indexOf(Zf);){for(d=cs(gs(d,7));js(d,hc);){c=bs(b);if(0!=c.indexOf(Zf))return!1;d=cs(ks(d,0,d.length-1)+gs(c,7))}if(0==d.indexOf("BEGIN"))if(e=cs(gs(d,6)),0==e.indexOf("CTAB"))e=1;else if(0==e.indexOf("ATOM"))e=2;else if(0==e.indexOf("BOND"))e=3;else if(0==e.indexOf("COLLECTION"))e=4;else return!1;else if(0==d.indexOf(hf))e=0;else if(1==e){c=a;var f=void 0,g=void 0,f=void 0;!c.c&&0==d.indexOf("COUNTS")&&\n(f=Wr(d,Rr(d,7)),g=as(ks(d,7,Rr(d,7)),10),f=as(ks(d,f,Rr(d,f)),10),c.c=new fs(g,f))}else if(2==e){c=a;var h=void 0,j=f=g=g=f=g=void 0,l=void 0,n=h=void 0,q=n=n=j=g=void 0,r=h=f=void 0,t=void 0,l=Qr(d,0),g=as(d.substr(0,l-0),10),j=Wr(d,l),l=Qr(d,j),n=d.substr(j,l-j),q=null,f=!1,h=Xr(d);if(0!=h){var l=d,A=t=r=r=j=q=void 0,u=t=void 0,t=null,j=l.indexOf(nh),r=l.indexOf(vh,j);if(0<=j&&0<r){q=C(B,v,-1,16,1);u=l.substr(j+1,r-(j+1));r=0;for(A=!0;A&&16>r;)j=u.indexOf($b),-1==j?(t=u,A=!1):(t=u.substr(0,j-0),\nu=gs(u,j+1)),q[r++]=vr(t);t=C(B,v,-1,r,1);Zo(q,0,t,r)}q=t;0>h&&(f=!0);l=0>h?-h:h}j=Wr(d,l);l=Qr(d,j);h=hs(d.substr(j,l-j));j=Wr(d,l);l=Qr(d,j);r=hs(d.substr(j,l-j));j=Wr(d,l);l=Qr(d,j);t=hs(d.substr(j,l-j));j=Wr(d,l);l=Qr(d,j);j=as(d.substr(j,l-j),10);h=Nq(c.c,h,-r,-t);h+1!=g&&(!c.a&&(c.a=new ls),ms(c.a,new Ur(g),new Ur(h)));null!=q&&gr(c.c,h,q,f);0!=j&&(c.c.u[h]=j);ds(n,$d)?mr(c.c,h,1):ds(n,pg)?(g=C(B,v,-1,1,1),g[0]=6,gr(c.c,h,g,!0)):Rq(c.c,h,vr(n));for(;-1!=(j=Wr(d,l));)if(l=Qr(d,j),n=d.substr(j,\nl-j),f=Ir(n,Jr(61)),g=n.substr(0,f-0),f=as(gs(n,f+1),10),ds(g,"CHG"))dr(c.c,h,f);else if(ds(g,"RAD"))switch(f){case 1:hr(c.c,h,16);break;case 2:hr(c.c,h,32);break;case 3:hr(c.c,h,48)}else if(!ds(g,He))if(ds(g,"MASS"))kr(c.c,h,f);else if(ds(g,"VAL"))cr(c.c,h,-1==f?0:0==f?-1:f);else if(ds(g,"HCOUNT"))switch(f){case 0:break;case -1:mr(c.c,h,1792);break;case 1:mr(c.c,h,128);break;case 2:mr(c.c,h,384);break;default:mr(c.c,h,896)}else if(ds(g,"SUBST"))if(-1==f)mr(c.c,h,2048);else{if(0<f){for(g=n=0;g<c.c.p;++g)(D(c.c,\n0,g)==h||D(c.c,1,g)==h)&&++n;f>n&&mr(c.c,h,4096)}}else if(ds(g,"RBCNT"))switch(f){case 3:case -1:mr(c.c,h,112);break;case 1:mr(c.c,h,8);break;case 2:mr(c.c,h,104);break;case 4:mr(c.c,h,56)}}else if(3==e){c=a;t=j=q=A=h=r=t=r=l=g=f=n=f=void 0;h=Qr(d,0);g=as(d.substr(0,h-0),10);r=Wr(d,h);h=Qr(d,r);l=as(d.substr(r,h-r),10);r=Wr(d,h);h=Qr(d,r);f=Sr(c,as(d.substr(r,h-r),10));r=Wr(d,h);h=Qr(d,r);n=Sr(c,as(d.substr(r,h-r),10));for(j=q=0;-1!=(r=Wr(d,h));)if(h=Qr(d,r),A=d.substr(r,h-r),t=Ir(A,Jr(61)),r=A.substr(0,\nt-0),t=as(gs(A,t+1),10),ds(r,He))switch(t){case 1:q=1;break;case 2:q=2==l?3:4;break;case 3:q=6}else ds(r,"TOPO")&&(j=t);f=Pr(c,f,n,l,q,j);f+1!=g&&(!c.b&&(c.b=new ls),ms(c.b,new Ur(g),new Ur(f)))}else if(4==e){if(c=a,g=f=g=n=n=void 0,g=-1!=d.indexOf("ATOMS=(")?he:-1!=d.indexOf("BONDS=(")?"BONDS":null,null!=g){f=d;n=g;t=r=j=q=h=l=void 0;j=f.indexOf(n+"=(")+n.length+2;r=ns(f,Jr(41),j);q=Rr(f,j);l=as(f.substr(j,q-j),10);t=C(B,v,-1,l,1);for(h=0;h<l;++h)j=Wr(f,q),q=Rr(f,j),(-1==q||q>r)&&(q=r),t[h]=as(f.substr(j,\nq-j),10);f=t;if(0==d.indexOf($f))if(ds(g,he))for(g=0;g<f.length;++g)fr(c.c,Sr(c,f[g]),0,-1);else for(g=0;g<f.length;++g)qr(c.c,Vr(c,f[g]),0,-1);else if(0==d.indexOf(ag))if(n=as(ks(d,13,Rr(d,13)),10),ds(g,he))for(g=0;g<f.length;++g)fr(c.c,Sr(c,f[g]),1,n-1);else for(g=0;g<f.length;++g)qr(c.c,Vr(c,f[g]),1,n-1);else if(0==d.indexOf(bg))if(n=as(ks(d,13,Rr(d,13)),10),ds(g,he))for(g=0;g<f.length;++g)fr(c.c,Sr(c,f[g]),2,n-1);else for(g=0;g<f.length;++g)qr(c.c,Vr(c,f[g]),2,n-1);else if(0==d.indexOf("MDLV30/HILITE"))if(ds(g,\nhe))for(g=0;g<f.length;++g)er(c.c,Sr(c,f[g]));else for(g=0;g<f.length;++g)n=Vr(c,f[g]),er(c.c,D(c.c,0,n)),er(c.c,D(c.c,1,n))}}else return!1;d=bs(b)}for(;null!=d&&!(0==d.indexOf(Pf)||ds(d,gb));)d=bs(b);return!0}function os(){}x(26,1,{},os);_.a=null;_.b=null;_.c=null;_.d=!1;function ps(a,b){var c,d,e,f,g;f=b.length;g=C(B,v,-1,f,1);for(d=0;d<f;++d){c=d==f-1?b[0]:b[d+1];for(e=0;e<a.f.f[b[d]];++e)if(bo(a.f,b[d],e)==c){g[d]=ao(a.f,b[d],e);break}}return g}\nfunction qp(a,b,c){b=io(a.i,b);for(a=0;a<b.length;++a)if(c==b[a])return!0;return!1}function qs(a,b,c){var d,e;e=b.length;for(d=0;d<e;++d)(0==a.a[b[d]]||a.a[b[d]]>e)&&(a.a[b[d]]=e);for(d=0;d<e;++d)(0==a.b[c[d]]||a.b[c[d]]>e)&&(a.b[c[d]]=e)}function zp(a,b,c){for(a=io(a.j,b).length;c>=a;)c-=a;for(;0>c;)c+=a;return c}\nfunction $n(a,b){var c,d,e,f,g,h,j,l,n;this.f=a;this.i=new Yp;this.j=new Yp;this.a=C(B,v,-1,this.f.c,1);this.b=C(B,v,-1,this.f.d,1);this.f.Ed(1);j=C(Yn,Zm,-1,this.f.c,2);l=C(Yn,Zm,-1,this.f.d,2);do{f=!1;for(c=0;c<this.f.c;++c)if(!j[c]){for(d=g=0;d<this.f.f[c];++d)j[bo(this.f,c,d)]||++g;if(2>g){j[c]=!0;for(d=0;d<this.f.f[c];++d)l[ao(this.f,c,d)]=!0;f=!0}}}while(f);for(d=0;d<this.f.c&&j[d];)++d;if(d!=this.f.c){g=C(B,v,-1,this.f.c,1);g[0]=d;f=C(B,v,-1,this.f.c,1);f[d]=1;h=e=0;for(n=1;e<=h;){for(d=0;d<\nthis.f.f[g[e]];++d)if(c=bo(this.f,g[e],d),0!=f[c]){var q=ao(this.f,g[e],d);c=j;var r=void 0,t=void 0,A=void 0,u=A=r=void 0,w=void 0,F=void 0,H=void 0,s=void 0,Q=void 0,da=void 0,t=D(this.f,0,q),A=D(this.f,1,q),u=C(B,v,-1,this.f.c,1),w=C(B,v,-1,this.f.c,1),F=C(B,v,-1,this.f.c,1);u[0]=t;u[1]=A;w[t]=1;w[A]=2;F[t]=-1;F[A]=t;for(H=A=1;A<=H&&!(7<w[u[A]]);){for(s=0;s<this.f.f[u[A]];++s)if(r=bo(this.f,u[A],s),1<A&&r==t){da=C(B,v,-1,w[u[A]],1);r=u[A];for(Q=0;Q<da.length;++Q)da[Q]=r,r=F[r];a:{for(var q=da,\nY=void 0,W=r=void 0,ja=r=Q=Y=da=W=void 0,da=void 0,Q=q.length,da=this.f.G,r=Y=0;r<Q;++r)da>q[r]&&(da=q[r],Y=r);da=C(B,v,-1,Q,1);W=q[0<Y?Y-1:Q-1]<q[Y<Q-1?Y+1:0];for(r=0;r<Q;++r)da[r]=q[Y],W?0>--Y&&(Y=Q-1):++Y==Q&&(Y=0);for(r=0;r<this.i.c;++r)if(ja=io(this.i,r),ja.length==Q){Y=!0;for(W=0;W<Q;++W)if(ja[W]!=da[W]){Y=!1;break}if(Y)break a}bq(this.i,da);r=ps(this,da);bq(this.j,r);qs(this,da,r)}}else 0==w[r]&&!c[r]&&(u[++H]=r,w[r]=w[u[A]]+1,F[r]=u[A]);++A}}else j[c]||(f[c]=n,g[++h]=c);++e;if(e>h)for(c=0;c<\nthis.f.c;++c)if(0==f[c]&&!j[c]){f[c]=++n;g[++h]=c;break}}if(0!=(b&4)){this.d=C(Yn,Zm,-1,this.i.c,2);this.e=C(Yn,Zm,-1,this.i.c,2);this.c=C(B,v,-1,this.i.c,1);d=this.d;f=this.e;g=this.c;e=C(Bo,En,92,this.i.c,0);for(n=0;n<this.i.c;++n){e[n]=C(B,v,-1,io(this.i,n).length,1);for(h=0;h<io(this.i,n).length;++h)e[n][h]=-1}u=C(B,v,-1,this.f.d,1);for(h=0;h<this.j.c;++h)if(t=io(this.j,h),3==t.length||5<=t.length&&7>=t.length)for(n=0;n<t.length;++n)c=t[n],3==this.f.f[D(this.f,0,c)]&&3==this.f.f[D(this.f,1,c)]&&\n(0<u[c]?(e[~~u[c]>>>16][u[c]&32767]=h,e[h][n]=~~u[c]>>>16):u[c]=(h<<16)+32768+n);n=C(Yn,Zm,-1,this.i.c,2);t=0;for(c=-1;t>c;){c=t;for(h=0;h<this.i.c;++h){if(u=!n[h]){for(var u=h,w=e,F=n,A=d,H=f,s=g,vb=Q=ja=ja=Y=W=ja=W=ja=r=q=Y=void 0,da=W=void 0,Q=io(this.i,u),vb=io(this.j,u),W=vb.length,q=r=0,da=!1,ja=0;ja<W;++ja)r<<=1,q<<=1,1<fo(this.f,vb[ja])||64==this.f.B[vb[ja]]?r|=1:(Y=w[u][ja],-1!=Y&&(F[Y]?A[Y]&&(r|=1,H[Y]||(q|=1)):da=!0));Y=!1;switch(W){case 3:ja=z(B,v,-1,[2,1,4]);Y=!0;for(W=0;3>W;++W)if((r&\nja[W])==ja[W]&&(6==this.f.x[Q[W]]&&1==this.f.q[Q[W]]||5==this.f.x[Q[W]]&&0==this.f.q[Q[W]]))A[u]=!0,s[u]=W,0==(q&ja[W])&&(Y=!1);break;case 5:W=z(B,v,-1,[10,5,18,9,20]);Y=!0;for(ja=0;5>ja;++ja)if((r&W[ja])==W[ja])switch(this.f.x[Q[ja]]){case 6:-1==this.f.q[Q[ja]]&&(A[u]=!0,s[u]=ja,0==(q&W[ja])&&(Y=!1));break;case 7:0>=this.f.q[Q[ja]]&&(A[u]=!0,s[u]=ja);break;case 8:A[u]=!0;s[u]=ja;break;case 16:2==this.f.f[Q[ja]]&&(A[u]=!0,s[u]=ja)}break;case 6:Y=!0;21==(r&21)&&(A[u]=!0,0==(q&21)&&(Y=!1));42==(r&42)&&\n(A[u]=!0,0==(q&42)&&(Y=!1));break;case 7:ja=z(B,v,-1,[42,21,74,37,82,41,84]);Y=!0;for(W=0;7>W;++W)if((r&ja[W])==ja[W]&&(6==this.f.x[Q[W]]&&1==this.f.q[Q[W]]||5==this.f.x[Q[W]]&&0==this.f.q[Q[W]]))A[u]=!0,s[u]=W,0==(q&ja[W])&&(Y=!1)}A[u]&&!Y&&(H[u]=!0);u=A[u]?!0:!da}u&&(n[h]=!0,++t)}}}if(0!=(b&2))for(d=0;d<this.f.d;++d)if(!l[d]&&0!=fo(this.f,d)){a:{f=j;h=n=w=u=g=c=e=n=t=n=h=e=void 0;h=D(this.f,0,d);n=D(this.f,1,d);e=C(B,v,-1,this.f.c,1);c=C(B,v,-1,this.f.c,1);g=C(B,v,-1,this.f.c,1);e[0]=h;e[1]=n;c[h]=\n1;c[n]=2;g[h]=-1;g[n]=h;for(u=n=1;n<=u;){for(w=0;w<this.f.f[e[n]];++w){t=bo(this.f,e[n],w);if(1<n&&t==h){h=C(B,v,-1,c[e[n]],1);e=e[n];for(n=0;n<h.length;++n)h[n]=e,e=g[e];f=h;break a}0==c[t]&&!f[t]&&(e[++u]=t,c[t]=c[e[n]]+1,g[t]=e[n])}++n}f=null}null!=f&&qs(this,f,ps(this,f))}}}x(27,1,{},$n);_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.i=null;_.j=null;function Op(){this.a=new Yp}x(31,1,hn,Op);\nfunction Xn(a,b){var c,d;zr(a,b);if(0!=(b&~a.K)){a.a&&(b|=128);for(c=0;c<a.o;++c)a.s[c]&=-134447112;for(c=0;c<a.d;++c)a.z[c]&=-64;d=c=0;0!=(b&16)?(c=16,d=1):0!=(b&32)?(c=32,d=3):0!=(b&64)&&(c=64,d=5);0!=(b&128)&&(c|=128,d|=32);a.b=new up(a,d);var e=a.b,f,g,h,j,l,n,q;for(f=0;f<e.H.c;++f)if(1==e.S[f]||2==e.S[f]){n=!1;if(0!=e.H.k[f]&&2==e.H.f[f]&&2==e.H.j[f][0]&&2==e.H.j[f][1])for(l=0;l<e.H.f[f];++l){g=bo(e.H,f,l);j=0;h=C(B,v,-1,3,1);for(q=0;q<e.H.f[g];++q)h[j]=bo(e.H,g,q),h[j]!=f&&++j;2==j&&e.c[h[0]]>\ne.c[h[1]]^h[0]<h[1]&&(n=!n)}else for(l=1;l<e.H.f[f];++l)for(q=0;q<l;++q)h=bo(e.H,f,l),j=bo(e.H,f,q),e.c[h]>e.c[j]&&(n=!n),h<j&&(n=!n);lr(e.H,f,1==e.S[f]^n?1:2,e.T[f])}else lr(e.H,f,e.S[f],e.T[f]);for(f=0;f<e.H.d;++f)if(1==e.k[f]||2==e.k[f]){n=!1;for(l=0;2>l;++l)if(g=D(e.H,l,f),3==e.H.f[g]){h=C(B,v,-1,2,1);for(q=j=0;3>q;++q)bo(e.H,g,q)!=D(e.H,1-l,f)&&(h[j++]=bo(e.H,g,q));e.c[h[0]]>e.c[h[1]]&&(n=!n);h[0]<h[1]&&(n=!n)}rr(e.H,f,1==e.k[f]^n?1:2,e.n[f])}else rr(e.H,f,e.k[f],e.n[f]);e=a.b;for(l=0;l<e.H.c;++l)n=\ne.H,q=l,f=e.D[l],n.s[q]&=-134217729,f&&(n.s[q]|=134217728);e=a.b;if(null!=e.N)for(l=0;l<e.H.c;++l)n=e.H,q=l,f=e.N[l],n.s[q]&=-98305,n.s[q]|=f<<15;if(null!=e.e)for(l=0;l<e.H.d;++l)n=e.H,q=l,f=e.e[l],n.z[q]&=-49,n.z[q]|=f<<4;n=!1;for(e=0;e<a.c;++e)(0==(a.s[e]&134217728)||3==(a.s[e]&3))&&(a.s[e]&=-66584577);if(a.F){if(131072!=(a.C&-65536)){l=C(Yn,Zm,-1,a.c,2);for(e=0;e<a.c;++e)0!=(a.s[e]&134217728)&&3!=(a.s[e]&3)&&1==~~(a.s[e]&1572864)>>19&&(l[e]=!0);for(e=0;e<a.c;++e)0!=(a.s[e]&134217728)&&3!=(a.s[e]&\n3)&&(fr(a,e,1,0),n=!0);for(e=0;e<a.c;++e)l[e]&&(lr(a,e,1,!1),fr(a,e,1,-1),n=!0)}a.F=!1}br(a,1);br(a,2);n&&(a.b=new up(a,d));a.K|=12|c}}function rs(){Wo();this.G=this.H=256;$q(this)}function fs(a,b){Wo();this.G=1>a?1:a;this.H=1>b?1:b;$q(this)}x(32,22,hn,rs,fs);_.Ed=function(a){Xn(this,a)};_.a=!1;_.b=null;\nfunction ss(a,b,c){var d,e,f;f=b.length;d=new ts(a.f,f,a.e);d.a[0]=0;for(e=d.b[0]=0;e<f;++e)d.n[e]=128-f,d.e[e]=b[e];if(8>f)us(d);else a:{var g,h,j,l,n,q,r;f=z(Bo,En,92,[z(B,v,-1,[627]),null,z(B,v,-1,[2457]),null,z(B,v,-1,[2451,8643,2519]),null,z(B,v,-1,[34377,-2147448999]),null,z(B,v,-1,[37449,137313,95703,34371,37815,54891,132867,-2147309741,54857,55129,-2147449005,-2147449065]),null,z(B,v,-1,[530697,531819,899169,137289,694617,-2146951863,-2146952797,-2146939175,-2146929547,-2146929564,-2146625111,\n-2146931799,-2146940503,-2146931935]),null,z(B,v,-1,[542985,137283,2122017,530691,2206773,-2144711351,219209,2840841,137555,-2146871031,-2147264167,613705,-2145360543,-2146625271,694611,2454837,-2145356703,-2147345133,-2146928951,-2146931805,-2144641719,-2146951869,-2146625237,-2146624183,2841963,1074905,-2146625117,2799955,-2144723645,138583,859225,-2145264843,-2145216253,-2146624149,-2144700727,-2146928917,-2143905527,-2144045771,-2146789097,2288547,544407,2104323,-2146911977,-2144479405,3633737,\n-2146870089,-2146952169]),null,z(B,v,-1,[8487297,2172633,2116611,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8829813])]);q=d.e.length-10;if(10<=d.e.length&&24>=d.e.length&&null!=f[q]){l=1<<d.e.length;for(j=e=b=0;j<d.e.length;++j)2==fo(a.f,c[j])&&(h=a.f.z[c[j]]&3,1==h&&(b+=l),2==h&&(e+=l)),b>>>=1,e>>>=1;for(r=0;r<f[q].length;++r){h=0==(-2147483648&f[q][r]);c=2147483647&f[q][r];for(j=!1;!j;j=!j){if(j){if(h)break;n=0;for(g=1;g!=l;g<<=1)n<<=1,0!=(c&g)&&(n|=1);c=n}for(g=0;g<d.e.length;++g){if(0==(c&b)&&0==(~c&e)){b=\n0;e=!0;for(j=1;j<d.e.length;++j)d.a[j]=d.a[j-1]+Math.sin(b),d.b[j]=d.b[j-1]+Math.cos(b),0==(c&1)&&(e=!e),b+=e?1.0471975511965976:-1.0471975511965976,c>>>=1;break a}0!=(c&1)&&(c|=l);c>>>=1}}}}us(d)}bq(a.c,d)}function vs(a,b){var c,d;d=0;Go(a,a.length,(Ho(),Ho(),Io));for(c=0;c<a.length;++c)(0==c||0!=Jo(a[c],a[c-1]))&&++d,b[a[c].a]=d;return d}\nfunction ws(a){var b,c,d,e,f,g,h,j,l;j=new Yp;l=new Yp;c=new Yp;for(e=new gq(a.c);e.b<e.d.xg();){d=hq(e);f=0;c.$g();for(g=0;g<d.e.length;++g)b=d.e[g],b=a.j[b],0!=b&&(bq(c,new xs(d,g,b)),f+=b);if(0!=f){ys(c,new zs);for(h=new gq(c);h.b<h.d.xg()&&!(g=hq(h),0<f*g.b&&(b=(0>f?-f:f)>=ir(g.b)?g.b:f,f-=b,bq(0>b?j:l,new xs(d,g.a,b)),0==f)););}}if(0==j.c||0==l.c)return null;ys(l,new As);ys(j,new Bs);for(f=new gq(l);f.b<f.d.xg();){e=hq(f);for(d=new gq(j);d.b<d.d.xg();)if(c=hq(d),e.b==-c.b)return a.j[e.c.e[e.a]]-=\ne.b,a.j[c.c.e[c.a]]-=c.b,new Cs(e.c,c.c,e.a,c.a)}for(f=new gq(l);f.b<f.d.xg();){e=hq(f);for(d=new gq(j);d.b<d.d.xg();)if(c=hq(d),e.b>-c.b)return a.j[e.c.e[e.a]]+=c.b,a.j[c.c.e[c.a]]-=c.b,new Cs(e.c,c.c,e.a,c.a)}for(f=new gq(l);f.b<f.d.xg();){e=hq(f);for(d=new gq(j);d.b<d.d.xg();)if(c=hq(d),e.b<-c.b)return a.j[e.c.e[e.a]]-=e.b,a.j[c.c.e[c.a]]+=e.b,new Cs(e.c,c.c,e.a,c.a)}return null}function Ds(a){return 2>a.c.c?null:new Es(io(a.c,0),io(a.c,1))}\nfunction Fs(a){var b,c,d,e,f,g,h,j;j=b=null;for(f=0;f<a.f.d;++f)if(32==a.f.B[f]){c=D(a.f,0,f);e=-1;for(g=0;g<a.c.c&&!(e=Gs(io(a.c,g),c),-1!=e);++g);d=D(a.f,1,f);c=-1;for(h=0;h<a.c.c&&!(c=Gs(io(a.c,h),d),-1!=c);++h);g!=h&&(g>h&&(d=g,g=h,h=d,d=e,e=c,c=d),null==j&&(j=C(Hs,o,10,a.c.c,0)),null==j[h]&&(j[h]=C(Is,zn,9,h,0)),j[h][g]?(j[h][g].c[0]+=j[h][g].b[0].a[e],j[h][g].d[0]+=j[h][g].b[0].b[e],j[h][g].c[1]+=j[h][g].b[1].a[c],j[h][g].d[1]+=j[h][g].b[1].b[c],++j[h][g].a[0],++j[h][g].a[1]):(j[h][g]=new Cs(io(a.c,\ng),io(a.c,h),e,c),!b&&(b=new Yp),bq(b,j[h][g])))}return b}function us(a){var b,c;b=3.141592653589793-3.141592653589793*(a.e.length-2)/a.e.length;for(c=1;c<a.e.length;++c)a.a[c]=a.a[c-1]+Math.sin(b*(c-1)),a.b[c]=a.b[c-1]+Math.cos(b*(c-1))}function Js(a,b,c){var d,e;for(e=d=0;e<eo(a.f,c);++e)Ks(b,bo(a.f,c,e))&&++d;return d}\nfunction Ls(a,b,c,d){var e,f,d=new ts(a.f,b.e.length+c.e.length-d,a.e);for(e=a=0;e<b.e.length;++e)d.e[a]=b.e[e],d.n[a]=b.n[e],d.a[a]=b.a[e],d.b[a++]=b.b[e];for(e=0;e<c.e.length;++e)f=Gs(b,c.e[e]),-1==f?(d.e[a]=c.e[e],d.n[a]=c.n[e],d.a[a]=c.a[e],d.b[a++]=c.b[e]):d.n[f]<c.n[e]&&(d.n[f]=c.n[e]);return d}\nfunction Ms(a,b){var c,d,e,f,g,h;!a.i&&(a.i=new Ns);if(0!=(a.e&1)){var j,l,n,q,r;q=!1;Xn(b,7);b.o=b.c;b.p=b.d;for(l=0;l<b.c;++l)b.f[b.o+l]!=b.f[l]&&(b.f[b.o+l]!=b.f[2*b.o+l]&&(q=!0),j=Gp(b,l,!1),b.f[b.o+l]=b.f[l],-1!=j&&(r=Gp(b,l,!0),j!=r&&(n=(~~(b.s[l]&-268435456)>>>28)-1,(-1==n||n<j)&&cr(b,l,j))));Er(b);q&&(b.K=0)}a.f=b;Xn(a.f,3);a.c=new Yp;a.a=C(Yn,Zm,-1,a.f.o,2);a.b=C(Yn,Zm,-1,a.f.p,2);a.d=C(Yn,Zm,-1,a.f.p,2);for(d=0;d<a.f.p;++d)a.d[d]=32!=a.f.B[d];a.j=C(B,v,-1,a.f.o,1);for(c=0;c<a.f.o;++c)a.j[c]=\na.f.q[c];if(0!=(a.e&6)){for(d=0;d<a.f.p;++d)a.d[d]=!a.d[d]&&ar(a.f,D(a.f,0,d))&&ar(a.f,D(a.f,1,d));var t,A,u,w,F,H,s,Q,da,Y,W,ja;for(w=u=F=0;w<a.f.p;++w)if(ar(a.f,D(a.f,0,w))&&ar(a.f,D(a.f,1,w))){a.b[w]=!0;var vb=u,Ua,db=a.f,M=void 0,yb=void 0,ua=void 0,P=void 0,M=db.y[0][w],yb=db.y[1][w],ua=db.D[yb].a-db.D[M].a,P=db.D[yb].b-db.D[M].b;Ua=Math.sqrt(ua*ua+P*P);u=vb+Ua;++F}if(!(0==F||0==u)){u/=F;for(t=0;t<a.f.o;++t)ar(a.f,t)&&(0==So(a.f,t)?jr(a.f,t,!1):a.a[t]=!0);Y=C(B,v,-1,a.f.o,1);var Ca=a.f,mb,va,\nhb,R,Uc,ra,qb,ib;Xn(Ca,1);for(mb=0;mb<Ca.o;++mb)Y[mb]=-1;for(mb=Uc=0;mb<Ca.o;++mb)if(-1==Y[mb]&&0!=(Ca.s[mb]&262144)){Y[mb]=Uc;ra=C(B,v,-1,Ca.o,1);ra[0]=mb;for(qb=R=0;R<=qb;){hb=So(Ca,ra[R]);for(ib=0;ib<hb;++ib)va=Ca.e[ra[R]][ib],-1==Y[va]&&0!=(Ca.s[va]&262144)&&(ra[++qb]=va,Y[va]=Uc);++R}++Uc}H=Uc;da=C(B,v,-1,H,1);for(t=0;t<a.f.o;++t)-1!=Y[t]&&++da[Y[t]];Q=C(Os,o,12,H,0);for(s=0;s<H;++s)Q[s]=new ts(a.f,da[s],a.e);A=C(B,v,-1,H,1);for(t=0;t<a.f.o;++t)s=Y[t],-1!=s&&(Q[s].n[A[s]]=256,Q[s].e[A[s]]=t,\nQ[s].a[A[s]]=uo(a.f,t)/u,Q[s].b[A[s]]=vo(a.f,t)/u,++A[s]);W=-1;for(s=ja=0;s<H;++s)ja<da[s]&&(ja=da[s],W=s);bq(a.c,Q[W]);for(s=0;s<H;++s)s!=W&&bq(a.c,Q[s])}}var bb,$a,eb,La,ma,V,Fb,Tb,ea,Lc,G,S,Lb,Gb,Mc,Ub,ka,nb,Hb,ya,ob,Nc,O,Ka,qc,yc,wb;for($a=0;$a<a.f.o;++$a)if(4<eo(a.f,$a)){ea=new ts(a.f,1+eo(a.f,$a),a.e);ea.a[eo(a.f,$a)]=0;ea.b[eo(a.f,$a)]=0;ea.n[eo(a.f,$a)]=32;ea.e[eo(a.f,$a)]=$a;a.a[$a]=!0;for(G=0;G<eo(a.f,$a);++G)V=bo(a.f,$a,G),ea.a[G]=Math.sin(1.0471975511965976*G-2.0943951023931953),ea.b[G]=\nMath.cos(1.0471975511965976*G-2.0943951023931953),ea.n[G]=32,ea.e[G]=V,a.a[V]=!0,a.b[ao(a.f,$a,G)]=!0;bq(a.c,ea)}O=pp(a.f);for(Nc=0;Nc<O.i.c;++Nc){Ka=io(O.j,Nc).length;ya=io(O.i,Nc);qc=!1;if(0!=(a.e&6)){qc=!0;for(G=0;G<Ka;++G)if(!ar(a.f,ya[G])){qc=!1;break}}if(!qc){S=!1;for(G=0;G<Ka;++G)if(yp(a.f,ya[G])==Ka){S=!0;break}if(S){ob=io(O.j,Nc);ss(a,ya,ob);for(G=0;G<Ka;++G)a.a[ya[G]]=!0,a.b[ob[G]]=!0}}}for(ma=0;ma<a.f.p;++ma)if(yo(a.f,ma)&&!a.b[ma]){a:{var Ib=a,xb=ma,bc=void 0,rb=void 0,cc=void 0,ab=void 0,\nK=void 0,Vb=void 0,Oc=void 0,Vc=void 0,ec=void 0,zc=void 0,Wb=void 0,zb=void 0,rc=void 0,bc=D(Ib.f,0,xb),rb=D(Ib.f,1,xb),K=C(B,v,-1,Ib.f.o,1),Vb=C(B,v,-1,Ib.f.o,1),Oc=C(B,v,-1,Ib.f.o,1),Vc=C(B,v,-1,Ib.f.o,1);K[0]=bc;K[1]=rb;Vb[1]=xb;Oc[bc]=1;Oc[rb]=2;Vc[0]=-1;Vc[1]=0;for(ec=ab=1;ab<=ec;){for(zc=0;zc<eo(Ib.f,K[ab]);++zc){cc=bo(Ib.f,K[ab],zc);if(1<ab&&cc==bc){rc=new Ps(Oc[K[ab]]);Vb[0]=ao(Ib.f,K[ab],zc);Wb=ab;for(zb=0;zb<rc.a.length;++zb)rc.a[zb]=K[Wb],rc.b[zb]=Vb[Wb],Wb=Vc[Wb];wb=rc;break a}0==Oc[cc]&&\n0!=(Ib.f.s[cc]&3072)&&(K[++ec]=cc,Vb[ec]=ao(Ib.f,K[ab],zc),Oc[cc]=Oc[K[ab]]+1,Vc[ec]=ab)}++ab}wb=null}ya=wb.a;ob=wb.b;ss(a,ya,ob);for(G=0;G<wb.a.length;++G)a.a[ya[G]]=!0,a.b[ob[G]]=!0}for(ma=0;ma<a.f.p;++ma)if(!a.b[ma]&&3==fo(a.f,ma)&&(eb=D(a.f,0,ma),La=D(a.f,1,ma),Mc=eo(a.f,eb)+eo(a.f,La),2<Mc)){ea=new ts(a.f,Mc,a.e);for(G=Fb=0;G<eo(a.f,eb);++G)V=bo(a.f,eb,G),V!=La&&(ea.e[Fb++]=V,a.a[V]=!0,a.b[ao(a.f,eb,G)]=!0);ea.e[Fb++]=eb;ea.e[Fb++]=La;for(G=0;G<eo(a.f,La);++G)V=bo(a.f,La,G),V!=eb&&(ea.e[Fb++]=\nV,a.a[V]=!0,a.b[ao(a.f,La,G)]=!0);for(G=0;G<Mc;++G)ea.a[G]=G,ea.b[G]=0,ea.n[G]=1;a.a[eb]=!0;a.a[La]=!0;a.b[ma]=!0;bq(a.c,ea)}for(ma=0;ma<a.f.p;++ma)if(!a.b[ma]&&2==fo(a.f,ma)){bb=C(B,v,-1,a.f.o,1);for(G=0;2>G;++G)if(bb[0]=D(a.f,G,ma),bb[1]=D(a.f,1-G,ma),1==a.f.k[bb[0]]&&2==a.f.k[bb[1]]&&2==eo(a.f,bb[1])){a.a[bb[0]]=!0;a.a[bb[1]]=!0;a.b[ma]=!0;Gb=1;do{Ub=bo(a.f,bb[Gb],0)==bb[Gb-1]?1:0;bb[Gb+1]=bo(a.f,bb[Gb],Ub);if(2==a.f.k[bb[Gb+1]]&&2<eo(a.f,bb[Gb+1]))break;a.a[bb[Gb+1]]=!0;a.b[ao(a.f,bb[Gb],Ub)]=\n!0;++Gb}while(2==a.f.k[bb[Gb]]&&2==eo(a.f,bb[Gb]));Mc=eo(a.f,bb[0])+eo(a.f,bb[Gb])+Gb-1;ea=new ts(a.f,Mc,a.e);for(Lb=0;Lb<=Gb;++Lb)ea.a[Lb]=Lb,ea.b[Lb]=0,ea.n[Lb]=64,ea.e[Lb]=bb[Lb];Tb=Gb+1;Lc=!1;for(Lb=0;Lb<eo(a.f,bb[0]);++Lb)V=bo(a.f,bb[0],Lb),V!=bb[1]&&(ea.a[Tb]=-0.5,ea.b[Tb]=Lc?Math.sin(1.0471975511965976):-Math.sin(1.0471975511965976),ea.n[Tb]=64,ea.e[Tb]=V,++Tb,Lc=!0);Lc=!1;for(Lb=0;Lb<eo(a.f,bb[Gb]);++Lb)V=bo(a.f,bb[Gb],Lb),V!=bb[Gb-1]&&(ea.a[Tb]=Gb+0.5,ea.b[Tb]=Lc?-Math.sin(1.0471975511965976):\nMath.sin(1.0471975511965976),ea.n[Tb]=64,ea.e[Tb]=V,++Tb,Lc=!0);bq(a.c,ea)}}for($a=0;$a<a.f.o;++$a)if(4==eo(a.f,$a)){ka=C(B,v,-1,4,1);nb=C(B,v,-1,4,1);for(G=Hb=0;4>G;++G)ka[Hb]=bo(a.f,$a,G),nb[Hb]=ao(a.f,$a,G),1==eo(a.f,ka[Hb])&&!a.b[nb[Hb]]&&++Hb;if(2==Hb){ea=new ts(a.f,3,a.e);for(G=0;2>G;++G)a.a[ka[G]]=!0,a.b[nb[G]]=!0,ea.e[G]=ka[G],ea.n[G]=32;ea.a[0]=-0.5;ea.b[0]=0.866;ea.a[1]=0.5;ea.b[1]=0.866;ea.a[2]=0;ea.b[2]=0;ea.n[2]=32;ea.e[2]=$a;bq(a.c,ea)}if(3==Hb){for(G=0;2>G;++G)1==fo(a.f,nb[G])&&(yc=\nka[G],ka[G]=ka[2],ka[2]=yc,yc=nb[G],nb[G]=nb[2],nb[2]=yc);ea=new ts(a.f,4,a.e);for(G=0;3>G;++G)a.a[ka[G]]=!0,a.b[nb[G]]=!0,ea.e[G]=ka[G],ea.n[G]=32;ea.a[0]=-1;ea.b[0]=0;ea.a[1]=1;ea.b[1]=0;ea.a[2]=0;ea.b[2]=1;ea.a[3]=0;ea.b[3]=0;ea.n[3]=32;ea.e[3]=$a;bq(a.c,ea)}}Qs(a);for(var dd,oa,Xb,xd,Ac,Ga;;){xd=null;for(dd=0;dd<a.f.o;++dd){for(Xb=Ga=0;Xb<eo(a.f,dd);++Xb)a.b[ao(a.f,dd,Xb)]||++Ga;if(1==Ga){a:{var sc=a,Pc=dd,pb=void 0,lc=void 0,jb=void 0,le=void 0,Cd=void 0,Yc=void 0,fc=void 0,yd=void 0,mc=void 0,\ngc=void 0,Hc=void 0,lf=void 0,jb=C(B,v,-1,sc.f.o,1),le=C(B,v,-1,sc.f.o,1),Cd=C(B,v,-1,sc.f.o,1),Yc=C(B,v,-1,sc.f.o,1);jb[0]=Pc;Cd[Pc]=1;Yc[0]=-1;for(fc=lc=0;lc<=fc;){if(0==lc||!sc.a[jb[lc]])for(yd=0;yd<eo(sc.f,jb[lc]);++yd)pb=bo(sc.f,jb[lc],yd),Hc=ao(sc.f,jb[lc],yd),0==Cd[pb]&&!sc.b[Hc]&&(jb[++fc]=pb,le[fc]=Hc,Cd[pb]=Cd[jb[lc]]+1,Yc[fc]=lc);if(lc==fc){lf=new Ps(Cd[jb[lc]]);mc=lc;for(gc=0;gc<lf.a.length;++gc)lf.a[gc]=jb[mc],lf.b[gc]=le[mc],mc=Yc[mc];Ac=lf;break a}++lc}Ac=null}(!xd||Ac.a.length>xd.a.length)&&\n(xd=Ac)}}if(!xd)break;oa=new ts(a.f,xd.a.length,a.e);for(Xb=0;Xb<xd.a.length;++Xb)a.a[xd.a[Xb]]=!0,Xb<xd.a.length-1&&(a.b[xd.b[Xb]]=!0),oa.e[Xb]=xd.a[Xb],oa.a[Xb]=Math.cos(0.5235987755982988)*Xb,oa.b[Xb]=1==(Xb&1)?0:0.5,oa.n[Xb]=128+xd.a.length;bq(a.c,oa)}Qs(a);for(f=new gq(a.c);f.b<f.d.xg();){for(var ed=e=hq(f),fb=void 0,md=void 0,Qc=void 0,Ha=void 0,fd=void 0,Ha=Qc=0;Ha<ed.e.length;++Ha){fb=ed.e[Ha];md=eo(ed.k,fb);for(fd=0;fd<md;++fd)bo(ed.k,fb,fd)>fb&&++Qc}ed.f=C(B,v,-1,Qc,1);ed.i=C(B,v,-1,ed.k.o,\n1);for(Ha=Qc=0;Ha<ed.e.length;++Ha){fb=ed.e[Ha];md=eo(ed.k,fb);ed.i[fb]=Ha;for(fd=0;fd<md;++fd)bo(ed.k,fb,fd)>fb&&(ed.f[Qc++]=ao(ed.k,fb,fd))}}var Zc,we,Ea,tc,Yb,Ie,Jb,nd,mf,Kd,ae,We;for(nd=0;nd<a.c.c;++nd){Jb=io(a.c,nd);for(mf=0;mf<Jb.f.length;++mf)if(Ea=Jb.f[mf],2==fo(a.f,Ea)){if(!Lo(a.f,Ea)&&0==(a.f.z[Ea]&3)){var me=a.f;me.z[Ea]|=16777216}if(!yo(a.f,Ea)&&1<a.f.f[D(a.f,0,Ea)]&&1<a.f.f[D(a.f,1,Ea)]&&(1==(a.f.z[Ea]&3)||2==(a.f.z[Ea]&3))){We=C(B,v,-1,2,1);tc=C(B,v,-1,2,1);for(Kd=0;2>Kd;++Kd){We[Kd]=\na.f.G;tc[Kd]=D(a.f,Kd,Ea);for(ae=0;ae<eo(a.f,tc[Kd]);++ae)Yb=bo(a.f,tc[Kd],ae),Yb!=D(a.f,1-Kd,Ea)&&We[Kd]>Yb&&(We[Kd]=Yb)}Ie=Xq(Jb.a[Jb.i[tc[0]]],Jb.b[Jb.i[tc[0]]],Jb.a[Jb.i[tc[1]]],Jb.b[Jb.i[tc[1]]]);Zc=Xq(Jb.a[Jb.i[We[0]]],Jb.b[Jb.i[We[0]]],Jb.a[Jb.i[tc[0]]],Jb.b[Jb.i[tc[0]]]);we=Xq(Jb.a[Jb.i[tc[1]]],Jb.b[Jb.i[tc[1]]],Jb.a[Jb.i[We[1]]],Jb.b[Jb.i[We[1]]]);0>ur(Ie,Zc)^0>ur(Ie,we)^2==(a.f.z[Ea]&3)&&Rs(Jb,Ea)}}}var Je,gd,ne,hd,be,ce,Tf,nf,Lg,od,oe,Wc,Pb,Ld,hh,ih,Md,qg,Nd,Xa,Ke,zd,de,Od,Dd,sb;Ke=C(Cp,\no,6,a.f.o,0);for(Xa=0;Xa<a.f.o;++Xa)Ke[Xa]=new Dp(2),To(Ke[Xa],Xa);sb=C(B,v,-1,a.f.o,1);for(zd=0;zd<a.f.d;++zd)if(de=a.f.z[zd]&3,1==de||2==de)no(Ke[D(a.f,0,zd)],Vo(de)),no(Ke[D(a.f,1,zd)],Vo(de));Od=vs(Ke,sb);do{Dd=Od;for(var pd=a,Xe=Ke,Qh=sb,Rc=void 0,Qb=void 0,pe=void 0,qd=void 0,Ec=void 0,Mg=void 0,yf=void 0,Qb=C(B,v,-1,16,1),Rc=0;Rc<pd.f.o;++Rc){for(pe=0;pe<eo(pd.f,Rc);++pe){yf=Qh[bo(pd.f,Rc,pe)];for(qd=0;qd<pe&&!(yf<Qb[qd]);++qd);for(Ec=pe;Ec>qd;--Ec)Qb[Ec]=Qb[Ec-1];Qb[qd]=yf}Mg=Fp(6,eo(pd.f,\nRc));To(Xe[Rc],Rc);Uo(Xe[Rc],16,Vo(Qh[Rc]));Uo(Xe[Rc],17*(6-Mg),jm);for(pe=0;pe<Mg;++pe)Uo(Xe[Rc],17,Vo(Qb[pe]))}Od=vs(Ke,sb)}while(Dd!=Od);hd=C(Ap,Tm,-1,a.f.p,1);var Ng,jh,Le,rd,Uf,Sd,Vf,Zb,kh,Og;for(Le=0;Le<a.f.p;++Le)if(Ng=D(a.f,0,Le),jh=D(a.f,1,Le),!(yo(a.f,Le)||1!=fo(a.f,Le)||1==eo(a.f,Ng)||1==eo(a.f,jh)))if(!(0!=(a.e&2)&&ar(a.f,Ng))||!ar(a.f,jh)){kh=!1;for(Vf=0;2>Vf;++Vf)if(rd=D(a.f,Vf,Le),2<eo(a.f,rd)){Og=!0;Sd=-1;for(Zb=0;Zb<eo(a.f,rd);++Zb)Uf=bo(a.f,rd,Zb),Uf!=D(a.f,1-Vf,Le)&&(-1==Sd?Sd=\nsb[Uf]:Sd!=sb[Uf]&&(Og=!1));if(Og){kh=!0;break}}kh||(0!=(a.e&4)&&ar(a.f,Ng)&&ar(a.f,jh)?hd[Le]=1:hd[Le]=2)}for(ne=0;ne<a.f.p;++ne)2==hd[ne]&&(0!=(a.f.s[D(a.f,0,ne)]&3072)||0!=(a.f.s[D(a.f,1,ne)]&3072))&&(hd[ne]=3);for(Wc=0;Wc<a.c.c;++Wc){od=io(a.c,Wc);Tf=Ss(od);ih=od.c;hh=new Ts(od,a.e);Ld=-1;for(oe=0;224>oe&&0!=Tf.c;++oe){nf=Us(a.i,Tf.c);ce=(xq(nf,Tf.c),Tf.b[nf]);a:{var Pa=a,Rh=ce[0],$c=ce[1],Ad=void 0,qe=void 0,tb=void 0,ee=void 0,xe=void 0,Pg=void 0,sd=void 0,rg=void 0,Wf=void 0,Ia=void 0,zf=void 0,\nfe=void 0,xe=C(B,v,-1,Pa.f.o,1),Pg=C(B,v,-1,Pa.f.o,1),sd=C(B,v,-1,Pa.f.o,1),rg=C(B,v,-1,Pa.f.o,1);xe[0]=$c;sd[$c]=1;rg[0]=-1;for(Wf=ee=0;ee<=Wf;){for(Ia=0;Ia<So(Pa.f,xe[ee]);++Ia){qe=bo(Pa.f,xe[ee],Ia);fe=ao(Pa.f,xe[ee],Ia);if(qe==Rh){tb=sd[xe[ee]];Ad=C(B,v,-1,tb,1);Ad[0]=fe;for(zf=1;zf<tb;++zf)Ad[zf]=Pg[ee],ee=rg[ee];be=Ad;break a}0==sd[qe]&&(xe[++Wf]=qe,Pg[Wf]=fe,sd[qe]=sd[xe[ee]]+1,rg[Wf]=ee)}if(ee==Wf)break;++ee}be=null}Je=C(B,v,-1,be.length,1);gd=0;if(32>oe)for(Pb=1;Pb<be.length-1;++Pb)3==hd[be[Pb]]&&\n(Je[gd++]=be[Pb]);else if(96>oe)for(Pb=1;Pb<be.length-1;++Pb)2<=hd[be[Pb]]&&(Je[gd++]=be[Pb]);else for(Pb=1;Pb<be.length-1;++Pb)1<=hd[be[Pb]]&&(Je[gd++]=be[Pb]);if(0!=gd){qg=Je[0];if(1<gd){do qg=Je[Us(a.i,gd)];while(qg==Ld)}qg!=Ld&&(Ld=qg,Rs(od,qg),Tf=Ss(od),ih>od.c&&(ih=od.c,hh=new Ts(od,a.e)))}}Vs(a.c,Wc,hh);od=hh;Lg=1;do{Md=9999;for(Pb=0;Pb<od.e.length;++Pb)if(Nd=sb[od.e[Pb]],Nd==Lg){for(var ia=od,sg=Pb,dk=void 0,kl=void 0,ek=void 0,Af=void 0,Qg=void 0,fj=void 0,lh=void 0,mh=void 0,of=void 0,tg=\nvoid 0,gj=void 0,ll=void 0,re=void 0,Me=void 0,ug=void 0,pf=void 0,kb=void 0,Sg=void 0,kk=void 0,Nt=void 0,re=ia.a[sg],kb=ia.b[sg],Af=C(Ws,o,11,4,0),tg=of=0;tg<ia.f.length&&!(4<=of);++tg)sg==ia.i[D(ia.k,0,ia.f[tg])]||sg==ia.i[D(ia.k,1,ia.f[tg])]||(Me=ia.a[ia.i[D(ia.k,0,ia.f[tg])]],Sg=ia.b[ia.i[D(ia.k,0,ia.f[tg])]],ug=ia.a[ia.i[D(ia.k,1,ia.f[tg])]],kk=ia.b[ia.i[D(ia.k,1,ia.f[tg])]],fj=Math.sqrt((Me-re)*(Me-re)+(Sg-kb)*(Sg-kb)),lh=Math.sqrt((ug-re)*(ug-re)+(kk-kb)*(kk-kb)),ek=Math.sqrt((ug-Me)*(ug-\nMe)+(kk-Sg)*(kk-Sg)),fj<ek&&lh<ek?Me==ug?(Qg=0>=re-Me?0-(re-Me):re-Me,0.5>Qg&&(Af[of++]=new Xs(Xq(Me,kb,re,kb),(0.5-Qg)/2))):Sg==kk?(Qg=0>=kb-Sg?0-(kb-Sg):kb-Sg,0.5>Qg&&(Af[of++]=new Xs(Xq(re,Sg,re,kb),(0.5-Qg)/2))):(gj=(kk-Sg)/(ug-Me),ll=-1/gj,dk=Sg-gj*Me,kl=kb-ll*re,pf=(kl-dk)/(gj-ll),Nt=gj*pf+dk,Qg=Math.sqrt((pf-re)*(pf-re)+(Nt-kb)*(Nt-kb)),0.5>Qg&&(Af[of++]=new Xs(Xq(pf,Nt,re,kb),(0.5-Qg)/2))):0.5>fj?Af[of++]=new Xs(Xq(Me,Sg,re,kb),(0.5-fj)/2):0.5>lh&&(Af[of++]=new Xs(Xq(ug,kk,re,kb),(0.5-lh)/\n2)));0<of&&(mh=Ys(Af,of),ia.a[sg]+=mh.b*Math.sin(mh.a),ia.b[sg]+=mh.b*Math.cos(mh.a))}else Nd>Lg&&Nd<Md&&(Md=Nd);Lg=Md}while(9999!=Md)}var tl,jn;for(tl=0;tl<a.f.o;++tl)!ar(a.f,tl)&&0==eo(a.f,tl)&&(jn=new ts(a.f,1,a.e),a.a[tl]=!0,jn.e[0]=tl,jn.a[0]=0,jn.b[0]=0,jn.n[0]=0,bq(a.c,jn));var qN,Ot;for(Ot=Fs(a);Ot;){for(var kn=void 0,Pt=void 0,dA=void 0,eA=void 0,eA=0,dA=null,Pt=new gq(Ot);Pt.b<Pt.d.xg();)kn=hq(Pt),eA<kn.b[0].e.length*kn.b[1].e.length&&(eA=kn.b[0].e.length*kn.b[1].e.length,dA=kn);qN=dA;Zs(a,\nqN,1.2);Ot=Fs(a)}var Qt;for(Qt=ws(a);Qt;)Zs(a,Qt,1.5),Qt=ws(a);var Rt;for(Rt=Ds(a);Rt;)Zs(a,Rt,1.8),Rt=Ds(a);for(g=0;g<a.c.c;++g){e=io(a.c,g);for(h=0;h<e.e.length;++h)nr(a.f,e.e[h],e.a[h]),or(a.f,e.e[h],e.b[h]),pr(a.f,e.e[h],0)}}\nfunction Zs(a,b,c){var d;d=0!=(a.e&6);var e,f,g,h,j,l,n;e=C(to,Sm,-1,2,1);for(j=0;2>j;++j){b.c[j]/=b.a[j];b.d[j]/=b.a[j];n=e;g=j;f=b.b[j];h=b.c[j];l=b.d[j];var q=void 0,r=q=void 0,t=void 0,A=void 0,u=void 0,w=void 0,F=w=void 0,H=A=q=u=A=void 0,s=void 0,Q=r=void 0,da=A=q=void 0,Y=void 0;if(1==f.e.length)f=0;else{Q=c+Math.sqrt(b.b[1-j].e.length);t=C(to,Sm,-1,36,1);for(F=0;F<f.e.length;++F)q=Xq(h,l,f.a[F],f.b[F]),q=J(L(Math.round(36*q/6.283185307179586))),q=0>q?q+36:36<=q?q-36:q,A=h-f.a[F],u=l-f.b[F],\nA=A*A+u*u,t[q]<A&&(t[q]=A);q=A=-1;for(F=0;36>F;++F)t[F]=Math.sqrt(t[F]),A<t[F]&&(A=t[F],q=F);q=0>q-18?q-18+36:36<=q-18?q-18-36:q-18;for(F=0;18>=F;++F)t[0>q+F?q+F+36:36<=q+F?q+F-36:q+F]+=0.01*F,t[0>q-F?q-F+36:36<=q-F?q-F-36:q-F]+=0.01*F;da=C(to,Sm,-1,9,1);for(F=1;9>F;++F)da[F]=Math.sin(0.17453292519943295*F);Y=Q*Q;s=1.7976931348623157E308;H=-1;for(q=0;36>q;++q)if(!(t[q]>=s)){u=t[q];for(F=1;9>F;++F){for(A=-1;1>=A&&!(r=0>q+A*F?q+A*F+36:36<=q+A*F?q+A*F-36:q+A*F,!(t[r]<=u)&&(w=t[r]*da[F],w<Q&&(w*=w,r=\nMath.sqrt(Y-w)+Math.sqrt(t[r]*t[r]-w)-Q,u<r&&(u=r,s<=r))));A+=2);if(s<=u)break}s>u&&(s=u,H=q)}f=6.283185307179586*H/36}n[g]=f}$s(b.b[0],b.c[0],b.d[0],1.5707963267948966-e[0]);$s(b.b[1],b.c[1],b.d[1],4.71238898038469-e[1]);n=1.7976931348623157E308;f=-1.7976931348623157E308;g=b.d[0]-b.d[1];for(j=0;j<b.b[1].b.length;++j)b.b[1].b[j]+=g,n>b.b[1].b[j]&&(n=b.b[1].b[j]),f<b.b[1].b[j]&&(f=b.b[1].b[j]);j=f-n+2*c;f=I(Math.ceil(j));n+=(j-f)/2-c;g=C(to,Sm,-1,f,1);for(j=0;j<f;++j)g[j]=b.c[1]+c;for(j=0;j<b.b[1].b.length;++j){h=\nb.b[1].b[j]-n;l=I(h-c);for(h=Fp(I(h+c),f-1);l<=h;++l)g[l]>b.b[1].a[j]&&(g[l]=b.b[1].a[j])}for(j=0;j<f;++j)g[j]-=c;c=b.c[0]-b.c[1];for(j=0;j<b.b[0].a.length;++j)f=I(b.b[0].b[j]-n),0<=f&&f<g.length&&c<b.b[0].a[j]-g[f]&&(c=b.b[0].a[j]-g[f]);for(j=0;j<b.b[1].a.length;++j)b.b[1].a[j]+=c;d&&($s(b.b[0],b.c[0],b.d[0],e[0]-1.5707963267948966),$s(b.b[1],b.c[0],b.d[0],e[0]-1.5707963267948966));d=Ls(a,b.b[0],b.b[1],0);at(a,b.b[0],b.b[1],d)}\nfunction Qs(a){for(var b,c,d,e,f,g,h,j,l,n,q,r,t,A,u;;){n=u=0;A=t=null;for(f=1;f<a.c.c;++f){d=io(a.c,f);for(g=0;g<f;++g){e=io(a.c,g);for(j=r=q=c=b=0;j<d.e.length;++j)for(l=0;l<e.e.length;++l)d.e[j]==e.e[l]&&(++c,b=d.e[j],q<d.n[j]&&(q=d.n[j]),r<e.n[l]&&(r=e.n[l]));if(0<c&&(b=1==c&&1==Js(a,d,b)&&1==Js(a,e,b)?0:1,q>r?h=(b<<24)+(q<<16)+(r<<8)+c:h=(b<<24)+(r<<16)+(q<<8)+c,u<h)){u=h;n=c;for(j=r=q=0;j<d.e.length;++j)q<d.n[j]&&(q=d.n[j]);for(j=0;j<e.e.length;++j)r<e.n[j]&&(r=e.n[j]);q>r?(t=d,A=e):(t=e,A=\nd)}}}if(0==u)break;if(n==t.e.length)Po(a.c,t);else if(n==A.e.length)Po(a.c,A);else{c=a;f=n;r=q=e=d=n=n=j=b=u=g=void 0;g=C(B,v,-1,f,1);for(b=u=0;b<t.e.length;++b)for(j=0;j<A.e.length;++j)t.e[b]==A.e[j]&&(g[u++]=t.e[b]);if(1==f)f=(n=Gs(t,g[0]),d=Gs(A,g[0]),bt(A,t.a[n]-A.a[d],t.b[n]-A.b[d]),e=ct(c,t,g[0]),q=ct(c,A,g[0]),r=0,1==Js(c,t,g[0])&&1==Js(c,A,g[0])&&(r=1.0471975511965976),$s(A,A.a[d],A.b[d],e-q+r+3.141592653589793),Ls(c,t,A,1));else{n=c;d=t;e=A;r=g;var w=void 0,F=u=void 0,H=void 0,s=void 0,Q=\nvoid 0,da=void 0,Y=void 0,W=l=j=b=s=void 0,ja=F=w=q=u=g=l=j=b=u=w=void 0,da=void 0;j=C(B,v,-1,f,1);l=C(B,v,-1,f,1);for(b=0;b<f;++b)j[b]=Gs(d,r[b]),l[b]=Gs(e,r[b]);for(b=w=u=q=g=0;b<f;++b)g+=d.a[j[b]],q+=d.b[j[b]],u+=e.a[l[b]],w+=e.b[l[b]];g/=f;q/=f;u/=f;w/=f;bt(e,g-u,q-w);s=C(Ws,o,11,f,0);da=C(Ws,o,11,f,0);w=C(Ws,o,11,f,0);u=C(Ws,o,11,f,0);for(b=0;b<f;++b)s[b]=new dt(g,q,d.a[j[b]],d.b[j[b]]),da[b]=new dt(g,q,e.a[l[b]],e.b[l[b]]),w[b]=new Xs(s[b].a-da[b].a,s[b].b*da[b].b),u[b]=new Xs(s[b].a+da[b].a,\ns[b].b*da[b].b);w=Ys(w,f);u=Ys(u,f);for(b=da=ja=0;b<f;++b)for(W=0;W<eo(n.f,r[b]);++W)F=bo(n.f,r[b],W),Ks(d,F)&&!Ks(e,F)&&++ja,!Ks(d,F)&&Ks(e,F)&&++da;Q=C(Ws,o,11,ja,0);Y=C(Ws,o,11,da,0);s=C(Ws,o,11,da,0);for(b=da=ja=0;b<f;++b)for(W=0;W<eo(n.f,r[b]);++W)F=bo(n.f,r[b],W),Ks(d,F)&&!Ks(e,F)&&(H=Gs(d,F),Q[ja]=new dt(d.a[j[b]],d.b[j[b]],d.a[H],d.b[H]),++ja),!Ks(d,F)&&Ks(e,F)&&(H=Gs(e,F),F=new dt(e.a[l[b]],e.b[l[b]],e.a[H],e.b[H]),Y[da]=new Xs(w.a+F.a,F.b),s[da]=new Xs(u.a-F.a,F.b),++da);b=Ys(Q,ja);j=Ys(Y,\nda);l=Ys(s,da);if(Eq(ur(b.a,j.a))>Eq(ur(b.a,l.a)))$s(e,g,q,w.a);else{r=g;b=q;w=l=j=void 0;for(w=0;w<e.e.length;++w)l=Wq((e.a[w]-r)*(e.a[w]-r)+(e.b[w]-b)*(e.b[w]-b)),j=0-Xq(r,b,e.a[w],e.b[w]),e.a[w]=r+l*Math.sin(j),e.b[w]=b+l*Math.cos(j);$s(e,g,q,u.a)}f=Ls(n,d,e,f)}n=f;at(c,t,A,n)}}}\nfunction ct(a,b,c){var d,e,f,g,h,j,l,n;d=C(to,Sm,-1,eo(a.f,c)+1,1);f=C(B,v,-1,eo(a.f,c)+1,1);g=C(B,v,-1,eo(a.f,c)+1,1);l=Gs(b,c);for(h=e=0;h<eo(a.f,c);++h)f[e]=bo(a.f,c,h),g[e]=ao(a.f,c,h),j=Gs(b,f[e]),-1!=j&&(d[e++]=Xq(b.a[l],b.b[l],b.a[j],b.b[j]));if(1==e)return d[0]+3.141592653589793;for(h=e-1;0<h;--h)for(b=0;b<h;++b)d[b]>d[b+1]&&(j=d[b],d[b]=d[b+1],d[b+1]=j,j=f[b],f[b]=f[b+1],f[b+1]=j,j=g[b],g[b]=g[b+1],g[b+1]=j);d[e]=d[0]+6.283185307179586;f[e]=f[0];g[e]=g[0];j=-100;for(h=l=0;h<e;++h){b=d[h+\n1]-d[h];if(2<e&&yo(a.f,g[h])&&yo(a.f,g[h+1])){a:{n=a;var q=f[h],r=c,t=f[h+1],A=void 0,u=void 0,w=void 0,F=void 0,H=void 0,s=void 0,w=C(B,v,-1,n.f.o,1),F=C(B,v,-1,n.f.o,1);w[0]=r;w[1]=q;F[r]=1;F[q]=2;for(H=u=1;u<=H;){for(s=0;s<eo(n.f,w[u]);++s){A=bo(n.f,w[u],s);if(A==t){n=1+F[w[u]];break a}0==F[A]&&0!=(n.f.s[A]&3072)&&(w[++H]=A,F[A]=F[w[u]]+1)}++u}n=0}0!=n&&(b-=100-n)}j<b&&(j=b,l=h)}return(d[l]+d[l+1])/2}function at(a,b,c,d){var e;e=Fp(et(a.c,b),et(a.c,c));Qp(a.c,e,d);Po(a.c,b);Po(a.c,c)}\nfunction ft(){this.e=0}function Ys(a,b){var c,d,e;for(d=c=e=0;d<b;++d)e+=a[d].b*Math.sin(a[d].a),c+=a[d].b*Math.cos(a[d].a);0==c?d=0<e?1.5707963267948966:-1.5707963267948966:(d=Math.atan(e/c),0>c&&(d+=3.141592653589793));c=Math.sqrt(e*e+c*c)/b;return new Xs(d,c)}x(33,1,{},ft);_.a=null;_.b=null;_.c=null;_.d=null;_.e=0;_.f=null;_.i=null;_.j=null;function zs(){}x(34,1,{},zs);_.Dd=function(a,b){var c,d;return c=ir(a.b),d=ir(b.b),c<d?-1:c==d?0:1};function As(){}x(35,1,{},As);\n_.Dd=function(a){var b,a=b=a.c.e.length;return b<a?1:b==a?0:-1};function Bs(){}x(36,1,{},Bs);_.Dd=function(a){var b,a=b=a.c.e.length;return b<a?-1:b==a?0:1};function Es(a,b){var c,d;this.b=C(Os,o,12,2,0);this.b[0]=a;this.b[1]=b;this.c=C(to,Sm,-1,2,1);this.d=C(to,Sm,-1,2,1);this.a=C(B,v,-1,2,1);for(c=0;2>c;++c){for(d=0;d<this.b[c].e.length;++d)this.c[c]+=this.b[c].a[d],this.d[c]+=this.b[c].b[d];this.a[c]=this.b[c].e.length}}\nfunction Cs(a,b,c,d){this.b=C(Os,o,12,2,0);this.b[0]=a;this.b[1]=b;this.c=C(to,Sm,-1,2,1);this.d=C(to,Sm,-1,2,1);this.c[0]=this.b[0].a[c];this.d[0]=this.b[0].b[c];this.c[1]=this.b[1].a[d];this.d[1]=this.b[1].b[d];this.a=C(B,v,-1,2,1);this.a[0]=1;this.a[1]=1}x(37,1,{9:1},Es,Cs);_.a=null;_.b=null;_.c=null;_.d=null;function Xs(a,b){this.a=a;this.b=b}function dt(a,b,c,d){this.a=Xq(a,b,c,d);a=c-a;b=d-b;this.b=Math.sqrt(a*a+b*b)}x(38,1,{11:1},Xs,dt);_.a=0;_.b=0;\nfunction Ps(a){this.a=C(B,v,-1,a,1);this.b=C(B,v,-1,a,1)}x(39,1,{},Ps);_.a=null;_.b=null;function xs(a,b,c){this.c=a;this.a=b;this.b=c}x(40,1,{},xs);_.a=0;_.b=0;_.c=null;\nfunction Rs(a,b){var c,d,e,f,g,h,j,l;null==a.d&&(a.d=C(Bo,En,92,a.k.p,0));if(null==a.d[b]){g=C(B,v,-1,a.e.length,1);l=C(Yn,Zm,-1,a.k.o,2);c=D(a.k,0,b);d=D(a.k,1,b);g[0]=c;l[c]=!0;for(h=f=0;f<=h;){for(j=0;j<eo(a.k,g[f]);++j)e=bo(a.k,g[f],j),!l[e]&&e!=d&&(g[++h]=e,l[e]=!0);if(f==h)break;++f}e=h+1>~~(a.e.length/2);if(0!=(a.j&6)){f=g=!1;for(j=0;j<a.e.length;++j)ar(a.k,a.e[j])&&(l[a.e[j]]?g=!0:f=!0);g!=f&&(e=g)}f=2;a.d[b]=C(B,v,-1,e?a.e.length-h:h+2,1);for(j=0;j<a.e.length;++j)a.e[j]==c?a.d[b][e?0:1]=\nj:a.e[j]==d?a.d[b][e?1:0]=j:e^l[a.e[j]]&&(a.d[b][f++]=j)}e=a.a[a.d[b][0]];f=a.b[a.d[b][0]];l=Xq(e,f,a.a[a.d[b][1]],a.b[a.d[b][1]]);for(j=2;j<a.d[b].length;++j)h=a.d[b][j],d=Wq((a.a[h]-e)*(a.a[h]-e)+(a.b[h]-f)*(a.b[h]-f)),c=2*l-Xq(e,f,a.a[h],a.b[h]),a.a[h]=e+d*Math.sin(c),a.b[h]=f+d*Math.cos(c)}\nfunction Ss(a){var b,c,d,e,f;a.c=0;c=new Yp;for(e=1;e<a.e.length;++e)for(f=0;f<e;++f)b=Eq(a.a[e]-a.a[f]),d=Eq(a.b[e]-a.b[f]),d=Math.sqrt(b*b+d*d),0.8>d&&(b=C(B,v,-1,2,1),b[0]=a.e[e],b[1]=a.e[f],oq(c.b,c.c++,b)),b=1-(1>d?d:1),a.c+=b*b;return c}function Gs(a,b){var c;for(c=0;c<a.e.length;++c)if(b==a.e[c])return c;return-1}function Ks(a,b){var c;for(c=0;c<a.e.length;++c)if(b==a.e[c])return!0;return!1}\nfunction $s(a,b,c,d){var e,f,g;for(g=0;g<a.e.length;++g)f=Wq((a.a[g]-b)*(a.a[g]-b)+(a.b[g]-c)*(a.b[g]-c)),e=Xq(b,c,a.a[g],a.b[g])+d,a.a[g]=b+f*Math.sin(e),a.b[g]=c+f*Math.cos(e)}function bt(a,b,c){var d;for(d=0;d<a.e.length;++d)a.a[d]+=b,a.b[d]+=c}function ts(a,b,c){this.k=a;this.j=c;this.e=C(B,v,-1,b,1);this.n=C(B,v,-1,b,1);this.a=C(to,Sm,-1,b,1);this.b=C(to,Sm,-1,b,1)}\nfunction Ts(a,b){var c;this.k=a.k;this.j=b;this.e=C(B,v,-1,a.e.length,1);this.n=C(B,v,-1,a.e.length,1);this.a=C(to,Sm,-1,a.e.length,1);this.b=C(to,Sm,-1,a.e.length,1);for(c=0;c<a.e.length;++c)this.e[c]=a.e[c],this.n[c]=a.n[c],this.a[c]=a.a[c],this.b[c]=a.b[c];if(null!=a.f){this.f=C(B,v,-1,a.f.length,1);for(c=0;c<a.f.length;++c)this.f[c]=a.f[c]}if(null!=a.i){this.i=C(B,v,-1,a.i.length,1);for(c=0;c<a.i.length;++c)this.i[c]=a.i[c]}}x(41,1,{12:1},ts,Ts);_.a=null;_.b=null;_.c=0;_.d=null;_.e=null;_.f=null;\n_.i=null;_.j=0;_.k=null;_.n=null;function Fr(a,b){var c;c=a-b;3.141592653589793<=c?c-=6.283185307179586:-3.141592653589793>c&&(c+=6.283185307179586);return c}function gt(a){a.p&&(a.v=a.q,a.o=null,a.p=!1,a.q=!1,a.r&&(a.r.Vd(),a.r=null),a.Pd())}function ht(a,b){var c=it();gt(a);a.p=!0;a.q=!1;a.n=b;a.u=c;a.o=null;++a.s;jt(a.k,it())}\nfunction kt(a,b){var c,d;c=a.s;d=b>=a.u+a.n;if(a.q&&!d)return d=(b-a.u)/a.n,a.Sd((1+Math.cos(3.141592653589793+3.141592653589793*d))/2),a.p&&a.s==c;if(!a.q&&b>=a.u&&(a.q=!0,a.Rd(),!(a.p&&a.s==c)))return!1;return d?(a.p=!1,a.q=!1,a.Qd(),!1):!0}x(59,1,{});_.Pd=function(){this.v&&this.Qd()};_.Qd=function(){this.Sd((1+Math.cos(6.283185307179586))/2)};_.Rd=function(){this.Sd((1+Math.cos(3.141592653589793))/2)};_.n=-1;_.o=null;_.p=!1;_.q=!1;_.r=null;_.s=-1;_.t=null;_.u=-1;_.v=!1;\nfunction jt(a,b){kt(a.a,b)?a.a.r=a.a.t.Ud(a.a.k,a.a.o):a.a.r=null}function lt(a){this.a=a}x(60,1,{},lt);_.Td=function(a){jt(this,a)};_.a=null;x(61,1,{});x(62,1,xn);function mt(){mt=y;var a;(a=new nt)&&(a.Wd()||(a=new ot));pt=a}x(63,61,{});var pt=null;function ot(){this.a=new Yp;this.b=new qt(this)}x(64,63,{},ot);_.Wd=rt;_.Ud=function(a){a=new st(this,a);bq(this.a,a);1==this.a.c&&tt(this.b,16);return a};function ut(){ut=y;vt=new Yp;var a=new wt;xt();yt(zt?zt:zt=new At,a)}\nfunction Bt(a){a.b?$wnd.clearInterval(a.c):$wnd.clearTimeout(a.c);Po(vt,a)}function tt(a,b){if(0>b)throw new vp("must be non-negative");a.b?$wnd.clearInterval(a.c):$wnd.clearTimeout(a.c);Po(vt,a);a.b=!1;a.c=Ct(a,b);bq(vt,a)}function Ct(a,b){return $wnd.setTimeout(T(function(){a.Xd()}),b)}x(66,1,{});_.Xd=function(){this.b||Po(vt,this);this.Yd()};_.b=!1;_.c=0;var vt;function qt(a){ut();this.a=a}x(65,66,{},qt);\n_.Yd=function(){var a=this.a,b,c,d,e,f;b=C(Dt,o,14,a.a.c,0);b=yq(a.a,b);c=new Et;for(e=0,f=b.length;e<f;++e)d=b[e],Po(a.a,d),jt(d.a,c.a);0<a.a.c&&tt(a.b,Bp(5,16-(it()-c.a)))};_.a=null;function st(a,b){this.b=a;this.a=b}x(67,62,{13:1,14:1},st);_.Vd=function(){var a=this.b;Po(a.a,this);0==a.a.c&&Bt(a.b)};_.a=null;_.b=null;function Ft(a,b){var c=T(function(){var b=it();a.Td(b)});return $wnd.webkitRequestAnimationFrame(c,b)}function nt(){}x(68,63,{},nt);\n_.Wd=function(){return!(!$wnd.webkitRequestAnimationFrame||!$wnd.webkitCancelRequestAnimationFrame)};_.Ud=function(a,b){var c;c=Ft(a,b);return new Gt(c)};function Gt(a){this.a=a}x(69,62,xn,Gt);_.Vd=function(){$wnd.webkitCancelRequestAnimationFrame(this.a)};_.a=0;x(71,1,{});_.a=null;function Ht(){this.a=Hh}x(70,71,{},Ht);function It(){this.a=Ih}x(72,71,{},It);function Jt(){this.a=Lh}x(73,71,{},Jt);x(75,1,{});_.a=null;function Kt(a){this.a=a}x(74,75,{},Kt);function Lt(){this.a=Mh}x(76,71,{},Lt);\nfunction Mt(){this.a=Ph}x(77,71,{},Mt);function St(){this.a=ci}x(78,71,{},St);function Tt(){this.a=ji}x(79,71,{},Tt);function Ut(){this.a=qi}x(80,71,{},Ut);function Vt(){this.a=ri}x(81,71,{},Vt);function Wt(){this.a=si}x(82,71,{},Wt);function Xt(){this.a=ti}x(83,71,{},Xt);function Yt(){this.a=xi}x(84,71,{},Yt);function Zt(){this.a=zi}x(85,71,{},Zt);function $t(){this.a=Ai}x(86,71,{},$t);function au(){this.a=Di}x(87,71,{},au);function bu(){this.a=Ui}x(88,71,{},bu);function cu(){this.a=aj}\nx(89,71,{},cu);function du(){this.a=bj}x(90,71,{},du);function eu(){this.a=cj}x(91,71,{},eu);function fu(){this.a=ij}x(92,71,{},fu);function gu(a){this.a=a.id}x(93,1,{15:1,16:1},gu);_.a=null;function hu(){this.a=nj}x(94,71,{},hu);function iu(){this.a=xj}x(95,71,{},iu);function ju(){this.a=yj}x(96,71,{},ju);function ku(){this.a=zj}x(97,71,{},ku);function lu(){this.a=Aj}x(98,71,{},lu);function mu(){this.a=Cj}x(99,71,{},mu);function nu(){this.a=Ej}x(100,71,{},nu);function ou(){this.a=Lj}\nx(101,71,{},ou);function pu(){this.a=Mj}x(102,71,{},pu);function qu(){this.a=Nj}x(103,71,{},qu);function ru(){this.a=Pj}x(104,71,{},ru);function su(){this.a=Qj}x(105,71,{},su);function tu(){this.a=Rj}x(106,71,{},tu);function uu(){this.a=Sj}x(107,71,{},uu);function vu(){this.a=hk}x(108,71,{},vu);function wu(){this.a=jk}x(109,71,{},wu);function xu(){this.a=uk}x(110,71,{},xu);function yu(){this.a=Hk}x(111,71,{},yu);x(112,75,{},function(a){this.a=a});function zu(){this.a=Ik}x(113,71,{},zu);\nfunction Au(){Au=y;Bu=new Kt("aria-activedescendant")}var Bu;function Cu(){this.a=Nk}x(115,71,{},Cu);function Du(){this.a=Ok}x(116,71,{},Du);function Eu(){this.a=Sk}x(117,71,{},Eu);\nfunction Fu(){Fu=y;Gu=new It;Hu=new Ht;Iu=new Jt;Ju=new Lt;Ku=new Mt;Lu=new St;Mu=new Tt;Nu=new Ut;Ou=new Vt;Pu=new Wt;Qu=new Xt;Ru=new Yt;Su=new Zt;Tu=new $t;Uu=new au;Vu=new bu;Wu=new du;Xu=new cu;Yu=new eu;Zu=new fu;$u=new hu;av=new iu;bv=new ku;cv=new lu;dv=new ju;ev=new mu;fv=new nu;gv=new ou;hv=new pu;iv=new ru;jv=new tu;kv=new uu;lv=new su;mv=new qu;nv=new vu;ov=new wu;pv=new xu;qv=new yu;rv=new zu;sv=new Du;tv=new Cu;uv=new Eu;vv=new wv;xv=new yv;zv=new Av;Bv=new Cv;Dv=new Ev;Fv=new Gv;Hv=\nnew Iv;Jv=new Kv;Lv=new Mv;Nv=new Ov;Pv=new Qv;Rv=new Sv;Tv=new Uv;Vv=new Wv;Xv=new Yv;Zv=new $v;aw=new bw;cw=new dw;ew=new fw;gw=new hw;U(gw,Sk,uv);U(gw,Hh,Hu);U(gw,zi,Su);U(gw,Ih,Gu);U(gw,Lh,Iu);U(gw,Di,Uu);U(gw,Mh,Ju);U(gw,Ph,Ku);U(gw,ci,Lu);U(gw,ji,Mu);U(gw,bj,Wu);U(gw,qi,Nu);U(gw,cj,Yu);U(gw,ri,Ou);U(gw,si,Pu);U(gw,ti,Qu);U(gw,xi,Ru);U(gw,yj,dv);U(gw,Ai,Tu);U(gw,Ui,Vu);U(gw,aj,Xu);U(gw,ij,Zu);U(gw,nj,$u);U(gw,xj,av);U(gw,zj,bv);U(gw,Aj,cv);U(gw,Cj,ev);U(gw,Ej,fv);U(gw,Lj,gv);U(gw,Mj,hv);U(gw,\nNj,mv);U(gw,Pj,iv);U(gw,Qj,lv);U(gw,Rj,jv);U(gw,uk,pv);U(gw,Nk,tv);U(gw,Sj,kv);U(gw,hk,nv);U(gw,jk,ov);U(gw,Hk,qv);U(gw,Ik,rv);U(gw,Ok,sv);U(gw,Xk,zv);U(gw,Yk,vv);U(gw,Zk,xv);U(gw,hl,Dv);U(gw,il,Fv);U(gw,fl,Bv);U(gw,ql,Hv);U(gw,sl,Jv);U(gw,ul,Lv);U(gw,xl,Rv);U(gw,zl,Nv);U(gw,Al,Pv);U(gw,Gl,Tv);U(gw,Hl,Vv);U(gw,Jl,Xv);U(gw,Kl,Zv);U(gw,Rl,ew);U(gw,Sl,aw);U(gw,Tl,cw)}\nvar Hu,Gu,Iu,Ju,Ku,Lu,Mu,Nu,Ou,Pu,Qu,Ru,Su,Tu,Uu,Vu,Xu,Wu,Yu,Zu,$u,av,dv,bv,cv,ev,fv,gv,hv,mv,iv,lv,jv,kv,nv,ov,pv,qv,rv,tv,sv,uv,gw,zv,vv,xv,Bv,Dv,Fv,Hv,Jv,Lv,Rv,Nv,Pv,Tv,Vv,Xv,Zv,ew,aw,cw;function Av(){this.a=Xk}x(119,71,{},Av);function wv(){this.a=Yk}x(120,71,{},wv);function yv(){this.a=Zk}x(121,71,{},yv);function Cv(){this.a=fl}x(122,71,{},Cv);function Ev(){this.a=hl}x(123,71,{},Ev);function Gv(){this.a=il}x(124,71,{},Gv);function Iv(){this.a=ql}x(125,71,{},Iv);function Kv(){this.a=sl}\nx(126,71,{},Kv);function Mv(){this.a=ul}x(127,71,{},Mv);function Sv(){this.a=xl}x(128,71,{},Sv);function Ov(){this.a=zl}x(129,71,{},Ov);function Qv(){this.a=Al}x(130,71,{},Qv);function Uv(){this.a=Gl}x(131,71,{},Uv);function Wv(){this.a=Hl}x(132,71,{},Wv);function Yv(){this.a=Jl}x(133,71,{},Yv);function $v(){this.a=Kl}x(134,71,{},$v);function fw(){this.a=Rl}x(135,71,{},fw);function bw(){this.a=Sl}x(136,71,{},bw);function dw(){this.a=Tl}x(137,71,{},dw);\nfunction is(a){var b,c,d;d=new iw;for(c=a;c;)b=c._d(),c!=a&&(d.a.a+="Caused by: "),Lr(d,c.cZ.d),d.a.a+=Gd,jw(d.a,null==b?"(No exception detail)":b),d.a.a+=ba,c=c.e}function kw(a){var b;b=a.cZ.d;a=a._d();return null!=a?b+Gd+a:b}x(141,1,{94:1,111:1});_._d=function(){return this.f};_.tS=function(){return kw(this)};_.e=null;_.f=null;function $o(a){this.f=a}x(140,141,qn,$o);function lw(a){this.f=a}function mw(a,b){this.e=b;this.f=a}x(139,140,Cn,lw,mw);function nw(a){this.f=a}x(138,139,Cn,nw);\nfunction Et(){this.a=it()}function it(){return(new Date).getTime()}x(142,1,{},Et);function ow(a){this.b=a;this.a=m}x(144,139,Cn,ow);_._d=function(){if(null==this.c){this.d=null==this.b?mk:pw(this.b)?null==this.b?null:this.b.name:E(this.b,1)?"String":qw(this.b).d;this.a=this.a+Gd+(pw(this.b)?null==this.b?null:this.b.message:this.b+m);var a;if(pw(this.b)){a=this.b;var b=m,c;for(c in a)if(c!=gk&&"message"!=c&&"toString"!=c)try{b+="\\n "+c+Gd+a[c]}catch(d){}a=b}else a=m;this.c=Nb+this.d+") "+a+this.a}return this.c};\n_.a=m;_.b=null;_.c=null;_.d=null;function rw(a,b){return sw(a)?a.eQ(b):a===b}function qw(a){return sw(a)?a.cZ:tw}function uw(a){return sw(a)?a.hC():vw(a)}function ww(a){return a.toString?a.toString():"[JavaScriptObject]"}\nfunction xw(){var a;xw=y;yw=(a=["\\\\u0000","\\\\u0001","\\\\u0002","\\\\u0003","\\\\u0004","\\\\u0005","\\\\u0006","\\\\u0007",th,uh,"\\\\n","\\\\u000B","\\\\f","\\\\r","\\\\u000E","\\\\u000F","\\\\u0010","\\\\u0011","\\\\u0012","\\\\u0013","\\\\u0014","\\\\u0015","\\\\u0016","\\\\u0017","\\\\u0018","\\\\u0019","\\\\u001A","\\\\u001B","\\\\u001C","\\\\u001D","\\\\u001E","\\\\u001F"],a[34]=\'\\\\"\',a[92]=rh,a[173]="\\\\u00ad",a[1536]="\\\\u0600",a[1537]="\\\\u0601",a[1538]="\\\\u0602",a[1539]="\\\\u0603",a[1757]="\\\\u06dd",a[1807]="\\\\u070f",a[6068]="\\\\u17b4",a[6069]="\\\\u17b5",\na[8203]="\\\\u200b",a[8204]="\\\\u200c",a[8205]="\\\\u200d",a[8206]="\\\\u200e",a[8207]="\\\\u200f",a[8232]="\\\\u2028",a[8233]="\\\\u2029",a[8234]="\\\\u202a",a[8235]="\\\\u202b",a[8236]="\\\\u202c",a[8237]="\\\\u202d",a[8238]="\\\\u202e",a[8288]="\\\\u2060",a[8289]="\\\\u2061",a[8290]="\\\\u2062",a[8291]="\\\\u2063",a[8292]="\\\\u2064",a[8298]="\\\\u206a",a[8299]="\\\\u206b",a[8300]="\\\\u206c",a[8301]="\\\\u206d",a[8302]="\\\\u206e",a[8303]="\\\\u206f",a[65279]="\\\\ufeff",a[65529]="\\\\ufff9",a[65530]="\\\\ufffa",a[65531]="\\\\ufffb",a)}\nfunction zw(a){xw();a=a.replace(/[\\x00-\\x1f\\xad\\u0600-\\u0603\\u06dd\\u070f\\u17b4\\u17b5\\u200b-\\u200f\\u2028-\\u202e\\u2060-\\u2064\\u206a-\\u206f\\ufeff\\ufff9-\\ufffb"\\\\]/g,function(a){var c;return c=yw[a.charCodeAt(0)],null==c?a:c});return Aa+a+Aa}var yw;x(151,1,{});function Aw(){Aw=y;Bw=$wnd}\nfunction Cw(a,b,c){function d(){a.onerror=a.onreadystatechange=a.onload=function(){};c&&a.parentNode.removeChild(a)}Aw();a.onload=T(function(){d();b&&b.$d(null)});a.onerror=T(function(){d();b&&b.Zd(new nw("onerror() called."))});a.onreadystatechange=T(function(){("complete"==a.readyState||"loaded"==a.readyState)&&a.onload()})}var Bw;\nfunction Dw(a){var b,c,d;b=!a.d?(Aw(),window):a.d;b=(Aw(),b.document);c=(d=b.createElement("script"),d.type="text/javascript",d);(a.a||a.b)&&Cw(c,a.a,a.b);a=a.c;Aw();c.src=a;b.getElementsByTagName(hj)[0].appendChild(c)}function Ew(a,b){a.a=b;return a}function Fw(a){a.b=!0;return a}function Gw(a){this.c=a}x(153,1,{},Gw);_.a=null;_.b=!1;_.c=null;_.d=null;function Hw(){Hw=y;Iw=new Jw(11,z(B,v,-1,[]),new Kw)}\nfunction Lw(a,b){var c,d,e,f;if(b==a.f)return!0;for(d=a.c,e=0,f=d.length;e<f;++e)if(c=d[e],c==b)return!0;return!1}function Mw(a,b){a.b=b;if($stats){var c=Nw(b==a.f?wj:Ei+b,Sh,b);$stats(c)}var d=a.e,c=new Ow(a,b),e,f;f=Pw(b,c);null!=f&&(d=(e=d.a[b]?d.a[b]:0,d.a[b]=e+1,e),0<d&&(e=-1!=f.indexOf(Xd)?38:63,f+=String.fromCharCode(e)+"manualRetry="+d),c=new Qw(f,c,b),Rw(c.b,c),Dw(Ew(Fw((Aw(),new Gw(c.f))),new Sw(c))))}\nfunction Tw(a){if(!(0<=a.b)){var b,c,d,e;if(!a.j){a.j=new Uw(a.c.length+1);for(c=a.c,d=0,e=c.length;d<e;++d){b=c[d];var f=a.j;f.a[f.c++]=b}c=a.j;d=a.f;c.a[c.c++]=d}for(;0<a.k.c-a.k.b&&a.d[a.k.a[a.k.b]];)c=a.k.a[a.k.b++],c<a.i.length&&oq(a.i,c,null);a:{c=a.i;for(d=0;d<c.length;++d)if(c[d]){c=!1;break a}c=!0}c||(0<a.j.c-a.j.b?Mw(a,a.j.a[a.j.b]):0<a.k.c-a.k.b&&Mw(a,a.k.a[a.k.b++]))}}\nfunction Jw(a,b,c){this.f=a;this.c=b;this.e=c;a+=1;this.a=C(Vw,o,109,a,0);this.k=new Uw(a);this.d=C(Yn,Zm,-1,a,2);this.i=C(Ww,o,18,a,0)}function Xw(a,b){Hw();var c=Iw,d;c.d[a]?b.be():(d=c.a[a],null==d&&(d=oq(c.a,a,C(Yw,o,17,0,0))),oq(d,d.length,b),c.i[a]||(oq(c.i,a,new Zw(c,a)),Lw(c,a)||(d=c.k,d.a[d.c++]=a),Tw(c)))}x(154,1,{},Jw);_.a=null;_.b=-1;_.c=null;_.d=null;_.e=null;_.f=0;_.i=null;_.j=null;_.k=null;var Iw;function Zw(a,b){this.a=a;this.b=b}x(155,1,yn,Zw);\n_.de=function(a){var b,c,d,e;e=this.a.a[this.b];if(null!=e){oq(this.a.a,this.b,null);for(c=0,d=e.length;c<d;++c)b=e[c],b.ae(a)}};_.a=null;_.b=0;function Uw(a){this.a=C(B,v,-1,a,1)}x(156,1,{},Uw);_.a=null;_.b=0;_.c=0;function $w(a){this.f="Download of "+a+" failed with status 404(Script Tag Failure - no status available)"}x(157,139,Cn,$w);function ax(a,b,c){this.e=c;this.f="Install of "+a+" failed with text "+b}x(158,139,Cn,ax);\nfunction bx(a,b){var c,d,e,f,g;if(a.b.b==a.a){f=a.b.i;a.b.i=C(Ww,o,18,a.b.f+1,0);d=a.b.k;d.b=0;d.c=0;a.b.b=-1;g=null;for(d=0,e=f.length;d<e;++d)if(c=f[d])try{c.de(b)}catch(h){if(h=No(h),E(h,110))g=c=h;else throw h;}if(g)throw g;}}function Ow(a,b){this.b=a;this.a=b}x(159,1,yn,Ow);_.de=function(a){bx(this,a)};_.a=0;_.b=null;function Nw(a,b,c){a={moduleName:$moduleName,sessionId:$sessionId,subSystem:"runAsync",evtGroup:a,millis:(new Date).getTime(),type:b};0<=c&&(a.fragment=c);return a}\nfunction vw(a){return a.$H||(a.$H=++cx)}function dx(){return($wnd||self)["__gwtDevModeHook:"+$moduleName+":moduleBase"]||$moduleBase}function ex(){return $wnd.setTimeout(function(){0!=fx&&(fx=0);gx=-1},10)}var fx=0,cx=0,hx=0,gx=-1;function Pw(a,b){return __gwtStartLoadingFragment(a,T(function(a){b.de(a)}))}x(162,1,{});\nfunction ix(a,b,c){if(c&&(++a.e,a.e<=a.c)){b=-1!=a.d.indexOf(Xd)?38:63;a.f=a.d+String.fromCharCode(b)+"autoRetry="+a.e;Rw(a.b,a);Dw(Ew(Fw((Aw(),new Gw(a.f))),new Sw(a)));return}bx(a.a,b)}function Qw(a,b,c){this.d=this.f=a;this.a=b;this.c=3;this.e=0;this.b=c}x(164,1,{},Qw);_.a=null;_.b=0;_.c=0;_.d=null;_.e=0;_.f=null;function jx(){jx=y;kx=new lx}function mx(a,b){a.a=nx(a.a,[b,!1]);a.j||(a.j=!0,!a.e&&(a.e=new ox(a)),px(a.e,1),!a.i&&(a.i=new qx(a)),px(a.i,50))}function lx(){}\nfunction rx(a){return a.ce()}function nx(a,b){!a&&(a=[]);a[a.length]=b;return a}function sx(a,b){var c,d,e;for(c=0,d=a.length;c<d;++c){e=a[c];try{e[1]?e[0].ce()&&(b=nx(b,e)):e[0].Od()}catch(f){if(f=No(f),!E(f,111))throw f;}}return b}function px(a,b){jx();$wnd.setTimeout(function(){T(rx)(a)&&$wnd.setTimeout(arguments.callee,b)},b)}x(165,151,{},lx);_.a=null;_.b=null;_.c=null;_.d=!1;_.e=null;_.f=null;_.i=null;_.j=!1;var kx;function ox(a){this.a=a}x(166,1,{},ox);\n_.ce=function(){this.a.d=!0;var a=this.a,b;a.a&&(b=a.a,a.a=null,!a.f&&(a.f=[]),sx(b,a.f));if(a.f){b=a.f;var c,d,e,f,g,h;g=b.length;if(0==g)b=null;else{c=!1;for(d=new Et;100>it()-d.a;){e=!1;for(f=0;f<g;++f)if(h=b[f])e=!0,h[0].ce()||(b[f]=null,c=!0);if(!e)break}if(c){c=[];for(f=0;f<g;++f)b[f]&&(c[c.length]=b[f]);b=0==c.length?null:c}}a.f=b}this.a.d=!1;return this.a.j=!!this.a.a||!!this.a.f};_.a=null;function qx(a){this.a=a}x(167,1,{},qx);_.ce=function(){this.a.d&&px(this.a.e,1);return this.a.j};\n_.a=null;function Kw(){this.a=[]}function tx(a){ux(a.b)&&ix(a,new $w(a.f),!0)}function ux(a){if(!__gwtModuleFunction[al+a])return!1;delete __gwtModuleFunction[al+a];return!0}function Rw(a,b){__gwtModuleFunction[al+a]=T(function(a){if(ux(b.b)){var d,e;try{__gwtInstallCode(a)}catch(f){if(f=No(f),E(f,110))d=f,e=a,null!=a&&200<a.length&&(e=a.substr(0,200)+Tc),ix(b,new ax(b.f,e,d),!1);else throw f;}}})}x(169,162,{},Kw);function Sw(a){this.a=a}x(170,1,{},Sw);_.Zd=function(){tx(this.a)};_.$d=function(){tx(this.a)};\n_.a=null;x(172,1,{});function jw(a,b){a.a+=b}function vx(a,b,c,d){a.a=ks(a.a,0,b)+d+gs(a.a,c)}function wx(){}x(173,172,{},wx);_.a=m;function xx(a,b){return parseInt(a[b])||0}function yx(a,b){return null==a[b]?null:""+a[b]}function zx(a){a.draggable=Ul;a.style.webkitUserDrag="element"}function Ax(a,b){var c,d,e;for(c=a.indexOf(b);-1!=c;){if(0==c||32==a.charCodeAt(c-1))if(d=c+b.length,e=a.length,d==e||d<e&&32==a.charCodeAt(d))break;c=a.indexOf(b,c+1)}return c}\nfunction Bx(a){var b=$doc.createElement("INPUT");b.type=a;return b}function Cx(a){for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function Dx(a){a=a.parentNode;(!a||1!=a.nodeType)&&(a=null);return a}function Ex(a){a=a.button;return 1==a?4:2==a?2:1}\nfunction Fx(a){var b;if(b=a.getBoundingClientRect&&a.getBoundingClientRect())a=b.left+Gx(a.ownerDocument.body);else if(null==a.offsetLeft)a=0;else{b=0;var c=a.ownerDocument,d=a.parentNode;if(d)for(;d.offsetParent;)b-=d.scrollLeft,c.defaultView.getComputedStyle(d,m).getPropertyValue("direction")==$k&&(b+=d.scrollWidth-d.clientWidth),d=d.parentNode;for(;a;){b+=a.offsetLeft;if(c.defaultView.getComputedStyle(a,m)[Gk]==Oi){b+=c.body.scrollLeft;break}(d=a.offsetParent)&&$wnd.devicePixelRatio&&(b+=parseInt(c.defaultView.getComputedStyle(d,\nm).getPropertyValue(Zh)));if(d&&d.tagName==ze&&a.style.position==Ah)break;a=d}a=b}return a}\nfunction Hx(a){var b;if(b=a.getBoundingClientRect&&a.getBoundingClientRect())a=b.top+(a.ownerDocument.body.scrollTop||0);else if(null==a.offsetTop)a=0;else{b=0;var c=a.ownerDocument,d=a.parentNode;if(d)for(;d.offsetParent;)b-=d.scrollTop,d=d.parentNode;for(;a;){b+=a.offsetTop;if(c.defaultView.getComputedStyle(a,m)[Gk]==Oi){b+=c.body.scrollTop;break}(d=a.offsetParent)&&$wnd.devicePixelRatio&&(b+=parseInt(c.defaultView.getComputedStyle(d,m).getPropertyValue($h)));if(d&&d.tagName==ze&&a.style.position==\nAh)break;a=d}a=b}return a}function Gx(a){return a.ownerDocument.defaultView.getComputedStyle(a,m).direction==$k?(a.scrollLeft||0)-((a.scrollWidth||0)-a.clientWidth):a.scrollLeft||0}function Ix(a){(a=a.target)&&3==a.nodeType&&(a=a.parentNode);return a}function Jx(){var a=$doc;!a.gwt_uid&&(a.gwt_uid=1);return"gwt-uid-"+a.gwt_uid++}function Kx(){var a=$doc;return(ds(a.compatMode,Ne)?a.documentElement:a.body).clientHeight}\nfunction Lx(){var a=$doc;return(ds(a.compatMode,Ne)?a.documentElement:a.body).clientWidth}function Mx(a,b){this.b=a;this.c=b}x(198,1,{94:1,99:1,101:1});_.cT=function(a){return this.c-a.c};_.eQ=Fn;_.hC=Gn;_.tS=Nx;_.b=null;_.c=0;function Ox(){Ox=y;Px=new Qx;Rx=new Sx;Tx=new Ux;Vx=new Wx;Xx=new Yx;Zx=new $x;ay=new by;cy=new dy;ey=new fy;gy=new hy;iy=new jy;ky=new ly;my=new ny;oy=new py;qy=new ry;sy=new ty;uy=new vy;wy=new xy;yy=z(zy,o,20,[Px,Rx,Tx,Vx,Xx,Zx,ay,cy,ey,gy,iy,ky,my,oy,qy,sy,uy,wy])}\nx(204,198,$m);var yy,Rx,uy,Tx,Px,Zx,sy,Xx,ay,cy,ey,Vx,wy,gy,iy,ky,oy,qy,my;function Qx(){Mx.call(this,bf,0)}x(205,204,$m,Qx);function hy(){Mx.call(this,"SE_RESIZE",9)}x(206,204,$m,hy);function jy(){Mx.call(this,"SW_RESIZE",10)}x(207,204,$m,jy);function ly(){Mx.call(this,"S_RESIZE",11)}x(208,204,$m,ly);function ny(){Mx.call(this,"W_RESIZE",12)}x(209,204,$m,ny);function py(){Mx.call(this,"TEXT",13)}x(210,204,$m,py);function ry(){Mx.call(this,"WAIT",14)}x(211,204,$m,ry);\nfunction ty(){Mx.call(this,"HELP",15)}x(212,204,$m,ty);function vy(){Mx.call(this,"COL_RESIZE",16)}x(213,204,$m,vy);function xy(){Mx.call(this,"ROW_RESIZE",17)}x(214,204,$m,xy);function Sx(){Mx.call(this,"AUTO",1)}x(215,204,$m,Sx);function Ux(){Mx.call(this,"CROSSHAIR",2)}x(216,204,$m,Ux);function Wx(){Mx.call(this,"POINTER",3)}x(217,204,$m,Wx);function Yx(){Mx.call(this,"MOVE",4)}x(218,204,$m,Yx);function $x(){Mx.call(this,"E_RESIZE",5)}x(219,204,$m,$x);\nfunction by(){Mx.call(this,"NE_RESIZE",6)}x(220,204,$m,by);function dy(){Mx.call(this,"NW_RESIZE",7)}x(221,204,$m,dy);function fy(){Mx.call(this,"N_RESIZE",8)}x(222,204,$m,fy);function Ay(){Ay=y;By=new Cy;Dy=new Ey;Fy=new Gy;Hy=new Iy;Jy=z(Ky,o,21,[By,Dy,Fy,Hy])}x(223,198,an);var Jy,Dy,Fy,Hy,By;function Cy(){Mx.call(this,hg,0)}x(224,223,an,Cy);function Ey(){Mx.call(this,"BLOCK",1)}x(225,223,an,Ey);function Gy(){Mx.call(this,"INLINE",2)}x(226,223,an,Gy);\nfunction Iy(){Mx.call(this,"INLINE_BLOCK",3)}x(227,223,an,Iy);function Ly(){Ly=y;My=new Ny;Oy=new Py;Qy=new Ry;Sy=new Ty;Uy=z(Vy,o,23,[My,Oy,Qy,Sy])}x(228,198,nn);var Uy,My,Oy,Qy,Sy;function Ny(){Mx.call(this,Ge,0)}x(229,228,nn,Ny);function Py(){Mx.call(this,Jf,1)}x(230,228,nn,Py);function Ry(){Mx.call(this,Mf,2)}x(231,228,nn,Ry);function Ty(){Mx.call(this,Fg,3)}x(232,228,nn,Ty);\nfunction Wy(){Wy=y;Xy=new Yy;Zy=new $y;az=new bz;cz=new dz;ez=new fz;gz=new hz;iz=new jz;kz=new lz;mz=new nz;oz=z(pz,o,24,[Xy,Zy,az,cz,ez,gz,iz,kz,mz])}x(233,198,en);var oz,kz,az,cz,iz,mz,gz,Zy,ez,Xy;function Yy(){Mx.call(this,"PX",0)}x(234,233,en,Yy);function $y(){Mx.call(this,"PCT",1)}x(235,233,en,$y);function bz(){Mx.call(this,"EM",2)}x(236,233,en,bz);function dz(){Mx.call(this,"EX",3)}x(237,233,en,dz);function fz(){Mx.call(this,"PT",4)}x(238,233,en,fz);function hz(){Mx.call(this,"PC",5)}\nx(239,233,en,hz);function jz(){Mx.call(this,"IN",6)}x(240,233,en,jz);function lz(){Mx.call(this,"CM",7)}x(241,233,en,lz);function nz(){Mx.call(this,"MM",8)}x(242,233,en,nz);function qz(){qz=y;rz=new sz;tz=new uz;vz=new wz;xz=new yz;zz=new Az;Bz=new Cz;Dz=new Ez;Fz=new Gz;Hz=z(Iz,o,25,[rz,tz,vz,xz,zz,Bz,Dz,Fz])}x(243,198,Bn);var Hz,rz,Dz,Bz,tz,vz,Fz,zz,xz;function sz(){Mx.call(this,"BASELINE",0)}x(244,243,Bn,sz);function uz(){Mx.call(this,"SUB",1)}x(245,243,Bn,uz);\nfunction wz(){Mx.call(this,"SUPER",2)}x(246,243,Bn,wz);function yz(){Mx.call(this,"TOP",3)}x(247,243,Bn,yz);function Az(){Mx.call(this,"TEXT_TOP",4)}x(248,243,Bn,Az);function Cz(){Mx.call(this,"MIDDLE",5)}x(249,243,Bn,Cz);function Ez(){Mx.call(this,"BOTTOM",6)}x(250,243,Bn,Ez);function Gz(){Mx.call(this,"TEXT_BOTTOM",7)}x(251,243,Bn,Gz);function Jz(){Jz=y;Kz=[];Lz=[];Mz=[]}var Kz,Lz,Mz;function Nz(){Nz=y;Oz=new Pz}\nfunction Qz(a){var b;b=$doc.createElement("style");b.language="text/css";b.textContent=a||m;return b}function Rz(a){var b;a.a||(b=$doc.getElementsByTagName(hj)[0],a.a=b);return a.a}function Pz(){}x(254,1,{},Pz);_.a=null;var Oz;x(266,1,{});_.tS=function(){return"An event type"};_.f=null;x(265,266,{});_.ge=function(){this.e=!1;this.f=null};_.e=!1;x(264,265,{});_.fe=function(){return this.he()};_.a=null;var Sz=_.b=null;function Tz(){Tz=y;Uz=new Vz(Vh,new Wz)}function Wz(){}x(263,264,{},Wz);_.ee=function(a){a.ie(this)};\n_.he=function(){return Uz};var Uz;x(270,264,bn);function Xz(a,b){return(a.a.clientX||0)-Fx(b)+Gx(b)+Gx(b.ownerDocument.body)}function Yz(a,b){return(a.a.clientY||0)-Hx(b)+(b.scrollTop||0)+(b.ownerDocument.body.scrollTop||0)}function Zz(a){var b;return(b=a.b)?Xz(a,b):a.a.clientX||0}function $z(a){var b;return(b=a.b)?Yz(a,b):a.a.clientY||0}x(269,270,bn);function aA(){aA=y;bA=new Vz(mi,new cA)}function cA(){}x(268,269,bn,cA);_.ee=function(a){a.ke(this)};_.he=function(){return bA};var bA;\nfunction fA(){fA=y;gA=new Vz(ui,new hA)}function hA(){}x(271,264,{},hA);_.ee=function(){this.a.preventDefault();this.a.stopPropagation()};_.he=function(){return gA};var gA;x(274,1,{52:1});_.hC=iA;_.tS=function(){return"Event type"};var jA=_.c=0;function At(){this.c=++jA}x(273,274,fn,At);function Vz(a,b){this.c=++jA;this.a=b;!Sz&&(Sz=new kA);Sz.a[a]=this;this.b=a}x(272,273,fn,Vz);_.a=null;_.b=null;x(276,264,{});function lA(){lA=y;mA=new Vz(Fi,new nA)}\nfunction oA(a){a.a.stopPropagation();a.a.preventDefault()}function nA(){}x(277,276,{},nA);_.ee=function(){oA(this)};_.he=function(){return mA};var mA;function pA(){pA=y;qA=new Vz(Gi,new rA)}function rA(){}x(278,276,{},rA);_.ee=function(){oA(this)};_.he=function(){return qA};var qA;function sA(){sA=y;tA=new Vz(Hi,new uA)}function uA(){}x(279,276,{},uA);_.ee=function(){oA(this)};_.he=function(){return tA};var tA;function vA(){vA=y;wA=new Vz(Ii,new xA)}function xA(){}x(280,276,{},xA);\n_.ee=function(a){a=yA(a.a,!0,!1);(this.a.dataTransfer||null).setData(Dl,a)};_.he=function(){return wA};var wA;function zA(){zA=y;AA=new Vz(Ji,new BA)}function BA(){}x(281,276,{},BA);_.ee=function(a){var b,c,d,e;this.a.stopPropagation();this.a.preventDefault();d=(this.a.dataTransfer||null).files;e=0;a:for(;e<d.length;++e){if(0<a.a.d&&e>=a.a.d)break a;b=d[e];c=new FileReader;CA(c,a.a.b);1==a.a.c&&c.readAsText(b)}0==d.length&&(b=(this.a.dataTransfer||null).getData(Dl),a.a.b.Bg(b))};_.he=function(){return AA};\nvar AA;function DA(){DA=y;EA=new Vz(Xi,new FA)}function FA(){}x(283,264,{},FA);_.ee=function(a){var b,c;b=this.a.rotation;c=this.a.scale;a.a.e&&(0!=b&&a.a.b.b!=b&&(a.a.b.b=b,a.a.b.a=null,GA(a.a.e,a.a.b)&&this.a.preventDefault()),a.a.d=!0);a.a.f&&(1!=c&&a.a.b.c!=c&&(a.a.b.a=null,a.a.b.c=c,HA(a.a.f,a.a.b)&&this.a.preventDefault()),a.a.d=!0)};_.he=function(){return EA};var EA;function IA(){IA=y;JA=new Vz(Yi,new KA)}function KA(){}x(284,264,{},KA);_.ee=function(a){a.a.a&&(a.a.b.a=null,LA(a.a.a,a.a.b))};\n_.he=function(){return JA};var JA;function MA(){MA=y;NA=new Vz(Zi,new OA)}function OA(){}x(285,264,{},OA);_.ee=function(){this.a.preventDefault()};_.he=function(){return NA};var NA;x(287,264,{});x(286,287,{});function PA(){PA=y;QA=new Vz(sj,new RA)}function RA(){}x(288,286,{},RA);_.ee=function(a){a.te(this)};_.he=function(){return QA};var QA;function SA(){SA=y;TA=new Vz(Wj,new UA)}function UA(){}x(289,269,bn,UA);_.ee=function(a){a.Kd(this)};_.he=function(){return TA};var TA;\nfunction VA(){VA=y;WA=new Vz(Xj,new XA)}function XA(){}x(290,269,bn,XA);_.ee=function(a){a.Ld(this)};_.he=function(){return WA};var WA;function YA(){YA=y;ZA=new Vz(Yj,new $A)}function $A(){}x(291,269,bn,$A);_.ee=function(a){a.Md(this)};_.he=function(){return ZA};var ZA;function aB(){aB=y;bB=new Vz(Zj,new cB)}function cB(){}x(292,269,bn,cB);_.ee=function(a){var b;b=this.a;mx((jx(),kx),new dB(a,a.b,b))};_.he=function(){return bB};var bB;function eB(){eB=y;fB=new Vz($j,new gB)}function gB(){}\nx(293,269,bn,gB);_.ee=function(a){a.Nd(this)};_.he=function(){return fB};var fB;function hB(){hB=y;iB=new Vz(ak,new jB);new Vz(cf,new jB)}function jB(){}x(294,269,bn,jB);_.ee=function(a){var b,c,d,e,f;b=Math.round(-this.a.wheelDelta/40)||0;b=new kB(a.a.j,Zz(this),$z(this),b);f=0;for(c=lB(a.a.j.nd,C(mB,o,77,0,0)),d=0,e=c.length;d<e;++d)a=c[d],++f,a.eg(b);0<f&&this.a.preventDefault()};_.he=function(){return iB};var iB;function kA(){this.a={}}x(295,1,{},kA);_.a=null;x(298,270,bn);var nB=null;\nfunction oB(){oB=y;pB=new Vz(Ml,new qB)}function qB(){}x(297,298,bn,qB);_.ee=rB;_.he=function(){return pB};var pB;function sB(){sB=y;tB=new Vz(Nl,new uB)}function uB(){}x(299,298,bn,uB);_.ee=rB;_.he=function(){return tB};var tB;function vB(){var a;this.a=(a=document.createElement(Ci),a.setAttribute(rk,"return;"),typeof a.ontouchstart==Vi)}x(300,1,{},vB);function wB(){wB=y;xB=new Vz(Ol,new yB)}function yB(){}x(301,298,bn,yB);_.ee=function(a){var b=a.a;if(a=a.a.n)zB(b,this),a.aj(b.b);b.d=!0};_.he=function(){return xB};\nvar xB;function AB(){AB=y;BB=new Vz(Pl,new CB)}function CB(){}x(302,298,bn,CB);_.ee=function(a){zB(a.a,this)&&(a.a.j&&DB(a.a.j,a.a.b)?a.a.d=!0:(this.a.preventDefault(),tt(a.a.c,750),a.a.d=!1))};_.he=function(){return BB};var BB;function EB(a,b){this.a=b;this.b=a}function FB(a,b,c){zt&&(b=new EB(b,c),a.ye(b))}x(303,265,{},EB);_.ee=function(a){a.ue(this)};_.fe=function(){return zt};_.a=!1;var zt=_.b=null;function GB(){}function HB(a){var b;IB&&(b=new GB,a.ye(b))}x(305,265,{},GB);_.ee=function(a){a.we(this)};\n_.fe=function(){return IB};var IB=null;function JB(){}x(307,265,{},JB);_.ee=function(a){a.a.S&&a.a.hf()};_.fe=function(){return KB};var KB=null;function LB(a,b,c){a=a.a;if(!b)throw new MB("Cannot add a handler with a null type");if(!c)throw new MB("Cannot add a null handler");0<a.b?NB(a,new OB(a,b,c)):PB(a,b,null,c);return new QB(new RB(a,b,c))}\nfunction SB(a,b){var c;!b.e||b.ge();c=b.f;b.f=a.b;try{var d=a.a,e,f,g,h,j;if(!b)throw new MB("Cannot fire null event");try{++d.b;h=TB(d,b.fe(),null);e=null;for(j=d.c?h.Li(h.xg()):h.Ki();d.c?j.Ni():j.Be();){g=d.c?j.Oi():j.Ce();try{b.ee(g)}catch(l){if(l=No(l),E(l,111))f=l,!e&&(e=new UB),VB(e,f);else throw l;}}if(e)throw new WB(e);}finally{if(--d.b,0==d.b){var n,q;if(d.a)try{for(q=new gq(d.a);q.b<q.d.xg();)n=hq(q),n.Od()}finally{d.a=null}}}}catch(r){r=No(r);if(E(r,53))throw new XB(r.a);throw r;}finally{null==\nc?(b.e=!0,b.f=null):b.f=c}}function YB(a){ZB.call(this,a,!1)}function ZB(a,b){this.a=new $B(b);this.b=a}x(308,1,vn,YB,ZB);_.ye=function(a){SB(this,a)};_.a=null;_.b=null;x(311,1,{});function NB(a,b){!a.a&&(a.a=new Yp);bq(a.a,b)}function PB(a,b,c,d){var e;e=aC(a.d,b);e||(e=new hw,U(a.d,b,e));a=e.ug(c);a||(a=new Yp,e.vg(c,a));a.Ci(d)}function bC(a,b,c,d){var e,f;e=TB(a,b,c);e.Ei(d)&&e.mg()&&(f=aC(a.d,b),f.wg(c),f.mg()&&cC(a.d,b))}\nfunction TB(a,b,c){a=aC(a.d,b);if(!a)return dC(),dC(),eC;c=a.ug(c);return!c?(dC(),dC(),eC):c}x(310,311,{});_.a=null;_.b=0;_.c=!1;function $B(a){this.d=new hw;this.c=a}x(309,310,{},$B);function QB(a){this.a=a}x(312,1,{},QB);_.a=null;function WB(a){mw.call(this,fC(a),gC(a));this.a=a}function gC(a){a=a.af();return!a.Be()?null:a.Ce()}\nfunction fC(a){var b,c,d;b=a.xg();if(0==b)return null;b=new hC(1==b?"Exception caught: ":b+" exceptions caught: ");c=!0;for(d=a.af();d.Be();)a=d.Ce(),c?c=!1:b.a.a+="; ",Lr(b,a._d());return b.a.a}x(314,139,gn,WB);_.a=null;function XB(a){WB.call(this,a)}x(313,314,gn,XB);x(315,1,{},function(){});function iC(){iC=y;jC=new kC}function kC(){}x(320,1,{},kC);_.a=null;var jC;function lC(){lC=y;var a=(iC(),iC(),jC);!a.a&&(a.a=new mC)}\nfunction Gq(a,b){var c,d,e,f;if(isNaN(b))return"NaN";(d=0>b||0==b&&0>1/b)&&(b=-b);c=new nC;if(!isFinite(b))return Lr(c,d?a.r:a.u),c.a.a+="\\u221e",Lr(c,d?a.s:a.v),c.a.a;var b=b*a.q,g,h;h=c.a.a.length;Lr(c,b.toPrecision(20));e=0;g=c.a.a.indexOf(Ki,h);0>g&&(g=c.a.a.indexOf(gf,h));0<=g&&(f=g+1,f<c.a.a.length&&43==c.a.a.charCodeAt(f)&&++f,f<c.a.a.length&&(e=as(gs(c.a.a,f),10)),vx(c.a,g,c.a.a.length,m));f=c.a.a.indexOf(Sc,h);0<=f&&(vx(c.a,f,f+1,m),e-=c.a.a.length-f);f=e;e=c.a.a.length+f+a.j+3;0<e&&e<c.a.a.length&&\n57==c.a.a.charCodeAt(e)&&(oC(a,c,e-1),f+=c.a.a.length-e,vx(c.a,e,c.a.a.length,m));a.e=0;a.d=c.a.a.length;a.b=a.d+f;e=a.w;f=a.f;1024<a.b&&(e=!0);if(e){for(g=0;g<a.d-1&&48==c.a.a.charCodeAt(g);)++g;0<g&&(vx(c.a,0,g,m),a.d-=g,a.e-=g);a.k>a.p&&0<a.k?(a.e+=a.b-1,g=a.e%a.k,0>g&&(g+=a.k),a.b=g+1,a.e-=g):(a.e+=a.b-a.p,a.b=a.p);1==a.d&&48==c.a.a.charCodeAt(0)&&(a.e=0,a.b=a.p)}if(a.b>a.d)for(;a.d<a.b;)c.a.a+=cd,++a.d;if(!a.w)if(a.b<a.p){for(g=new nC;a.b<a.p;)g.a.a+=cd,++a.b,++a.d;vx(c.a,0,0,g.a.a)}else if(a.b>\na.p){h=a.b-a.p;for(g=0;g<h;++g)if(48!=c.a.a.charCodeAt(g)){h=g;break}0<h&&(vx(c.a,0,h,m),a.d-=h,a.b-=h)}a.d>a.b+a.j&&53<=c.a.a.charCodeAt(a.b+a.j)&&(g=a.b+a.j-1,oC(a,c,g));if(0<f)for(g=f;g<a.b;g+=f+1)h=a.b-g,vx(c.a,h,h,$b),++a.b,++a.d;f=a.b+a.o;if(a.d<f)for(;a.d<f;)c.a.a+=cd,++a.d;else{g=a.b+a.j;for(g>a.d&&(g=a.d);g>f&&48==c.a.a.charCodeAt(g-1);)--g;g<a.d&&(vx(c.a,g,a.d,m),a.d=g)}0==a.d&&(vx(c.a,0,0,cd),++a.b,++a.d);if(a.b<a.d||a.c)f=a.b,vx(c.a,f,f,Sc),++a.d;if(e){c.a.a+=gf;0>a.e&&(a.e=-a.e,c.a.a+=\nhc);e=m+a.e;for(f=e.length;f<a.n;++f)c.a.a+=cd;jw(c.a,e)}vx(c.a,0,0,d?a.r:a.u);Lr(c,d?a.s:a.v);return c.a.a}\nfunction pC(a,b,c,d,e){var f,g,h,j;vx(d.a,0,d.a.a.length,m);g=!1;h=b.length;for(j=c;j<h;++j)if(f=b.charCodeAt(j),39==f)j+1<h&&39==b.charCodeAt(j+1)?(++j,d.a.a+=Mb):g=!g;else if(g)jw(d.a,String.fromCharCode(f));else switch(f){case 35:case 48:case 44:case 46:case 59:return j-c;case 164:a.i=!0;j+1<h&&164==b.charCodeAt(j+1)?(++j,j<h-3&&164==b.charCodeAt(j+1)&&164==b.charCodeAt(j+2)?(j+=2,Lr(d,a.a[4]||a.a[1])):Lr(d,a.a[0])):Lr(d,a.a[1]);break;case 37:if(!e){if(1!=a.q)throw new vp(Zg+b+Aa);a.q=100}d.a.a+=\nBb;break;case 8240:if(!e){if(1!=a.q)throw new vp(Zg+b+Aa);a.q=1E3}d.a.a+="\\u2030";break;case 45:d.a.a+=hc;break;default:jw(d.a,String.fromCharCode(f))}return h-c}\nfunction qC(a,b,c,d){var e,f,g,h,j,l,n,q,r;f=-1;h=q=g=0;j=-1;l=b.length;r=c;for(n=!0;r<l&&n;++r)switch(e=b.charCodeAt(r),e){case 35:0<q?++h:++g;0<=j&&0>f&&++j;break;case 48:if(0<h)throw new vp("Unexpected \'0\' in pattern \\""+b+Aa);++q;0<=j&&0>f&&++j;break;case 44:j=0;break;case 46:if(0<=f)throw new vp(\'Multiple decimal separators in pattern "\'+b+Aa);f=g+q+h;break;case 69:if(!d){if(a.w)throw new vp(\'Multiple exponential symbols in pattern "\'+b+Aa);a.w=!0;a.n=0}for(;r+1<l&&48==b.charCodeAt(r+1);)++r,\nd||++a.n;if(!d&&1>g+q||1>a.n)throw new vp(\'Malformed exponential pattern "\'+b+Aa);n=!1;break;default:--r,n=!1}0==q&&0<g&&0<=f&&(q=f,0==f&&++q,h=g-q,g=q-1,q=1);if(0>f&&0<h||0<=f&&(f<g||f>g+q)||0==j)throw new vp(\'Malformed pattern "\'+b+Aa);if(d)return r-c;b=g+q+h;a.j=0<=f?b-f:0;0<=f&&(a.o=g+q-f,0>a.o&&(a.o=0));a.p=(0<=f?f:b)-g;a.w&&(a.k=g+a.p,0==a.j&&0==a.p&&(a.p=1));a.f=0<j?j:0;a.c=0==f||f==b;return r-c}\nfunction oC(a,b,c){var d,e;for(d=!0;d&&0<=c;)if(e=b.a.a.charCodeAt(c),57==e){e=c--;var f=String.fromCharCode(48);vx(b.a,e,e+1,f)}else d=String.fromCharCode(e+1&65535),vx(b.a,c,c+1,d),d=!1;d&&(vx(b.a,0,0,jd),++a.b,++a.d)}\nfunction rC(a){lC();if(!a)throw new vp("Unknown currency code");this.t="0.00";this.a=a;var a=this.t,b,c;c=0;b=new iw;c+=pC(this,a,0,b,!1);this.u=b.a.a;c+=qC(this,a,c,!1);c+=pC(this,a,c,b,!1);this.v=b.a.a;c<a.length&&59==a.charCodeAt(c)?(++c,c+=pC(this,a,c,b,!0),this.r=b.a.a,c+=qC(this,a,c,!0),pC(this,a,c,b,!0),this.s=b.a.a):(this.r=hc+this.u,this.s=this.v)}x(321,1,{},rC);_.a=null;_.b=0;_.c=!1;_.d=0;_.e=0;_.f=3;_.i=!1;_.j=3;_.k=40;_.n=0;_.o=0;_.p=1;_.q=1;_.r=hc;_.s=m;_.t=null;_.u=m;_.v=m;_.w=!1;\nfunction mC(){}x(322,1,{},mC);function sC(){}function tC(a,b){var c;c=a.slice(0,b);z(a.cZ,a.cM,a.qI,c);return c}function uC(a,b){var c=Array(b);if(3==a)for(var d=0;d<b;++d){var e={};e.l=e.m=e.h=0;c[d]=e}else if(0<a){e=[null,0,!1][a];for(d=0;d<b;++d)c[d]=e}return c}function C(a,b,c,d,e){d=uC(e,d);z(a,b,c,d);return d}function zo(a,b,c,d,e,f,g){var h,j,l;j=d[e];h=e==f-1;l=uC(h?g:0,j);z(a[e],b[e],c[e],l);if(!h){++e;for(h=0;h<j;++h)l[h]=zo(a,b,c,d,e,f,g)}return l}\nfunction z(a,b,c,d){vC();var e=wC,f=xC;vC();for(var g=0,h=e.length;g<h;++g)d[e[g]]=f[g];d.cZ=a;d.cM=b;d.qI=c;return d}function oq(a,b,c){if(null!=c){if(0<a.qI&&(!c.cM||!c.cM[a.qI]))throw new yC;if(-1==a.qI&&(c.tM==y||c.cM&&c.cM[1]))throw new yC;if(-1>a.qI&&(c.tM==y||c.cM&&c.cM[1])&&(!c.cM||!c.cM[-a.qI]))throw new yC;}return a[b]=c}x(324,1,{},sC);_.qI=0;function vC(){vC=y;wC=[];xC=[];var a=new sC,b=wC,c=xC,d=0,e,f;for(f in a)if(e=a[f])b[d]=f,c[d]=e,++d}var wC,xC;\nfunction E(a,b){return null!=a&&a.cM&&!!a.cM[b]}function pw(a){return null!=a&&a.tM!=y&&!(a.cM&&a.cM[1])}function sw(a){return a.tM==y||a.cM&&!!a.cM[1]}function zC(a){return null==a?null:a}function I(a){return~~Math.max(Math.min(a,2147483647),-2147483648)}var AC=-1;\nfunction BC(){var a;$stats&&CC("com.google.gwt.useragent.client.UserAgentAsserter");a=navigator.userAgent.toLowerCase();if(-1!=a.indexOf(tk))a=tk;else if(-1!=a.indexOf("webkit"))a=cl;else if(-1!=a.indexOf(ck)&&9<=$doc.documentMode)a="ie9";else if(-1!=a.indexOf(ck)&&8<=$doc.documentMode)a="ie8";else{var b;var c=/msie ([0-9]+)\\.([0-9]+)/.exec(a);c&&3==c.length&&(b=6E3<=1E3*parseInt(c[1])+parseInt(c[2]));a=b?"ie6":-1!=a.indexOf("gecko")?"gecko1_8":"unknown"}ds(cl,a)||$wnd.alert("ERROR: Possible problem with your *.gwt.xml module file.\\nThe compile time user.agent value (safari) does not match the runtime user.agent value ("+\na+"). Expect more errors.\\n");$stats&&CC("com.google.gwt.user.client.DocumentModeAsserter");b=$doc.compatMode;a=z(Jq,o,1,[Ne]);for(c=0;c<a.length&&!ds(a[c],b);++c);$stats&&CC("com.allen_sauer.gwt.dnd.client.util.DragEntryPoint");$wnd.$GWT_DND_VERSION="3.0.0";Jz();Mz.unshift("HTML{margin:0 !important;border:none !important;}.dragdrop-handle{cursor:move;user-select:none;-khtml-user-select:none;-moz-user-select:none;}.B{zoom:1;}.dragdrop-dragging{zoom:normal;}.I{border:1px dashed #1e90ff;margin:0 !important;zoom:1;z-index:100;}.dragdrop-flow-panel-positioner{color:#1e90ff;display:inline;text-align:center;vertical-align:middle;}.dragdrop-proxy{background-color:#7af;}.dragdrop-selected,.dragdrop-dragging,.dragdrop-proxy{filter:alpha(opacity \\\\= 30);opacity:0.3;}.dragdrop-movable-panel{z-index:200;margin:0 !important;border:none !important;}");\nJz();0!=Mz.length&&(a=Mz.join(m),b=(Nz(),Oz),a=Qz(a),Rz(b).insertBefore(a,b.a.firstChild),Mz.length=0);0!=Kz.length&&(a=Kz.join(m),b=(Nz(),Oz),a=Qz(a),Rz(b).appendChild(a),Kz.length=0);0!=Lz.length&&(a=Lz.join(m),b=(Nz(),Oz),a=Qz(a),Rz(b).appendChild(a),Lz.length=0);$stats&&CC("export.client.JSME_export");new DC;new EC;0<FC(null)?mx((jx(),kx),new GC):HC()}function No(a){return E(a,111)?a:new ow(a)}function IC(a){return kq(a&4194303,~~a>>22&4194303,0>a?1048575:0)}\nfunction JC(a){return kq(a.l,a.m,a.h)}function kq(a,b,c){return _=new KC,_.l=a,_.m=b,_.h=c,_}\nfunction LC(a,b){var c,d,e,f,g;if(0==b.l&&0==b.m&&0==b.h)throw new MC;if(0==a.l&&0==a.m&&0==a.h)return NC=kq(0,0,0),kq(0,0,0);if(524288==b.h&&0==b.m&&0==b.l)return c=a,524288==c.h&&0==c.m&&0==c.l?(NC=kq(0,0,0),c=JC((OC(),PC))):(NC=kq(c.l,c.m,c.h),c=kq(0,0,0)),c;g=!1;0!=~~b.h>>19&&(b=QC(b),g=!0);e=b.l;0!=(e&e-1)?f=-1:(d=b.m,0!=(d&d-1)?f=-1:(c=b.h,f=0!=(c&c-1)||0==c&&0==d&&0==e?-1:0==c&&0==d&&0!=e?RC(e):0==c&&0!=d&&0==e?RC(d)+22:0!=c&&0==d&&0==e?RC(c)+44:-1));c=d=e=!1;if(524288==a.h&&0==a.m&&0==a.l)if(e=\nd=!0,-1==f)a=JC((OC(),SC)),c=!0,g=!g;else return c=iq(a,f),g&&TC(c),NC=kq(0,0,0),c;else 0!=~~a.h>>19&&(e=!0,a=QC(a),c=!0,g=!g);if(-1!=f){c=a;d=f;f=g;g=e;e=iq(c,d);f&&TC(e);var h;22>=d?(f=c.l&(1<<d)-1,h=c=0):44>=d?(f=c.l,h=c.m&(1<<d-22)-1,c=0):(f=c.l,h=c.m,c=c.h&(1<<d-44)-1);c=kq(f,h,c);g?NC=QC(c):NC=kq(c.l,c.m,c.h);return e}if(!lq(a,b))return e?NC=QC(a):NC=kq(a.l,a.m,a.h),kq(0,0,0);c=c?a:kq(a.l,a.m,a.h);var j,l,n,q;l=UC(b)-UC(c);f=Lp(b,l);for(h=kq(0,0,0);0<=l;){j=c;var r=q=n=void 0,r=j.h-f.h;0>r?\nj=!1:(n=j.l-f.l,q=j.m-f.m+(~~n>>22),r+=~~q>>22,0>r?j=!1:(j.l=n&4194303,j.m=q&4194303,j.h=r&1048575,j=!0));if(j&&(22>l?h.l|=1<<l:44>l?h.m|=1<<l-22:h.h|=1<<l-44,0==c.l&&0==c.m&&0==c.h))break;j=f.m;n=f.h;q=f.l;f.h=~~n>>>1;f.m=~~j>>>1|(n&1)<<21;f.l=~~q>>>1|(j&1)<<21;--l}g&&TC(h);e?(NC=QC(c),d&&(NC=VC(NC,(OC(),PC)))):NC=kq(c.l,c.m,c.h);return h}function TC(a){var b,c,d;b=~a.l+1&4194303;c=~a.m+(0==b?1:0)&4194303;d=~a.h+(0==b&&0==c?1:0)&1048575;a.l=b;a.m=c;a.h=d}\nfunction UC(a){var b;b=WC(a.h);return 32==b?(b=WC(a.m),32==b?WC(a.l)+32:b+20-10):b-12}var NC=null;function jq(a,b){return kq(a.l&b.l,a.m&b.m,a.h&b.h)}function Np(a,b){var c,d;c=~~a.h>>19;d=~~b.h>>19;if(c!=d)return d-c;c=a.h;d=b.h;if(c!=d)return c-d;c=a.m;d=b.m;return c!=d?c-d:a.l-b.l}function mq(a,b){return a.l==b.l&&a.m==b.m&&a.h==b.h}\nfunction L(a){var b,c,d;if(isNaN(a))return OC(),XC;if(-9223372036854775E3>a)return OC(),YC;if(9223372036854775E3<=a)return OC(),SC;d=!1;0>a&&(d=!0,a=-a);c=0;17592186044416<=a&&(c=I(a/17592186044416),a-=17592186044416*c);b=0;4194304<=a&&(b=I(a/4194304),a-=4194304*b);a=I(a);b=kq(a,b,c);d&&TC(b);return b}function Vo(a){var b,c;return-129<a&&128>a?(b=a+128,null==ZC&&(ZC=C($C,o,31,256,0)),c=ZC[b],!c&&(c=ZC[b]=IC(a)),c):IC(a)}\nfunction aD(a){var b=jm,c,d;c=~~a.h>>19;d=~~b.h>>19;return 0==c?0!=d||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>b.l:!(0==d||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<=b.l)}function lq(a,b){var c,d;c=~~a.h>>19;d=~~b.h>>19;return 0==c?0!=d||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>=b.l:!(0==d||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<b.l)}\nfunction bD(a,b){var c,d,e,f,g,h,j,l,n,q,r,t,A,u;c=a.l&8191;d=~~a.l>>13|(a.m&15)<<9;e=~~a.m>>4&8191;f=~~a.m>>17|(a.h&255)<<5;g=~~(a.h&1048320)>>8;h=b.l&8191;j=~~b.l>>13|(b.m&15)<<9;l=~~b.m>>4&8191;n=~~b.m>>17|(b.h&255)<<5;q=~~(b.h&1048320)>>8;r=c*h;A=d*h;t=e*h;u=f*h;g*=h;0!=j&&(A+=c*j,t+=d*j,u+=e*j,g+=f*j);0!=l&&(t+=c*l,u+=d*l,g+=e*l);0!=n&&(u+=c*n,g+=d*n);0!=q&&(g+=c*q);c=(r&4194303)+((A&511)<<13);r=(~~r>>22)+(~~A>>9)+((t&262143)<<4)+((u&31)<<17)+(~~c>>22);t=(~~t>>18)+(~~u>>5)+((g&4095)<<8)+(~~r>>\n22);return kq(c&4194303,r&4194303,t&1048575)}function QC(a){var b,c;b=~a.l+1&4194303;c=~a.m+(0==b?1:0)&4194303;return kq(b,c,~a.h+(0==b&&0==c?1:0)&1048575)}function Mp(a,b){return kq(a.l|b.l,a.m|b.m,a.h|b.h)}function Lp(a,b){var c,d,e,b=b&63;22>b?(c=a.l<<b,d=a.m<<b|~~a.l>>22-b,e=a.h<<b|~~a.m>>22-b):44>b?(c=0,d=a.l<<b-22,e=a.m<<b-22|~~a.l>>44-b):(d=c=0,e=a.l<<b-44);return kq(c&4194303,d&4194303,e&1048575)}\nfunction iq(a,b){var c,d,e,b=b&63;c=a.h;(d=0!=(c&524288))&&(c|=-1048576);22>b?(e=~~c>>b,d=~~a.m>>b|c<<22-b,c=~~a.l>>b|a.m<<22-b):44>b?(e=d?1048575:0,d=~~c>>b-22,c=~~a.m>>b-22|c<<44-b):(e=d?1048575:0,d=d?4194303:0,c=~~c>>b-44);return kq(c&4194303,d&4194303,e&1048575)}function VC(a,b){var c,d;c=a.l-b.l;d=a.m-b.m+(~~c>>22);return kq(c&4194303,d&4194303,a.h-b.h+(~~d>>22)&1048575)}function J(a){return a.l|a.m<<22}\nfunction cD(a){var b,c,d;if(0==a.l&&0==a.m&&0==a.h)return cd;if(524288==a.h&&0==a.m&&0==a.l)return"-9223372036854775808";if(0!=~~a.h>>19)return hc+cD(QC(a));for(c=m;!(0==a.l&&0==a.m&&0==a.h);){b=Vo(1E9);a=LC(a,b);b=m+J(NC);if(!(0==a.l&&0==a.m&&0==a.h))for(d=9-b.length;0<d;--d)b=cd+b;c=b+c}return c}var ZC=null;function OC(){OC=y;SC=kq(4194303,4194303,524287);YC=kq(0,0,524288);PC=Vo(1);Vo(2);XC=Vo(0)}var SC,YC,PC,XC;function KC(){}x(334,1,{31:1},KC);\nfunction CC(a){$stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:"startup",evtGroup:"moduleStartup",millis:(new Date).getTime(),type:"onModuleLoadStart",className:a})}function dD(a){this.a=a}x(340,1,{},dD);_.a=null;function eD(a,b,c){this.c=this.b=0;this.a=c;this.e=b;this.d=a}x(341,1,{},eD);_.a=0;_.b=0;_.c=0;_.d=null;_.e=0;function fD(a,b){Lr(a.a,b.a);return a}function gD(){this.a=new nC}x(342,1,{},gD);function hD(a){if(null==a)throw new MB("css is null");this.a=a}\nx(343,1,{32:1,94:1},hD);_.eQ=function(a){return!E(a,32)?!1:ds(this.a,a.a)};_.hC=iD;_.a=null;function jD(a){if(null==a)throw new MB("html is null");this.a=a}x(345,1,ln,jD);_.ze=kD;_.eQ=lD;_.hC=iD;_.a=null;x(346,1,ln,function(){this.a=m});_.ze=kD;_.eQ=lD;_.hC=iD;_.a=null;function mD(){mD=y;nD=RegExp(Cb,Wi);oD=RegExp(Wd,Wi);pD=RegExp(Id,Wi);qD=RegExp(Mb,Wi);rD=RegExp(Aa,Wi)}\nfunction sD(a){mD();-1!=a.indexOf(Cb)&&(a=a.replace(nD,Db));-1!=a.indexOf(Id)&&(a=a.replace(pD,Kb));-1!=a.indexOf(Wd)&&(a=a.replace(oD,Eb));-1!=a.indexOf(Aa)&&(a=a.replace(rD,"&quot;"));-1!=a.indexOf(Mb)&&(a=a.replace(qD,"&#39;"));return a}var nD,oD,pD,rD,qD;function tD(a){if(null==a)throw new MB("uri is null");this.a=a}x(348,1,{34:1},tD);_.eQ=function(a){return!E(a,34)?!1:ds(this.a,a.a)};_.hC=iD;_.a=null;function uD(){uD=y}x(350,1,{});function vD(){}x(351,1,{},vD);var wD=null;function xD(){}\nx(352,350,{},xD);var yD=null;x(353,1,rn);_.a=null;function zD(a,b){var c=(AD(),BD(b));a.appendChild(c)}function CD(a,b,c){var d;d=DD;DD=a;b==ED&&8192==FD(a.type)&&(ED=null);c.Ee(a);DD=d}var DD=null,ED=null;function GD(a){HD();!ID&&(ID=new At);JD||(JD=new ZB(null,!0),KD=new LD);return LB(JD,ID,a)}var JD=null;function MD(a){a.e=!1;a.f=null;a.a=!1;a.b=!1;a.c=!0;a.d=null}function LD(){}x(366,265,{},LD);_.ee=function(a){a.Ae(this);KD.c=!1};_.fe=function(){return ID};_.ge=function(){MD(this)};_.a=!1;\n_.b=!1;_.c=!1;var ID=_.d=null,KD=null;function ND(){ND=y;OD=new PD;QD()||(OD=null)}var OD=null;function wt(){}x(368,1,{},wt);_.ue=function(){for(;0<(ut(),vt).c;)Bt(io(vt,0))};function yt(a,b){return LB((!RD&&(RD=new SD),RD),a,b)}function TD(a){xt();UD||(VD(),UD=!0);return yt((!IB&&(IB=new At),IB),a)}function xt(){WD||(XD(),WD=!0)}function YD(){var a;WD&&(a=new ZD,RD&&SB(RD,a));return null}var WD=!1,RD=null,$D=0,aE=0,UD=!1;function bE(){bE=y;cE=new At}function ZD(){bE()}x(370,265,{},ZD);_.ee=function(){null.vj()};\n_.fe=function(){return cE};var cE;function SD(){YB.call(this,null)}x(372,308,vn,SD);\nfunction FD(a){switch(a){case Vh:return 4096;case hi:return 1024;case mi:return 1;case wi:return 2;case Pi:return 2048;case sj:return 128;case tj:return 256;case uj:return 512;case Bj:return 32768;case "losecapture":return 8192;case Wj:return 4;case Xj:return 64;case Yj:return 32;case Zj:return 16;case $j:return 8;case "scroll":return 16384;case Mi:return 65536;case cf:case ak:return 131072;case ui:return 262144;case Ek:return 524288;case Pl:return 1048576;case Ol:return 2097152;case Nl:return 4194304;\ncase Ml:return 8388608;case Zi:return 16777216;case Xi:return 33554432;case Yi:return 67108864;default:return-1}}function HD(){dE||(eE(),dE=!0)}var dE=!1;function fE(a,b){for(var c=0,d=a.firstChild;d;){if(1==d.nodeType){if(b==c)return d;++c}d=d.nextSibling}return null}function gE(a){for(var b=0,a=a.firstChild;a;)1==a.nodeType&&++b,a=a.nextSibling;return b}\nfunction eE(){hE=T(function(a){var b;var c=JD,d,e,f;ID&&c&&iE(c.a.d,ID)?(b=KD.a,d=KD.b,e=KD.c,f=KD.d,MD(KD),KD.d=a,SB(c,KD),c=!(KD.a&&!KD.b),KD.a=b,KD.b=d,KD.c=e,KD.d=f,b=c):b=!0;!b&&a&&(a.cancelBubble=!0,a.preventDefault());return!b?(a.stopPropagation(),a.preventDefault(),!1):!0});jE=T(function(a){for(var b,c=this;c&&!(b=c.__listener);)c=c.parentNode;c&&1!=c.nodeType&&(c=null);b&&!pw(b)&&E(b,37)&&CD(a,c,b)});kE=T(function(a){a.preventDefault();jE.call(this,a)});lE=T(function(a){this.__gwtLastUnhandledEvent=\na.type;jE.call(this,a)});mE=T(function(a){if(hE(a)){var b=nE;b&&b.__listener&&!pw(b.__listener)&&E(b.__listener,37)&&(CD(a,b,b.__listener),a.stopPropagation())}});$wnd.addEventListener(mi,mE,!0);$wnd.addEventListener(wi,mE,!0);$wnd.addEventListener(Wj,mE,!0);$wnd.addEventListener($j,mE,!0);$wnd.addEventListener(Xj,mE,!0);$wnd.addEventListener(Zj,mE,!0);$wnd.addEventListener(Yj,mE,!0);$wnd.addEventListener(ak,mE,!0);$wnd.addEventListener(sj,hE,!0);$wnd.addEventListener(uj,hE,!0);$wnd.addEventListener(tj,\nhE,!0);$wnd.addEventListener(Pl,mE,!0);$wnd.addEventListener(Ol,mE,!0);$wnd.addEventListener(Nl,mE,!0);$wnd.addEventListener(Ml,mE,!0);$wnd.addEventListener(Zi,mE,!0);$wnd.addEventListener(Xi,mE,!0);$wnd.addEventListener(Yi,mE,!0)}function oE(a,b,c){for(var d=0,e=a.firstChild,f=null;e;){if(1==e.nodeType){if(d==c){f=e;break}++d}e=e.nextSibling}a.insertBefore(b,f)}\nfunction pE(a,b){HD();switch(b){case "drag":a.ondrag=jE;break;case Fi:a.ondragend=jE;break;case Gi:a.ondragenter=kE;break;case "dragleave":a.ondragleave=jE;break;case Hi:a.ondragover=kE;break;case Ii:a.ondragstart=jE;break;case Ji:a.ondrop=jE;break;case "canplaythrough":case "ended":case "progress":a.removeEventListener(b,jE,!1);a.addEventListener(b,jE,!1);break;default:throw"Trying to sink unknown event type "+b;}}\nfunction qE(a,b){var c=(a.__eventBits||0)^b;a.__eventBits=b;c&&(c&1&&(a.onclick=b&1?jE:null),c&2&&(a.ondblclick=b&2?jE:null),c&4&&(a.onmousedown=b&4?jE:null),c&8&&(a.onmouseup=b&8?jE:null),c&16&&(a.onmouseover=b&16?jE:null),c&32&&(a.onmouseout=b&32?jE:null),c&64&&(a.onmousemove=b&64?jE:null),c&128&&(a.onkeydown=b&128?jE:null),c&256&&(a.onkeypress=b&256?jE:null),c&512&&(a.onkeyup=b&512?jE:null),c&1024&&(a.onchange=b&1024?jE:null),c&2048&&(a.onfocus=b&2048?jE:null),c&4096&&(a.onblur=b&4096?jE:null),\nc&8192&&(a.onlosecapture=b&8192?jE:null),c&16384&&(a.onscroll=b&16384?jE:null),c&32768&&(a.onload=b&32768?lE:null),c&65536&&(a.onerror=b&65536?jE:null),c&131072&&(a.onmousewheel=b&131072?jE:null),c&262144&&(a.oncontextmenu=b&262144?jE:null),c&524288&&(a.onpaste=b&524288?jE:null),c&1048576&&(a.ontouchstart=b&1048576?jE:null),c&2097152&&(a.ontouchmove=b&2097152?jE:null),c&4194304&&(a.ontouchend=b&4194304?jE:null),c&8388608&&(a.ontouchcancel=b&8388608?jE:null),c&16777216&&(a.ongesturestart=b&16777216?\njE:null),c&33554432&&(a.ongesturechange=b&33554432?jE:null),c&67108864&&(a.ongestureend=b&67108864?jE:null))}var nE=null,hE=null,mE=null,kE=null,jE=null,lE=null;x(378,1,vn);_.Ge=function(a){return decodeURI(a.replace("%23",Za))};_.ye=function(a){SB(this.a,a)};_.He=function(a){a=null==a?m:a;if(!ds(a,null==rE?m:rE))rE=a,KB&&(a=new JB,SB(this.a,a))};var rE=m;\nfunction QD(){function a(){$wnd.setTimeout(a,250);e()}var b=OD,c=m,d=$wnd.location.hash;0<d.length&&(c=b.Ge(d.substring(1)));rE=c;var e=T(function(){var a=m,c=$wnd.location.hash;0<c.length&&(a=b.Ge(c.substring(1)));b.He(a)});a();return!0}x(380,378,vn);function PD(){this.a=new YB(null)}x(379,380,vn,PD);\nfunction XD(){var a=$wnd.onbeforeunload,b=$wnd.onunload;$wnd.onbeforeunload=function(b){var d;try{d=T(YD)()}finally{b=a&&a(b)}if(null!=d)return d;if(null!=b)return b};$wnd.onunload=T(function(a){try{WD&&FB((!RD&&(RD=new SD),RD),null,!1)}finally{b&&b(a),$wnd.onresize=null,$wnd.onscroll=null,$wnd.onbeforeunload=null,$wnd.onunload=null}})}\nfunction VD(){var a=$wnd.onresize;$wnd.onresize=T(function(b){try{var c,d;if(UD&&(d=Lx(),c=Kx(),aE!=d||$D!=c))aE=d,$D=c,HB((!RD&&(RD=new SD),RD))}finally{a&&a(b)}})}function sE(a,b){tE(a.Me(),b,!0)}function uE(a,b){a.lb.style[jj]=b}function vE(a,b,c){0<=b&&a.Re(b+Jk);0<=c&&a.Pe(c+Jk)}function wE(a,b,c){a.Re(b);a.Pe(c)}function xE(a,b){null==b||0==b.length?a.lb.removeAttribute(Il):a.lb.setAttribute(Il,b)}function yE(a,b){a.lb.style[cm]=b}\nfunction zE(a){var b,a=yx(a,ki);b=Ir(a,Jr(32));return 0<=b?a.substr(0,b-0):a}function tE(a,b,c){if(!a)throw new lw(kg);b=cs(b);if(0==b.length)throw new vp(Yg);if(c){var d;d=cs(b);b=a.className;-1==Ax(b,d)&&(0<b.length?a.className=b+ca+d:a.className=d)}else{var e,f,c=cs(b);f=a.className;e=Ax(f,c);-1!=e&&(b=cs(f.substr(0,e-0)),c=cs(gs(f,e+c.length)),0==b.length?d=c:0==c.length?d=b:d=b+ca+c,a.className=d)}}function AE(a,b){a.style.display=b?m:ik;a.setAttribute("aria-hidden",""+!b)}x(386,1,Ym);_.Ke=BE;\n_.Le=CE;_.Me=DE;_.Pe=function(a){uE(this,a)};_.Re=function(a){yE(this,a)};_.tS=function(){return!this.lb?"(null handle)":this.lb.outerHTML};_.lb=null;function EE(a,b,c){pE(a.lb,c.b);return LB(!a.ib?a.ib=new YB(a):a.ib,c,b)}function FE(a,b,c){var d;d=FD(c.b);if(-1==d)pE(a.lb,c.b);else if(-1==a.hb){var e=a.lb;d|=a.lb.__eventBits||0;HD();qE(e,d)}else a.hb|=d;return LB(!a.ib?a.ib=new YB(a):a.ib,c,b)}function GE(a,b,c){return LB(!a.ib?a.ib=new YB(a):a.ib,c,b)}\nfunction HE(a){var b;if(a.Ue())throw new IE("Should only call onAttach when the widget is detached from the browser\'s document");a.gb=!0;a.lb.__listener=a;b=a.hb;a.hb=-1;if(0<b)if(-1==a.hb){var c=a.lb;b|=a.lb.__eventBits||0;HD();qE(c,b)}else a.hb|=b;a.Se();a.Xe()}function JE(a,b){var c;switch(FD(b.type)){case 16:case 32:if((c=b.relatedTarget)&&a.lb.contains(c))return}c=a.lb;var d,e,f;if(Sz&&(f=Sz.a[b.type]))d=f.a.a,e=f.a.b,f.a.a=b,f.a.b=c,a.ib&&SB(a.ib,f.a),f.a.a=d,f.a.b=e}\nfunction KE(a){if(!a.Ue())throw new IE("Should only call onDetach when the widget is attached to the browser\'s document");try{a.Ye()}finally{try{a.Te()}finally{a.lb.__listener=null,a.gb=!1}}}function LE(a){if(a.kb)if(E(a.kb,43))a.kb.Ze(a);else{if(a.kb)throw new IE("This widget\'s parent does not implement HasWidgets");}else if(ME(),iE(NE.a,a)){ME();try{a.We()}finally{cC(NE.a,a)}}}\nfunction OE(a,b){var c;c=a.kb;if(b){if(c)throw new IE("Cannot set a new parent without first clearing the old parent");a.kb=b;b.Ue()&&a.Ve()}else try{c&&c.Ue()&&a.We()}finally{a.kb=null}}x(385,386,Nm);_.Se=PE;_.Te=PE;_.ye=function(a){this.ib&&SB(this.ib,a)};_.Ue=function(){return this.gb};_.Ve=function(){HE(this)};_.Ee=function(a){JE(this,a)};_.We=QE;_.Xe=PE;_.Ye=PE;_.gb=!1;_.hb=0;_.ib=null;_.jb=null;_.kb=null;x(384,385,Im);_.Se=function(){RE(this,(SE(),TE))};_.Te=function(){RE(this,(SE(),UE))};\nfunction VE(a,b,c){LE(b);var d=a.p;WE(d,b,d.c);d=(AD(),BD(b.lb));c.appendChild(d);OE(b,a)}function XE(a,b,c,d,e){var f;if(0>d||d>a.p.c)throw new YE;b.kb==a&&(f=a.$e(b),f<d&&--d);LE(b);WE(a.p,b,d);e?(e=b.lb,oE(c,(AD(),BD(e)),d)):(e=(AD(),BD(b.lb)),c.appendChild(e));OE(b,a)}\nfunction ZE(a,b){var c;if(b.kb!=a)return!1;try{OE(b,null)}finally{c=b.lb;Dx(c).removeChild(c);c=a.p;var d;d=$E(c,b);if(-1==d)throw new aF;if(0>d||d>=c.c)throw new YE;for(--c.c;d<c.c;++d)oq(c.a,d,c.a[d+1]);oq(c.a,c.c,null)}return!0}x(383,384,Im);_.$e=function(a){return $E(this.p,a)};_._e=function(a,b,c,d){XE(this,a,b,c,d)};_.af=function(){return new bF(this.p)};_.Ze=function(a){return ZE(this,a)};function cF(a,b,c,d){var e;LE(b);e=a.p.c;a.df(b,c,d);a._e(b,a.lb,e,!0)}\nfunction dF(a,b){var c;(c=ZE(a,b))&&eF(b.lb);return c}function fF(a,b,c,d){if(b.kb!=a)throw new vp("Widget must be a child of this panel.");a.df(b,c,d)}function gF(a,b,c){a=a.lb;-1==b&&-1==c?eF(a):(a.style[Gk]=Ah,a.style[vj]=b+Jk,a.style[Ll]=c+Jk)}function hF(){var a=$doc.createElement(Ci);this.p=new iF(this);this.lb=a;this.lb.style[Gk]="relative";this.lb.style[xk]=kj}function eF(a){a.style[vj]=m;a.style[Ll]=m;a.style[Gk]=m}x(382,383,Im,hF);_.Ze=function(a){return dF(this,a)};\n_.df=function(a,b,c){gF(a,b,c)};function jF(a,b){if(a.ff())throw new IE("SimplePanel can only contain one child widget");a.gf(b)}function kF(a,b){if(a.fb!=b)return!1;try{OE(b,null)}finally{a.ef().removeChild(b.lb),a.fb=null}return!0}function lF(a,b){if(b!=a.fb&&(b&&LE(b),a.fb&&a.Ze(a.fb),a.fb=b)){var c=a.ef(),d=(AD(),BD(a.fb.lb));c.appendChild(d);OE(b,a)}}function mF(){this.lb=$doc.createElement(Ci)}x(390,384,Im,mF);_.ef=DE;_.ff=function(){return this.fb};_.af=function(){return new nF(this)};\n_.Ze=function(a){return kF(this,a)};_.gf=function(a){lF(this,a)};_.fb=null;function oF(a,b){a.db&&(pF(a.cb,!1,!1),FB(a,a,b))}function qF(a){var b;if(b=a.fb)null!=a.T&&b.Pe(a.T),null!=a.U&&b.Re(a.U)}function rF(a,b,c){a.$=b;a.eb=c;c-=0;a=a.lb;a.style[vj]=b-0+(Wy(),Jk);a.style[Ll]=c+Jk}function sF(a){a.db||(a.gb&&LE(a),pF(a.cb,!0,!1))}x(389,390,Im);_.ef=function(){return Cx(this.lb)};_.Ke=BE;_.Le=CE;_.Me=function(){return Dx(Cx(this.lb))};_.hf=function(){this.jf(!1)};_.jf=function(a){oF(this,a)};\n_.Ae=function(){};_.Ye=function(){this.db&&pF(this.cb,!1,!0)};_.Pe=function(a){this.T=a;qF(this);0==a.length&&(this.T=null)};_.kf=function(a,b){rF(this,a,b)};_.gf=function(a){lF(this,a);qF(this)};_.Re=function(a){this.U=a;qF(this);0==a.length&&(this.U=null)};_.R=!1;_.S=!1;_.T=null;_.U=null;_.V=null;_.X=null;_.Y=!1;_.Z=!1;_.$=-1;_._=!1;_.ab=null;_.bb=!1;_.db=!1;_.eb=-1;\nfunction tF(a,b){var c;mF.call(this);this.W=new uF;this.Q=(vF(),wF);this.cb=new xF(this);this.lb.appendChild($doc.createElement(Ci));this.kf(0,0);Dx(Cx(this.lb))[ki]="gwt-PopupPanel";Cx(this.lb)[ki]=Fk;this.S=this.R=a;this._=!1;c=z(Jq,o,1,[b+"Top",b+"Middle",b+"Bottom"]);this.P=new yF(c);c=m;this.P.Me()[ki]=c;c=Dx(Cx(this.lb));var d;if(!c)throw new lw(kg);d=cs("gwt-DecoratedPopupPanel");if(0==d.length)throw new vp(Yg);var e=c.className.split(/\\s+/);if(e){var f=e[0],g=f.length;e[0]=d;for(var h=1,j=\ne.length;h<j;h++){var l=e[h];l.length>g&&l.charAt(g)==hc&&0==l.indexOf(f)&&(e[h]=d+l.substring(g))}c.className=e.join(ca)}lF(this,this.P);qF(this);tE(Cx(this.lb),Fk,!1);tE(this.P.b,b+"Content",!0)}x(388,389,Im);_.Se=function(){HE(this.P)};_.Te=function(){KE(this.P)};_.ff=function(){return this.P.fb};_.af=function(){return new nF(this.P)};_.Ze=function(a){return this.P.Ze(a)};_.gf=function(a){lF(this.P,a);qF(this)};_.P=null;x(387,388,Im);_.We=QE;\nfunction zF(){zF=y;AF=new BF(Ge,0,(vF(),wF));CF=new BF(mg,1,DF);EF=new BF(Gg,2,FF);GF=z(HF,o,38,[AF,CF,EF])}function BF(a,b,c){Mx.call(this,a,b);this.a=c}x(391,198,{38:1,94:1,99:1,101:1},BF);_.a=null;var GF,AF,CF,EF;function IF(){IF=y;JF=z(Jq,o,1,[Ll,Uj,bi])}\nfunction yF(a){var b;IF();var c,d;c=this.lb=$doc.createElement(yl);this.c=$doc.createElement(Bl);zD(c,this.c);c[fi]=0;for(c=c[ei]=0;c<a.length;++c)d=(b=$doc.createElement(Ql),b[ki]=a[c],iC(),zD(b,KF(a[c]+"Left")),zD(b,KF(a[c]+Qe)),zD(b,KF(a[c]+"Right")),b),zD(this.c,d),1==c&&(this.b=Cx(fE(d,1)));this.lb[ki]="gwt-DecoratorPanel"}function KF(a){var b,c;c=$doc.createElement(Cl);b=$doc.createElement(Ci);var d=(AD(),BD(b));c.appendChild(d);c[ki]=a;b[ki]=a+"Inner";return c}x(393,390,Lm,yF);_.ef=Nx;\n_.b=null;_.c=null;var JF;x(394,1,{});function SE(){SE=y;TE=new LF;UE=new MF}function NF(a){WB.call(this,a)}function RE(a,b){SE();var c,d,e;c=null;for(e=a.af();e.Be();){d=e.Ce();try{b.mf(d)}catch(f){if(f=No(f),E(f,111))d=f,!c&&(c=new UB),VB(c,d);else throw f;}}if(c)throw new NF(c);}x(395,313,gn,NF);var TE,UE;function LF(){}x(396,1,{},LF);_.mf=function(a){a.Ve()};function MF(){}x(397,1,{},MF);_.mf=function(a){a.We()};function OF(){OF=y;PF=(QF(),QF(),RF)}function SF(a,b){b?PF.qf(a.lb):PF.pf(a.lb)}\nx(400,385,Nm);_.le=TF;_.me=UF;_.ne=VF;_.oe=WF;_.Ve=function(){HE(this);-1==(typeof this.lb.tabIndex!=Vl?this.lb.tabIndex:-1)&&(this.lb.tabIndex=0)};var PF;function XF(){this.p=new iF(this);this.e=$doc.createElement(yl);this.d=$doc.createElement(Bl);zD(this.e,this.d);this.lb=this.e}x(401,383,Im);_.d=null;_.e=null;function YF(){YF=y;QF();QF()}function ZF(){YF();this.lb=$F()}x(405,390,Im,ZF);_.le=TF;_.me=UF;_.ne=VF;_.oe=WF;\nfunction aG(){aG=y;bG=new cG((Ly(),gi));dG=new cG(vj);eG=new cG(Uk);fG=(iC(),dG);gG=eG;hG=fG}var bG,hG,dG,gG,fG,eG;x(415,1,{});function cG(a){this.a=a}x(416,415,{},cG);_.a=null;function iG(){iG=y;jG=new kG(Uj);lG=new kG(Ll)}var jG,lG;function kG(a){this.a=a}x(417,1,{},kG);_.a=null;function mG(a,b){var c;c=nG(a);zD(a.b,c);VE(a,b,c)}function nG(a){var b;b=$doc.createElement(Cl);b[Jh]=a.a.a;b.style[Zl]=a.c.a;return b}function oG(a,b){var c,d;d=Dx(b.lb);(c=ZE(a,b))&&a.b.removeChild(d);return c}\nfunction pG(){XF.call(this);this.a=(aG(),hG);this.c=(iG(),lG);this.b=$doc.createElement(Ql);zD(this.d,this.b);this.e[fi]=cd;this.e[ei]=cd}x(418,401,Im,pG);_.Ze=function(a){return oG(this,a)};_.b=null;function qG(){qG=y;new hw}function rG(a){qG();sG.call(this,a.d.a,a.b,a.c,a.e,a.a)}function tG(a,b,c,d,e){qG();this.a=new uG(this,a,b,c,d,e);this.lb[ki]="gwt-Image"}function sG(a,b,c,d,e){qG();tG.call(this,(uD(),new tD(a)),b,c,d,e)}x(419,385,Nm,rG,tG,sG);_.le=TF;_.me=UF;_.ne=VF;_.oe=WF;\n_.Ee=function(a){32768==FD(a.type)&&this.a&&(this.lb.__gwtLastUnhandledEvent=m);JE(this,a)};_.Xe=function(){var a=this.a;ds(Bj,yx(this.lb,"__gwtLastUnhandledEvent"))&&(a.f=new vG(a,this),mx((jx(),kx),a.f))};_.a=null;x(421,1,{});_.f=null;function wG(){wG=y;xG()}\nfunction uG(a,b,c,d,e,f){var g,h;wG();this.b=c;this.c=d;this.e=e;this.a=f;this.d=b;g=$doc.createElement(rl);h=new gD;fD(fD(fD(h,new hD("width:"+e+(Wy(),Jk)+Hd)),new hD("height:"+f+Mk)),new hD("background:url("+b.a+") no-repeat "+-c+Kk+-d+Mk));!yG&&(yG=new zG);b=AG;h=new hD((new hD(h.a.a.a)).a);c=new nC;c.a.a+="<img onload=\'this.__gwtLastUnhandledEvent=\\"load\\";\' src=\'";Lr(c,sD(b.a));c.a.a+="\' style=\'";Lr(c,sD(h.a));c.a.a+="\' border=\'0\'>";h=new jD(c.a.a);g.innerHTML=h.a||m;g=Cx(g);a.gb&&(a.lb.__listener=\nnull);if(a.lb&&(h=a.lb,b=h.parentNode))b.insertBefore(g,h),b.removeChild(h);a.lb=g;a.gb&&(a.lb.__listener=a);-1==a.hb?(g=a.lb,a=133333119|(a.lb.__eventBits||0),HD(),qE(g,a)):a.hb|=133333119}x(420,421,{},uG);_.a=0;_.b=0;_.c=0;_.d=null;_.e=0;function vG(a,b){this.a=a;this.b=b}x(422,1,{},vG);_.Od=function(){var a,b;this.b.a!=this.a||this!=this.a.f||(this.a.f=null,this.b.gb?(a=(b=$doc.createEvent("HTMLEvents"),b.initEvent(Bj,!1,!1),b),this.b.lb.dispatchEvent(a)):this.b.lb.__gwtLastUnhandledEvent=Bj)};\n_.a=null;_.b=null;x(424,353,rn);function BG(a){this.a=a}x(426,424,rn,BG);_.ue=function(a){this.a.nf(a.f,a.a)};function CG(a,b,c){var d;if(a.o){var e=d=$doc.createElement(Ql);oE(a.e,(AD(),BD(e)),b);a=(AD(),BD(c));d.appendChild(a)}else d=fE(a.e,0),oE(d,(AD(),BD(c)),b)}\nfunction DG(a,b,c){var d;b.b&&(EG(a,b),c&&b.a?(EG(a,null),a=b.a,b=(jx(),kx),b.c=nx(b.c,[new FG(a),!1])):null!=b.d&&(a.j=new GG(a,b),c=(vF(),DF),a.j.Q=c,a.j.Y=a.f,c=ej,a.j.Me()[ki]=c,d=zE(a.lb),ds(dj,d)||sE(a.j,d+"Popup"),GE(a.j,new BG(a),zt?zt:zt=new At),a.n=b.d,d=a.j,a=new HG(a,b),d.lb.style[$l]=kj,sF(d),iC(),a.a.o?rF(a.a.j,Fx(a.a.lb)+xx(a.a.lb,qk)-1,Hx(a.b.lb)):rF(a.a.j,Fx(a.b.lb),Hx(a.a.lb)+xx(a.a.lb,pk)-1),d.lb.style[$l]=am))}\nfunction IG(a,b){!b&&a.k&&a.n==a.k.d||b&&!b.b||(EG(a,b),JG((YF(),a.lb)),b&&a.d&&DG(a,b,!1))}\nfunction KG(a,b){var c;a:{c=Ix(b);var d,e;for(e=new gq(a.i);e.b<e.d.xg();)if(d=hq(e),d.lb.contains(c)){c=d;break a}c=null}switch(FD(b.type)){case 1:JG((YF(),a.lb));c&&DG(a,c,!0);break;case 16:c&&IG(a,c);break;case 32:c&&IG(a,null);break;case 2048:LG(a);break;case 128:switch(c=b.keyCode||0,c){case 37:iC();LG(a)||a.o||MG(a);b.cancelBubble=!0;b.preventDefault();break;case 39:iC();LG(a)||(a.o?null!=a.k.d&&!a.k.d.vj().vj()&&(DG(a,a.k,!1),a.k.d.vj()):NG(a));b.cancelBubble=!0;b.preventDefault();break;case 38:LG(a)||\na.o&&MG(a);b.cancelBubble=!0;b.preventDefault();break;case 40:LG(a)||(a.o?NG(a):null!=a.k.d&&!a.k.d.vj().vj()&&(DG(a,a.k,!1),a.k.d.vj()));b.cancelBubble=!0;b.preventDefault();break;case 27:EG(a,null);a.j&&oF(a.j,!1);b.cancelBubble=!0;b.preventDefault();break;case 9:EG(a,null);a.j&&oF(a.j,!1);break;case 13:LG(a)||(DG(a,a.k,!0),b.cancelBubble=!0,b.preventDefault())}}JE(a,b)}function OG(a,b,c){c&&EG(a,null);FB(a,b,!1);a.n=null;a.j=null}\nfunction LG(a){var b,c;if(!a.k){for(c=new gq(a.i);c.b<c.d.xg();)if(b=hq(c),b.b){EG(a,b);break}return!0}return!1}\nfunction EG(a,b){var c;if(b!=a.k){if(a.k){c=a.k;var d=zE(c.lb)+Kc;tE(c.Me(),d,!1);a.o&&(c=Dx(a.k.lb),2==gE(c)&&(c=fE(c,1),tE(c,wl,!1)))}if(b){c=zE(b.lb)+Kc;tE(b.Me(),c,!0);a.o&&(c=Dx(b.lb),2==gE(c)&&(c=fE(c,1),tE(c,wl,!0)));Fu();c=a.lb;var e=new gu(b.lb),d=(Au(),Bu),e=z(PG,o,16,[e]),f,g,h,j;f=new iw;for(h=0,j=e.length;h<j;++h)g=e[h],Lr(Lr(f,g.a),ca);e=cs(f.a.a);c.setAttribute(d.a,e)}a.k=b}}\nfunction NG(a){var b,c,d;if(a.k){for(b=c=et(a.i,a.k);;)if(c+=1,c==a.i.c&&(c=0),c==b){d=io(a.i,b);break}else if(d=io(a.i,c),d.b)break;EG(a,d)}}function MG(a){var b,c,d;if(a.k){for(b=c=et(a.i,a.k);;)if(c-=1,0>c&&(c=a.i.c-1),c==b){d=io(a.i,b);break}else if(d=io(a.i,c),d.b)break;EG(a,d)}}x(427,385,Nm);_.Ee=function(a){KG(this,a)};_.We=function(){this.j&&oF(this.j,!1);KE(this)};_.nf=function(a,b){OG(this,a,b)};_.d=!1;_.e=null;_.f=!1;_.j=null;_.k=null;_.n=null;_.o=!1;function FG(a){this.a=a}\nx(428,1,{},FG);_.Od=function(){QG(this.a)};_.a=null;function RG(a){this.a=a}x(429,1,{},RG);_.ie=function(){EG(this.a,null)};_.a=null;function GG(a,b){this.a=a;this.b=b;tF.call(this,!0,Oj);lF(this.P,this.b.d);qF(this);this.bb=!0;this.b.d.vj()}x(430,388,Im,GG);_.Ae=function(a){var b,c;if(!a.a)switch(FD(a.d.type)){case 4:c=Ix(a.d);b=this.b.c.lb;if(b.contains(c)){a.a=!0;break}a.a&&EG(this.a,null)}};_.a=null;_.b=null;function HG(a,b){this.a=a;this.b=b}x(431,1,{},HG);_.a=null;var SG=_.b=null;\nfunction TG(){TG=y;SG=new eD((uD(),new tD((iC(),"data:image/gif;base64,R0lGODlhBQAJAIAAAAAAAAAAACH5BAEAAAEALAAAAAAFAAkAAAIMRB5gp9v2YlJsJRQKADs="))),5,9)}function UG(a,b){if(b){var c=zE(a.lb)+Jc;tE(a.Me(),c,!1)}else c=zE(a.lb)+Jc,tE(a.Me(),c,!0);a.b=b}function VG(a,b,c){this.lb=$doc.createElement(Cl);var d=zE(this.lb)+Kc;tE(this.Me(),d,!1);b?this.lb.innerHTML=a||m:this.lb.textContent=a||m;this.lb[ki]="gwt-MenuItem";a=Jx();this.lb.setAttribute(mj,a);Fu();this.lb.setAttribute(Vk,lv.a);this.a=c}\nx(434,386,{42:1,46:1,49:1},VG);_.a=null;_.b=!0;_.c=null;_.d=null;function WG(){var a;this.lb=$doc.createElement(Cl);this.lb[ki]="gwt-MenuItemSeparator";a=$doc.createElement(Ci);zD(this.lb,a);a[ki]="menuSeparatorInner"}x(435,386,Ym,WG);\nfunction XG(){var a,b,c,d,e;b=null.vj();e=Lx();d=Kx();b[Bi]=(Ay(),ik);b[cm]=0+(Wy(),Jk);b[jj]=id;c=$doc;c=(ds(c.compatMode,Ne)?c.documentElement:c.body).scrollWidth||0;a=$doc;a=(ds(a.compatMode,Ne)?a.documentElement:a.body).scrollHeight||0;b[cm]=(c>e?c:e)+Jk;b[jj]=(a>d?a:d)+Jk;b[Bi]="block"}function uF(){}x(436,1,{},uF);_.we=function(){XG()};function YG(a){this.a=a}x(437,1,{},YG);\n_.Ae=function(a){var b=this.a,c,d;if(a.a||!b.bb&&a.b)b._&&(a.a=!0);else if(b.Ae(a),!a.a){d=a.d;c=Ix(d);var e;try{e=!!c&&!!c.nodeType}catch(f){e=!1}(c=e&&c&&1==c.nodeType?b.lb.contains(c):!1)&&(a.b=!0);b._&&(a.a=!0);switch(FD(d.type)){case 4:case 1048576:if(ED){a.b=!0;break}if(!c&&b.R){b.jf(!0);break}break;case 8:case 64:case 1:case 2:case 4194304:if(ED){a.b=!0;break}break;case 2048:d=Ix(d),b._&&!c&&d&&(d.blur&&d!=$doc.body&&d.blur(),a.a=!0)}}};_.a=null;function ZG(a){this.a=a}x(438,1,{},ZG);_.a=null;\nfunction vF(){vF=y;wF=new $G(Ge,0);DF=new $G(mg,1);FF=new $G(Gg,2);aH=z(bH,o,47,[wF,DF,FF])}function $G(a,b){Mx.call(this,a,b)}x(439,198,{47:1,94:1,99:1,101:1},$G);var aH,wF,DF,FF;function cH(a){a.j?a.a.Z&&($doc.body.appendChild(a.a.V),a.f=TD(a.a.W),XG(),a.b=!0):a.b&&($doc.body.removeChild(a.a.V),dH(a.f.a),a.f=null,a.b=!1)}function eH(a){a.j||(cH(a),a.c||(ME(),dF(fH(null),a.a)));a.a.lb.style[ni]="rect(auto, auto, auto, auto)";a.a.lb.style[xk]=am}\nfunction gH(a,b){var c,d,e,f,g,h;a.j||(b=1-b);c=f=e=g=0;d=I(b*a.d);h=I(b*a.e);switch(a.a.Q.c){case 2:f=a.e;c=d;break;case 0:g=~~(a.d-d)>>1;e=~~(a.e-h)>>1;f=e+h;c=g+d;break;case 1:iC(),f=h,c=d}a.a.lb.style[ni]="rect("+g+Lk+f+Lk+c+Lk+e+"px)"}\nfunction pF(a,b,c){a.c=c;gt(a);a.i&&(Bt(a.i),a.i=null,eH(a));a.a.db=b;var d=a.a;d.ab&&(dH(d.ab.a),d.ab=null);d.X&&(dH(d.X.a),d.X=null);if(d.db){d.ab=GD(new YG(d));var e;e=new ZG(d);ND();e=OD?LB(OD.a,(!KB&&(KB=new At),KB),e):null;d.X=e}c=!c&&a.a.Y;a.a.Q!=(vF(),wF)&&!b&&(c=!1);a.j=b;c?b?(cH(a),a.a.lb.style[Gk]=Ah,-1!=a.a.eb&&a.a.kf(a.a.$,a.a.eb),a.a.lb.style[ni]=Qk,ME(),b=fH(null),VE(b,a.a,b.lb),a.i=new hH(a),tt(a.i,1)):ht(a,200):(cH(a),a.j?(a.a.lb.style[Gk]=Ah,-1!=a.a.eb&&a.a.kf(a.a.$,a.a.eb),ME(),\nb=fH(null),VE(b,a.a,b.lb)):a.c||(ME(),dF(fH(null),a.a)),a.a.lb.style[xk]=am)}function xF(a){var b=(mt(),pt);this.k=new lt(this);this.t=b;this.a=a}x(440,59,{},xF);_.Qd=function(){eH(this)};_.Rd=function(){this.d=xx(this.a.lb,pk);this.e=xx(this.a.lb,qk);this.a.lb.style[xk]=kj;gH(this,(1+Math.cos(3.141592653589793))/2)};_.Sd=function(a){gH(this,a)};_.a=null;_.b=!1;_.c=!1;_.d=0;_.e=-1;_.f=null;_.i=null;_.j=!1;function hH(a){ut();this.a=a}x(441,66,{},hH);_.Yd=function(){this.a.i=null;ht(this.a,200)};\n_.a=null;function AD(){AD=y;iH()}function BD(a){return a.__gwt_resolve?a.__gwt_resolve():a}function iH(){function a(){}a.prototype={className:m,clientHeight:0,clientWidth:0,dir:m,getAttribute:function(a){return this[a]},href:m,id:m,lang:m,nodeType:1,removeAttribute:function(a){this[a]=void 0},setAttribute:function(a,c){this[a]=c},src:m,style:{},title:m};$wnd.GwtPotentialElementShim=a}function ME(){ME=y;jH=new kH;lH=new hw;NE=new UB}function mH(a){this.p=new iF(this);this.lb=a;HE(this)}\nfunction fH(a){ME();var b,c;c=aC(lH,a);b=null;if(null!=a&&!(b=$doc.getElementById(a)))return null;if(c&&(!b||c.lb==b))return c;if(0==lH.d){var d=new nH;xt();yt(zt?zt:zt=new At,d);iC()}!b?c=new oH:c=new mH(b);U(lH,a,c);VB(NE,c);return c}function pH(){ME();return $doc.body}x(443,382,Im,mH);var jH,lH,NE;function kH(){}x(444,1,{},kH);_.mf=function(a){a.Ue()&&a.We()};function nH(){}x(445,1,{},nH);_.ue=function(){ME();try{RE(NE,jH)}finally{qH(NE.a),qH(lH)}};function oH(){mH.call(this,pH())}\nx(446,443,Im,oH);_.df=function(a,b,c){gF(a,b-0,c-0)};function nF(a){this.c=a;this.a=!!this.c.fb}x(447,1,{},nF);_.Be=kD;_.Ce=function(){if(!this.a||!this.c.fb)throw new aF;this.a=!1;return this.b=this.c.fb};_.De=function(){this.b&&this.c.Ze(this.b)};_.b=null;_.c=null;function rH(a,b){a.lb[Yl]=null!=b?b:m}x(450,400,Nm);_.Ee=function(a){0!=(FD(a.type)&896)?JE(this,a):JE(this,a)};_.Xe=PE;function sH(){sH=y;OF();tH()}function uH(a){!yD&&(yD=new xD);!wD&&(wD=new vD);OF();this.lb=a;iC()}x(449,450,Nm);\nfunction vH(){sH();uH.call(this,$doc.createElement("textarea"));this.lb[ki]="gwt-TextArea"}x(448,449,Nm,vH);function wH(){sH();var a=Bx(Dl);uH.call(this,a);this.lb[ki]="gwt-TextBox"}x(451,449,Nm,wH);function tH(){tH=y;xH=new yH;zH=new AH;BH=new CH;DH=new EH;FH=z(GH,o,50,[xH,zH,BH,DH])}x(452,198,tn);var FH,xH,zH,BH,DH;function yH(){Mx.call(this,Ge,0)}x(453,452,tn,yH);function AH(){Mx.call(this,Jf,1)}x(454,452,tn,AH);function CH(){Mx.call(this,Mf,2)}x(455,452,tn,CH);\nfunction EH(){Mx.call(this,Fg,3)}x(456,452,tn,EH);function $E(a,b){var c;for(c=0;c<a.c;++c)if(a.a[c]==b)return c;return-1}function WE(a,b,c){var d,e;if(0>c||c>a.c)throw new YE;if(a.c==a.a.length){e=C(HH,o,51,2*a.a.length,0);for(d=0;d<a.a.length;++d)oq(e,d,a.a[d]);a.a=e}++a.c;for(d=a.c-1;d>c;--d)oq(a.a,d,a.a[d-1]);oq(a.a,c,b)}function iF(a){this.b=a;this.a=C(HH,o,51,4,0)}x(458,1,{},iF);_.af=function(){return new bF(this)};_.a=null;_.b=null;_.c=0;\nfunction IH(a){if(a.a>=a.b.c)throw new aF;return a.b.a[++a.a]}function JH(a){if(0>a.a||a.a>=a.b.c)throw new KH;a.b.b.Ze(a.b.a[a.a--])}function bF(a){this.b=a}x(459,1,{},bF);_.Be=function(){return this.a<this.b.c-1};_.Ce=function(){return IH(this)};_.De=function(){JH(this)};_.a=-1;_.b=null;function xG(){xG=y;AG=(uD(),new tD(dx()+"clear.cache.gif"))}var AG,yG=null;function zG(){}x(461,1,{},zG);function LH(){LH=y;xG()}function MH(a,b,c,d,e){LH();this.d=a;this.b=b;this.c=c;this.e=d;this.a=e}\nx(462,394,{},MH);_.a=0;_.b=0;_.c=0;_.d=null;_.e=0;function QF(){QF=y;RF=(NH=new OH)?new PH:NH}function PH(){}x(463,1,{},PH);_.pf=function(a){a.blur()};_.qf=function(a){a.focus()};var NH,RF;function QH(){return function(){var a=this.parentNode;a.onfocus&&$wnd.setTimeout(function(){a.focus()},0)}}\nfunction $F(){var a=(QF(),RH)?RH:RH=QH();QF();var b=$doc.createElement(Ci);b.tabIndex=0;var c=$doc.createElement("input");c.type=Dl;c.tabIndex=-1;c.setAttribute(Vk,Hk);var d=c.style;d.opacity=0;d.height=ld;d.width=ld;d.zIndex=-1;d.overflow=kj;d.position=Ah;c.addEventListener(Pi,a,!1);b.appendChild(c);return b}x(465,463,{});var RH=null;function SH(a){$wnd.setTimeout(function(){a.blur()},0)}function JG(a){$wnd.setTimeout(function(){a.focus()},0)}function OH(){}x(464,465,{},OH);_.pf=function(a){SH(a)};\n_.qf=function(a){JG(a)};function dH(a){var b=a.a,c=a.d,d=a.c,a=a.b;0<b.b?NB(b,new TH(b,c,d,a)):bC(b,c,d,a)}function RB(a,b,c){this.a=a;this.d=b;this.c=null;this.b=c}x(470,1,{},RB);_.a=null;_.b=null;_.c=null;_.d=null;function OB(a,b,c){this.a=a;this.d=b;this.c=null;this.b=c}x(471,1,{},OB);_.Od=function(){PB(this.a,this.d,this.c,this.b)};_.a=null;_.b=null;_.c=null;_.d=null;function TH(a,b,c,d){this.a=a;this.d=b;this.c=c;this.b=d}x(472,1,{},TH);_.Od=function(){bC(this.a,this.d,this.c,this.b)};_.a=null;\n_.b=null;_.c=null;_.d=null;function UH(a,b){var c;this.a=(c=m,0!=(b&1)&&(c+=Dj),0!=(b&2)&&(c+=lj),RegExp(a,c))}x(473,1,{});_.tS=function(){return ww(this.a)};_.a=null;function VH(a,b){b.k!=a&&(!a.sd&&(a.sd=new Yp),b.k=a,bq(a.sd,b))}function WH(a){var b;b=a.cZ.d;if(-1!=Ir(b,Jr(36)))return null;a=a.td.b.b++;return b=gs(b,XH(b,Jr(46))+1)+m+a}function YH(a){return!a.kd&&a.qd?YH(a.qd):a.kd}function ZH(a){return $H(),new aI(a)}\nfunction bI(a){var b;b=new cI;if(a.Ff()){for(;a&&!E(a,73);a=a.qd){var c=b,d=a.Bf(),e=a.Cf();c.a+=d;c.b+=e}E(a,73)&&(c=a.Bf(),a=a.Cf(),b.a+=c,b.b+=a);return b}throw new dI;}function eI(a){a.ud=!1;a.Of();fI(a)}function fI(a){if((a=E(a,73)?null:a.qd)&&a.ud)eI(a),a.dd&&E(a.dd,66)&&(a.dd.n=!1)}function gI(a){return(a=a.uf())?a:new hI(1,1)}function iI(a){var b;return(b=a.vf())?new jI(b):new jI(a.xf())}\nfunction kI(a,b,c,d,e){var f,g,h,j;h=a.zd;j=a.Ad;g=a.wd;f=a.ld;a.zd=b;a.Ad=c;a.wd=d;a.ld=e;if(h!=a.zd||j!=a.Ad)fI(a),new lI(a,100);if(g!=a.wd||f!=a.ld)a.Ef(),new lI(a,101)}function mI(){this.td=(nI(),nI(),oI);this.nd=new pI;new hw;this.Df();this.pd=(qI(),rI)}x(477,1,pn);_.sf=function(){return WH(this)};_.uf=function(){return sI(this.rd,this)};_.vf=function(){return this.uf()};_.wf=function(){return this.ld};_.xf=function(){return this.Hf()};_.yf=function(){return new tI(0,0,0,0)};_.zf=function(){return this.Kf()};\n_.Af=function(){return this.wd};_.Bf=function(){return this.zd};_.Cf=function(){return this.Ad};_.Df=PE;_.Ef=function(){eI(this)};_.Ff=function(){return this.vd&&!!this.qd&&this.qd.Ff()};_.Hf=uI;_.If=vI;_.Jf=function(){return(null==this.od&&(this.od=this.sf()),this.od)+$b+this.Bf()+$b+this.Cf()+$b+this.Af()+dm+this.wf()+(this.vd?m:",hidden")};_.Kf=wI;_.Of=function(){var a=this.rd;a.e.a=-1;a.e.b=-1};_.Qf=function(a,b,c,d){this.Rf(a,b,c,d,this.jd,!0);this.jd=0};\n_.Rf=function(a,b,c,d){kI(this,a,b,c,d)};_.tS=xI;_.Sf=function(){this.ud=!0};_.hd=null;_.jd=0;_.kd=null;_.ld=0;_.md=0;_.od=null;_.pd=null;_.qd=null;_.rd=null;_.sd=null;_.ud=!1;_.vd=!0;_.wd=0;_.xd=!1;_.yd=!1;_.zd=0;_.Ad=0;function yI(a,b){var c;c=a.Tf();b.b+=c.b+c.c;b.a+=c.d+c.a;return b}function zI(a){var b;b=a.Tf();return new AI(b.b,b.d,a.wd-b.c-b.b,a.ld-b.d-b.a)}\nfunction BI(a,b){var c,d;if(a.dd)for(d=new gq(a.cd.a);d.b<d.d.xg();)c=hq(d),a.dd.Yf(c);if(b)for(d=new gq(a.cd.a);d.b<d.d.xg();)c=hq(d),b.Uf(null,c);a.dd=b;eI(a);a.dd&&E(a.dd,66)&&(a.dd.n=!1)}function CI(a){if(!a.ud){a.dd&&a.dd.Vf(a);var b,c;for(c=0;c<a.cd.a.c;++c)b=io(a.cd.a,c),b.ud||b.Sf();a.ud=!0}}function DI(){mI.call(this);this.cd=new EI;this.gd=(nI(),nI(),oI)}x(476,477,cn);_.uf=function(){if(!this.dd)return null;!this.ed&&(this.ed=this.dd.Wf(this));return this.ed};\n_.vf=function(){if(!this.dd)return null;!this.fd&&(this.fd=this.dd.Xf(this));return this.fd};_.Tf=function(){return this.yf()};_.xf=uI;_.zf=wI;_.Df=function(){this.rd=(nI(),new FI)};_.Ef=function(){eI(this);this.dd&&E(this.dd,66)&&(this.dd.n=!1)};_.Hf=uI;_.Kf=wI;_.Of=function(){var a,b;this.fd=this.ed=null;for(b=0;b<this.cd.a.c;++b)a=io(this.cd.a,b),a.Of()};_.Sf=function(){CI(this)};_.dd=null;_.ed=null;_.fd=null;function GI(){var a=new HI;DI.call(this);BI(this,a)}x(475,476,cn,GI);\n_.sf=function(){return"panel"+this.gd.b.e++};function II(a,b,c){a=JI(a.bd,b,c);a.j=!0;return new KI(a)}function LI(a){a.If(a.bd.e)}function MI(a){return new hI(NI(a.bd),OI(a.bd))}x(474,475,cn);_.wf=function(){return xx(this.bd.lb,pk)};_.Af=function(){return xx(this.bd.lb,qk)};_.Bf=function(){return Fx(this.bd.lb)};_.Cf=function(){return Hx(this.bd.lb)};_.Ff=function(){return this.bd.lb.style.display!=ik};_.bd=null;function PI(a){if(null!=a)this.n=a;else throw new QI;}x(479,1,hn);\n_.tS=function(){return this.cZ.d+"[source="+this.n+vh};_.n=null;\nfunction RI(){RI=y;SI=new hw;U(SI,new Ur(400),new TI(pm));U(SI,new Ur(401),new TI(pm));U(SI,new Ur(402),new TI(pm));U(SI,new Ur(500),new TI(rm));U(SI,new Ur(501),new TI(rm));U(SI,new Ur(502),new TI(rm));U(SI,new Ur(503),new TI(sm));U(SI,new Ur(504),new TI(rm));U(SI,new Ur(505),new TI(rm));U(SI,new Ur(506),new TI(sm));U(SI,new Ur(507),new TI(Dm));U(SI,new Ur(100),new TI(km));U(SI,new Ur(101),new TI(km));U(SI,new Ur(102),new TI(km));U(SI,new Ur(103),new TI(km));U(SI,new Ur(1004),new TI(nm));U(SI,new Ur(1005),\nnew TI(nm));U(SI,new Ur(800),new TI(zm));U(SI,new Ur(801),new TI(zm));U(SI,new Ur(200),new TI(tm));U(SI,new Ur(201),new TI(tm));U(SI,new Ur(202),new TI(tm));U(SI,new Ur(204),new TI(tm));U(SI,new Ur(203),new TI(tm));U(SI,new Ur(209),new TI(Em));U(SI,new Ur(208),new TI(Fm));U(SI,new Ur(207),new TI(Fm));U(SI,new Ur(206),new TI(tm));U(SI,new Ur(205),new TI(tm));U(SI,new Ur(1400),new TI(Bm));U(SI,new Ur(1401),new TI(Cm));U(SI,new Ur(1402),new TI(Cm));U(SI,new Ur(300),new TI(lm));U(SI,new Ur(301),new TI(lm));\nU(SI,new Ur(1100),new TI(ym));U(SI,new Ur(1101),new TI(ym));U(SI,new Ur(1200),new TI(Am));U(SI,new Ur(701),new TI(wm));U(SI,new Ur(900),new TI(xm));U(SI,new Ur(1001),new TI(um));U(SI,new Ur(601),new TI(vm))}x(478,479,hn);_.Jf=function(){return m};_.tS=function(){var a;a=m;E(this.n,60)&&null!=this.n&&(a=this.n,a=(null==a.od&&(a.od=a.sf()),a.od),null==a&&(a=m));return this.cZ.d+nh+this.Jf()+"] on "+(0<a.length?a:this.n)};_.k=0;var SI;function TI(a){this.a=a}x(481,1,{},TI);_.a=jm;function UI(){}\nx(482,1,{},UI);_.a=null;_.b=null;function VI(a,b){var c;b&&(a.a?(c=new WI(a.a),oq(c.b,c.c++,b),a.a=c):(a.a=new Yp,bq(a.a,b)))}function lB(a,b){return a.a?yq(a.a,b):b}x(484,1,hn);_.a=null;function XI(){}function pI(){}x(483,484,hn,XI,pI);function YI(){YI=y;Math.sqrt(2)}function ZI(a){YI();if(0>a)throw new vp("Missing message: awt.133");this.e=a;this.a=2;this.c=0;this.d=10;this.b=0}x(485,1,{56:1},ZI);\n_.eQ=function(a){return a===this?!0:E(a,56)?a.e==this.e&&a.a==this.a&&a.c==this.c&&a.d==this.d&&a.b==this.b:!1};_.hC=function(){var a;a=new $I;a.a=31*a.a+I((new aJ(this.e)).a);a.a=31*a.a+this.a;a.a=31*a.a+this.c;a.a=31*a.a+I((new aJ(this.d)).a);return a.a};_.a=0;_.b=0;_.c=0;_.d=0;_.e=0;\nfunction bJ(){bJ=y;cJ=dJ=new Ln(255,255,255);eJ=fJ=new Ln(192,192,192);gJ=new Ln(128,128,128);hJ=new Ln(64,64,64);iJ=jJ=new Ln(0,0,0);kJ=lJ=new Ln(255,0,0);new Ln(255,175,175);mJ=new Ln(255,200,0);nJ=new Ln(255,255,0);new Ln(0,255,0);oJ=new Ln(255,0,255);pJ=new Ln(0,255,255);qJ=rJ=new Ln(0,0,255)}\nfunction sJ(a){var b,c;c=~~a.d>>16&255;b=a.d&255;a=~~a.d>>8&255;if(0==c&&0==b&&0==a)return new Ln(3,3,3);3>c&&0!=c?c=3:(c=I(c/0.7),c=255<c?255:c);3>b&&0!=b?b=3:(b=I(b/0.7),b=255<b?255:b);3>a&&0!=a?a=3:(a=I(a/0.7),a=255<a?255:a);return new Ln(c,a,b)}function tJ(a){return new Ln(I(0.7*(~~a.d>>16&255)),I(0.7*(~~a.d>>8&255)),I(0.7*(a.d&255)))}function uJ(a,b){return E(b,59)?b.d==a.d:!1}function vJ(a,b){bJ();wJ.call(this,a,b,1,1)}\nfunction wJ(a,b,c,d){bJ();var e=I(255*a+0.5),f=I(255*b+0.5),g=I(255*c+0.5),h=I(255*d+0.5);if((e&255)!=e||(f&255)!=f||(g&255)!=g||(h&255)!=h)throw new vp(Ve);this.d=g|f<<8|e<<16|h<<24;this.a=d;this.c=C(xJ,Um,-1,3,1);this.c[0]=a;this.c[1]=b;this.c[2]=c;this.b=this.c}function Ln(a,b,c){bJ();if((a&255)!=a||(b&255)!=b||(c&255)!=c)throw new vp(Ve);this.d=c|b<<8|a<<16|-16777216}x(491,1,{59:1,68:1,72:1},vJ,wJ,Ln);_.eQ=function(a){return uJ(this,a)};_.hC=yJ;\n_.tS=function(){return zJ.d+"[r="+(~~this.d>>16&255)+",g="+(~~this.d>>8&255)+",b="+(this.d&255)+vh};_.a=0;_.b=null;_.c=null;_.d=0;var iJ,qJ,eJ,kJ,cJ,jJ,rJ,pJ,hJ,gJ,fJ,oJ,mJ,lJ,dJ,nJ;function qI(){qI=y;rI=new AJ(!0);BJ=new UB;VB(BJ,"ar");VB(BJ,"fa");VB(BJ,"iw");VB(BJ,"ur")}function AJ(a){this.a=a}x(492,1,hn,AJ);_.a=!1;var rI,BJ;x(496,1,{78:1,98:1});function CJ(){hI.call(this,0,0)}function hI(a,b){this.b=a;this.a=b}function jI(a){hI.call(this,a.b,a.a)}x(495,496,{62:1,78:1,94:1,98:1},CJ,hI,jI);\n_.eQ=function(a){return a===this?!0:E(a,62)?a.b==this.b&&a.a==this.a:!1};_.hC=function(){var a;a=new $I;a.a=31*a.a+this.b;a.a=31*a.a+this.a;return a.a};_.tS=function(){return DJ.d+"[width="+this.b+",height="+this.a+vh};_.a=0;_.b=0;function EJ(a,b,c){this.f=a;this.c=b;this.e=this.d=this.j=this.i=0;this.b=c}x(497,1,hn,EJ,function(a,b,c,d){this.f=a;this.c=b;this.j=this.i=0;this.d=c;this.e=d;this.b=null});_.Zf=function(){return 0!=(this.e&4)};_.$f=function(){return 0!=(this.e&1)};\n_.tS=function(){var a;return this.cZ.d+"[id="+this.c+",x="+this.i+",y="+this.j+(0!=this.d?",key="+this.d+(a=m,this.$f()&&(a+=",shift"),0!=(this.e&2)&&(a+=",control"),this.Zf()&&(a+=",meta"),a):m)+",target="+this.f+(null!=this.b?",arg="+this.b:m)+vh};_.b=null;_.c=0;_.d=0;_.e=0;_.f=null;_.i=0;_.j=0;function FJ(a){var b,c;for(c=b=0;c<a.b.length;)a.b[c].vd&&++b,++c;return b}\nfunction GJ(a,b,c,d,e,f,g){var h,j,l,d=d+a.c;switch(a.a){case 0:break;case 2:d+=c;break;case 1:d+=~~(c/2);break;case 4:d+=g?c:0;break;default:d+=g?0:c}l=b.c-1;for(j=0;j<=l;++j)c=(xq(g?j:l-j,b.c),b.b[g?j:l-j]),h=c.zf(),c.Qf(d,e+~~((f-h.a)/2),h.b,h.a),d+=h.b+a.c}function HJ(a,b){var c,d,e,f,g,h;h=a.c;g=0;for(d=a.b,e=0,f=d.length;e<f;++e)c=d[e],c.vd&&(c=b?c.zf():c.xf(),g=Bp(g,c.a),h+=c.b+a.c);return new hI(h,g+2*a.d)}function HI(){IJ.call(this,1,5,5)}\nfunction IJ(a,b,c){nI();this.c=b;this.d=c;this.a=a}x(498,1,hn,HI,IJ);_.Uf=JJ;\n_.Vf=function(a){this.b=KJ(a.cd);if(0!=FJ(this)){var b,c,d,e,f,g,h,j,l,n,q;b=zI(a);g=a.Tf();h=a.pd.a;l=new Yp;n=f=2*this.c;q=g.d+this.d;j=0;e=!0;var r,t,A;r=a.cd.a.c;d=new LJ(r);for(t=0;t<r;++t)oq(d.b,d.c++,null);for(c=this.b,t=0,A=c.length;t<A;++t)r=c[t],r.qd==a&&Vs(d,et(a.cd.a,r),r);for(d=new gq(d);d.b<d.d.xg();)if((c=hq(d))&&c.vd)a=c.zf(),!e&&n+a.b>b.b&&(GJ(this,l,b.b-(n-this.c),g.b,q,j,h),l.$g(),n=f,q+=j+this.d,j=0),e=!1,oq(l.b,l.c++,c),n+=a.b+this.c,j=Bp(j,a.a);GJ(this,l,b.b-(n-this.c),g.b,q,\nj,h)}};_.Wf=function(a){this.b=KJ(a.cd);return 0==FJ(this)?yI(a,new hI(10,10)):yI(a,HJ(this,!1))};_.Xf=function(a){this.b=KJ(a.cd);return 0==FJ(this)?yI(a,new hI(10,10)):yI(a,HJ(this,!0))};_.Yf=vI;_.tS=function(){var a;switch(this.a){case 0:a=vj;break;case 2:a=Uk;break;case 1:a=gi;break;case 4:a="trailing";break;default:a="leading"}return MJ.d+"[hgap="+this.c+",vgap="+this.d+",align="+a+vh};_.a=0;_.b=null;_.c=0;_.d=0;function NJ(){NJ=y;OJ=new PJ(ff,0,12)}\nfunction PJ(a,b,c){NJ();this.a=null!=a?a:"Default";this.b=0<=c?c:0;this.c=0==(b&-4)?b:0}x(499,1,{63:1,94:1},PJ);_.a=null;_.b=0;_.c=0;var OJ;x(500,1,Mm);_.tS=function(){return QJ.d+"[font="+this.a+"ascent="+RJ(this.a)+", descent="+SJ(this.a)+", height="+~~(TJ(this.a).c*this.a.b/300)+vh};_.a=null;x(502,1,{});_.tS=function(){return"Graphics"};x(503,502,{});function KH(){}function IE(a){this.f=a}x(506,139,Cn,KH,IE);function dI(){this.f="Missing message: awt.151"}x(505,506,Cn,dI);x(507,1,{});\nfunction tI(a,b,c,d){this.d=a;this.b=b;this.a=c;this.c=d}x(508,1,{65:1,94:1,98:1},tI);_.eQ=function(a){return a===this?!0:E(a,65)?a.b==this.b&&a.a==this.a&&a.c==this.c&&a.d==this.d:!1};_.hC=function(){var a;a=31+this.d;a=31*a+this.b;a=31*a+this.a;return a=31*a+this.c};_.tS=function(){return UJ.d+"[left="+this.b+",top="+this.d+",right="+this.c+",bottom="+this.a+vh};_.a=0;_.b=0;_.c=0;_.d=0;x(512,1,hn);_.Jf=function(){return this.j};_.tS=xI;_.j=null;_.k=null;\nfunction VJ(a){var b;b=a.j+",label="+a.f;a.e||(b+=",disabled");null!=a.c&&(b+=",command="+a.c);return b}function WJ(a,b){a.e=b;UG(a.i.a,b)}function XJ(){YJ.call(this,m)}function ZJ(a){YJ.call(this,a)}function YJ(a){this.n=(nI(),nI(),oI);var b;var c;b=this.cZ.d;-1!=Ir(b,Jr(36))?b=null:(c=this.n.b.d++,b=gs(b,XH(b,Jr(46))+1)+m+c);this.j=b;this.d=new XI;this.f=a;this.e=!0;!this.i&&(this.i=new $J(this))}x(511,512,hn,XJ,ZJ);_.Jf=function(){return VJ(this)};_.c=null;_.e=!1;_.f=null;_.i=null;x(510,511,An);\n_.Jf=function(){return VJ(this)+(this.b?",tearOff":m)};_.b=!1;x(514,1,{81:1});_.eQ=function(a){return a===this?!0:E(a,81)?this._f()==a._f()&&this.ag()==a.ag():!1};_.hC=function(){var a;a=new $I;aK(a,this._f());aK(a,this.ag());return a.a};function cI(){this.b=this.a=0}function bK(a,b){this.a=a;this.b=b}x(513,514,{69:1,81:1,94:1},cI,bK);_.eQ=function(a){return a===this?!0:E(a,69)?this.a==a.a&&this.b==a.b:!1};_._f=kD;_.ag=Nx;_.tS=function(){return cK.d+"[x="+this.a+",y="+this.b+vh};_.a=0;_.b=0;\nfunction dK(a,b){if(!b)throw new MB("Missing message: awt.70");var c=a.a;if(ds(b.f,hc)){var c=c.a.a,d=new WG,e=c.c.c;if(0>e||e>c.c.c)throw new YE;c.o&&(d.lb[pi]=2);CG(c,e,d.lb);Qp(c.c,e,d)}else{var e=c.a,c=(!b.i&&(b.i=new $J((nI(),b))),b.i.a),d=e.a,e=e.a.c.c,f,g;if(0>e||e>d.c.c)throw new YE;Qp(d.c,e,c);for(f=g=0;f<e;++f)E(io(d.c,f),46)&&++g;Qp(d.i,g,c);CG(d,e,c.lb);c.c=d;e=zE(c.lb)+Kc;tE(c.Me(),e,!1);d.o&&(e=et(d.c,c),-1!=e&&(d=fE(d.o?d.e:fE(d.e,0),e),2==gE(d)&&d.removeChild(fE(d,1)),c.lb[pi]=2))}}\nfunction eK(){YJ.call(this,m);new Yp;this.b=!1;this.a=(nI(),new fK)}x(515,510,An,eK);_.a=null;x(518,1,{71:1,98:1});function gK(a,b,c){var d,e,f;if(a.mg())return!1;d=a.d;f=a.e;e=d+a.c;a=f+a.b;return d<=b&&b<e&&f<=c&&c<a}function hK(a,b,c){var d,e,f;d=Fp(a.d,b._f());f=Fp(a.e,b.ag());e=Bp(a.d+a.c,b._f()+b.cg());a=Bp(a.e+a.b,b.ag()+b.bg());iK(c,d,f,e-d,a-f)}x(517,518,Km);_.eQ=function(a){return a===this?!0:E(a,83)?this._f()==a._f()&&this.ag()==a.ag()&&this.cg()==a.cg()&&this.bg()==a.bg():!1};\n_.hC=function(){var a;a=new $I;aK(a,this._f());aK(a,this.ag());aK(a,this.cg());aK(a,this.bg());return a.a};function jK(){this.b=this.a=this.d=this.c=0}function AI(a,b,c,d){this.c=a;this.d=b;this.a=d;this.b=c}x(516,517,{70:1,71:1,83:1,94:1,98:1},jK,AI);_.eQ=function(a){return a===this?!0:E(a,70)?a.c==this.c&&a.d==this.d&&a.b==this.b&&a.a==this.a:!1};_.bg=kD;_.cg=Nx;_._f=iA;_.ag=yJ;_.tS=function(){return kK.d+"[x="+this.c+",y="+this.d+",width="+this.b+",height="+this.a+vh};_.a=0;_.b=0;_.c=0;_.d=0;\nfunction lK(){lK=y;mK=new nK;oK=new pK;qK=new pK}var mK,qK,oK;x(520,1,{});_.eQ=Fn;_.hC=Gn;function nK(){}x(521,520,{},nK);function pK(){}x(522,1,{},pK);x(523,477,pn);function rK(a,b){var c;c=ZH(YH(a));return!c?null:new hI(sK("_",c.a)*b+6,~~(TJ(c.a).c*c.a.b/300)+6)}function tK(a,b){var c=a.rd;rH(c.a,b);c.e.a=-1;c.e.b=-1}function uK(a){vK.call(this,a,null!=a?a.length:0)}function vK(a,b){mI.call(this);this.a=0>b?0:b;var c=this.rd;rH(c.a,a);c.e.a=-1;c.e.b=-1}x(524,523,pn,uK,vK);\n_.sf=function(){return"textfield"+this.td.b.f++};_.uf=function(){return rK(this,yx(this.rd.a.lb,Yl).length)};_.vf=function(){return!YH(this)?null:rK(this,yx(this.rd.a.lb,Yl).length)};_.xf=wK;_.zf=xK;_.Df=function(){this.rd=(nI(),new yK)};_.Hf=wK;_.Kf=xK;_.a=0;function nI(){nI=y;oI=new zK}function AK(){var a=(nI(),nI(),oI);!a.c&&(a.c=new BK);return a.c}x(525,1,{});_.a=null;_.c=null;var oI;function CK(){}x(526,1,{},CK);_.a=0;_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;x(527,1,{});\nfunction DK(){DK=y;EK=new FK;GK=new FK}function HK(a,b){return b==a?!0:!b?!1:!0}function FK(){}x(528,1,{74:1},FK);_.eQ=function(a){return null==a||!E(a,74)?!1:HK(this,a)};_.hC=function(){var a;a=null.vj()+";class="+null.vj();a=!null.vj().vj()?a:a+";charset=";return IK(a)};_.tS=function(){return JK.d+"[MimeType=(null);humanPresentableName="+this.a+vh};_.a=null;var EK,GK;function KK(){KK=y;z(LK,o,74,[(DK(),GK),EK])}\nfunction MK(a){var b=(DK(),GK);if(HK(b,(DK(),GK)))return a.a;if(HK(b,EK))return new NK(a.a);throw new OK(b);}function PK(a){KK();this.a=a}x(529,1,{},PK);_.a=null;function OK(a){this.f="flavor = "+a}x(530,140,{75:1,94:1,102:1,111:1},OK);function QK(a,b,c){RI();RK.call(this,a,b,c,jm)}function RK(a,b,c,d){RI();PI.call(this,a);this.k=b;this.a=c;this.c=d;this.b=0}x(531,478,hn,QK,RK);\n_.Jf=function(){var a,b;a=1001==this.k?"ACTION_PERFORMED":Xl;b=m;0<(this.b&1)&&(b+="Shift");0<(this.b&2)&&(b+=0==b.length?"Ctrl":"+Ctrl");0<(this.b&4)&&(b+=0==b.length?"Meta":"+Meta");0<(this.b&8)&&(b+=0==b.length?"Alt":"+Alt");return a+",cmd="+this.a+",when="+cD(this.c)+dc+b};_.a=null;_.b=0;_.c=jm;function lI(a,b){RI();PI.call(this,a);this.k=b}x(532,478,hn,lI);\n_.Jf=function(){var a,b;a=this.n;switch(this.k){case 100:b="COMPONENT_MOVED";break;case 101:b="COMPONENT_RESIZED";break;case 102:return"COMPONENT_SHOWN";case 103:return"COMPONENT_HIDDEN";default:return Xl}return b+" ("+a.Bf()+$b+a.Cf()+ca+a.Af()+dm+a.wf()+Ob};x(535,532,hn);_.j=0;\nfunction SK(a){var b;switch(a.k){case 503:b="MOUSE_MOVED";break;case 500:b="MOUSE_CLICKED";break;case 501:b="MOUSE_PRESSED";break;case 502:b="MOUSE_RELEASED";break;case 506:b="MOUSE_DRAGGED";break;case 504:b="MOUSE_ENTERED";break;case 505:b="MOUSE_EXITED";break;case 507:b="MOUSE_WHEEL";break;default:b=Xl}b=b+",("+a.f+$b+a.i+"),button="+a.d;if(0<(a.j&16320)){var c=dc,d;d=a.j;var e;e=new nC;0!=(d&4)&&Lr(Lr(e,(nI(),null)),Sb);0!=(d&1)&&Lr(Lr(e,(nI(),null)),Sb);0!=(d&2)&&Lr(Lr(e,(nI(),null)),Sb);0!=(d&\n8)&&(0!=(d&2048)?0!=(d&512)&&Lr(Lr(e,(nI(),null)),Sb):Lr(Lr(e,(nI(),null)),Sb));0!=(d&32)&&Lr(Lr(e,(nI(),null)),Sb);0!=(d&16)&&Lr(Lr(e,(nI(),null)),Sb);0!=(d&8)&&Lr(Lr(e,(nI(),null)),Sb);0!=(d&4)&&Lr(Lr(e,(nI(),null)),Sb);d=0==e.a.a.length?e.a.a:ks(e.a.a,0,e.a.a.length-1);c=c+d+",extModifiers=";d=a.j;var f;e=(f=m,0!=(d&256)&&(f+=(nI(),null)),0!=(d&128)&&(f+=(0<f.length?Sb:m)+(nI(),null)),0!=(d&512)&&(f+=(0<f.length?Sb:m)+(nI(),null)),0!=(d&64)&&(f+=(0<f.length?Sb:m)+(nI(),null)),0!=(d&8192)&&(f+=\n(0<f.length?Sb:m)+(nI(),null)),f);0!=(d&1024)&&(e+=(0<e.length?Sb:m)+(nI(),null));0!=(d&2048)&&(e+=(0<e.length?Sb:m)+(nI(),null));0!=(d&4096)&&(e+=(0<e.length?Sb:m)+(nI(),null));b+=c+e}return b+=",clickCount="+a.e}x(537,535,hn);_.Jf=function(){return SK(this)};_.d=0;_.e=0;_.f=0;_.i=0;\nfunction kB(a,b,c,d){RI();lI.call(this,a,507);this.d=this.e=this.j=0;this.f=b;this.i=c;if(0!=(this.j&63))this.j&=-16321,0!=(this.j&1)&&(this.j|=64),0!=(this.j&2)&&(this.j|=128),0!=(this.j&4)&&(this.j|=256),0!=(this.j&8)&&(this.j|=512),0!=(this.j&32)&&(this.j|=8192),500<=this.k&&502>=this.k?0!=(this.j&16)?(this.d=1,501==this.k&&(this.j|=1024)):0!=(this.j&8)?(this.d=2,501==this.k&&(this.j|=2048)):0!=(this.j&4)&&(this.d=3,501==this.k&&(this.j|=4096)):(0!=(this.j&16)&&(this.j|=1024),0!=(this.j&8)&&(this.j|=\n2048),0!=(this.j&4)&&(this.j|=4096));else if(0!=(this.j&16320))if(this.j&=-64,0!=(this.j&64)&&(this.j|=1),0!=(this.j&128)&&(this.j|=2),0!=(this.j&256)&&(this.j|=4),0!=(this.j&512)&&(this.j|=8),0!=(this.j&8192)&&(this.j|=32),500<=this.k&&502>=this.k)switch(this.d){case 1:this.j|=16;break;case 2:this.j|=8;break;case 3:this.j|=4}else 0!=(this.j&1024)&&(this.j|=16),0!=(this.j&2048)&&(this.j|=8),0!=(this.j&4096)&&(this.j|=4);this.b=0;this.a=1;this.c=d}x(538,537,hn,kB);\n_.Jf=function(){var a,b;a=SK(this);switch(this.b){case 0:b="WHEEL_UNIT_SCROLL";break;case 1:b="WHEEL_BLOCK_SCROLL";break;default:b=Xl}return a+=",scrollType="+b+",scrollAmount="+this.a+",wheelRotation="+this.c};_.a=0;_.b=0;_.c=0;x(541,1,{71:1,79:1});function TK(){}x(542,541,{71:1,79:1,80:1},TK);_.a=0;_.b=0;_.c=0;_.d=0;function UK(){}x(543,514,{81:1,82:1},UK);_._f=kD;_.ag=Nx;_.tS=function(){return VK.d+"[x="+this.a+",y="+this.b+vh};_.a=0;_.b=0;function iK(a,b,c,d,e){a.d=b;a.e=c;a.c=d;a.b=e}\nfunction WK(){}function XK(a,b,c,d){iK(this,a,b,c,d)}x(544,517,Km,WK,XK);_.bg=Nx;_.cg=iA;_._f=yJ;_.ag=YK;_.mg=ZK;_.tS=function(){return this.cZ.d+"[x="+this.d+",y="+this.e+",width="+this.c+",height="+this.b+vh};_.b=0;_.c=0;_.d=0;_.e=0;function Pq(a,b){var c=a.slice(0,b),d;for(d=c.length;d<b;d++)c.push(0);return c}x(547,1,{});\nfunction $K(a){var b;if(-1==a.d||-1<=a.e-a.d)return b=aL(a.c,a.a,0,a.a.length),0<b&&(a.d=-1,a.e=0,a.b=b),b;0==a.d&&-1>a.a.length?(b=2*a.a.length,-1<b&&(b=-1),b=C(bL,Um,-1,b,1),Zo(a.a,0,b,a.a.length),a.a=b):0<a.d&&(Zo(a.a,a.d,a.a,a.a.length-a.d),a.e-=a.d,a.b-=a.d,a.d=0);b=aL(a.c,a.a,a.e,a.a.length-a.e);-1!=b&&(a.b+=b);return b}\nfunction bs(a){var b,c,d,e;if(null==a.a)throw new cL("luni.A5");if(a.e==a.b&&-1==$K(a))return null;for(c=a.e;c<a.b;++c)if(b=a.a[c],!(13<b)){if(10==b)return b=dL(a.a,a.e,c-a.e),a.e=c+1,b;if(13==b)return b=dL(a.a,a.e,c-a.e),a.e=c+1,(a.e<a.b||-1!=$K(a))&&10==a.a[a.e]&&++a.e,b}d=0;e=new Or;for(jw(e.a,dL(a.a,a.e,a.b-a.e));;){a.e=a.b;if(10==d)return e.a.a;if(-1==$K(a))return 0<e.a.a.length||0!=d?e.a.a:null;for(c=a.e;c<a.b;++c)if(b=a.a[c],0==d)(10==b||13==b)&&(d=b);else return 13==d&&10==b?(c>a.e&&jw(e.a,\ndL(a.a,a.e,c-a.e-1)),a.e=c+1):(c>a.e&&jw(e.a,dL(a.a,a.e,c-a.e-1)),a.e=c),e.a.a;0==d?jw(e.a,dL(a.a,a.e,a.b-a.e)):jw(e.a,dL(a.a,a.e,a.b-a.e-1))}}function eL(a){if(!a)throw new fL;this.c=a;this.a=C(bL,Um,-1,8192,1)}x(546,547,{},eL);_.a=null;_.b=0;_.c=null;_.d=-1;_.e=0;function cL(a){this.f=a}x(548,140,{85:1,94:1,102:1,111:1},cL);x(549,1,{});function NK(a){if(null==a)throw new fL;}x(550,549,{},NK);\nfunction aL(a,b,c,d){if(null==a.c)throw new cL("luni.D6");if(0>c||c>b.length)throw new gL(hL("luni.12",z(iL,o,0,[m+c])));if(0>d||d>b.length-c)throw new gL(hL("luni.18",z(iL,o,0,[m+d])));if(0==d)return 0;if(a.b==a.a)return-1;var d=a.b+d>a.a?a.a:a.b+d,e=a.c,f;for(f=a.b;f<d;++f)b[c++]=e.charCodeAt(f);b=d-a.b;a.b=d;return b}function jL(a){this.c=a;this.a=a.length}x(551,547,{},jL);_.a=0;_.b=0;_.c=null;\nfunction kL(){kL=y;lL={};lL["java.vendor"]=$i;lL["package.restrict.access.sun"]=Ul;lL["sun.java.launcher"]=fg;lL["sun.management.compiler"]=$i;lL["os.name"]=fg;lL[" sun.boot.class.path"]=fg;lL["path.separator.applet"]=fg;lL["java.vm.specification.vendor"]=$i;lL["java.runtime.version"]=fg;lL["http.proxyPort"]=fg;lL["user.name"]=fg;lL["user.language"]=fg;lL["os.name.applet"]=fg;lL["browser.version"]=fg;lL["java.version"]=fg;lL["user.timezone"]=fg;lL["java.endorsed.dirs"]=fg;lL["java.specification.name"]=\n"GWT";lL["java.specification.version"]="2.5.0";lL[qj]=Kf;!nB&&(nB=new vB);nB.a?lL[oj]="yes":lL[oj]=null}var lL;x(554,140,qn);function mL(){}function nL(a){this.f=a}x(553,554,{86:1,94:1,102:1,111:1},mL,nL);function oL(){oL=y;pL=new qL}function rL(a){var b;if(a.k){var c;b=new nC;Lr(b,a.f);b.a.a+=Fd;c=a.a;null!=c&&0<c.length&&(b.a.a+=ad,Lr(b,a.a));c=a.b;a=a.j;null!=c&&jw(b.a,c);null!=a&&(b.a.a+=Za,jw(b.a,a));b=b.a.a}else b="unknown protocol("+a.f+")://"+a.c+a.b;return b}\nfunction sL(a){oL();var b,c,d;if(null==a)throw new mL;a=cs(a);try{d=Ir(a,Jr(58))}catch(e){e=No(e);if(E(e,106))throw new nL(kw(e));throw e;}c=Ir(a,Jr(91));if(0<=d&&(-1==c||d<c)){this.f=a.substr(0,d-0);b=this.f.charCodeAt(0);b=97<=b&&122>=b||65<=b&&90>=b;for(c=1;b&&c<this.f.length;++c)b=this.f.charCodeAt(c),b=97<=b&&122>=b||65<=b&&90>=b||48<=b&&57>=b||43==b||45==b||46==b;if(b){c=this.f;tL();var f,g,h;h=c.length;b=new Or;for(g=0;g<h;++g)f=c.charCodeAt(g),65<=f&&90>=f?Kr(b,f+32&65535):jw(b.a,String.fromCharCode(f));\nthis.f=b.a.a}else this.f=null,d=-1}if(null==this.f)throw new nL(Df+a);if(!this.k&&(this.k=aC(pL,this.f),this.k||(this.k=(nI(),new uL))&&U(pL,this.f,this.k),!this.k))throw new nL(Df+a);try{c=a;var j=++d,l=a.length,n,q,r,t,A,u,w,F,H,s,Q,da,Y,W,ja,vb,Ua,db,M,yb,ua;if(l<j||0>l){if(-2147483647>=l&&(j>=c.length||0>j)||!(0>j||j>=c.length)&&c.indexOf(ad,j)==j&&-1==ns(c,Jr(47),j+2))throw new vL(l);}else{Q=c.substr(j,l-j);l-=j;u=0;w=this.c;da=this.e;db=this.j;t=this.d;ja=this.i;n=this.a;ua=this.n;M=ns(Q,Jr(35),\n0);if(0==Q.indexOf(ad)&&0!=Q.indexOf("////")){H=2;da=-1;u=ns(Q,Jr(47),2);Ua=ns(Q,Jr(63),2);-1!=Ua&&(-1==u||u>Ua)&&(u=Ua);-1==u&&(u=l,t=m);F=u;-1!=M&&M<u&&(F=M);var P=Jr(64);yb=Q.lastIndexOf(P,F);n=Q.substr(2,F-2);-1<yb&&(ua=Q.substr(2,yb-2),H=yb+1);Y=ns(Q,Jr(58),-1==yb?H:yb);r=Ir(Q,Jr(93));if(-1!=r)try{Q.length>r+1?(q=Q.charCodeAt(r+1),58==q?Y=r+1:Y=-1):Y=-1}catch(Ca){if(Ca=No(Ca),!E(Ca,102))throw Ca;}-1==Y||Y>u?w=Q.substr(H,F-H):(w=Q.substr(H,Y-H),W=Q.substr(Y+1,F-(Y+1)),0==W.length?da=-1:da=as(W,\n10))}-1<M&&(db=Q.substr(M+1,l-(M+1)));A=-1==M?l:M;var mb=Jr(63);vb=Q.lastIndexOf(mb,A);-1<vb?(ja=Q.substr(vb+1,A-(vb+1)),0==vb&&null!=t&&(ds(t,m)?t=Xc:t.indexOf(Xc),s=XH(t,Jr(47))+1,t=t.substr(0,s-0)),A=vb):0!=M&&(ja=null);-1<u&&(u<l&&47==Q.charCodeAt(u)?t=Q.substr(u,A-u):A>u&&(null==t?t=m:ds(t,m)?t=Xc:t.indexOf(Xc),s=XH(t,Jr(47))+1,0==s?t=Q.substr(u,A-u):t=t.substr(0,s-0)+Q.substr(u,A-u)));null==t&&(t=m);null==w&&(w=m);d=w;var va;va=t;null!=ja&&!ds(ja,m)&&(null!=t?va=t+Xd+ja:va=Xd+ja);null==this.f&&\n(this.f=this.f);this.c=d;this.b=va;this.e=da;this.j=db;var hb;null!=this.c&&0<this.c.length&&(this.a=this.c,-1!=this.e&&(this.a=this.a+Fd+this.e));null!=this.c&&-1<(hb=XH(this.c,Jr(64)))?(this.n=ks(this.c,0,hb),this.c=gs(this.c,hb+1)):this.n=null;null!=this.b&&-1<(hb=Ir(this.b,Jr(63)))?(this.i=gs(this.b,hb+1),this.d=ks(this.b,0,hb)):(this.i=null,this.d=this.b);this.a=n;this.n=ua;this.d=t;this.i=ja}}catch(R){R=No(R);if(E(R,102))throw new nL(kw(R));throw R;}if(-1>this.e)throw new nL("incorrect port: "+\nthis.e);}x(555,1,hn,sL);_.tS=function(){return rL(this)};_.a=null;_.b=null;_.c=null;_.d=null;_.e=-1;_.f=null;_.i=null;_.j=null;_.k=null;_.n=null;var pL;x(556,1,{});function wL(a,b,c){var d,e;for(d=a.tg().af();d.Be();)if(a=d.Ce(),e=a.Fi(),null==b?null==e:rw(b,e))return c&&(a=new xL(a.Fi(),a.Gi()),d.De()),a;return null}x(560,1,mn);_.sg=function(a){return!!wL(this,a,!1)};\n_.eQ=function(a){var b,c;if(a===this)return!0;if(!E(a,114)||this.xg()!=a.xg())return!1;for(a=a.tg().af();a.Be();)if(b=a.Ce(),c=b.Fi(),b=b.Gi(),!this.sg(c)||!yL(b,this.ug(c)))return!1;return!0};_.ug=function(a){a=wL(this,a,!1);return!a?null:a.Gi()};_.hC=function(){var a,b,c;c=0;for(b=this.tg().af();b.Be();)a=b.Ce(),c+=a.hC(),c=~~c;return c};_.mg=zL;_.vg=function(){throw new AL("Put not supported on this map");};_.wg=function(a){a=wL(this,a,!0);return!a?null:a.Gi()};_.xg=function(){return this.tg().xg()};\n_.tS=function(){var a,b,c,d;d=fm;a=!1;for(c=this.tg().af();c.Be();)b=c.Ce(),a?d+=ac:a=!0,d+=m+b.Fi(),d+=Vd,d+=m+b.Gi();return d+"}"};function qH(a){a.a=[];a.e={};a.c=!1;a.b=null;a.d=0}function iE(a,b){var c;if(null==b)c=a.c;else if(E(b,1))c=Fd+b in a.e;else a:{c=a.Ag(b);if(c=a.a[c])for(var d=0,e=c.length;d<e;++d){var f=c[d].Fi();if(a.zg(b,f)){c=!0;break a}}c=!1}return c}function aC(a,b){return null==b?a.b:E(b,1)?a.e[Fd+b]:BL(a,b,a.Ag(b))}\nfunction BL(a,b,c){if(c=a.a[c])for(var d=0,e=c.length;d<e;++d){var f=c[d],g=f.Fi();if(a.zg(b,g))return f.Gi()}return null}function U(a,b,c){return null==b?CL(a,c):E(b,1)?DL(a,b,c):EL(a,b,c,a.Ag(b))}function EL(a,b,c,d){var e=a.a[d];if(e)for(var f=0,g=e.length;f<g;++f){var d=e[f],h=d.Fi();if(a.zg(b,h))return a=d.Gi(),d.Hi(c),a}else e=a.a[d]=[];d=new xL(b,c);e.push(d);++a.d;return null}function CL(a,b){var c;c=a.b;a.b=b;a.c||(a.c=!0,++a.d);return c}\nfunction DL(a,b,c){var d,e=a.e,b=Fd+b;b in e?d=e[b]:++a.d;e[b]=c;return d}function cC(a,b){var c;if(null==b)c=a.b,a.b=null,a.c&&(a.c=!1,--a.d);else if(E(b,1)){var d,e=a.e;c=Fd+b;c in e&&(d=e[c],--a.d,delete e[c]);c=d}else a:{c=a.Ag(b);if(d=a.a[c])for(var e=0,f=d.length;e<f;++e){var g=d[e],h=g.Fi();if(a.zg(b,h)){1==d.length?delete a.a[c]:d.splice(e,1);--a.d;c=g.Gi();break a}}c=null}return c}x(559,560,mn);_.sg=function(a){return iE(this,a)};_.tg=function(){return new FL(this)};\n_.zg=function(a,b){return this.yg(a,b)};_.ug=function(a){return aC(this,a)};_.vg=function(a,b){return U(this,a,b)};_.wg=function(a){return cC(this,a)};_.xg=yJ;_.a=null;_.b=null;_.c=!1;_.d=0;_.e=null;function hw(){qH(this)}x(558,559,Xm,hw);_.yg=function(a,b){return zC(a)===zC(b)||null!=a&&rw(a,b)};_.Ag=function(a){return~~uw(a)};function qL(){qH(this)}x(557,558,Xm,qL);function GL(){}x(561,139,Cn,GL);function HL(a){var b,c;b=0;for(c=a.a;c<a.i;){c=IL(a,c);if(c>=a.i)break;c=JL(a,c);++b}return b}\nfunction KL(a,b){var c;for(c=0;c<a.b.length;++c)if(a.b[c]==b)return!0;return!1}function LL(a){var b;a.a=0<=a.j&&!a.d?a.j:IL(a,a.a);a.d=!1;a.j=-1;if(a.a>=a.i)throw new GL;b=a.a;a.a=JL(a,a.a);return ks(a.n,b,a.a)}\nfunction JL(a,b){var c,d;for(d=b;d<a.i;)if(a.e){c=ML(a.n,d,a.n.length);if(c<=a.f&&KL(a,c))break;d+=65536<=c?2:1}else{c=a.n.charCodeAt(d);if(c<=a.f&&0<=Ir(a.c,Jr(c)))break;++d}a.k&&b==d&&(a.e?(c=ML(a.n,d,a.n.length),c<=a.f&&KL(a,c)&&(d+=65536<=c?2:1)):(c=a.n.charCodeAt(d),c<=a.f&&0<=Ir(a.c,Jr(c))&&++d));return d}\nfunction IL(a,b){var c,d;if(null==a.c)throw new fL;for(d=b;!a.k&&d<a.i;)if(a.e){c=ML(a.n,d,a.n.length);if(c>a.f||!KL(a,c))break;d+=65536<=c?2:1}else{c=a.n.charCodeAt(d);if(c>a.f||0>Ir(a.c,Jr(c)))break;++d}return d}function NL(a){OL.call(this,a," \\t\\n\\r\\u000c",!1)}function PL(a){OL.call(this,a,$b,!1)}\nfunction OL(a,b,c){this.a=0;this.j=-1;this.d=!1;this.n=a;this.i=a.length;this.c=b;this.k=c;var d;if(null==this.c)this.f=0;else{for(c=b=d=0;c<this.c.length;c+=65536<=a?2:1)a=this.c.charCodeAt(c),55296<=a&&57343>=a&&(a=ML(this.c,c,this.c.length),this.e=!0),d<a&&(d=a),++b;this.f=d;if(this.e){this.b=C(B,v,-1,b,1);for(c=0,d=0;c<b;++c,d+=65536<=a?2:1)a=ML(this.c,d,this.c.length),this.b[c]=a}}}x(562,1,{},NL,PL,OL);_.a=0;_.b=null;_.c=null;_.d=!1;_.e=!1;_.f=0;_.i=0;_.j=0;_.k=!1;_.n=null;function QL(){}\nx(563,1,{},QL);_.a=null;function RL(){}function SL(a){var b,c;c=m;c+=lj;c+=Dj;b=new RL;b.a=RegExp(a,c);return b}x(564,1,{},RL);_.a=null;\nfunction TL(a,b){var c,d,e,f,g;c=m;if(null!=b){d=0;for(f=0,g=b.length;f<g;++f){e=b[f];if(E(e,1)&&(e=zw(e),!(xw(),!/[^,:{}\\[\\]0-9.\\-+Eaeflnr-u \\n\\r\\t]/.test(e.replace(/"(\\\\.|[^"\\\\])*"/g,m)))))return;c+=e;d<b.length-1&&(c+=$b);++d}}typeof a==Vi?($wnd.alert("A JavaScript function name is expected, not a the function itself"),c=$wnd.eval(nh+c+vh),a.apply(c)):(evalString=a+Nb+c+");",$wnd.eval(evalString))}\nfunction UL(a){var b;if(null==a||0==a.length)return VL(\'JSME installation warning: invalid size or not specified size of DOM element: "\'+a+\'", Using "100%".\'),kd;b=a.charCodeAt(a.length-1);return WL(b)||46==b?a+Jk:a}function FC(a){var a=new XL(a),b,c,d,e,f;b=$doc.getElementsByTagName(Ci);f=b.length;a.c=[];for(d=0;d<f;++d)e=b[d],c=e.getAttribute(oi)||m,c==a.a&&(c=a.c,c[c.length]=e);for(a.b=0;YL(a););return a.b}x(572,1,{});function ZL(a,b){b.me(new $L);b.le(new aM);b.ne(new bM);b.oe(new cM(a))}\nx(571,572,{});_.b=null;_.c=1;_.d=-1;function dM(a){this.a=a;this.b=new eM(this.a);this.c=this.d=1}x(570,571,{},dM);_.a=null;function eM(a){this.a=a}x(573,1,{},eM);_.Bg=function(a){fM(this.a,a,!0)};_.a=null;function gM(a){this.a=a}x(574,1,{},gM);_.a=null;function hM(a){var b,c,d;xE(a.c,a.b.lb.alt);b=iM(a.a);c=b.c;d=b.d;vE(a.c,b.b,b.a);cF(a.d.r?a.d.r:a.d.i,a.c,c,d)}function jM(a,b,c,d){this.c=a;this.b=b;this.a=c;this.d=d}x(575,1,{},jM);_.Cg=function(){hM(this)};_.a=null;_.b=null;_.c=null;\nvar kM=_.d=null;function lM(){lM=y;kM=new eD((uD(),new tD("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAQCAYAAADqDXTRAAAAF0lEQVR42mNgGAWjYBSMglEwCkYBpQAAB1AAAZMWyVkAAAAASUVORK5CYII=")),29,16)}function mM(a){var b;$wnd.JSApplet.Inchi.__local_ff=function(a){b=a};$wnd.JSApplet.Inchi.computeInchi(a,"JSApplet.Inchi.__local_ff");delete $wnd.JSApplet.Inchi.__local_ff;return b}function nM(a){var b;oM?a&&pM(a):(b=(qM(),rM).a.a,b=(Aw(),new Gw(b)),b.d=Bw,Dw(Ew(b,new sM(a))))}var oM=!1;\nfunction sM(a){this.a=a}x(579,1,{},sM);_.Zd=function(a){if(this.a){var b=this.a;b.a&&b.a.ae(a)}else $wnd.alert("Loading of InChI-js failed")};_.$d=function(){this.a&&(pM(this.a),oM=!0)};_.a=null;function pM(a){var b;b=mM(a.b);a.a.Dg(b)}function tM(a,b){this.a=a;this.b=b}x(580,1,sn,tM);_.ae=function(a){this.a&&this.a.ae(a)};_.a=null;var rM=_.b=null;function qM(){qM=y;rM=new dD((uD(),new tD($moduleBase+"96E40B969193BD74B8A621486920E79C.cache.js")))}function uM(a){return a.error==m?null:a.error}\nfunction vM(a){return a.warning==m?null:a.warning}\nfunction wM(){wM=y;xM=z(Jq,o,1,["Copyright (c) 2020, Novartis Institutes for BioMedical Research Inc. and Bruno Bienfait.","All rights reserved."]);yM=z(B,v,-1,[301,3,401,4,501,5,701,9,801,10,901,11,1001,12,601,8,1101,7,1300,1,1201,32,1301,33]);zM=C(AM,o,59,43,0);BM=C(Jq,o,1,43,0);CM=null!=(kL(),lL[oj]);DM=C(EM,o,63,100,0);FM=C(GM,o,64,100,0);HM=C(EM,o,63,100,0);IM=C(GM,o,64,100,0);var a,b;for(a=1;42>=a;++a)0<JM(a)?zM[a]=(bJ(),hJ):(zM[a]=(bJ(),mJ),BM[a]=fh);BM[1]=vf;zM[1]=(bJ(),hJ);BM[2]=ye;zM[2]=\nmJ;BM[3]=Fe;zM[3]=hJ;BM[4]=eg;zM[4]=rJ;BM[5]=lg;zM[5]=lJ;BM[9]=kf;zM[9]=oJ;BM[10]=Te;zM[10]=oJ;BM[11]=Ee;zM[11]=oJ;BM[12]=Bf;zM[12]=oJ;BM[8]=Jg;zM[8]=tJ(nJ);BM[7]=ng;zM[7]=mJ;BM[6]=Wg;zM[6]=hJ;BM[13]=Tg;zM[13]=hJ;BM[32]=fh;zM[32]=hJ;BM[14]=Lf;BM[16]=Nf;BM[15]=ig;BM[17]=Ig;BM[18]=$e;BM[19]=sf;BM[20]=je;BM[21]=dg;BM[22]=Oe;BM[24]=Xg;BM[23]=Ae;BM[25]=gh;BM[26]=jg;BM[27]=af;BM[28]=Pe;BM[29]=ke;BM[30]=uf;BM[31]=ue;for(a=33;42>=a;++a)b=vg,33<a&&(b+=a-33),BM[a]=b,zM[a]=hJ}\nfunction KM(a){LM(a);a.Nc.d=a.Sc;a.Nc.c=a.qc;a.Nc.b=a.L;return MM(a.Vb,a.Nc)}function NM(a){var b;b=!1;if(0<a.r.w||0<a.r.x)b=!0,0<a.r.w?(OM(a.r,a.r.w),PM(a,"delAtom",a.r.w),a.r.w=0):(QM(a.r,a.r.x),PM(a,"delBond",a.r.w),a.r.x=0),RM(a.r,a.qc),SM(a.Vb),0==a.Vb.c&&bq(a.Vb,new TM),a.r=io(a.Vb,0);return b}\nfunction UM(a,b){var c,d,e,f;VM(a,!1);c=b.a;a:{e=a.O;var g;WM(e);for(d=e.a,f=0,g=d.length;f<g;++f)if(e=d[f],e.b==c){d=e;break a}d=null}if(d)c=d.c,XM(a,c),YM(a,d.d);else{if(ds(c,(ZM(),$M).b))aN(bN(a));else if(ds(c,cN.b))aN(yA(a,!0,!1));else if(ds(c,dN.b))aN(yA(a,!0,!0));else if(ds(c,eN.b))aN(fN(a));else if(ds(c,gN.b))a.mc&&(c=a.v,null==c.p&&(c.p=og),hN(a.N,(!a.nc&&(a.nc=new iN(a)),a.nc)));else if(ds(c,jN.b))a.Hg(jN);else if(ds(c,kN.b))a.Hg(kN);else if(ds(c,lN.b))a.Hg(lN);else if(ds(c,mN.b))Xw(7,new nN(a));\nelse if(ds(c,oN.b))a.Tg();else if(ds(c,pN.b))Xw(8,new rN(a));else if(a.rb&&ds(c,sN.b))c=a.Jg(),null!=c&&aN(c);else if(ds(c,Wk))7!=a.ub&&(a.vb=jm),d=b.c,d=bD(d,im),c=VC(d,a.vb),e=!lq(c,jm)?QC(c):c,!lq(e,qm)&&tN(a.r,J(c)),a.cc=!0,a.ub=7,a.vb=d;else if(c==bh||c==Vg){if(e=uN(a.r,(vN(),c==Vg?wN:xN)))a.r.f.a?yN(a,"Chiral flag is set"):yN(a,"No Chiral flag"),zN(a,"changeChiral",et(a.Vb,a.r),0,0),a.cc=!0}else if(c==ve){f=AN(a.Vb,-1);e=!1;for(c=1;c<=a.r.o;++c)d=a.r.b[c],-99199==d.j&&(++f,d.j=f,e=!0);e&&(a.cc=\n!0,zN(a,"changeManyAtomMap",et(a.Vb,a.r),0,0))}else if(c==df){c=a.r;e=!1;for(d=1;d<=c.o;++d)e=BN(c.b[d])||e;(a.cc=e)&&zN(a,"deleteAtomMaps",et(a.Vb,a.r),0,0)}else c==Ug||c==ah?(a.cc=!0,d=a.ob.c,vN(),c=a.ob.e.c[d],d=(vN(),0!=a.ob.e.c[d].d?wN:xN),c.d=d.a?0:1,c=0==c.d?wN:xN,zN(a,c.a?"setBondCoordination":"unSetBondCoordination",et(a.Vb,a.r),0,a.r.x)):c==ef?(c=(new CN).b,c.d=!0,c.e=!1,a.cc=DN(a.r,c),a.cc&&zN(a,"deleteHydrogens",et(a.Vb,a.r),0,0)):c==Ye?Xw(6,new EN(a)):ds(c,dl)||(ds(c,Li)?a.Fc=!0:FN(a,\nc));(a.cc||a.ac)&&a.If(a.bd.e)}}function XM(a,b){1>b||b>GN(a.O)?(Xw(2,new HN(a,"Invalid color index: "+b)),a.Cc=!0,a.zb=!1,a.q=a.xb,yN(a,a.T)):(a.xb=a.q=b,a.o=105,IN(a,Kj,!0),a.ec=!0);a.If(a.bd.e)}function JN(a,b,c,d,e){var f;f=KN(b);c=LN(a,c,d,e);a=c.d+c.c/2-(f.d+f.c/2);f=c.e+c.b/2-(f.e+f.b/2);for(c=new gq(b.a);c.b<c.d.xg();)b=hq(c),b.Xi(a,f)}\nfunction MN(a,b){a.o=202;a.gc=!1;yN(a,a.T);0!=a.Vb.c&&(Po(a.Vb,a.r),0<a.Vb.c?a.r=NN(a,J(L(N(ON(a.r)*a.Sb))),J(L(N(PN(a.r)*a.Sb)))):(a.r=new QN(a,a.Ub),bq(a.Vb,a.r)),a.cc=!0,a.u=!0,b&&(!!a.v&&RN(Ew(a.v,li),a.Vb,0,0,0),a.Fc=!0))}function SN(a){a.r=new QN(a,a.Ub);TN(a.Vb);bq(a.Vb,a.r);a.Nb=null;a.cc=!0}\nfunction UN(a,b){var c,d,e,f,g;g=new eK;e=Kg;d=cg;f="MOL or SDF";vN();a:{var h;for(h=new gq(a.Vb);h.b<h.d.xg();)if(c=hq(h),0<c.o){c=(vN(),vN(),wN);break a}c=(vN(),vN(),xN)}c=c.a?xN:wN;b&&(e=Rg,f=d=Hg);a.Zc&&(f+=" or "+e,!b&&a.Yc&&(f+=" or OCL ID code"));e=new ZJ(Ze+e);h=(ZM(),$M).b;e.c=h;dK(g,e);WJ(e,!c.a);VI(e.d,a);e=new ZJ(Ze+d);e.c=cN.b;VI(e.d,a);dK(g,e);b||(e=new ZJ(Ze+d+" V3000"),e.c=dN.b,VI(e.d,a),dK(g,e),a.Eg()&&(a.Z&&(e=new ZJ("Copy as InChI"),e.c=jN.b,VI(e.d,a),WJ(e,!c.a),dK(g,e)),a._&&(e=\nnew ZJ("Copy as InChI key"),e.c=kN.b,VI(e.d,a),WJ(e,!c.a),dK(g,e)),a.Ic&&(e=new ZJ("Search chemical structure (through InChIKey)"),e.c=oN.b,VI(e.d,a),WJ(e,!c.a),dK(g,e)),a.$&&(e=new ZJ("Copy as InChI auxinfo"),e.c=lN.b,VI(e.d,a),WJ(e,!c.a),dK(g,e))));e=new ZJ("Copy as JME");e.c=eN.b;VI(e.d,a);dK(g,e);a.Zc&&a.bb&&!b&&(e=new ZJ("Copy as OCL Scalar Vector Graphics"),e.c=pN.b,VI(e.d,a),dK(g,e));a.rb&&a.bb&&(e=new ZJ("Copy as raw Scalar Vector Graphics"),e.c=sN.b,VI(e.d,a),dK(g,e));a.Zc&&a.Yc&&!b&&(e=\nnew ZJ("Copy as OCL ID code"),e.c=mN.b,VI(e.d,a),WJ(e,!c.a),dK(g,e));a.mc&&(dK(g,new ZJ(hc)),d=a.pc,null==d&&(d="Paste "+f),e=new ZJ(d),e.c=gN.b,VI(e.d,a),dK(g,e));VH(a,g);return g}function VN(a,b,c,d){return new WN(a.Ig(!b?null:b.a,J(L(Math.round(c))),J(L(Math.round(d)))))}\nfunction XN(a,b,c,d){var e,f,g,h,j,l,n;f=100*d+c;j=(c-1)*(a.Ib+(a.fc?1:0));g=(d-1)*(a.Ib+(a.fc?1:0));1==c&&2<d&&(g-=2*a.Ib);YN(b,a.H);a.fc?(f==a.o&&YN(b,tJ(a.H)),ZN(b,j,g,a.Ib,a.Ib),YN(b,(bJ(),hJ)),$N(b,j,g,a.Ib-1,a.Ib-1)):f==a.o?aO(b,j+1,g+1,a.Ib,a.Ib,!1):aO(b,j,g,a.Ib,a.Ib,!0);if(bO(a,f))if(c=a.Ib/4,3>d)switch(YN(b,(bJ(),jJ)),f){case 101:YN(b,nJ);cO(b,j+3,g+3,a.Ib-6,a.Ib-6);YN(b,jJ);e=g+3;h=a.Ib-6;c=a.Ib-6;d=b.a;f=J(L(N((j+3)*X)));e=J(L(N(e*X)));h=J(L(N(h*X)));c=J(L(N(c*X)));d.n&&(dO(d,!1),eO(d,\nfO(d,f,e,h,c)));gO(b,j+6,g+6,a.Ib-12,a.Ib-12);hO(b.a,J(L(N((j+9)*(iO(),X)))),J(L(N((g+9)*X))),J(L(N(2*X))),J(L(N(4*X))));ZN(b,j+a.Ib-10,g+9,2,4);0.04>Math.random()&&(YN(b,lJ),hO(b.a,J(L(N((j+10)*X))),J(L(N((g+18)*X))),J(L(N(4*X))),J(L(N(4*X)))));0.96<Math.random()&&(YN(b,nJ),ZN(b,j+a.Ib-10,g+8,2,3));break;case 112:f=j+c;e=j+a.Ib-c;h=j+a.Ib/2;jO(b,f,g+a.Ib-c,h,g+a.Ib/2);jO(b,j+a.Ib/2,g+a.Ib/2,e,g+a.Ib-c);l=g+a.Ib-c;d=a.Ib/24;kO(b.a,J(L(N((h-d)*(iO(),X)))),J(L(N(l*X))),J(L(N((h-2*d)*X))),J(L(N(l*X))));\nkO(b.a,J(L(N((h+d)*X))),J(L(N(l*X))),J(L(N((h+2*d)*X))),J(L(N(l*X))));YN(b,oJ);jO(b,f,g+c,h,g+a.Ib/2);jO(b,j+a.Ib/2,g+a.Ib/2,e,g+c);l=g+c;kO(b.a,J(L(N((h-d)*X))),J(L(N(l*X))),J(L(N((h-2*d)*X))),J(L(N(l*X))));kO(b.a,J(L(N((h+d)*X))),J(L(N(l*X))),J(L(N((h+2*d)*X))),J(L(N(l*X))));YN(b,jJ);break;case 107:YN(b,mJ);ZN(b,j+4,g+4,a.Ib-8,a.Ib-8);YN(b,jJ);$N(b,j+4,g+4,a.Ib-8,a.Ib-8);gO(b,j+6,g+6,a.Ib-11,a.Ib-12);hO(b.a,J(L(N((j+9)*(iO(),X)))),J(L(N((g+9)*X))),J(L(N(2*X))),J(L(N(4*X))));ZN(b,j+a.Ib-10,g+9,2,\n4);break;case 108:d=a.Ib/4;jO(b,j+d,g+a.Ib-d,j+a.Ib-d,g+d);d=a.Ib/2-d;f=g+2*a.Ib/3;j+=a.Ib/2;c=j+d;kO(b.a,J(L(N(j*(iO(),X)))),J(L(N(f*X))),J(L(N(c*X))),J(L(N(f*X))));g+=a.Ib/3;a=j-d;kO(b.a,J(L(N(a*X))),J(L(N(g*X))),J(L(N(j*X))),J(L(N(g*X))));j=(a+j)/2;g-=d/2;a=g+d;kO(b.a,J(L(N(j*X))),J(L(N(g*X))),J(L(N(j*X))),J(L(N(a*X))));break;case 113:a.Jc&&(d=c/2,f=a.Ib-2*c-2*d,c=j+d+c,e=g+(c-j),YN(b,qJ),lO(b.a,J(L(N(c*(iO(),X)))),J(L(N(e*X))),J(L(N(f*X))),J(L(N(f*X)))),YN(b,iJ),h=j+a.Ib/2,a=g+a.Ib/2,l=c+f,n=\ng+d,g=n+d,kO(b.a,J(L(N(c*X))),J(L(N(g*X))),J(L(N(h*X))),J(L(N(n*X)))),kO(b.a,J(L(N(h*X))),J(L(N(n*X))),J(L(N(l*X))),J(L(N(g*X)))),g=e+f+d,n=g+d,kO(b.a,J(L(N(c*X))),J(L(N(g*X))),J(L(N(h*X))),J(L(N(n*X)))),kO(b.a,J(L(N(h*X))),J(L(N(n*X))),J(L(N(l*X))),J(L(N(g*X)))),j+=d,l=j+d,g=e+f,kO(b.a,J(L(N(l*X))),J(L(N(e*X))),J(L(N(j*X))),J(L(N(a*X)))),kO(b.a,J(L(N(j*X))),J(L(N(a*X))),J(L(N(l*X))),J(L(N(g*X)))),j=c+f+d,l=j+d,kO(b.a,J(L(N(j*X))),J(L(N(e*X))),J(L(N(l*X))),J(L(N(a*X)))),kO(b.a,J(L(N(l*X))),J(L(N(a*\nX))),J(L(N(j*X))),J(L(N(g*X)))));break;case 110:mO(b,j,g,a.Ib,!0);break;case 111:mO(b,j,g,a.Ib,!1);break;case 214:d=a.pb;f=3+j;c=f+d/2;e=f+d;h=g+3;l=h+d;YN(b,qJ);nO(b,z(to,Sm,-1,[f,c,e]),z(to,Sm,-1,[h,l,h]),3);f=c;l=h+d/2;h=l+d;nO(b,z(to,Sm,-1,[f,c+d/2,f+d]),z(to,Sm,-1,[h,l,h]),3);a.db=new bK(I(j),I(g));break;case 109:jO(b,j+c,g+a.Ib/2,j+a.Ib-c,g+a.Ib/2);jO(b,j+a.Ib-c,g+a.Ib/2,j+a.Ib-3*c/2,g+a.Ib/2+c/2);jO(b,j+a.Ib-c,g+a.Ib/2,j+a.Ib-3*c/2,g+a.Ib/2-c/2);break;case 102:YN(b,dJ);ZN(b,j+3,g+5,a.Ib-7,\na.Ib-11);YN(b,jJ);$N(b,j+3,g+5,a.Ib-7,a.Ib-11);break;case 103:YN(b,a.H);a.gc&&aO(b,j+1,g+1,a.Ib,a.Ib,!1);YN(b,jJ);oO(a,b,j,g,gg);break;case 106:YN(b,lJ);jO(b,j+7,g+7,j+a.Ib-7,g+a.Ib-7);jO(b,j+7,g+a.Ib-7,j+a.Ib-7,g+7);YN(b,jJ);jO(b,j+c,g+a.Ib/2,j+12,g+a.Ib/2);oO(a,b,j+6,g,vg);break;case 104:YN(b,lJ);jO(b,j+7,g+7,j+a.Ib-7,g+a.Ib-7);jO(b,j+7,g+a.Ib-7,j+a.Ib-7,g+7);YN(b,jJ);break;case 105:a.Rc||(a.Ub.e?(d=a.O,f=a.q,WM(d),(d=0<=f&&f<d.a.length?d.a[f].a:null)?(!b.b?pO(b.a,d):d==b.c||uJ(d,b.c)?pO(b.a,b.c):\npO(b.a,b.b),cO(b,j+4.5,g+4.5,a.Ib-9,a.Ib-9),YN(b,jJ)):YM(a,"invalid color index:"+a.q)):oO(a,b,j,g,"123"),a.Cb=new bK(I(j),I(g)));break;case 114:YN(b,rJ);d=a.Ib-8;f=j+(a.Ib-d)/2;c=g+(a.Ib-d)/2;hO(b.a,J(L(N(f*(iO(),X)))),J(L(N(c*X))),J(L(N(d*X))),J(L(N(d*X))));YN(b,jJ);qO(a,b,j,g,dJ,lj);break;case 201:jO(b,j+c,g+a.Ib/2,j+a.Ib-c,g+a.Ib/2+2);jO(b,j+c,g+a.Ib/2,j+a.Ib-c,g+a.Ib/2-2);jO(b,j+a.Ib-c,g+a.Ib/2+2,j+a.Ib-c,g+a.Ib/2-2);break;case 202:jO(b,j+c,g+a.Ib/2,j+a.Ib-c,g+a.Ib/2);break;case 203:jO(b,j+c,\ng+a.Ib/2-2,j+a.Ib-c,g+a.Ib/2-2);jO(b,j+c,g+a.Ib/2+2,j+a.Ib-c,g+a.Ib/2+2);break;case 204:jO(b,j+c,g+a.Ib/2,j+a.Ib-c,g+a.Ib/2);jO(b,j+c,g+a.Ib/2-3,j+a.Ib-c,g+a.Ib/2-3);jO(b,j+c,g+a.Ib/2+3,j+a.Ib-c,g+a.Ib/2+3);break;case 205:kO(b.a,J(L(N((j+c/2)*(iO(),X)))),J(L(N((g+2*c+c/3)*X))),J(L(N((j+3*(c/2))*X))),J(L(N((g+2*c-c/3)*X))));kO(b.a,J(L(N((j+3*(c/2))*X))),J(L(N((g+2*c-c/3)*X))),J(L(N((j+5*(c/2))*X))),J(L(N((g+2*c+c/3)*X))));kO(b.a,J(L(N((j+5*(c/2))*X))),J(L(N((g+2*c+c/3)*X))),J(L(N((j+7*(c/2))*X))),\nJ(L(N((g+2*c-c/3)*X))));break;case 206:rO(a,b,j,g+2,3);break;case 207:rO(a,b,j,g,4);break;case 208:rO(a,b,j,g,5);break;case 209:rO(a,b,j,g,1);break;case 210:rO(a,b,j,g,6);break;case 211:rO(a,b,j,g,7);break;case 212:rO(a,b,j,g,8);break;case 213:a.cb&&(oO(a,b,j,g,qf),a.ib=new bK(I(j),I(g)))}else 1301==f&&a.Rg(m),d=sO(a,f),-1!=d&&(f=BM[d],qO(a,b,j,g,zM[d],f))}function tO(a){var b;if(0==a.r.o)return m;b=(bJ(),kJ);a.r.z=b;b=uO(a.r,m,!0);vO(a);MN(a,!0);vO(a);return b}\nfunction wO(a,b,c){var d,e,f;d=0;b=J(L(N(b/a.Jb)));c=J(L(N(c/a.Jb)));if(b<(a.U?0:a.Ib+(a.fc?1:0))||c<(a.U?0:2*a.Ib+(a.fc?1:0))){f=0;for(e=1;14>=e;++e)if(b<e*(a.Ib+(a.fc?1:0))){f=e;break}b=0;for(e=1;e<=xO+2;++e)if(c<e*(a.Ib+(a.fc?1:0))){b=e;break}0<f&&0<b&&(d=100*b+f)}switch(d){case 109:a.Ac||(d=0);break;case 213:a.cb||(d=0);break;case 105:a.Rc&&(d=0)}return d}function yO(a){var b;b=9;a.zc&&++b;a.$c&&++b;return b}\nfunction zO(a,b,c){var d,e,f,g,h;e=b.j.c/b.i;d=b.j.b/b.i;f=3*c;c*=a.pb;!a.Y?a.Y=new AO(b):a.Y.a=b;a.U&&(f=0);f=e-f-c;e=f+c;a.U?(g=d,h=d-c,d=(h+d)/2):(d/=2,g=d+c/2,h=d-c/2);YN(b,(bJ(),qJ));nO(b,z(to,Sm,-1,[f,e,f]),z(to,Sm,-1,[h,d,g]),3);iK(a.Y,f,h,c,c)}\nfunction BO(a){var b,c,d,e,f,g,h,j,l,n,q;a.Rg("drawMolecularArea  mustReDrawMolecularArea="+a.cc+ba);if(a.cc){if(a.Ub.a&&a.v&&null!=a.v.a&&a.v.a!=Wl&&a.v.a!=Rk)for(f=new gq(a.Vb);f.b<f.d.xg();)e=hq(f),RM(e,a.qc);g=new XK(J(L(N(CO(a,a.Jb)))),J(L(N(DO(a,a.Jb)))),a.Tb,a.Pb);h=EO(a.Qb,a.Sb,g);d=a.Tb;c=a.Pb;a.Rg("drawMolecularArea  "+d+" : "+c+" scale: "+a.Sb+ba);YN(h,a.M);d/=a.Sb;c/=a.Sb;hO(h.a,J(L(N(0*(iO(),X)))),J(L(N(0*X))),J(L(N(d*X))),J(L(N(c*X))));j=a.Ob?(lK(),oK):(lK(),qK);var r=(lK(),mK),t=h.a;\nif(r==(lK(),mK))j==oK?t.b=m:t.b=pl;var A=new ZI(a.Rb);h.d=new ZI(X*A.e);FO(h.a,h.d);if(a.eb||a.x&&a.tc)b=GO(a,a.Vb),JN(a,b,a.X,a.Jb,a.Sb),a.eb=!1;for(f=new gq(a.Vb);f.b<f.d.xg();){var u=e=hq(f),w=h,F=void 0,H=void 0,s=void 0,Q=void 0,da=void 0,Y=void 0,W=void 0,ja=void 0,vb=void 0,Ua=void 0,db=void 0,M=void 0,yb=void 0,ua=void 0,P=void 0,Ca=void 0,mb=void 0,va=void 0,hb=void 0,R=void 0,Uc=void 0,ra=void 0,qb=void 0,ib=void 0,bb=void 0,$a=void 0,eb=void 0,La=void 0,ma=void 0,V=void 0,Fb=void 0,Tb=\nvoid 0,ea=void 0,Lc=void 0,G=void 0,S=void 0,Lb=void 0,Gb=void 0,Mc=void 0,Ub=void 0,ka=void 0,nb=void 0,Hb=void 0,ya=void 0,ob=void 0,Nc=void 0,O=void 0,Ka=void 0,qc=void 0,yc=void 0,wb=void 0,Ib=void 0,ja=La=1,mb=u.n.e;w.c=u.j.M;u.j.W&&(YN(w,(bJ(),jJ)),$N(w,0,0,u.j.X.b-1,u.j.X.a-1));if(0!=u.o){if(u.z){var xb=w,bc=u.z;xb.b=bc;xb.f=xb.a.e;pO(xb.a,bc)}if(u.r){HO(u);var rb=u.j,cc=u.j.Vb.c,ab=void 0,K=void 0,Vb=void 0,Oc=void 0,Vc=void 0,ec=void 0,zc=void 0,Wb=void 0,zb=void 0,rc=void 0,dd=void 0,oa=\nvoid 0,Xb=void 0;if(!rb.ic&&(Oc=cc-1+1,!(0>=Oc||1>=rb.Vb.c||cc>=rb.Vb.c))){zc=C(to,Sm,-1,99,1);K=rc=0;for(ab=1;ab<=cc;++ab)0!=io(rb.Vb,ab).o&&(Vb=IO(io(rb.Vb,ab)),rc+=Vb.c,K=Bp(K,Vb.b),zc[ab]=Vb.c);rb.U&&(rc+=25*(Oc+1),K+=25);ec=Vc=1;rb.U?dd=JO(rb,rb.X,rb.Jb):dd=LN(rb,rb.X,rb.Jb,rb.Sb);oa=I(dd.c);Xb=I(dd.b);rc>=oa&&(Vc=oa/rc);K>=Xb&&(ec=Xb/K);zb=0;rb.U&&(rb.Sb=Vc<ec?Vc:ec,rb.Rg("alignMolecules Depict: molecularAreaScale="+rb.Sb+" xsize="+oa+" ysize="+Xb+ba),zb=25*oa/rc);for(ab=1;ab<=cc;++ab)zc[ab]=\nzc[ab]*oa/rc;Wb=-oa/2;for(ab=1;ab<=cc;++ab)rb.U&&HO(io(rb.Vb,ab)),Wb+=zc[ab]/2+zb,KO(io(rb.Vb,ab),Wb,0),Wb+=zc[ab]/2}u.r=!1}if(mb){for(ua=1;ua<=u.p&&0<u.j.I;++ua)s=u.c[ua].j,Q=u.c[ua].k,LO(u,w,ua,!1)&&(db=u.b[Q].s-u.b[s].s,M=u.b[Q].u-u.b[s].u,Ua=Math.sqrt(db*db+M*M),1>Ua&&(Ua=1),La=M/Ua,ja=db/Ua,V=9*La,ma=9*ja,V*=u.j.I,ma*=u.j.I,Hb=MO(4),yc=MO(4),Hb[0]=u.b[s].s+V,yc[0]=u.b[s].u-ma,Hb[1]=u.b[Q].s+V,yc[1]=u.b[Q].u-ma,Hb[2]=u.b[Q].s-V,yc[2]=u.b[Q].u+ma,Hb[3]=u.b[s].s-V,yc[3]=u.b[s].u+ma,nO(w,Hb,yc,4));\nfor(ua=1;ua<=u.o&&0<u.j.y;++ua)LO(u,w,ua,!0)&&(eb=24*u.j.y,cO(w,u.b[ua].s-eb/2,u.b[ua].u-eb/2,eb,eb))}for(ua=1;ua<=u.p;++ua)if(W=u.c[ua],s=W.j,Q=W.k,YN(w,0==W.d?(bJ(),eJ):(bJ(),iJ)),!(106==u.j.o&&u.x==ua&&0==NO(u,u.c[ua].j,u.c[ua].k))){if(3==W.i||4==W.i||6==W.i)vb=s,s=Q,Q=vb;Ub=u.b[s].s;O=u.b[s].u;nb=u.b[Q].s;qc=u.b[Q].u;if(!(1==W.d||0==W.d)||0!=W.i)db=nb-Ub,M=qc-O,Ua=Math.sqrt(db*db+M*M),1>Ua&&(Ua=1),La=M/Ua,ja=db/Ua;switch(W.d){case 2:V=2*La;ma=2*ja;10!=W.i?(kO(w.a,J(L(N((Ub+V)*(iO(),X)))),J(L(N((O-\nma)*X))),J(L(N((nb+V)*X))),J(L(N((qc-ma)*X)))),kO(w.a,J(L(N((Ub-V)*X))),J(L(N((O+ma)*X))),J(L(N((nb-V)*X))),J(L(N((qc+ma)*X))))):(kO(w.a,J(L(N((Ub+V)*(iO(),X)))),J(L(N((O-ma)*X))),J(L(N((nb-V)*X))),J(L(N((qc+ma)*X)))),kO(w.a,J(L(N((Ub-V)*X))),J(L(N((O+ma)*X))),J(L(N((nb+V)*X))),J(L(N((qc-ma)*X)))));YN(w,(bJ(),jJ));break;case 3:kO(w.a,J(L(N(Ub*(iO(),X)))),J(L(N(O*X))),J(L(N(nb*X))),J(L(N(qc*X))));Tb=3*La;Fb=3*ja;kO(w.a,J(L(N((Ub+Tb)*X))),J(L(N((O-Fb)*X))),J(L(N((nb+Tb)*X))),J(L(N((qc-Fb)*X))));kO(w.a,\nJ(L(N((Ub-Tb)*X))),J(L(N((O+Fb)*X))),J(L(N((nb-Tb)*X))),J(L(N((qc+Fb)*X))));break;case 9:for(P=0;10>P;++P)ka=Ub-(Ub-nb)/10*P,Ka=O-(O-qc)/10*P,kO(w.a,J(L(N(ka*(iO(),X)))),J(L(N(Ka*X))),J(L(N(ka*X))),J(L(N(Ka*X))));OO(w,u.j.A);yb=PO(u.j.B);va=W.e;Ib=Xd;null!=va&&(Ib=va);Lb=sK(Ib,u.j.B.a);ya=(Ub+nb)/2-Lb/2;wb=(O+qc)/2+yb/2-1;YN(w,(bJ(),oJ));QO(w.a,Ib,J(L(N(ya*(iO(),X)))),J(L(N(wb*X))));YN(w,jJ);break;default:if(1==W.i||3==W.i)V=3*La,ma=3*ja,ra=MO(3),qb=MO(3),ra[0]=nb+V,qb[0]=qc-ma,ra[1]=Ub,qb[1]=O,ra[2]=\nnb-V,qb[2]=qc+ma,nO(w,ra,qb,3);else if(2==W.i||4==W.i){V=3*La;ma=3*ja;for(P=0;10>P;++P)ka=Ub-(Ub-nb)/10*P,Ka=O-(O-qc)/10*P,$a=P/10,kO(w.a,J(L(N((ka+V*$a)*(iO(),X)))),J(L(N((Ka-ma*$a)*X))),J(L(N((ka-V*$a)*X))),J(L(N((Ka+ma*$a)*X))))}else if(5==W.i||6==W.i){Nc=Mc=0;V=3*La;ma=3*ja;for(P=0;9>P;P+=1)ka=Ub-(Ub-nb)/8*P,Ka=O-(O-qc)/8*P,$a=P/8,Gb=ka+V*$a,ob=Ka-ma*$a,0<P&&kO(w.a,J(L(N(Mc*(iO(),X)))),J(L(N(Nc*X))),J(L(N(Gb*X))),J(L(N(ob*X)))),Mc=ka-V*$a,Nc=Ka+ma*$a,kO(w.a,J(L(N(Gb*(iO(),X)))),J(L(N(ob*X))),\nJ(L(N(Mc*X))),J(L(N(Nc*X))))}else kO(w.a,J(L(N(Ub*(iO(),X)))),J(L(N(O*X))),J(L(N(nb*X))),J(L(N(qc*X))))}}RO(u);OO(w,u.j.A);PO(u.j.B);for(ua=1;ua<=u.o;++ua)if(H=u.b[ua],!H.b.i){ib=H.b.a;ya=H.b.d;wb=H.b.e;YN(w,w.c);mb&&LO(u,w,ua,!0);var bb=ib.b/2,xd=ib.e,Ac=ib.c,Ga=ib.b,sc=bb,Pc=bb,pb=w.a,lc=J(L(N(ib.d*X))),jb=J(L(N(xd*X))),le=J(L(N(Ac*X))),Cd=J(L(N(Ga*X))),Yc=J(L(N(sc*X))),fc=J(L(N(Pc*X))),yd=void 0,mc=void 0,gc=void 0;dO(pb,!0);yd=(mc=~~(Yc/2),gc=~~(fc/2),Td+lc+Ta+jb+Fa+Cd+Oa+le+Ja+mc+Ma+gc+Aa+pb.k+\nbd);eO(pb,yd);YN(w,(wM(),zM)[u.b[ua].c]);SO(w,H.b.j,ya,wb)}if(!mb){OO(w,u.j.C);for(ua=1;ua<=u.o;++ua)F=u.b[ua],Ca=F.b.f,null!=Ca&&(da=F.b.b,Y=F.b.c,YN(w,(bJ(),oJ)),QO(w.a,Ca,J(L(N(da*(iO(),X)))),J(L(N(Y*X)))))}if(0<u.w||0<u.x)if(YN(w,104==u.j.o?(bJ(),lJ):(bJ(),rJ)),0<u.w&&106!=u.j.o&&(ib=u.b[u.w].b.a,$N(w,ib.d,ib.e,ib.c,ib.b)),0<u.x&&113!=u.j.o&&(s=u.c[u.x].j,Q=u.c[u.x].k,db=u.b[Q].s-u.b[s].s,M=u.b[Q].u-u.b[s].u,Ua=Math.sqrt(db*db+M*M),1>Ua&&(Ua=1),La=M/Ua,ja=db/Ua,V=4*La,ma=4*ja,ra=MO(5),qb=MO(5),\nra[0]=u.b[s].s+V,ra[1]=u.b[Q].s+V,qb[0]=u.b[s].u-ma,qb[1]=u.b[Q].u-ma,ra[3]=u.b[s].s-V,ra[2]=u.b[Q].s-V,qb[3]=u.b[s].u+ma,qb[2]=u.b[Q].u+ma,ra[4]=ra[0],qb[4]=qb[0],106!=u.j.o&&TO(w,ra,qb,5),106==u.j.o&&0==NO(u,u.c[u.x].j,u.c[u.x].k))){G=u.c[u.x].j;S=u.c[u.x].k;UO(u,u.x);hb=u.b[G].o;R=u.b[S].o;Lc=ea=0;for(ua=1;ua<=u.o;++ua)u.b[ua].o==hb?++ea:u.b[ua].o==R&&++Lc;Uc=ea>Lc?R:hb;YN(w,(bJ(),lJ));for(ua=1;ua<=u.o;++ua)u.b[ua].e=!1,u.b[ua].o==Uc&&(u.b[ua].e=!0,ib=u.b[ua].b.a,$N(w,ib.d,ib.e,ib.c,ib.b))}u.z&&\n(w.b=null,pO(w.a,w.f))}}!a.tc&&(a.tc=new WK);a.tc.c=d;a.tc.b=c;if(a.Ac){if(!a.Bc.f){var Hc=a.Bc,lf=d/2,ed=c/2;Hc.f=!0;Hc.d=lf;Hc.e=ed}var fb=a.Bc,md,Qc,Ha,fd,Zc,we,Ea;Zc=fb.a/4/2;YN(h,(bJ(),oJ));we=fb.d-fb.a/2;Ea=fb.d+fb.a/2;var tc=fb.i,Yb=fb.e,Ie=fb.e;tc.a=we;tc.c=Yb;tc.b=Ea;tc.d=Ie;var Jb=fb.k,nd=fb.e,mf=Ea-Zc,Kd=fb.e+Zc;Jb.a=Ea;Jb.c=nd;Jb.b=mf;Jb.d=Kd;var ae=fb.b,We=fb.e,me=Ea-Zc,Je=fb.e-Zc;ae.a=Ea;ae.c=We;ae.b=me;ae.d=Je;for(Qc=fb.j,Ha=0,fd=Qc.length;Ha<fd;++Ha)md=Qc[Ha],jO(h,md.a,md.c,md.b,md.d)}a.U&&\n(a.Db=new PJ(xf,0,13),a.Gb=ZH(a.Db),null!=a.Nb&&(l=sK(a.Nb,a.Gb.a),n=(d-l)/2,q=c-13,YN(h,(bJ(),jJ)),OO(h,a.Db),SO(h,a.Nb,n,q)));a.U&&(a.Lc?zO(a,h,0.6/a.Sb):a.Y=null);VO(a.Qb.a,I(h.j.d),I(h.j.e),a);a.cc=!1;a.Fc&&(WO(a),a.Fc=!1);a.v&&null!=a.v.a&&(null!=a.kc&&TL(a.kc,null),a.v&&null!=a.v.a&&a.Lg(),XO(a.v),a.gc&&(a.gc=!1,a.ec=!0,a.If(a.bd.e)))}}function YO(a){a.cc=!0;a.Qb?(BO(a),a.cc=!1):a.If(a.bd.e)}\nfunction rO(a,b,c,d,e){var f,g,h,j,l;f=a.Ib/4;g=!1;j=C(to,Sm,-1,9,1);l=C(to,Sm,-1,9,1);c+=a.Ib/2;d+=a.Ib/2;f=a.Ib/2-f/2;1==e&&(e=6,g=!0);for(a=0;a<=e;++a)h=6.283185307179586/e*(a-0.5),j[a]=c+f*Math.sin(h),l[a]=d+f*Math.cos(h);TO(b,j,l,e+1);if(g){for(a=0;a<=e;++a)h=6.283185307179586/e*(a-0.5),j[a]=c+(f-3)*Math.sin(h),l[a]=d+(f-3)*Math.cos(h);jO(b,j[0],l[0],j[1],l[1]);jO(b,j[2],l[2],j[3],l[3]);jO(b,j[4],l[4],j[5],l[5])}}\nfunction ZO(a){var b,c,d,e;if(a.ec){d=new XK(0,0,a.X.b,J(L(N(DO(a,a.Jb)))));d=EO(a.Vc,a.Jb,d);c=a.X.b/a.Jb;b=a.U?0:2*a.Ib+(a.fc?1:0);YN(d,a.H);hO(d.a,J(L(N(0*(iO(),X)))),J(L(N(0*X))),J(L(N(c*X))),J(L(N(b*X))));a.fc?(YN(d,tJ(a.H)),e=14*(a.Ib+(a.fc?1:0)),lO(d.a,J(L(N(e*X))),J(L(N(0*X))),J(L(N((c-e-1)*X))),J(L(N((b-1)*X))))):(YN(d,tJ(a.H)),kO(d.a,J(L(N((c-1)*X))),J(L(N(0*X))),J(L(N((c-1)*X))),J(L(N((b-1)*X)))),kO(d.a,J(L(N(0*X))),J(L(N((b-1)*X))),J(L(N((c-1)*X))),J(L(N((b-1)*X)))),YN(d,a.K),kO(d.a,J(L(N(0*\nX))),J(L(N(0*X))),J(L(N((c-1)*X))),J(L(N(0*X)))));c=a.o;233<=a.o&&262>=a.o&&(a.o=213);for(b=1;14>=b;++b)XN(a,d,b,1),XN(a,d,b,2);a.o=c;VO(a.Vc.a,0,0,a)}}\nfunction mO(a,b,c,d,e){var f,g,h,j,l,n,q,r;l=d/4;c-=1;n=2+l/2;g=2+l;r=c+10*d/24;j=r+l;q=b+d;e?(h=2+b,f=n+b,g+=b):(f=q-n,h=q-2,g=q-g);kO(a.a,J(L(N(h*(iO(),X)))),J(L(N(r*X))),J(L(N(f*X))),J(L(N(j*X))));kO(a.a,J(L(N(g*X))),J(L(N(r*X))),J(L(N(f*X))),J(L(N(j*X))));h=l/3-0.5;kO(a.a,J(L(N(f*X))),J(L(N((r+h)*X))),J(L(N(f*X))),J(L(N(j*X))));f=d-n-4;c=c+n-h;d=d-4-h-1;j=270;e?(b+=n,e=270):(b=q-f-n,j*=-1,e=-90);$O(a.a,J(L(N(b*X))),J(L(N(c*X))),J(L(N(f*X))),J(L(N(d*X))),J(L(Math.round(e))),J(L(Math.round(j))))}\nfunction NN(a,b,c){var d,e,f,g;d=null;if(1==a.Vb.c)return io(a.Vb,0);b=aP(a,b);g=bP(a,c);c=1.7976931348623157E308;for(f=new gq(a.Vb);f.b<f.d.xg();)e=hq(f),a=cP(e,b,g),a<c&&(c=a,d=e);return d}\nfunction dP(a,b,c,d,e){var f,g,h,j,l;eP(e);b=aP(a,b);l=bP(a,c);h=d;for(g=new gq(a.Vb);g.b<g.d.xg();){c=hq(g);j=new fP(d);f=c;var n=b,q=l,r=(a.Rc||a.Pc)&&105==a.o||113==a.o||205==a.o||112==a.o||108==a.o||233<=a.o&&1310>=a.o||105==a.o&&!a.Ub.e,t=j,A=void 0,u=void 0,w=void 0,F=void 0,H=A=A=A=u=F=A=void 0,s=void 0,Q=void 0,da=u=w=w=A=void 0,Y=w=F=A=u=void 0,W=Y=void 0,H=0,Q=t.a;if(!r){for(s=1;s<=f.p;++s)if(u=f.c[s],w=gP(n,q,u.b,u.c),w<Q&&(Q=w,H=s),0!=H){A=u.j;F=u.k;for(u=1;2>=u;++u)w=f.b[A].s+u/3*(f.b[F].s-\nf.b[A].s),Y=f.b[A].u+u/3*(f.b[F].u-f.b[A].u),w=gP(n,q,w,Y),w<Q&&(Q=w)}H*=-1}if(!((a.Rc||a.Qc)&&105==a.o))for(s=1;s<=f.o;++s)w=gP(n,q,f.b[s].s,f.b[s].u),w<Q&&(Q=w,H=s);if(0==H&&!r)for(s=1;s<=f.p;++s)A=f.c[s].j,F=f.c[s].k,u=f.b[A].s,w=f.b[A].u,A=f.b[F].s,F=f.b[F].u,A-=u,F-=w,Y=n-u,W=q-w,w=A*A+F*F,u=Y*Y+W*W,da=gP(Y,W,A,F),u+da>w+Q||(A=Y*A+W*F,0>A||(w=Math.sqrt(w),u=Math.sqrt(u),A/=w*u,1<=A||(A=1.5707963267948966-Math.acos(A),A=u*Math.cos(A),A*=A,A<Q&&(H=-s,Q=A))));t.a=Q;f=H;j.a<h&&(h=j.a,eP(e),e.c=c,\n0<f?e.a=f:e.b=-f)}}function KN(a){var b;b=new hP;a=iP(a);b.d=a.d;b.e=a.e;b.c=a.c;b.b=a.b;if(b&&!(0>=b.c||0>=b.b))b.d-=12.5,b.e-=12.5,b.c+=25,b.b+=25;return b}function LN(a,b,c,d){a=JO(a,b,c);a.d=0;a.e=0;a.c/=d;a.b/=d;return a}function JO(a,b,c){var d,e;d=a.U?0:a.U?0:(a.Ib+(a.fc?1:0))*c;e=a.U?0:a.U?0:(2*a.Ib+(a.fc?1:0))*c;return new jP(d,e,b.b-(a.U?0:d+(a.U?0:(a.fc?1:3)*c)),b.a-(a.U?0:e+(a.U?0:a.Ib*c)))}\nfunction EO(a,b,c){var d=a.b;d.i=b;b=d.a;eO(b,"<g "+(\'transform="scale(\'+d.i/X+\')"\')+Wd);d=b.u;d[d.length]=Jd;a=a.b;a.j.d=c.d;a.j.e=c.e;a.j.b=c.b;a.j.c=c.c;return a}function GO(a,b){var c,d,e;e=new kP;for(d=new gq(b);d.b<d.d.xg();)c=hq(d),bq(e.a,c);a.Ac&&bq(e.a,a.Bc);return e}\nfunction lP(a,b,c,d){var e,f;if(!b||mP(b)){if((e=0<a.r.w||0<a.r.x)&&(104==a.o||106==a.o))return!0;if(e&&!a.U){a.Wc&&(f=a.Wc,f.k==a&&(f.k=null,Po(a.sd,f)));f=a.r;var g,h,b=new eK;e=a.lc||a.G||a.Ac;f.f.a?g=new ZJ(bh):g=new ZJ(Vg);WJ(g,nP(f));dK(b,g);VI(g.d,a);e&&0<f.w&&(g=new ZJ(a.Ub.e?Se:Re),VI(g.d,a.ob),h=a.ob,h.e=null,h.a=h.c=0,a.ob.a=f.w,a.ob.e=f,et(a.Vb,a.r),dK(b,g));a.Zc&&(g=new ZJ(Ye),dK(b,g),VI(g.d,a));g=new ZJ(ef);a:{for(h=f.o;1<=h;--h)if(1==f.b[h].c){h=!0;break a}h=!1}WJ(g,h);dK(b,g);VI(g.d,\na);e&&(e=new ZJ(ve),VI(e.d,a),dK(b,e),e=new ZJ(df),VI(e.d,a),dK(b,e),WJ(e,0<oP(f)));e=new XJ;g=Ug;e.e=!1;UG(e.i.a,!1);if(0<f.x&&(h=f.c[f.x],1==h.d||0==h.d))g=0==h.d?ah:Ug,h=a.ob,h.e=null,h.a=h.c=0,a.ob.c=f.x,a.ob.e=f,et(a.Vb,a.r),e.e=!0,UG(e.i.a,!0),VI(e.d,a);e.f=g;!e.i&&(e.i=new $J((nI(),e)));e.i.a.lb.textContent=g||m;dK(b,e);a.Wc=b;VH(a,a.Wc);pP(a.Wc.a,a,c,d)}else a.Ac?f=(a.R=UN(a,!0),a.R):f=(a.Q=UN(a,!1),a.Q),mP(b)||(c=I(c*a.Jb+0.5),d=I(d*a.Jb+0.5)),pP(f.a,a,c,d);d=new EJ(null,0,qP(0));rP(a,d,\n1E6,1E5);return!0}return!1}\nfunction sP(a,b){var c;switch(b){case 103:return yN(a,"Add new molecule"),!0;case 113:return yN(a,"Move atom"),!0;case 112:return yN(a,"Activate spiro ring"),!0;case 201:return yN(a,"Stereo bond single or double"),!0;case 205:return yN(a,"Create alkyl chain"),!0;case 104:return yN(a,"Delete atom or bond"),!0;case 106:return yN(a,"Click bond to delete smallest fragment"),!0;case 101:return yN(a,"Show SMILES or SMIRKS"),!0;case 107:return yN(a,"Open query box for SMARTS"),!0;case 1201:return yN(a,"Select other atom type"),\n!0;case 1301:return yN(a,"Select R group"),!0}if(!a.r||0==a.r.o)return!1;c=null;switch(b){case 102:1<a.Vb.c?c="Delete selected molecule (red)":c="Clear canvas";var d=(bJ(),kJ);a.r.z=d;a.Xc=a.r;break;case 109:c="Copy selected (blue) molecule to the other side of the reaction",d=(bJ(),qJ),a.r.z=d,a.Xc=a.r}null!=c?(yN(a,c),a.cc=!0,a.ec=!0):(a.cc=!1,a.ec=!1);return null!=c}\nfunction tP(a,b){var c,d;switch(b){case 103:case 113:case 112:case 201:case 205:case 106:case 104:case 101:case 107:case 1201:case 1301:return yN(a,a.T),!0}if(a.Xc&&(102==b||a.Ac&&109==b)){a.Xc.z=null;a.Xc=null;for(d=new gq(a.Vb);d.b<d.d.xg();)c=hq(d),c.z=null;yN(a,a.T);a.cc=!0;a.ec=!0}else a.cc=!1,a.ec=!1;return a.cc}\nfunction uP(a,b,c,d,e){var f,g,h;f=new vP(b);g=null;h=!1;null==b||0==cs(b).length||(wP(a.v,ge),yN(a,a.T),b=null,f.f==(xP(),yP)&&f.c&&zP(f,f.c),f.a==(AP(),BP)&&f.i!=(CP(),DP)?EP(a,f.b,!1)?b=f.e||f.f==FP||f.f==GP?"readRXNFile":Pk:g="Invalid V2000 molfile":f.a==HP?IP(a,f.b,!1)?b="readJME":g="Invalid JME string":f.a==JP||f.f==KP?g="Reading "+f.f+xa:a.Zc&&(h=!0,Xw(1,new LP(a,f,e,c,d))),h||(null==g&&e&&null!=b&&(!!a.v&&RN(Ew(a.v,b),a.Vb,0,0,0),a.Fc=!0),a.cc=null==g,c?null==g?MP(c):NP(c,new $o(g)):null!=\ng&&(yN(a,jf+g),a.If(a.bd.e)),null==g&&d&&a.If(a.bd.e)))}\nfunction EP(a,b,c){var d,e;d=new OP;a:{e=a.Ub;var f,g,h,j,l,n,q;d.b=C(iL,o,0,0,0);d.c=0;d.a=!1;q=PP(b);d.a=0==b.indexOf(ub);if(d.a){b=new OL(b,q,!0);g=m;for(f=1;5>=f;++f)g=QP(b,q);l=qP(as(cs(g.substr(0,3)),10)).a;j=qP(as(cs(g.substr(3,3)),10)).a;f=0;9<=g.length&&(f=qP(as(cs(g.substr(6,3)),10)).a);QP(b,q);for(g=1;g<=l+j+f;++g){for(h=m;!(n=QP(b,q),null==n||ds(n,"$MOL"));)h+=n+q;if(!RP(d,h,e)){e=!1;break a}h=io(d,d.c-1);g<=l?h.t=1:g>l&&g<=l+j?h.t=3:h.t=2}}else if(!RP(d,b,e)){e=!1;break a}e=!0}e&&!SP(d)&&\nTP(a,d,c);return e}function yN(a,b){null==b&&(b=a.T);a.ac=!0;a.nb=b;a.Rg("info: "+b)}function UP(a,b){var c;c=Math.round(b);100>c&&(!DM[c]&&(DM[c]=new PJ(xf,0,c)),!FM[c]&&oq(FM,c,ZH(DM[c])),a.A=DM[c],a.B=FM[c]);c=J(L(Math.round(0.8*b)));100>c&&(!HM[c]&&(HM[c]=new PJ(xf,0,c)),!IM[c]&&oq(IM,c,ZH(HM[c])),a.C=HM[c],a.D=IM[c])}\nfunction bO(a,b){if(1301==b&&!a.zc||107==b&&!a.xc||201==b&&!a.Sc||103==b&&!a._b||105==b&&!a.lc&&!a.G||109==b&&!a.Ac)return!1;switch(b){case 105:return!a.Rc&&a.Ub.e||a.lc||a.G;case 113:return a.Jc;case 109:return a.Ac}return!0}function mP(a){var b;if(!a)return!1;b=a.Zf();a=0!=(a.e&2);return b||a}function VP(a,b,c){b-=J(L(N(CO(a,a.Jb))));c-=J(L(N(DO(a,a.Jb))));return 0>b||0>c||c>a.Pb||b>a.Tb}function fN(a){LM(a);return WP(a.Vb,!1)}function CO(a,b){return a.U?0:(a.Ib+(a.fc?1:0))*b}\nfunction sO(a,b){var c,d;d=-1;if(1301<=b)d=33+(b-1301);else{for(c=0;c<yM.length;c+=2)if(yM[c]==b){d=yM[c+1];break}32==d&&!a.$c&&a.zc&&(d=33)}return d}\nfunction XP(a,b){var c,d,e,f,g;if(0==b)return!1;VM(a,!1);f=!1;c=a.o;a.o=b;if(300>=b)switch(a.ec=!0,a.bc=!0,yN(a,a.T),b){case 102:MN(a,!0);tP(a,102);sP(a,102);f=!0;break;case 110:a.cc=!0;a.o=c;a.Lb.a!=a.Lb.b&&a.Lb.a.b!=a.Lb.b?a.u&&(a.r=io(a.Vb,a.Vb.c-1),a.u=!1):yN(a,"No more undo");if(!(a.Lb.a!=a.Lb.b&&a.Lb.a.b!=a.Lb.b))break;YP(a,ZP(a.Lb));a.v&&RN(Ew(a.v,Wl),a.Vb,0,0,0);a.Fc=!0;a.Fc=!1;a.cc=!0;break;case 111:a.o=c;if(a.Lb.a.c)a.u&&(a.r=io(a.Vb,a.Vb.c-1),a.u=!1);else{yN(a,"No more redo");break}if(!a.Lb.a.c)break;\nd=a.Lb;if(!d.a.c)throw new IE("Cannot redo. Index is out of range.");if(!d.a.c)throw new IE(Ef);d.a=d.a.c;YP(a,d.a.a);a.v&&RN(Ew(a.v,Rk),a.Vb,0,0,0);a.Fc=!0;a.Fc=!1;a.cc=!0;break;case 214:lP(a,null,a.db.a,a.db.b);a.o=c;break;case 151:case 152:case 154:case 153:d=null;a.o=c;switch(b){case 152:d=$P(a.Hc);break;case 151:d=aQ(a.Hc);break;case 154:d=a.Hc;d.a=d.c;d=$P(d);break;case 153:d=a.Hc,d.a=-1,d=aQ(d)}null==d?yN(a,"No more molecules in SDF buffer"):(SN(a),a.oc=!0,uP(a,d,null,!1,!1),a.oc=!1,ds(a.nb,\nm)&&(yN(a,"MOL n. "+(a.Hc.a+1)+" of "+a.Hc.c),f=!0,a.v&&RN(Ew(a.v,"SDFstack"),a.Vb,0,0,0),a.Fc=!0,a.Fc=!1));break;case 101:Xw(4,new bQ(a));a.o=c;break;case 107:Xw(2,new cQ(a));break;case 114:Xw(3,new dQ(a));a.o=c;break;case 103:a.gc=!0;a.o=c;break;case 105:if(a.Bb){a.o=c;var h,j;d=new eK;for(e=1;e<a.O.a.length;++e)g=a.O,h=e,WM(g),h=0<=h&&h<g.a.length?g.a[h]:null,g=h.a,j=h.d,h=h.b,g=new ZJ(j+aa+eQ(g)),dK(d,g),g.c=h,VI(g.d,a);VH(a,d);g=a.Cb.b;e=I(a.Cb.a*a.Jb+0.5);g=I(g*a.Jb+0.5);pP(d.a,a,e,g);break}a.G&&\na.Xb&&(a.Xb=!1,fQ(a.r),a.cc=!0,a.v&&RN(Ew(a.v,Nh),a.Vb,0,0,0),f=a.Fc=!0,a.o=c);a.tb=1;break;case 109:a.o=c;LM(a);if(2==a.r.t){yN(a,"Copying the agent not possible !");break}d=IO(a.r);if(!d)break;a.cc=!0;a.r=new gQ(a.r);f=LN(a,a.X,a.Jb,a.Sb);f=f.d+f.c/2-(d.d+d.c/2);KO(a.r,2*f,0);bq(a.Vb,a.r);a.v&&RN(Ew(a.v,"reactionCopy"),a.Vb,0,0,0);f=a.Fc=!0;tP(a,109);sP(a,109);break;case 104:f=NM(a);break;case 213:a.o=c;if(!a.hb){var l;l=new eK;for(e=a.jb,g=0,h=e.length;g<h;++g)d=e[g],j=new ZJ(d),dK(l,j),j.c=d,\nVI(j.d,a);VH(a,l);a.hb=l}e=a.ib.b;d=I(a.ib.a*a.Jb+0.5);e=I(e*a.Jb+0.5);pP(a.hb.a,a,d,e);break;case 108:0<a.r.w&&hQ(a.r,a.r.w,0)&&(PM(a,ii,a.r.w),f=!0)}else a.bc=!0,a.ec=!0,a.s=sO(a,b),yN(a,a.T),32==a.s&&Xw(5,new iQ(a)),1301<=b&&1310>=b&&(a.s=33+(b-1301)),0<a.r.w&&(a.s!=a.r.b[a.r.w].c&&32!=a.s?(jQ(a.r,a.r.w,a.s),a.r.b[a.r.w].p=0,a.r.b[a.r.w].f=0,a.r.b[a.r.w].k=0,PM(a,jl,a.r.w),f=!0):32==a.s&&(f=yx((kQ(),lQ).rd.a.lb,Yl),mQ(a.r,a.r.w,f),PM(a,jl,a.r.w),f=!0));if(!f&&(0<a.r.w||0<a.r.x))if(206<=a.o&&229>=\na.o)a.ub=2,nQ(a.r),f=!0,zN(a,Fh,et(a.Vb,a.r),0,a.r.x);else if(202==a.o||203==a.o||204==a.o)if(0<a.r.w)a.ub=0,f=a.r,oQ(f,f.w,0),zN(a,Bh,et(a.Vb,a.r),0,a.r.x),f=!0;else{d=1;g=nl;switch(a.o){case 203:d=2;g=ml;break;case 204:d=3,g=ol}(e=d!=a.r.c[a.r.x].d)?(a.r.c[a.r.x].d=d,zN(a,g,et(a.Vb,a.r),0,a.r.x),f=!0,a.r.c[a.r.x].i=0):2==d&&(f=a.r.c[a.r.x],2==f.d&&(f.i=10-f.i),f=!0)}f&&(a.cc=!0,a.o=c);a.cc&&YO(a);a.If(a.bd.e);return!0}\nfunction yA(a,b,c){b=new pQ(a,b,c);LM(a);var a=a.Vb,d,e,f,g,h;h=m;if(a.a){0<qQ(a,2,!1).c?g=z(B,v,-1,[1,3,2]):g=z(B,v,-1,[1,3]);h+=Ab;for(c=0,f=g.length;c<f;++c)d=g[c],d=b.i?1:qQ(a,d,!1).c,h+=rQ(d,3);h+=ba;for(c=0,f=g.length;c<f;++c){d=g[c];d=qQ(a,d,b.i);for(e=new gq(d);e.b<e.d.xg();)d=hq(e),h+=lb,h+=sQ(d,b)}}else 1<a.c?d=tQ(a):d=(xq(0,a.c),a.b[0]),h=sQ(d,b);return h}\nfunction uQ(a,b,c,d){var e;a.Wb=!1;if(a.P&&lP(a,b,c,d))return a.Wb=!0,a.Zb=!1,!0;e=!0;a._c=c;a.ad=d;yN(a,a.T);a.Xb=vQ(b);a.Zb=!1;if(!a.U&&(c<J(L(N(CO(a,a.Jb))))||d<J(L(N(DO(a,a.Jb)))))){e=wO(a,c,d);if(112==e)return a.Oc=!0,yN(a,"Next ring will be added as spiro"),wQ(a),a.Wb=!0;if(113==e)if(a.Jc)yN(a,"Move one atom"),wQ(a);else return a.Wb=!0;if(!a.$c&&1201==e||!a.xc&&107==e||!a.Sc&&201==e||!a._b&&103==e||!a.lc&&!a.G&&105==e||!a.Ac&&109==e)return!1;e=XP(a,e)}else{if(!a.U&&d>a.X.a-J(L(N(a.U?0:a.Ib*\na.Jb))))return!1;var f=a.ad,g,h,j,l,n;h=null;b=aP(a,a._c);f=bP(a,f);j=1.7976931348623157E308;if(a.Ac){var q;l=1.7976931348623157E308;for(g=a.Bc.j,h=0,j=g.length;h<j;++h){q=g[h];n=q.a;var r=q.c,t=q.b;q=q.d;var A=void 0,u=void 0,w=A=u=void 0,w=u=w=void 0,u=t-n,A=q-r,w=u*u+A*A;0==w?(A=t-b,u=q-f):(w=((b-n)*u+(f-r)*A)/w,1<w?w=1:0>w&&(w=0),u=n+w*u,w=r+w*A,A=u-b,u=w-f);n=Math.sqrt(A*A+u*u);l=n<l?n:l}j=l;h=a.Bc}for(n=new gq(a.Vb);n.b<n.d.xg();)l=hq(n),g=cP(l,b,f),g<j&&(j=g,h=l);a.p=h;a.r=NN(a,a._c,a.ad);\na.p==a.Bc&&(a.r.w=0,a.r.x=0);if((vN(),null!=a.b[se]?wN:xN).a)if(0<a.r.w&&(xQ(a,et(a.Vb,a.r),a.r.w,0,se),a.U&&!a.V)||0<a.r.x&&(xQ(a,et(a.Vb,a.r),0,a.r.x,Ce),a.U&&!a.V))return!0;a.Zb=!0;if(0<a.r.w&&(!a.U||a.U&&105==a.o))if(a.wb.c=a.r,104==a.o)NM(a);else{if(106==a.o)return!0;if(108==a.o)hQ(a.r,a.r.w,0)&&PM(a,ii,a.r.w);else if(202==a.o||203==a.o||204==a.o||201==a.o||205==a.o)a.ub=1,c=a.r,oQ(c,c.w,0),a.r.y=a.r.w,205==a.o?(a.r.q=1,a.r.e[1]=a.r.o,a.r.e[0]=a.r.w,a.r.x=0,a.Fc=!1):zN(a,Bh,et(a.Vb,a.r),0,a.r.x);\nelse if(206<=a.o&&229>=a.o)a.ub=2,nQ(a.r),PM(a,Eh,a.r.w);else if(230==a.o)a.ub=3,PM(a,Gh,a.r.w);else if(233<=a.o&&262>a.o)yQ(a.r,!1),PM(a,Dh,a.r.w),a.ub=3;else if(107==a.o){if(a.yc.b)return!0;mQ(a.r,a.r.w,yx(a.yc.e.rd.a.lb,Yl));a.r.i=!0;PM(a,"addAtomQuery",a.r.w)}else if(105==a.o)!a.wc&&!a.Rc?(c=-1,a.zb&&(c=a.tb,a.Cc=!0,a.zb=!1,yN(a,a.T),a.Ub.e&&XM(a,c)),a.Ub.e?c=zQ(a.r,0<c?c:a.q):(-1==c&&(a.Ac?(c=a.r.t,d=a.Vb,LM(a),c=AN(d,c)):c=oP(a.r),(!a.Xb||0==c)&&++c),c=zQ(a.r,c))):c=!0,c?PM(a,"markAtom",a.r.w):\nPM(a,"unMarkAtom",a.r.w),a.wc&&(a.Fc=!1);else if(113!=a.o)if(300<a.o){if(a.s!=a.r.b[a.r.w].c||32==a.s)jQ(a.r,a.r.w,a.s),a.r.b[a.r.w].p=0,a.r.b[a.r.w].f=0,a.r.b[a.r.w].k=0,32==a.s&&(c=yx((kQ(),lQ).rd.a.lb,Yl),1>c.length&&(c=fh),mQ(a.r,a.r.w,c)),PM(a,jl,a.r.w)}else e=!1}else if(0<a.r.x&&(!a.U||a.U&&105==a.o))if(a.wb.c=a.r,104==a.o)NM(a);else if(106==a.o){for(c=a.r;;){d=0;for(b=c.o;1<=b;--b)c.b[b].e&&b>d&&(d=b);if(0==d)break;OM(c,d);c.b[d].e=!1}RM(a.r,a.qc);zN(a,"delBondGroup",et(a.Vb,a.r),0,a.r.x);\na.r.x=0}else if(201==a.o)AQ(a.r,a.r.x),zN(a,"setBondStereo",et(a.Vb,a.r),0,a.r.x);else if(202==a.o||205==a.o)1==a.r.c[a.r.x].d&&0==a.r.c[a.r.x].i?(a.r.c[a.r.x].d=2,zN(a,ml,et(a.Vb,a.r),0,a.r.x)):(a.r.c[a.r.x].d=1,a.r.c[a.r.x].i=0,zN(a,nl,et(a.Vb,a.r),0,a.r.x)),a.r.c[a.r.x].i=0;else if(203==a.o)c=2!=a.r.c[a.r.x].d,a.r.c[a.r.x].d=2,c?a.r.c[a.r.x].i=0:(c=a.r.c[a.r.x],2==c.d&&(c.i=10-c.i)),RM(a.r,a.qc),zN(a,ml,et(a.Vb,a.r),0,a.r.x);else if(204==a.o)a.r.c[a.r.x].d=3,a.r.c[a.r.x].i=0,RM(a.r,a.qc),zN(a,\nol,et(a.Vb,a.r),0,a.r.x);else if(206<=a.o&&229>=a.o)a.ub=2,nQ(a.r),zN(a,Fh,et(a.Vb,a.r),0,a.r.x),RM(a.r,a.qc);else if(107==a.o){if(!a.yc.b)return!0;c=yx(a.yc.e.rd.a.lb,Yl);a.r.c[a.r.x].d=9;a.r.c[a.r.x].e=c;zN(a,"setQueryBond",et(a.Vb,a.r),0,a.r.x)}else if(105==a.o){if(a.wc)c=!0;else a:{c=a.r;d=a.q;if(c.n.e){if(c.j.Ab)for(b=1;b<=c.p;++b)b!=c.x&&BQ(c.c[b]);if(d!=CQ(c.c[c.x])){c.c[c.x].x[0]=d;c=!0;break a}BQ(c.c[c.x])}c=!1}c?zN(a,"markBond",et(a.Vb,a.r),0,a.r.x):zN(a,"unMarkBond",et(a.Vb,a.r),0,a.r.x);\na.wc&&(a.Fc=!1)}else e=!1;else if((SP(a.Vb)||a.gc)&&!a.U){if(201>=a.o)return!1;b=a.Vb;f=new OP;for(h=new gq(b);h.b<h.d.xg();)g=hq(h),0==g.o&&oq(f.b,f.c++,g);for(h=new gq(f);h.b<h.d.xg();)g=hq(h),Po(b,g);a.r=new QN(a,a.Ub);bq(a.Vb,a.r);a.wb.c=a.r;202<=a.o&&204>=a.o||205==a.o?(DQ(a.r,null),a.r.p=0,EQ(a.r,1,aP(a,c),bP(a,d)),a.r.w=1,a.r.y=1,a.ub=1,b=a.r,oQ(b,b.w,0),205==a.o?(EQ(a.r,2,aP(a,c)+21.65,bP(a,d)-12.5),a.r.e[0]=1,a.r.e[1]=2,a.r.q=1,zN(a,Ch,et(a.Vb,a.r),0,a.r.x)):zN(a,Bh,et(a.Vb,a.r),0,a.r.x)):\n206<=a.o&&229>=a.o?(a.r.A=aP(a,c),a.r.B=bP(a,d),a.ub=2,nQ(a.r),a.v&&RN(Ew(a.v,Eh),a.Vb,0,0,0),a.Fc=!0):300<a.o?(DQ(a.r,null),jQ(a.r,1,a.s),a.r.p=0,EQ(a.r,1,aP(a,c),bP(a,d)),a.r.w=1,32==a.s&&(c=yx((kQ(),lQ).rd.a.lb,Yl),1>c.length&&(c=fh),mQ(a.r,1,c)),PM(a,"addAtom",a.r.w)):230==a.o?(IP(a,null,!0),a.v&&RN(Ew(a.v,Gh),a.Vb,0,0,0),a.Fc=!0):233<=a.o&&262>a.o?(DQ(a.r,null),a.r.p=0,EQ(a.r,1,aP(a,c),bP(a,d)),a.r.w=1,yQ(a.r,!0),a.v&&RN(Ew(a.v,Dh),a.Vb,0,0,0),a.Fc=!0):kL()}else e=!1;e&&(a.cc=!0,wQ(a))}return a.Wb=\ne}\nfunction FQ(a,b,c,d){var e,f,g,h;if(!a.Zb||GQ(b))return!0;a.ac=!1;f=(c-a._c)/a.Sb;g=(d-a.ad)/a.Sb;e=aP(a,c);h=bP(a,d);if(2==a.ub||3==a.ub||9==a.ub)return!0;if(1==a.ub){yN(a,"mouseDrag(): lasaction = LA_BOND "+a.ub);f=!1;a.wb.c.w=0;--a.r.o;g=a.hc;VP(a,c,d)?eP(g):dP(a,c,d,CM?350:170,g);++a.r.o;if(a.hc.c&&0<a.hc.a&&(g=a.hc.c,g.w=a.hc.a,g!=a.r||a.hc.a!=a.r.y))EQ(a.r,a.r.o,g.b[a.hc.a].s,g.b[a.hc.a].u),g.w=a.hc.a,f=!0,g=a.wb,b=a.hc,g.c=b.c,g.a=b.a,g.b=b.b;if(!f)a:{f=a.r;var j,l,n,q,r;f.w=0;HQ(f.b[0],e,\nh);g=IQ(f,0,f.o);if(0<g&&205!=f.j.o)f.w=g,g!=f.y?EQ(f,f.o,f.b[g].s,f.b[g].u):EQ(f,f.o,f.A,f.B);else if(205==f.j.o){f.x=0;g=f.e[f.q];l=f.e[f.q-1];j=f.b[g].s-f.b[l].s;b=f.b[g].u-f.b[l].u;g=Math.sqrt(j*j+b*b);1>g&&(g=1);b/=g;j/=g;n=g/2/Math.tan(0.5235987755982988);q=e-f.b[l].s;r=h-f.b[l].u;l=-g/2+q*j+r*b;b=r*j-q*b;if(0>l)if(1<f.q)OM(f,f.o),--f.q,f.v=!1;else if(2==f.o)0>f.b[2].u-f.b[1].u&&0<h-f.b[1].u?f.b[2].u=f.b[1].u+g/2:0<f.b[2].u-f.b[1].u&&0>h-f.b[1].u&&(f.b[2].u=f.b[1].u-g/2),0>f.b[2].s-f.b[1].s&&\n0<e-f.b[1].s?f.b[2].s=f.b[1].s+0.866*g:0<f.b[2].s-f.b[1].s&&0>e-f.b[1].s&&(f.b[2].s=f.b[1].s-0.866*g);else{if(2==f.b[f.e[0]].n&&(n=f.b[f.e[0]].r[1],n==f.e[1]&&(n=f.b[f.e[0]].r[2]),j=f.b[f.e[0]].s-f.b[n].s,b=f.b[f.e[0]].u-f.b[n].u,g=Math.sqrt(j*j+b*b),1>g&&(g=1),b/=g,j/=g,q=e-f.b[n].s,r=h-f.b[n].u,e=r*j-q*b,q=f.b[f.e[1]].s-f.b[n].s,r=f.b[f.e[1]].u-f.b[n].u,h=r*j-q*b,0<e&&0>h||0>e&&0<h))e=f.p,f.w=f.e[0],oQ(f,f.w,0),QM(f,e),0<IQ(f,f.o,f.o)&&(f.v=!0)}else{if(f.v)break a;e=-1;l<1.5*g&&(e=(1.5*g-l)*n/(1.5*\ng));if((0>=b?0-b:b)>e){++f.q;if(100<f.q){YM(f.j,"You are too focused on chains, enough of it for now !");--f.q;break a}f.w=f.o;e=J(L(Math.round(b)));oQ(f,f.w,e);f.j.Fc=!1;f.e[f.q]=f.o;0<IQ(f,f.o,f.o)&&(f.v=!0)}}f.w=0;e=f.q;yN(f.j,e+m)}else j=e-f.b[f.y].s,b=h-f.b[f.y].u,g=Math.sqrt(j*j+b*b),1>g&&(g=1),EQ(f,f.o,f.b[f.y].s+25*(j/g),f.b[f.y].u+25*(b/g))}a.J=!0}else 113==a.o&&0<a.r.w?(a.$b||(a.$b=!0),EQ(a.r,a.r.w,e,h)):vQ(b)||GQ(b)?(tN(a.r,f),a.ub=5):0==a.r.w&&0==a.r.x&&!VP(a,c,d)&&(e=LN(a,a.X,a.Jb,a.Sb),\na.p.Wi(f,g,e),a.ub=5);vO(a);a._c=c;a.ad=d;return!0}\nfunction rP(a,b,c,d){var e;if(!(a.U&&!a.Fg().a&&!a.Gg().a&&!a.V||mP(b))){b=!1;VM(a,!1);e=wO(a,c,d);bO(a,e)&&e!=a.Yb&&(b|=tP(a,a.Yb),b|=sP(a,e),a.Yb=e);e=a.hc;VP(a,c,d)?eP(e):dP(a,c,d,CM?350:170,e);if(!(a.hc.c==a.wb.c&&a.hc.a==a.wb.a&&a.hc.b==a.wb.b)&&(a.hc.c&&(0<a.hc.a||0<a.hc.b)||a.wb.c&&(0<a.wb.a||0<a.wb.b))){if(b=a.wb.c)b.w=0,b.x=0;if(b=a.hc.c)b.w=a.hc.a,b.x=a.hc.b,a.r=b;b=!0;0==a.hc.a?(JQ(a,a.hc.a),KQ(a,a.hc.b)):(KQ(a,a.hc.b),JQ(a,a.hc.a));c=a.wb;d=a.hc;c.c=d.c;c.a=d.a;c.b=d.b}b&&(a.cc=!0,a.If(a.bd.e))}}\nfunction LQ(a,b,c){var d,e,f,g;f=!1;a.$b&&(a.$b=!1,f=a.Fc=!0);a.ac=!1;a.vb=jm;1==a.ub?(205==a.o?(f=a.r,f.v&&(d=IQ(f,f.o,f.o),6>f.b[d].n&&(e=f.e[f.q-1],MQ(f,d,e,1)),OM(f,f.o)),f.v=!1,zN(a,Ch,et(a.Vb,a.r),0,a.r.x),a.Fc=!0):a.wb.c&&a.r!=a.wb.c?(OM(a.r,a.r.o),d=a.r.y,e=a.wb.a+a.r.o,g=a.wb.c,f=new NQ(a,z(OQ,o,130,[a.r,g])),oq(f.b,0,new PQ),MQ(f,d,e,1),Po(a.Vb,g),d=a.Vb,e=et(d,a.r),0<=e&&Vs(d,e,f),a.r=f,eP(a.wb)):(f=a.r,d=IQ(f,f.o,f.o),0!=d&&(--f.o,e=QQ(f,d,f.y),0!=e?(--f.p,RQ(f,f.y),3>f.c[e].d?(++f.c[e].d,\nf.c[e].i=0):yN(f.j,"Maximum allowed bond order is 3 !")):6==f.b[d].n?(--f.p,RQ(f,f.y),yN(f.j,"Not possible connection !")):(f.c[f.p].k=d,RQ(f,f.y),e=f.y,SQ(f.b[d],e),SQ(f.b[e],d),TQ(f.c[f.p],f.b)))),a.J&&(205!=a.o&&(f=a.Lb,f.a!=f.b&&f.a.b!=f.b&&(d=f.a.c,ZP(f),f.a.c=d),zN(a,Bh,et(a.Vb,a.r),0,a.r.x)),a.J=!1),f=!0):5==a.ub&&(f=a.Fc=!0);0<a.ub&&(5==a.ub&&a.Ac&&(f=LM(a),++f,0!=f&&(!!a.v&&RN(Ew(a.v,"changeReactionRole"),a.Vb,0,0,f),a.Fc=!0)),vO(a),a.ub=0,a.u=!1,f=!0);if(CM&&(0!=a.r.x||0!=a.r.w))a.r.x=0,\na.r.w=0,vO(a),f=!0;if(d=!f&&!a.Wb&&a.fb)d=a.fb,e=a.fb.a,b=(b-I(e.j.d))/e.i,e=a.fb.a,c-=I(e.j.e),d=gK(d,b,c/e.i);if(d)if(f=!0,a.qb=UQ(),a.qb)$doc.exitFullscreen?$doc.exitFullscreen():$doc.msExitFullscreen?$doc.msExitFullscreen():$doc.mozCancelFullScreen?$doc.mozCancelFullScreen():$doc.webkitCancelFullScreen&&$doc.webkitCancelFullScreen();else{c=a.bd;b=c.lb;d=!1;e=b.requestFullScreen||b.webkitRequestFullScreen||b.mozRequestFullScreen||b.msRequestFullscreen;if(e=c.Yi(b))e.call(b),d=!0;d||$wnd.alert("Fullscreen is not supported on your web browser")}a.Uc&&\n!a.Wb&&!f&&(a.U?(IN(a,"nodepict",!0),JN(a,GO(a,a.Vb),a.X,a.Jb,a.Sb),vO(a)):IN(a,yi,!0),a.i&&(a=a.i,a.b.a.apply(null,[VQ(a.a)])),f=!0);return f}function VM(a,b){a.bc=b;a.ec=b;a.cc=b;a.ac=b;a.dc=b}function JQ(a,b){a.Fg().a&&(b=WQ(a,b,a.uc),-1!=b&&(a.uc=b,null!=a.jc&&TL(a.jc,z(XQ,o,105,[new Ur(et(a.Vb,a.r)),new Ur(b)])),a.Mg(et(a.Vb,a.r),b)))}function WQ(a,b,c){if(0>=b&&0==c||b==c&&et(a.Vb,a.r)==a.sc)return-1;0>=b&&0<c&&(b=0);a.sc=et(a.Vb,a.r);return b}\nfunction KQ(a,b){a.Gg().a&&(b=WQ(a,b,a.vc),-1!=b&&(a.vc=b,a.Og(et(a.Vb,a.r),b)))}\nfunction IN(a,b,c){var d,b=b.toLowerCase();if(d=YQ(a,b,"rbutton"))a.zc=d.a,c=a.bc=!0;if((d=YQ(a,b,"hydrogens"))&&a.Ub.b.f!=d.a)a.Ub.b.f=d.a,c=a.cc=!0;(d=YQ(a,b,"polarnitro"))&&(a.qc=d.a);(d=YQ(a,b,"valenceState"))&&a.Ub.a!=d.a&&(a.Ub.a=d.a);-1<b.indexOf("keephs")&&(a.Ub.b.d=!1);-1<b.indexOf("removehs")&&(a.Ub.b.d=!0,a.Ub.b.e=!1);-1<b.indexOf("removehsc")&&(a.Ub.b.d=!0,a.Ub.b.e=!0);(d=YQ(a,b,"query"))&&(a.xc=d.a);if(d=YQ(a,b,"reaction"))a.Ac!=d.a&&(a.cc=!0),a.Ac||(a.Bc.f=!1),a.Ac=d.a;(d=YQ(a,b,"autoez"))&&\n(a.Nc.a=d.a);(d=YQ(a,b,"stereo"))&&(a.Sc=d.a);(d=YQ(a,b,"canonize"))&&(a.L=d.a);(d=YQ(a,b,"multipart"))&&(a._b=d.a);if((d=(vN(),YQ(a,b,Nh)?wN:xN)).a&&a.G!=d.a)a.G=d.a,a.G&&IN(a,nk,!0);if((d=YQ(a,b,nk)?wN:xN).a)a.lc!=d.a&&(a.ec=!0),a.lc=d.a,a.lc?(a.Ub.e&&VM(a,!0),a.Ub.e=!1):a.G=!1;if(d=YQ(a,b,"newlook"))a.fc=d.a,a.Sg();if(d=YQ(a,b,"oldlook"))a.fc=!d.a,a.Sg();if((d=ZQ(a,b,z(Jq,o,1,["star",Kj])))&&a.Ub.e!=d.a)a.lc=a.Ub.e=d.a,VM(a,!0),d.a||(a.Ab=!1);if((d=ZQ(a,b,z(Jq,o,1,["star1","marker1"])))&&a.Ab!=\nd.a)(a.Ab=d.a)&&(a.lc=a.Ub.e=d.a),VM(a,!0);(d=YQ(a,b,"markerMenu"))&&(a.Bb=d.a);(d=YQ(a,b,"pseudoMark"))&&(a.wc=d.a);if(d=YQ(a,b,"markAtomOnly"))a.Pc=d.a,a.Pc&&(a.Qc=!1,a.Rc&&(c=!0),a.Rc=!1);if(d=YQ(a,b,"markBondOnly"))a.Qc=d.a,a.Qc&&(a.Pc=!1,a.Rc&&(c=!0),a.Rc=!1);if((d=YQ(a,b,"markNothing"))&&a.Rc!=d.a)c=!0,a.Rc=d.a;if(d=YQ(a,b,"fgmenu"))a.cb=d.a,a.ec=!0;(d=YQ(a,b,"toggle"))&&(a.Uc=d.a);if(d=YQ(a,b,"depictaction"))(a.V=d.a)&&(b+=" depict");if(d=YQ(a,b,yi))d.a&&!a.U&&(a.U=!0,a.Ib=0,a.Qb=null,a.mc=\n!1,0<a.Vb.c&&(a.Sb=$Q(a,GO(a,a.Vb))),a.Sg()),!d.a&&a.U&&(a.U=!1,a.Pg()?a.Sb=3:a.Sb=1,a.Ib=24,a.mc=!0,a.Sg());(d=YQ(a,b,"showDragAndDropIconInDepictMode"))&&(a.Lc=d.a);(d=YQ(a,b,"showDragAndDropSymbolInDepictMode"))&&(a.Lc=d.a);(d=YQ(a,b,"addNewPart"))&&(a.t=d.a);(d=YQ(a,b,"exportInchi"))&&(a.Z=d.a);(d=YQ(a,b,"exportInchiKey"))&&(a._=d.a);(d=YQ(a,b,"exportInchiAuxInfo"))&&(a.$=d.a);(d=YQ(a,b,"searchInchiKey"))&&(a.Ic=d.a);(d=YQ(a,b,"exportSVG"))&&(a.bb=d.a);(d=YQ(a,b,"exportRXNmerge"))&&(a.ab=d.a);\n(d=YQ(a,b,"contextMenu"))&&(a.P=d.a);(d=YQ(a,b,"fullScreenIcon"))&&(a.gb=d.a);d=YQ(a,b,"showFullScreenIconInDepictMode");(d=YQ(a,b,"useOclIDCode"))&&(a.Yc=d.a);(d=YQ(a,b,"xbutton"))&&(a.$c=d.a);(d=YQ(a,b,Ek))&&(a.mc=d.a);(d=YQ(a,b,Yh))&&(a.W=d.a);-1<b.indexOf("nocenter")&&(a.ic=!0);b.indexOf("jmeh");-1<b.indexOf("showan")&&(a.Kc=!0);(d=YQ(a,b,"atommovebutton"))&&(a.Jc=d.a);(d=YQ(a,b,"useopenchemlib"))&&(a.Zc=d.a);(d=YQ(a,b,"zoom"))&&(a.w=d.a);a.Ac&&(a.G=!0,a._b=!0);a.U||(a.W=!1);xO=yO(a);a.Q=null;\na.R=null;if(105==a.o&&(!a.Ub.e||a.Rc))a.o=202,c=!0;c&&(VM(a,!0),a.If(a.bd.e))}function YQ(a,b,c){var d;d=aR(new bR(new cR(th+c+th,2),b));b=aR(new bR(new cR("\\\\bno"+c+th,2),b));return d&&b?(a.Rg("check option "+c),null):d?(vN(),vN(),wN):b?(vN(),vN(),xN):null}function ZQ(a,b,c){var d,e,f;for(e=0,f=c.length;e<f;++e)if(d=c[e],d=YQ(a,b,d))return d;return null}\nfunction fM(a,b,c){a.mc&&(null!=b&&0<b.length?(c?wP(a.v,"DROP"):wP(a.v,og),!a.nc&&(a.nc=new iN(a)),dR(a.nc,b)):(yN(a,"ERROR - empty or null structure"),wQ(a)))}function WO(a){kL();for(var b;SP(a.Vb)&&1<a.Vb.c;)eR(a.Vb,0);b=new fR;b.c=gR(a.Vb);b.e=a.Ac;b.d=a._b;b.a=a.Sb;b.b=a.ub;var a=a.Lb,c;b=new hR(b);c=a.a.c;a.a.c=b;b.b=a.a;c&&(b.c=c,c.b=b);a.a=b}\nfunction TP(a,b,c){if(!SP(b)){if(a.Ub.c){var d,e;for(e=new gq(b);e.b<e.d.xg();)d=hq(e),iR(d)}var f,g,h,j,l,n;if(!SP(b)){for(e=0;e<b.c;++e)d=(xq(e,b.c),b.b[e]),d.j=a,(d=jR(d))&&Vs(b,e,d),(d=kR(d)?d:lR(d))&&Vs(b,e,d);var q;d=q=h=0;for(j=new gq(b);j.b<j.d.xg();){g=hq(j);for(n=1;n<=g.p;++n,++d)e=g.b[g.c[n].j].s-g.b[g.c[n].k].s,l=g.b[g.c[n].j].u-g.b[g.c[n].k].u,h+=Math.sqrt(e*e+l*l)}if(0<d)q=(xq(0,b.c),25)/(h/d);else for(j=new gq(b);j.b<j.d.xg();)if(g=hq(j),1<g.o){q=75/Wq((g.b[1].s-g.b[2].s)*(g.b[1].s-\ng.b[2].s)+(g.b[1].u-g.b[2].u)*(g.b[1].u-g.b[2].u));break}if(0<q)for(j=new gq(b);j.b<j.d.xg();)g=hq(j),mR(g,q);if(b.a){a.Ac=!0;a._b=!0;e=new kP;g=null;for(f=(nR(),oR),l=0,n=f.length;l<n;++l){j=f[l];h=qQ(b,j,!1);q=d=new kP;for(var r=void 0,t=void 0,A=void 0,A=new kP,t=new gq(h);t.b<t.d.xg();)r=hq(t),bq(A.a,r);pR(q.a,A.a);2!=j?(qR(d,0,!0),rR(d,1)):(g=I(0.5*d.a.c+0.5),Qp(d.a,g,a.Bc),qR(d,1,!1),rR(d,0),g=d);bq(e.a,d)}qR(e,0,!1);rR(e,1);sR(g,0,tR(g)-a.Bc.e);SM(b);TN(a.Vb);pR(a.Vb,b);a.Sb=$Q(a,GO(a,a.Vb))}else(a.U||\na.oc)&&(a.Ac=!1),f=(a.Ac||a._b)&&a.t||a.gc,f||(TN(a.Vb),a.Pg()?a.Sb=3:a.Sb=1),f=a.U?1:a.Sb,JN(a,GO(a,b),a.X,a.Jb,f),a.U||SM(b),pR(a.Vb,b),a.U&&(a.Sb=$Q(a,GO(a,a.Vb)));f=a.z;if(null!=f)for(e=new gq(a.Vb);e.b<e.d.xg();)d=hq(e),uR(d,f,0,!0);a.r=(xq(0,b.c),b.b[0])}a.gc&&(a.gc=!1,a.ec=!0);c&&(YO(a),a.ec&&ZO(a))}}function vR(a,b){try{EP(a,b,!0)||wQ(a)}catch(c){if(c=No(c),E(c,102))wQ(a);else throw c;}}\nfunction IP(a,b,c){var d,e,f;try{e=new OP;var g;a:{var h=a.Ub,j,l,n,q,r,t,A,u;e.b=C(iL,o,0,0,0);e.c=0;e.a=!1;A=new OL(b,"|>",!0);e.a=-1<b.indexOf(Wd);q=HL(A);r=0;for(l=1;l<=q;++l)if(t=LL(A),cs(t),!ds(t,gm))if(ds(t,Wd))++r;else{if(3<r){g=!1;break a}try{if(n=new wR(null,t,h),0==n.o){g=!1;break a}}catch(w){w=No(w);if(E(w,102)){j=w;wM();u=null;E(j,108)?u="Number parsing":E(j,116)&&(u="Not enough data");null==u?kw(j):null!=j._d()&&j._d();g=!1;break a}throw w;}oq(e.b,e.c++,n);if(e.a){var F=(nR(),oR)[r];\nn.t=F}}g=!0}(d=(f=g,f&&!SP(e)&&TP(a,e,c),f))||a.If(a.bd.e)}catch(H){if(H=No(H),E(H,102))d=!1,a.If(a.bd.e);else throw H;}return d}function zN(a,b,c,d,e){a.v&&RN(Ew(a.v,b),a.Vb,d,e,c);a.Fc=!0}function PM(a,b,c){zN(a,b,et(a.Vb,a.r),c,0)}function vO(a){VM(a,!1);a.cc=!0;a.If(a.bd.e)}function xR(a){a.o=202;a.gc=!1;SN(a);yN(a,a.T);a.Nb=null;a.Pg()?a.Sb=3:a.Sb=1;a.v&&RN(Ew(a.v,"reset"),a.Vb,0,0,0);a.Fc=!0;a.If(a.bd.e)}function yR(a){VM(a,!0);a.Qb=null;a.Vc=null;a.yb=null;a.mb=null;a.Dc=null}\nfunction zR(a,b){var c;if(0==b)for(c=1;c<=a.Vb.c;++c)zR(a,c);else if(c=AR(a,b))BR(c.b),vO(a)}function CR(a,b){var c;if(0==b){a.z=m;for(c=1;c<=a.Vb.c;++c)CR(a,c)}else if(c=AR(a,b))BR(c.c),vO(a)}function YP(a,b){if(b)a.Vb=gR(b.c),a.r=new QN(a,a.Ub),a.Ac=b.e,a._b=b.d,a.Sb=b.a;else{do MN(a,!1);while(!SP(a.Vb))}switch(b.b){case 5:case 7:case 9:break;default:null!=a.kc&&TL(a.kc,null),a.v&&null!=a.v.a&&a.Lg()}}function DR(a,b){return a.U?0:(a.fc?1:3)*b}\nfunction $Q(a,b){var c,d,e,f;f=a.Sb;c=KN(b);d=JO(a,a.X,a.Jb);if(0>=c.c||0>=c.b||!d||0==d.c||0==d.b)return f;e=d.c/(c.c+25);c=d.b/(c.b+25);if(0==e||0==c)return f;1>=e||1>=c?f=e<c?e:c:f=1;JN(a,b,a.X,a.Jb,f);return f}function aP(a,b){return(b-J(L(N(CO(a,a.Jb)))))/a.Sb}function bP(a,b){return(b-J(L(N(DO(a,a.Jb)))))/a.Sb}function AR(a,b){yN(a,a.T);return 1>b||b>a.Vb.c?(yN(a,"ERROR - invalid mol index: "+b),a.If(a.bd.e),null):io(a.Vb,b-1)}function ER(a,b){b!=a.Jb&&(a.Jb=b,a.Sg(),a.If(a.bd.e))}\nfunction FR(a,b){var c,d,e;b!=a.Sb&&(c=LN(a,a.X,a.Jb,a.Sb),a.Sb=b,d=LN(a,a.X,a.Jb,a.Sb),e=d.d+d.c/2-(c.d+c.c/2),c=d.e+d.b/2-(c.e+c.b/2),sR(GO(a,a.Vb),e,c),vO(a))}\nfunction FN(a,b){var c;c=-1;ds(b,"Select substituent")?(c=202,b=m):ds(b,oc)?c=235:ds(b,pc)?c=240:ds(b,nc)?c=260:ds(b,xc)?c=261:ds(b,Fc)?c=241:ds(b,wc)?c=233:ds(b,vc)?c=236:ds(b,uc)?c=237:ds(b,Dc)?c=234:ds(b,Cc)?c=243:ds(b,Gc)?c=252:ds(b,Bc)?c=244:ds(b,Ic)?c=239:ds(b,"-PO3H2")?c=251:ds(b,kc)?c=242:ds(b,ic)?c=245:ds(b,jc)&&(c=238);0<c?XP(a,c):b="Not known group!";yN(a,b);a.If(a.bd.e)}function GR(a,b){a.H=b;a.K=sJ(a.H);VM(a,!0);wQ(a)}function YM(a,b){yN(a,b);a.If(a.bd.e)}\nfunction bN(a){var b;try{b=KM(a)}catch(c){c=No(c);if(E(c,102))return yN(a,c._d()),null;throw c;}return b}function oO(a,b,c,d,e){var f,g,h,j;f=a.Gb;j=sK(e,f.a);if(j>=a.Ib-1)for(g=f.a.b;j>=a.Ib-1&&1<g;){--g;h=new PJ(f.a.a,f.a.c,g);f=($H(),new aI(h));j=sK(e,f.a);var l=b,n=h.b*(iO(),X);h=new PJ(h.a,h.c,Math.round(n));l.e=h;HR(b.a,b.e)}else OO(b,a.Db);f=RJ(f.a)-SJ(f.a);SO(b,e,c+(a.Ib-j)/2,d+(a.Ib-f)/2+f)}\nfunction qO(a,b,c,d,e,f){var g,h;g=PO(a.Fb);h=sK(f,a.Fb.a);OO(b,a.Eb);!b.b?pO(b.a,e):e==b.c||uJ(e,b.c)?pO(b.a,b.c):pO(b.a,b.b);SO(b,f,c+(a.Ib-h)/2,d+(a.Ib-g)/2+g)}function PO(a){return RJ(a.a)-SJ(a.a)}function DO(a,b){return a.U?0:(2*a.Ib+(a.fc?1:0))*b}\nfunction IR(a){var b,c;a.x=!1;if(a.Qb){if(c=MI(a),b=c.b!=a.X.b||c.a!=a.X.a)a.X=c,a.x=!0}else b=!0;b&&(VM(a,!0),b=JO(a,a.X,a.Jb),a.Tb=I(b.c),a.Pb=I(b.b),a.Rg("update(): "+a.X+" initOrResize: true "+a.Tb+ca+a.Pb),a.Qb=VN(a,a.Qb,a.Tb,a.Pb),a.U?(b=a.Sb,a.Sb=$Q(a,GO(a,a.Vb)),a.Rg("update() in depict mode: oldMolecularAreaScale = "+b+" new   molecularAreaScale = "+a.Sb)):(a.Vc=VN(a,a.Vc,a.X.b,J(L(N(DO(a,a.Jb))))),b=a.X.a-J(L(N(DO(a,a.Jb)))),1>b&&(b=1),a.yb=VN(a,a.yb,J(L(N(CO(a,a.Jb)))),b),a.mb=VN(a,a.mb,\na.Tb+J(L(N(DR(a,a.Jb)))),J(L(N(a.U?0:a.Ib*a.Jb)))),a.Dc=VN(a,a.Dc,J(L(N(DR(a,a.Jb)))),a.Pb)));BO(a);if(!a.U){var d,e;if(a.ac){null==a.nb&&(a.nb=m);c=new XK(J(L(N(CO(a,a.Jb)))),a.X.a-J(L(N(a.U?0:a.Ib*a.Jb))),a.X.b-J(L(N(CO(a,a.Jb)))),J(L(N(a.U?0:a.Ib*a.Jb))));b=EO(a.mb,a.Jb,c);e=c.c/a.Jb;d=a.U?0:a.Ib;YN(b,a.H);hO(b.a,J(L(N(0*(iO(),X)))),J(L(N(0*X))),J(L(N(e*X))),J(L(N(d*X))));a.fc?(YN(b,(bJ(),hJ)),lO(b.a,J(L(N(-10*X))),J(L(N(0*X))),J(L(N((e-1+10)*X))),J(L(N((d-1)*X))))):(YN(b,a.K),jO(b,0,0,e-(a.U?\n0:a.fc?1:3)+1,0),YN(b,tJ(a.H)),kO(b.a,J(L(N(0*X))),J(L(N((d-1)*X))),J(L(N((e-1)*X))),J(L(N((d-1)*X)))),kO(b.a,J(L(N((e-1)*X))),J(L(N(0*X))),J(L(N((e-1)*X))),J(L(N((d-1)*X)))));OO(b,a.Hb);YN(b,(bJ(),jJ));-1!=a.nb.toLowerCase().indexOf(Mi)&&YN(b,lJ);SO(b,a.nb,10,15);if(!a.U)if(zO(a,b,1),a.gb&&a.Qg()){var f=a.Y,g,h,j,l,n,q,r,t;d=!a.Pg();!a.fb?a.fb=new AO(b):a.fb.a=b;h=a.pb;n=b.j.c/b.i;e=b.j.b/b.i;f&&(n=f.d,h=f.b,n-=6);j=16*h/9;f=!0;for(l=1;0.3<=l;l-=0.034999999999999996)g=(1-l)/0.7,d||(g=1-g),g=new vJ(g,\ng),!b.b?pO(b.a,g):g==b.c||uJ(g,b.c)?pO(b.a,b.c):pO(b.a,b.b),g=h*l,q=g/h*j,r=n-j+(j-q)/2,a.U?t=e-h/2-g/2:t=e/2-g/2,hO(b.a,J(L(N(r*(iO(),X)))),J(L(N(t*X))),J(L(N(q*X))),J(L(N(g*X)))),f&&(f=!1,iK(a.fb,r,t,q,g))}else a.fb=null;VO(a.mb.a,I(c.d),I(c.e),a)}ZO(a);if(a.bc){b=new XK(0,J(L(N(DO(a,a.Jb)))),J(L(N(CO(a,a.Jb)))),a.X.a-J(L(N(DO(a,a.Jb)))));t=EO(a.yb,a.Jb,b);d=a.U?0:a.Ib+(a.fc?1:0);c=(a.X.a-J(L(N(DO(a,a.Jb)))))/a.Jb;h=c-(a.U?0:a.Ib);YN(t,a.H);hO(t.a,J(L(N(0*(iO(),X)))),J(L(N(0*X))),J(L(N(d*X))),J(L(N(c*\nX))));a.fc?(YN(t,(bJ(),hJ)),e=xO*(a.Ib+(a.fc?1:0))+3,h>e&&(jO(t,0,e,a.Ib-1,e),kO(t.a,J(L(N(0*X))),J(L(N(e*X))),J(L(N(0*X))),J(L(N((c-1)*X)))),jO(t,a.Ib-1,e,a.Ib-1,h),jO(t,a.Ib-1,h,d,h))):(YN(t,a.K),kO(t.a,J(L(N(0*X))),J(L(N(0*X))),J(L(N(0*X))),J(L(N((c-1)*X)))),jO(t,0,xO*a.Ib,c-1,xO*a.Ib),YN(t,tJ(a.H)),kO(t.a,J(L(N((d-1)*X))),J(L(N(0*X))),J(L(N((d-1)*X))),J(L(N((h+1)*X)))));kO(t.a,J(L(N(0*X))),J(L(N((c-1)*X))),J(L(N(d*X))),J(L(N((c-1)*X))));for(c=3;c<=xO+2;++c)XN(a,t,1,c);VO(a.yb.a,I(b.d),I(b.e),\na)}a.dc&&(d=new XK(a.X.b-J(L(N(DR(a,a.Jb)))),J(L(N(DO(a,a.Jb)))),J(L(N(DR(a,a.Jb)))),a.Pb),c=EO(a.Dc,a.Jb,d),b=a.U?0:a.fc?1:3,t=d.b/a.Jb,a.fc?(YN(c,(bJ(),hJ)),hO(c.a,J(L(N(0*(iO(),X)))),J(L(N(0*X))),J(L(N(b*X))),J(L(N(t*X))))):(YN(c,tJ(a.H)),kO(c.a,J(L(N((b-1)*(iO(),X)))),J(L(N(0*X))),J(L(N((b-1)*X))),J(L(N(t*X)))),YN(c,a.H),kO(c.a,J(L(N((b-2)*X))),J(L(N(0*X))),J(L(N((b-2)*X))),J(L(N(t*X)))),YN(c,a.K),kO(c.a,J(L(N((b-3)*X))),J(L(N(0*X))),J(L(N((b-3)*X))),J(L(N(t*X))))),VO(a.Dc.a,I(d.d),I(d.e),a))}}\nfunction JR(a,b){var c,d,e;a.G&&0==b?(a.tb=0,yN(a,"click marked atom to delete map"),wQ(a)):(a.Cc?(a.tb=b,a.Cc=!1):-1<a.tb&&100>a.tb?a.tb=10*a.tb+b:(a.tb=b,a.Cc=!1),c="map",e="atom",d="delete map",a.Ub.e&&(d="remove background color",c="color index",a.Pc||(a.Qc?e="bond":e="atom or bond"),0>=a.tb&&(a.tb=1)),0==a.tb?(a.tb=0,yN(a,"click marked "+e+za+d),wQ(a)):(a.Ub.e&&XM(a,a.tb),YM(a,"Click "+e+" to set "+c+za+a.tb)));a.zb=!0}\nfunction LM(a){var b,c,d,e,f;a.Vb.a=a.Ac;b=-1;if(a.Ac)for(d=new gq(a.Vb);d.b<d.d.xg();){c=hq(d);f=c.t;e=a;var g=void 0,h=void 0;0==c.o?e=0:(g=IO(c),h=KR(e.Bc),e=g.d+g.c/2<h.d?1:g.d+g.c/2>h.d+h.c?3:2);c.t=e;-1==b&&e!=f&&(b=et(a.Vb,c))}return b}function JM(a){wM();return 14<=a&&20>=a?1:21<=a&&28>=a?2:29<=a&&31>=a?3:0}x(585,474,Hm);_.dg=function(a){UM(this,a)};_.Eg=LR;_.Fg=function(){return vN(),null!=this.jc?wN:xN};_.Gg=function(){return vN(),vN(),xN};_.Hg=vI;_.Ig=function(a,b,c){return II(this,b,c)};\n_.Jg=MR;_.Kg=vI;_.Lg=function(){kL();LM(this)};_.Mg=JJ;_.Ng=NR;_.Og=JJ;_.Pg=function(){return this.qb};_.Qg=rt;_.Rg=function(){kL()};\n_.eg=function(a){var b,c,d,e;if(this.w)if(b=a.c,c=a.f,d=a.i,b=(100+2*-1*b)/100,this.U||!(c<J(L(N(CO(this,this.Jb))))||d<J(L(N(DO(this,this.Jb))))||d>this.X.a-J(L(N(this.U?0:this.Ib*this.Jb)))||c>this.X.b-J(L(N(DR(this,this.Jb)))))){if(a=this.Sb*b,a>this.Sb&&10>=a||a<this.Sb&&0.3<=a)if(this.ub=8,this.Ac)FR(this,a);else{b=LN(this,this.X,this.Jb,this.Sb);this.Sb=a;a=LN(this,this.X,this.Jb,this.Sb);e=new OR;dP(this,c,d,2147483647,e);var f;c=new UK;if((f=e.c)&&0!=f.o)0<e.a?(d=f.b[e.a].s,f=f.b[e.a].u):\n(d=f.c[e.b].b,f=f.c[e.b].c),e=d/b.c*a.c,b=f/b.b*a.b,c.a=e-d,c.b=b-f;c&&(b=GO(this,this.Vb),sR(b,c.a,c.b));this.cc=!0;this.If(this.bd.e)}}else a=this.Jb*b,0.7<=a&&4>=a&&ER(this,a)};_.If=function(){IR(this)};_.Sg=function(){yR(this)};_.Tg=PE;_.n=null;_.o=0;_.p=null;_.q=1;_.r=null;_.s=0;_.t=!1;_.u=!1;_.w=!0;_.x=!1;_.y=0.8;_.z=null;_.A=null;_.B=null;_.C=null;_.D=null;_.E=13;_.F=null;_.G=!1;_.I=0.5;_.J=!1;_.L=!0;_.P=!0;_.Q=null;_.R=null;_.T=m;_.U=!1;_.V=!1;_.W=!1;_.X=null;_.Y=null;_.Z=!0;_.$=!1;_._=!0;\n_.ab=!1;_.bb=!0;_.cb=!0;_.db=null;_.eb=!1;_.fb=null;_.gb=!1;_.hb=null;_.ib=null;_.kb=null;_.lb="https://jsme-editor.github.io/help.html";_.mb=null;_.nb=null;_.ob=null;_.qb=!1;_.sb=null;_.tb=-100;_.ub=0;_.vb=jm;_.xb=1;_.yb=null;_.zb=!1;_.Ab=!1;_.Bb=!1;_.Cb=null;_.Db=null;_.Eb=null;_.Fb=null;_.Gb=null;_.Hb=null;_.Ib=24;_.Jb=1;_.Kb=null;_.Lb=null;_.Mb=null;_.Nb=null;_.Ob=!0;_.Pb=0;_.Qb=null;_.Rb=1;_.Sb=1;_.Tb=0;_.Wb=!1;_.Xb=!1;_.Yb=0;_.Zb=!1;_.$b=!1;_._b=!0;_.ac=!0;_.bc=!0;_.cc=!0;_.dc=!0;_.ec=!0;\n_.fc=!1;_.gc=!1;_.ic=!1;_.jc=null;_.kc=null;_.lc=!1;_.mc=!0;_.nc=null;_.oc=!1;_.pc=null;_.qc=!1;_.rc=null;_.sc=0;_.tc=null;_.uc=0;_.vc=0;_.wc=!1;_.xc=!1;_.yc=null;_.zc=!1;_.Ac=!1;_.Cc=!0;_.Dc=null;_.Ec=!1;_.Fc=!1;_.Ic=!0;_.Jc=!0;_.Kc=!1;_.Lc=!0;_.Mc=null;_.Oc=!1;_.Pc=!1;_.Qc=!1;_.Rc=!1;_.Sc=!0;_.Tc=null;_.Uc=!1;_.Vc=null;_.Wc=null;_.Xc=null;_.Yc=!1;_.Zc=!0;_.$c=!0;_._c=0;_.ad=0;var xO=10,yM,DM,FM,HM,IM,zM,xM,CM,PR=null,BM;\nfunction iM(a){var b;b=null;a.Y&&(a=a.Y,b=new jK,b.c=I(a.a.j.d)+I(a.d*a.a.i+0.5),b.d=I(a.a.j.e)+I(a.e*a.a.i+0.5),b.b=I(a.c*a.a.i+0.5),b.a=I(a.b*a.a.i+0.5),b.c-=2,b.d-=2,b.b+=4,b.a+=4);return b}function QR(a){var b,c,d;c=null;if(b=(d=a.Qb.a,d.a))c=a.r.w,d=a.r.x,a.r.w=0,a.r.x=0,XO(a.v),vO(a),a.r.w=c,a.r.x=d,c=b.q;return c}function RR(a){wP(a.v,tf);SR(a.c,a.v,ie);kL();LM(a)}function xQ(a,b,c,d,e){a.b[e]&&(XO(a.v),wP(a.v,tf),a.v.a=e,RN(a.v,a.Vb,c,d,b),SR(a.c,a.v,e),XO(a.v))}\nfunction TR(a,b,c){return a.b[c]?(XO(a.v),a.v.a=c,a.v.b=b,SR(a.c,a.v,c),XO(a.v),!0):!1}function wQ(a){IR(a);a.j&&(UR(a.bd),a.j=!1)}function VR(a,b,c){b in a.b?a.b[b]=c:$wnd.alert("Invalid callback name: "+b)}\nfunction WR(){wM();GI.call(this);this.bd=(nI(),nI(),oI).a;this.wb=new OR;this.hc=new OR;this.S=new PJ(null,0,8);this.Bc=new XR;this.pb=(this.Ib-6)/1.5;this.H=(bJ(),fJ);this.K=sJ(this.H);this.v=new YR;this.Nc=new ZR;this.Ub=new CN;this.M=dJ;this.O=new $R;this.Vb=new OP;new EI;this.Hc=new aS;this.rb=ds((kL(),lL[qj]),Kf);this.N=new bS;this.jb=z(Jq,o,1,[oc,pc,Fc,nc,xc,wc,vc,uc,Dc,Gc,Bc,Cc,kc,jc,ic]);this.Gc=new cS;this.r=new QN(this,this.Ub);this.wb.c=this.r;this.hc.c=this.r;bq(this.Vb,this.r);this.ob=\nnew dS(this);this.a=z(Jq,o,1,[Be,ie,te,De,se,Ce,Cf]);var a,b,c,d;this.b={};for(b=this.a,c=0,d=b.length;c<d;++c)a=b[c],this.b[a]=null;this.c=new eS(this)}x(584,585,Hm,WR);_.Eg=function(){var a;return a=fS(),-1==a||9<=a};_.Fg=function(){return vN(),null!=this.b[te]||(null!=this.jc?wN:xN).a?wN:xN};_.Gg=function(){return vN(),null!=this.b[De]?wN:xN};_.Hg=function(a){var b=yA(this,!1,!0);(a=new gS(this,a))&&nM(new tM(a,b))};_.Ig=function(a,b,c){var d;return a?(d=a.a,vE(d.t,b,c),a):II(this,b,c)};_.Jg=function(){return QR(this)};\n_.Kg=function(a){TR(this,a,"AfterPaste")};_.Lg=function(){RR(this)};_.Mg=function(a,b){xQ(this,a,b,0,te)};_.Ng=function(a){return TR(this,a,Be)};_.Og=function(a,b){xQ(this,a,0,b,De)};_.Pg=function(){return UQ()};_.Qg=function(){return!(!this.bd.lb.requestFullScreen&&!this.bd.lb.webkitRequestFullScreen&&!this.bd.lb.mozRequestFullScreen&&!this.bd.lb.msRequestFullscreen)};_.Rg=vI;_.If=function(){wQ(this)};\n_.Sg=function(){yR(this);var a=this.bd,b,c;for(c=new gq(new WI(a.b));c.b<c.d.xg();)b=hq(c),0<$E(a.i.p,b.t)&&dF(a.i,b.t),Po(a.b,b);this.j=!0};_.Tg=function(){var a=yA(this,!0,!1),b=new hS(this);b&&nM(new tM(b,a))};_.b=null;_.c=null;_.d=null;_.e=1;_.f=1;_.i=null;_.j=!1;_.k="http://www.google.com/search?q=%22{INCHIKEY}%22";\nfunction SR(a,b,c){if((c=a.a.b[c])&&b){var d=a.a.d;d.action=b.a;d.atom=b.d;d.atomBackgroundColorIndex=b.e;d.bond=b.i;d.molecule=b.o;d.atoms=[b.j[0],b.j[1]];d.atomE=b.f;d.bondE=b.n;d.atomsE=[b.k[0],b.k[1]];null!=b.b?d.argument=b.b:b.c&&(d.argument=b.c);null!=b.p?d.origin=b.p:b.p=null;c(a.a.d)}}function eS(a){this.a=a}x(586,1,{},eS);_.a=null;function gS(a,b){this.a=a;this.b=b}x(587,1,{},gS);_.ae=vI;\n_.Dg=function(a){if(null!=uM(a))aN(uM(a)),YM(this.a,"InChI "+uM(a));else{switch(this.b.c){case 4:aN(a.inchi==m?null:a.inchi);break;case 5:aN(a.key==m?null:a.key);break;case 6:aN(a.auxinfo==m?null:a.auxinfo)}null!=vM(a)&&YM(this.a,"InChI "+vM(a))}};_.a=null;_.b=null;function hS(a){this.a=a}x(588,1,{},hS);_.ae=vI;\n_.Dg=function(a){if(null!=uM(a))aN(uM(a)),YM(this.a,"InChI "+uM(a));else{var b=this.a,c;if(b.b[Cf])try{XO(b.v),Ew(b.v,Cf),b.v.c=a,SR(b.c,b.v,Cf),XO(b.v)}catch(d){if(d=No(d),E(d,102))YM(b,jf+d._d());else throw d;}else try{var e=a.key==m?null:a.key,f,g;f=null;null!=e&&0<e.length&&(f=b.k,-1!=f.indexOf("{INCHIKEY}")?f=(g=iS(iS(e,rh,"\\\\\\\\\\\\\\\\"),"\\\\$","\\\\\\\\$"),iS(f,"\\\\{INCHIKEY\\\\}",g)):f+=e);c=new sL(f);jS(c)}catch(h){if(h=No(h),E(h,86))YM(b,jf+h.f);else throw h;}null!=vM(a)&&YM(this.a,"InChI "+vM(a))}};\n_.a=null;function kS(a,b){return null!=b&&0<b.length?kS(a,b):!1}function lS(a){a.c.lb.style.display!=ik&&(VM(a.b,!0),LI(a.b),UR(a.d))}function mS(a){nS.call(this,a,kd,kd,null)}function oS(a,b){nS.call(this,a,kd,kd,b)}function pS(a,b,c){nS.call(this,a,b,c,null)}\nfunction nS(a,b,c,d){var e;if(null==a)VL("JSME initialization error: HTML id argument is null.");else if(ds(If,a))VL(\'JSME initialization error: Due to an Internet Explorer bug, HTML id argument can not be "JSME".\');else if(e=fH(a)){this.a=qS;++qS;this.c=e;this.b=new WR;this.b.d||(this.b.d={},this.b.d.src=VQ(this));this.d=new rS(this.b,b,c,d);VE(e,this.d,e.lb);d&&Kh in d&&(this.d.c=d[Kh]);a=this.d;a.e||(a.e=JI(a,NI(a),OI(a)),a.e.j=!1);var b=a.d,f,g,h,j,l,n,q,r,t,A,u,w;b.Ub.d=!1;b.Ub.c=!0;b.rb?PR=\nIf:PR=Hf;(c=b.qd)&&VI(c.nd,b);yN(b,PR+" Molecular Editor by Peter Ertl and Bruno Bienfait");b.X=MI(b);BI(b,null);b.Db||(b.Db=new PJ(xf,0,13),b.Gb=ZH(b.Db));b.Eb||(b.Eb=new PJ(xf,1,13),b.Fb=ZH(b.Eb));b.Hb||(b.Hb=new PJ(xf,0,11),ZH(b.Hb));UP(b,b.E);b.xc=!1;b.Ac=!1;b.Sc=!0;b.L=!0;b.$c=!0;b.zc=!1;xO=yO(b);try{u=sS(b.bd,"options"),null!=u&&IN(b,u,!1),q=sS(b.bd,"jme"),null!=q&&(b.sb=q),t=sS(b.bd,Vj),null!=t&&(b.Mb=t),j=sS(b.bd,"chem"),null!=j&&(b.kb=j),w=sS(b.bd,"smiles"),null!=w&&(b.kb=w),l=sS(b.bd,"depictcgi"),\nnull!=l&&(b.Ec=!0),A=sS(b.bd,Dl),null!=A&&(b.Nb=A,wQ(b)),b.z=sS(b.bd,"atombg"),g=sS(b.bd,"depictbg"),null!=g&&b.U&&(b.M=tS(g)),n=sS(b.bd,"guicolor"),null!=n&&GR(b,tS(n)),f=sS(b.bd,"atombgsize"),null!=f&&(b.y=(new Hr(uS(f))).a,0>b.y&&(b.y=0.8)),h=sS(b.bd,"bondbgsize"),null!=h&&(b.I=(new Hr(uS(h))).a,0>b.I&&(b.I=0.5)),b.Kc&&b.r&&fQ(b.r),r=sS(b.bd,"notify_structural_change_js_function"),b.kc=r}catch(F){if(F=No(F),E(F,102))kL();else throw F;}b.o=202;CI(b);b.Lb=new vS;WO(b);f=a.d;null!=f.sb?(IP(f,f.sb,\n!0),null!=f.z&&f.r&&uR(f.r,f.z,0,!0)):null!=f.Mb?vR(f,f.Mb):null!=f.kb&&f.Zc&&(f.cc=!1,uP(f,f.kb,null,!0,!1));0<NI(a)&&0<OI(a)?wQ(a.d):wS(Gf);g=this.b;f=this.d;j=new rG((lM(),kM));h=new xS(g,f,j);yS(h);bq(f.p,h);ZL(new dM(g),f);l=0>=fS();h=new gM(g);l?(l=new zS,g=new jM(l,j,g,f),hM(g),bq(f.p,g),zx(l.lb),l.lb.style[vi]=(Ox(),bk),EE(l,h,(vA(),vA(),wA)),l.lb.style[eh]=ik):(zx(j.lb),j.lb.style[vi]=(Ox(),bk),EE(j,h,(vA(),vA(),wA)),j.lb.style[eh]=ik)}else VL("JSME initialization error: HTML id "+a+" not found.")}\nfunction AS(){return FC(null)}function BS(a){return FC(a)}x(589,1,Vm,mS,oS,pS,nS);_.Ug=function(a){XM(this.b,a)};_.Vg=function(a){FE(this.d,new CS(this,a),(aA(),aA(),bA))};_.Wg=function(a){FE(this.d,new DS(this,a),(SA(),SA(),TA))};_.Xg=function(a){FE(this.d,new ES(this,a),(YA(),YA(),ZA))};_.Yg=function(a){FE(this.d,new FS(this,a),(aB(),aB(),bB))};_.Zg=function(a){Xw(2,new HN(this.b,a))};_.$g=function(){MN(this.b,!0)};_._g=function(){mx((jx(),kx),new GS(this))};\n_.ah=function(){var a,b,c;c=[];for(b=new gq(this.d.b);b.b<b.d.xg();)a=hq(b),c[c.length]=a.q;return c};_.bh=function(){return this.b.a};_.ch=function(a){var b=this.b,c;0>=a?a=null:(c=HS(b.Vb,0,a).a)?a=E(c,88)?c.a:null:(yN(b,"ERROR - getAtomAdditionalData: invalid atomE index "+a),wQ(b),a=null);return a};_.dh=function(){var a=this.b.O,b,c;WM(a);c=[];for(b=1;b<a.a.length;++b)c[b-1]=eQ(a.a[b].a);return c};\n_.eh=function(a){var b=this.b,c;0>=a?a=null:(c=IS(b.Vb,0,a).a)?a=E(c,89)?c.a:null:(yN(b,"ERROR - getBondAdditionalData: invalid bondE index "+a),wQ(b),a=null);return a};_.fh=function(a){return this.b.b[a]};_.gh=kD;_.hh=function(){return this.b.lb};_.ih=function(){return this.b.Jb};_.jh=function(){return this.b.Kb};_.kh=function(){return this.b.Ob};_.Jg=function(){return QR(this.b)};_.lh=function(){return this.b.Rb};_.mh=function(){return this.b.Sb};\n_.nh=function(){return yq(this.b.Hc,C(Jq,o,1,this.b.Hc.c,0))};_.oh=function(){return this.b.gc};_.ph=function(){return this.b.kc};_.qh=function(){return GN(this.b.O)};_.Ke=function(){return xx(this.d.lb,pk)};_.rh=function(){var a;a=[];a.length=2;a[0]=xx(this.d.lb,qk);a[1]=xx(this.d.lb,pk);return a};_.Le=function(){return xx(this.d.lb,qk)};_.sh=function(){return this.c.lb};_.th=function(){return this.b.pc};_.uh=function(){return this.b.rc};_.vh=function(){return this.b.k};\n_.wh=function(){var a;a:{var b;for(a=new gq(this.b.Vb);a.b<a.d.xg();){b=hq(a);b:{for(var c=void 0,c=1;c<=b.o;++c)if(0<JS(b,c)){b=!0;break b}b=!1}if(b){a=!0;break a}}a=!1}return a};_.xh=function(){return!SP(this.b.Vb)};_.yh=function(a){VL("JSME initialization error: "+a)};_.zh=function(){return this.b.U};_.Ne=function(){return this.c.lb.style.display!=ik};_.Ah=function(){return fN(this.b)};_.Bh=function(){return yA(this.b,!0,!1)};_.Ch=function(a){return yA(this.b,!0,a)};\n_.Dh=function(){var a=this.b,b,c;b=a.Sc;a.Sc=!1;c=KM(a);a.Sc=b;return c};_.Eh=function(a){null!=a&&0<a.length&&IN(this.b,a,!0)};_.Fh=function(a){null!=a&&0<a.length&&uP(this.b,a,null,!0,!0)};_.Gh=function(a){null!=a&&0<a.length&&uP(this.b,a,null,!0,!0)};_.Hh=function(a){null!=a&&0<a.length&&vR(this.b,a)};_.Ih=function(a){null!=a&&0<a.length&&IP(this.b,a,!0)};_.Jh=function(a){return kS(this,a)};_.Nf=function(){lS(this)};_.Kh=function(){xR(this.b)};_.Lh=function(a){zR(this.b,a)};\n_.Mh=function(a){CR(this.b,a)};_.Nh=function(a){this.b.o=a};_.Oh=function(a){this.b.i=new KS(this,a)};_.Ph=function(a){VR(this.b,"AfterPaste",a)};_.Qh=function(a){VR(this.b,ie,a)};_.Rh=function(a){var b=this.d,c,d;if(b.c!=a){b.c=a;for(d=new gq(b.b);d.b<d.d.xg();)c=hq(d),a?c.b=m:c.b=pl}0<NI(b)&&0<OI(b)?wQ(b.d):wS(Gf);b=this.b;b.Ob=a;YO(b);VM(this.b,!0);LI(this.b)};\n_.Sh=function(a,b,c,d){var e=this.b,f,g;if(f=HS(e.Vb,0,a).a){if(E(f,88))f.a=b;else{g=new LS;MS(f,g);g.a=b;a:{var h,j;for(h=1;h<=e.Vb.c;++h){j=AR(e,h);for(b=0;b<j.b.length;++b)if(j.b[b]==f){oq(j.b,b,g);break a}}}}d&&(e.v&&RN(Ew(e.v,"setAtomAdditionalData"),e.Vb,a,0,0),e.Fc=!1,null!=e.kc&&TL(e.kc,null),e.v&&null!=e.v.a&&RR(e),XO(e.v));c&&WO(e)}else yN(e,"ERROR - setAtomAdditionalData: invalid atomE index "+a),wQ(e)};\n_.Th=function(a,b){a:{var c=this.b,d,e,f;if(0==a){d=0;for(e=1;e<=c.Vb.c;++e)f=AR(c,e),uR(f,b,d,!0),d+=f.o}else{d=AR(c,a);if(!d)break a;uR(d,b,0,!0)}vO(c)}};_.Uh=function(a){var b=this.b;b.E!=a&&0<a&&100>a&&(b.E=a,UP(b,a),YO(b))};_.Vh=function(a,b){a:{var c=this.b,d;NS(c.Vb);if(0!=b){d=HS(c.Vb,a,b);if(!d){yN(c,"ERROR - invalid atom index or molecule index");wQ(c);break a}d.d.w=d.c}vO(c)}};_.Wh=function(a){VR(this.b,Be,a)};\n_.Xh=function(a,b,c,d){var e=this.b,f,g;if(f=IS(e.Vb,0,a).a){if(E(f,89))f.a=b;else{g=new OS;PS(f,g);g.a=b;a:{var h,j;for(j=new gq(e.Vb);j.b<j.d.xg();){h=hq(j);for(b=0;b<h.c.length;++b)if(h.c[b]==f){oq(h.c,b,g);break a}}}}d&&(e.v&&RN(Ew(e.v,"setAtomAdditionalData"),e.Vb,a,0,0),e.Fc=!1,null!=e.kc&&TL(e.kc,null),e.v&&null!=e.v.a&&RR(e),XO(e.v));c&&WO(e)}else yN(e,"ERROR - setBondAdditionalData: invalid bondE index "+a),wQ(e)};\n_.Yh=function(a,b){a:{var c=this.b,d,e,f;if(0==a){d=0;for(f=new gq(c.Vb);f.b<f.d.xg();)e=hq(f),uR(e,b,d,!1),d+=e.p}else{d=AR(c,a);if(!d)break a;uR(d,b,0,!1)}vO(c)}};_.Zh=function(a,b){a:{var c=this.b,d;NS(c.Vb);if(0!=b){d=IS(c.Vb,a,b);if(!d){yN(c,"ERROR - invalid bond index or molecule index");wQ(c);break a}d.d.x=d.c}vO(c)}};_.$h=function(a,b){VR(this.b,a,b)};_.Pe=function(a){uE(this.d,a);lS(this)};_._h=function(a){this.b.lb=a};_.ai=QS;\n_.bi=function(a){var b,c,d,e;e=a.length;d=C(RS,o,127,e,0);for(c=0;c<e;++c)b=new SS(a[c].color,a[c].label),d[c]=b;TS(this.b.O,d);a=this.b;VM(a,!0);wQ(a)};_.ci=function(a){ER(this.b,a)};_.di=function(a){this.b.Kb=a};_.ei=function(a){var b=this.b;b.Ob=a;YO(b)};_.fi=function(a){var b=this.b;b.Rb=a;YO(b)};_.gi=function(a){FR(this.b,a)};_.hi=function(a){var b=this.b;b.gc=a;b.ec=!0;wQ(b)};_.ii=function(a){this.b.jc=a};_.ji=function(a){this.b.kc=a};_.ki=function(a){var b=this.b;b.pc=a;b.Q=UN(b,!1)};\n_.li=function(a){this.b.rc=a};_.mi=function(a,b){vE(this.d,a,b);lS(this)};_.ni=function(a,b,c){c&&vE(this.c,a,b);vE(this.d,a,b);lS(this)};_.oi=function(a,b){wE(this.d,a,b);lS(this)};_.pi=function(a,b,c){c&&wE(this.c,a,b);wE(this.d,a,b);lS(this)};_.qi=QS;_.ri=function(a){FN(this.b,a)};_.si=function(a,b){a:{var c=this.b,d;c.u=!1;d=c.Ub.e;c.Ub.e=!1;try{c.Tc=new wR(c,a,c.Ub),iR(c.Tc)}catch(e){e=No(e);if(E(e,102)){yN(c,e._d());break a}throw e;}c.Ub.e=d;c.o=253;yN(c,b);wQ(c)}};\n_.ti=function(a){GR(this.b,tS(a))};_.Qe=function(a){AE(this.c.lb,a)};_.ui=function(a){this.b.k=a};_.Re=function(a){yE(this.d,a);lS(this)};_.vi=function(a){var b=this.b;yN(b,a);wQ(b);b.T=a};_.wi=function(){return bN(this.b)};_.xi=function(){var a,b,c;a=0;for(c=new gq(this.b.Vb);c.b<c.d.xg();)b=hq(c),a+=b.o;return a};_.yi=function(){var a,b,c;a=0;for(c=new gq(this.b.Vb);c.b<c.d.xg();)b=hq(c),a+=b.p;return a};_.a=-1;_.b=null;_.c=null;_.d=null;var qS=0;function GS(a){this.a=a}x(590,1,{},GS);\n_.Od=function(){var a,b;for(b=new gq(this.a.d.b);b.b<b.d.xg();)a=hq(b),a.t.lb.innerHTML=a.q||m};_.a=null;function CS(a,b){this.a=a;this.b=b}x(591,1,{},CS);_.ke=function(a){a=a.a;mx((jx(),kx),new US(this,this.b,a))};_.a=null;_.b=null;function US(a,b,c){this.a=a;this.c=b;this.b=c}x(592,1,{},US);_.Od=VS;_.a=null;_.b=null;_.c=null;function DS(a,b){this.a=a;this.b=b}x(593,1,{},DS);_.Kd=function(a){a=a.a;mx((jx(),kx),new WS(this,this.b,a))};_.a=null;_.b=null;\nfunction WS(a,b,c){this.a=a;this.c=b;this.b=c}x(594,1,{},WS);_.Od=VS;_.a=null;_.b=null;_.c=null;function FS(a,b){this.a=a;this.b=b}x(595,1,{},FS);_.a=null;_.b=null;function dB(a,b,c){this.a=a;this.c=b;this.b=c}x(596,1,{},dB);_.Od=VS;_.a=null;_.b=null;_.c=null;function ES(a,b){this.a=a;this.b=b}x(597,1,{},ES);_.Md=function(a){a=a.a;mx((jx(),kx),new XS(this,this.b,a))};_.a=null;_.b=null;function XS(a,b,c){this.a=a;this.c=b;this.b=c}x(598,1,{},XS);_.Od=VS;_.a=null;_.b=null;_.c=null;\nfunction KS(a,b){this.a=a;this.b=b}x(599,1,{},KS);_.a=null;_.b=null;function YS(a,b){var c;for(c=0;c<a.x.length;++c)if(a.x[c]==b)return;c=a.x;var d=a.x.length+1,e,f;f=MO(d);for(e=0;e<Fp(c.length,d);++e)f[e]=c[e];a.x=f;a.x[a.x.length-1]=b}function CQ(a){a=a.x[0];return 0<a?a:0}function BQ(a){a.x=MO(1);a.x[0]=-99199;a.zi()}function ZS(){this.x=MO(1);this.x[0]=-99199}x(602,1,{121:1});_.x=null;\nfunction $S(){$S=y;SL("^(\\\\d+)([A-Z][a-z]?)(\\\\b.*)");aT=SL("^(\\\\d+)?\\\\s*([A-Z][a-z]?)\\\\s*(H(\\\\d*))?(?:(?:([+-])(\\\\d*))|((?:\\\\++)|(?:-+)))?([^:+-]+?([,;#!])?[^:+-]+?)?(?::(\\\\d+))?$")}function HQ(a,b,c){a.s=b;a.u=c}function SQ(a,b){6>a.n&&(++a.n,a.r[a.n]=b)}function MS(a,b){b.x=a.x.slice();b.j=a.j;b.f=a.f;b.s=a.s;b.u=a.u;b.w=a.w;b.t=a.t;b.v=a.v;b.p=a.p;b.i=a.i;b.r=a.r.slice();b.n=a.n;b.c=a.c;b.d=a.d;b.k=a.k;b.q=a.q;b.o=a.o;b.e=a.e}function bT(a){return 4<=a.q&&2==a.n}\nfunction cT(a,b,c){a.s+=b;a.u+=c}function BN(a){var b;b=-99199!=a.j;a.j=-99199;return b}function PQ(){$S();ZS.call(this);this.r=MO(7)}x(601,602,{120:1,121:1},PQ);_.Ai=function(){var a;a=new PQ;MS(this,a);return a};_.zi=function(){return BN(this)};_.b=null;_.c=3;_.d=null;_.e=!1;_.f=0;_.i=null;_.j=-99199;_.k=0;_.n=0;_.o=0;_.p=0;_.q=0;_.s=0;_.t=0;_.u=0;_.v=0;_.w=0;var aT;function LS(){$S();PQ.call(this)}x(600,601,{88:1,120:1,121:1},LS);_.Ai=function(){var a;return a=new LS,MS(this,a),a.a=this.a,a};\n_.a=null;function TQ(a,b){var c,d;c=b[a.j];d=b[a.k];a.b=(c.s+d.s)/2;a.c=(c.u+d.u)/2}function PS(a,b){b.x=a.x.slice();b.j=a.j;b.k=a.k;b.d=a.d;b.i=a.i;b.e=a.e;b.b=a.b;b.c=a.c;b.f=a.f}function dT(){ZS.call(this)}x(604,602,{121:1,122:1},dT);_.Bi=function(){var a;a=new dT;PS(this,a);return a};_.zi=function(){var a;a=-99199!=this.x[0];this.x=MO(1);this.x[0]=-99199;return a};_.b=0;_.c=0;_.d=1;_.e=null;_.f=0;_.i=0;_.j=0;_.k=0;function OS(){ZS.call(this)}x(603,604,{89:1,121:1,122:1},OS);\n_.Bi=function(){var a;return a=new OS,PS(this,a),a.a=this.a,a};_.a=null;\nfunction eT(){var a=fT("JSApplet.JSME"),b;$wnd.JSApplet.JSME=T(function(){var a;gT(hT,arguments)?a=arguments[0]:3==arguments.length?a=new pS(arguments[0],arguments[1],arguments[2]):1==arguments.length?a=new mS(arguments[0]):4==arguments.length?a=new nS(arguments[0],arguments[1],arguments[2],arguments[3]):2==arguments.length&&(a=new oS(arguments[0],arguments[1]));this.g=a;iT();a[xh]=this;return this});b=$wnd.JSApplet.JSME.prototype={};b.activateMarkerColor=T(function(a){this.g.Ug(a)});b.addClickHandler=\nT(function(a){this.g.Vg(null==a?null:a.constructor==$wnd.JSApplet.JsClosureJsme?a.g:new jT(a))});b.addMouseDownHandler=T(function(a){this.g.Wg(null==a?null:a.constructor==$wnd.JSApplet.JsClosureJsme?a.g:new jT(a))});b.addMouseOutHandler=T(function(a){this.g.Xg(null==a?null:a.constructor==$wnd.JSApplet.JsClosureJsme?a.g:new jT(a))});b.addMouseOverHandler=T(function(a){this.g.Yg(null==a?null:a.constructor==$wnd.JSApplet.JsClosureJsme?a.g:new jT(a))});b.alert=T(function(a){this.g.Zg(a)});b.clear=T(function(){this.g.$g()});\n$wnd.JSApplet.JSME.clearFontCache=T(function(){kT();lT={};mT={}});b.deferredRepaint=T(function(){this.g._g()});b.getAllGraphicsString=T(function(){return this.g.ah()});b.getAlldefinedCallBackNames=T(function(){return nT(this.g.b.a)});b.getAtomAdditionalData=T(function(a){return this.g.ch(a)});b.getBackGroundColorPalette=T(function(){return nT(this.g.dh())});b.getBondAdditionalData=T(function(a){return this.g.eh(a)});b.getCallBack=T(function(a){return this.g.fh(a)});b.getCreationIndex=T(function(){return this.g.gh()});\nb.getHelpURL=T(function(){return this.g.b.lb});b.getMenuScale=T(function(){return this.g.b.Jb});b.getMenuXShortcuts=T(function(){return this.g.b.Kb});b.getMolecularAreaAntiAlias=T(function(){return this.g.b.Ob});b.getMolecularAreaGraphicsString=T(function(){return this.g.Jg()});b.getMolecularAreaLineWidth=T(function(){return this.g.b.Rb});b.getMolecularAreaScale=T(function(){return this.g.b.Sb});b.getMultiSDFstack=T(function(){return nT(this.g.nh())});b.getNewButtonStatus=T(function(){return this.g.b.gc});\nb.getNotifyStructuralChangeJSfunction=T(function(){return this.g.b.kc});b.getNumberOfColorsForBackGroundPalette=T(function(){return this.g.qh()});b.getOffsetHeight=T(function(){return this.g.Ke()});b.getOffsetSize=T(function(){return this.g.rh()});b.getOffsetWidth=T(function(){return this.g.Le()});b.getParentContainer=T(function(){return this.g.c.lb});b.getPasteLabel=T(function(){return this.g.b.pc});b.getPrePasteJSfunction=T(function(){return this.g.b.rc});b.getWebSearchInchiKeyBaseUrl=T(function(){return this.g.b.k});\nb.hasMarkedAtom=T(function(){return this.g.wh()});b.hasMolecule=T(function(){return this.g.xh()});b.initializationError=T(function(a){this.g.yh(a)});b.isDepictMode=T(function(){return this.g.b.U});b.isVisible=T(function(){return this.g.Ne()});b.jmeFile=T(function(){return this.g.Ah()});b.molFile=T(function(a){return oT(this.g,0,arguments,!1)[0]});b.nonisomericSmiles=T(function(){return this.g.Dh()});b.options=T(function(a){this.g.Eh(a)});b.readGenericMolecularInput=T(function(a,b){oT(this.g,2,arguments,\n!1)});b.readMolFile=T(function(a){this.g.Hh(a)});b.readMolecule=T(function(a){this.g.Ih(a)});b.read_MOL_SDF_RXN=T(function(a){return this.g.Jh(a)});b.repaint=T(function(){this.g.Nf()});$wnd.JSApplet.JSME.replaceAllAppletsByJSME=T(function(a){return oT(null,0,arguments,!0)[0]});b.reset=T(function(){this.g.Kh()});b.resetAtomColors=T(function(a){this.g.Lh(a)});b.resetBondColors=T(function(a){this.g.Mh(a)});b.setAction=T(function(a){this.g.Nh(a)});b.setAfterDepictEditToggleEventHandler=T(function(a){this.g.Oh(null==\na?null:a.constructor==$wnd.JSApplet.JsClosureJsme?a.g:new jT(a))});b.setAfterPasteCallback=T(function(a){this.g.Ph(a)});b.setAfterStructureModifiedCallback=T(function(a){this.g.Qh(a)});b.setAntialias=T(function(a){this.g.Rh(a)});b.setAtomAdditionalData=T(function(a,b,e,f){this.g.Sh(a,b,e,f)});b.setAtomBackgroundColors=T(function(a,b){this.g.Th(a,b)});b.setAtomMolecularAreaFontSize=T(function(a){this.g.Uh(a)});b.setAtomToHighLight=T(function(a,b){this.g.Vh(a,b)});b.setBackGroundColorPalette=T(function(a){var b=\nthis.g;iT();var e,f,g;f=a.length;g=C(Jq,o,1,f,0);for(e=0;e<f;++e)g[e]=a[e];var a=b.b.O,h,j,l;l=g.length;f=C(RS,o,127,l,0);for(h=0;h<l;++h)e=g[h],j=m+(h+1),f[h]=new SS(e,j);TS(a,f);b=b.b;VM(b,!0);wQ(b)});b.setBeforePasteCallback=T(function(a){this.g.Wh(a)});b.setBondAdditionalData=T(function(a,b,e,f){this.g.Xh(a,b,e,f)});b.setBondBackgroundColors=T(function(a,b){this.g.Yh(a,b)});b.setBondToHighLight=T(function(a,b){this.g.Zh(a,b)});b.setCallBack=T(function(a,b){this.g.$h(a,b)});b.setHeight=T(function(a){this.g.Pe(a)});\nb.setHelpURL=T(function(a){this.g._h(a)});b.setMarkerColor=T(function(a){this.g.ai(a)});b.setMarkerMenuBackGroundColorPalette=T(function(a){this.g.bi(a)});b.setMenuScale=T(function(a){this.g.ci(a)});b.setMenuXShortcuts=T(function(a){this.g.di(a)});b.setMolecularAreaAntiAlias=T(function(a){this.g.ei(a)});b.setMolecularAreaLineWidth=T(function(a){this.g.fi(a)});b.setMolecularAreaScale=T(function(a){this.g.gi(a)});b.setNewButtonStatus=T(function(a){this.g.hi(a)});b.setNotifyAtomHighLightChangeJSfunction=\nT(function(a){this.g.ii(a)});b.setNotifyStructuralChangeJSfunction=T(function(a){this.g.ji(a)});b.setPasteLabel=T(function(a){this.g.ki(a)});b.setPrePasteJSfunction=T(function(a){this.g.li(a)});b.setSize=T(function(a,b,e){oT(this.g,1,arguments,!1)});b.setStarColor=T(function(a){this.g.qi(a)});b.setSubstituent=T(function(a){this.g.ri(a)});b.setTemplate=T(function(a,b){this.g.si(a,b)});b.setUserInterfaceBackgroundColor=T(function(a){this.g.ti(a)});b.setVisible=T(function(a){this.g.Qe(a)});b.setWebSearchInchiKeyBaseUrl=\nT(function(a){this.g.ui(a)});b.setWidth=T(function(a){this.g.Re(a)});b.showInfo=T(function(a){this.g.vi(a)});b.smiles=T(function(){return this.g.wi()});b.totalNumberOfAtoms=T(function(){return this.g.xi()});b.totalNumberOfBonds=T(function(){return this.g.yi()});pT({"0":{"0":[[function(){return this.Bh.apply(this,arguments)},null,void 0]],1:[[function(){return this.Ch.apply(this,arguments)},null,void 0,Xh]]},1:{2:[[function(){return this.mi.apply(this,arguments)},null,void 0,nk,nk],[function(){return this.oi.apply(this,\narguments)},null,void 0,vl,vl]],3:[[function(){return this.pi.apply(this,arguments)},null,void 0,vl,vl,Xh],[function(){return this.ni.apply(this,arguments)},null,void 0,nk,nk,Xh]]},2:{1:[[function(){return this.Fh.apply(this,arguments)},null,void 0,vl]],2:[[function(){return this.Gh.apply(this,arguments)},null,void 0,vl,Xh]]}},!1);pT({"0":{"0":[[AS,null,void 0]],1:[[BS,null,function(a,b){var e;null==b[0]?e=null:(e=b[0],e=e.constructor==$wnd.JSApplet.JsClosure?e.g:new qT(e));return[e]},Vi]]}},!0);\nrT(hT,$wnd.JSApplet.JSME);if(a)for(p in a)void 0===$wnd.JSApplet.JSME[p]&&($wnd.JSApplet.JSME[p]=a[p])}function DC(){sT||(sT=!0,eT())}x(605,1,{},DC);var sT=!1;function HC(){if($wnd.jsmeOnLoad&&typeof $wnd.jsmeOnLoad==Vi)$wnd.jsmeOnLoad();else try{$wnd.console.log(\'Warning: the global function "jsmeOnLoad" is not defined.\\n If you have defined it, there might be a syntax error in your javascript code.\')}catch(a){}}function GC(){}x(607,1,{},GC);_.Od=function(){HC()};function qT(a){this.a=a}\nx(609,1,{90:1,142:1},qT);_.eQ=function(a){return null!=a&&E(a,90)&&this.a==a.a};_.a=null;function jT(a){this.a=a}x(610,1,{91:1,142:1},jT);_.eQ=function(a){return null!=a&&E(a,91)&&this.a==a.a};_.a=null;function yS(a){var b;b=iM(a.a);cF(a.c.i,a.b,b.c,b.d);yE(a.b,b.b+Jk);uE(a.b,b.a+Jk);a.b.lb.alt=a.a.Ac?"drag out reaction file (RXN format)":"drag out molecule file (MOL format)";xE(a.b,a.b.lb.alt)}function xS(a,b,c){this.a=a;this.c=b;this.b=c}x(611,1,{},xS);_.Cg=function(){yS(this)};_.a=null;_.b=null;\n_.c=null;\nfunction YL(a){var b,c,d,e,f,g;if(a.b>=a.c.length)return!1;c=a.c[a.b];g=c.getAttribute(cm)||m;b=c.getAttribute(jj)||m;f=c.getAttribute(gk)||m;e=c.getAttribute(mj)||m;var h,j,l;l={};for(d=0;d<c.childNodes.length;++d)h=c.childNodes[d],"PARAM"==h.nodeName&&(j=h,h=j.getAttribute(gk)||m,j=j.getAttribute(Yl)||m,null!=h&&0<h.length&&null!=j&&0<j.length&&(l[h]=j));c.removeAttribute(oi);c.removeAttribute(gk);c.removeAttribute("archive");c.removeAttribute(jj);c.removeAttribute(cm);c.removeAttribute(Jh);c.removeAttribute("hspace");\nc.removeAttribute("vspace");c.removeAttribute("codebase");c.textContent=m||m;d=Jx();c.setAttribute(mj,d);c.style[cm]=UL(g);c.style[jj]=UL(b);b=new tT(a,d,l,e,c,f);mx((jx(),kx),b);++a.b;return!0}function XL(a){this.a="JME.class";this.d=a}x(612,1,{},XL);_.ce=function(){return YL(this)};_.a=null;_.b=0;_.c=null;_.d=null;function tT(a,b,c,d,e,f){this.a=a;this.d=b;this.b=c;this.e=d;this.c=e;this.f=f}x(613,1,{},tT);\n_.Od=function(){var a,b,c;c=new $wnd.JSApplet.JSME(this.d,kd,kd,this.b);null!=this.e&&0<this.e.length?this.c.setAttribute(mj,this.e):this.c.removeAttribute(mj);b=$doc;null!=this.f&&0<this.f.length&&(b[this.f]=c);a=b.jsapplets;a||(a=[],b.jsapplets=a);a[a.length]=c;this.a.d&&this.a.d.a.apply(c,[c])};_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;function uT(){}x(614,1,Vm,uT);function vT(a){this.a=a}x(615,1,{},vT);_.Od=function(){this.a()};_.a=null;function wT(a){this.a=a}x(616,1,{},wT);\n_.ce=function(){this.a();return!1};_.a=null;\nfunction xT(){var a=fT("JSApplet.Utils");$wnd.JSApplet.Utils=T(function(){var a;gT(yT,arguments)?a=arguments[0]:0==arguments.length&&(a=new uT);this.g=a;iT();a[xh]=this;return this});$wnd.JSApplet.Utils.prototype={};$wnd.JSApplet.Utils.runAfterBrowserEventLoopReturns=T(function(a){mx((jx(),kx),new vT(a))});$wnd.JSApplet.Utils.runAfterFixedDelay=T(function(a,c){px((jx(),new wT(a)),c)});$wnd.JSApplet.Utils.safeLog=T(function(a){VL(a)});rT(yT,$wnd.JSApplet.Utils);if(a)for(p in a)void 0===$wnd.JSApplet.Utils[p]&&\n($wnd.JSApplet.Utils[p]=a[p])}function EC(){zT||(zT=!0,xT())}x(617,1,{},EC);var zT=!1;function MO(a){for(var b=[],c=0;c<a;c++)b[c]=0;return b}x(619,1,sn);_.ae=function(){$wnd.alert("Loading JS code failed.")};function AT(a){this.f=a}x(620,554,qn,AT);function MC(){this.f="divide by zero"}x(621,139,Cn,MC);function YE(){}function BT(a){this.f=a}x(623,139,Cn,YE,BT);function gL(a){this.f=a}x(622,623,{94:1,95:1,102:1,110:1,111:1},gL);function yC(){}function CT(a){this.f=a}x(624,139,Cn,yC,CT);\nfunction vN(){vN=y;xN=new DT(!1);wN=new DT(!0)}function DT(a){this.a=a}x(625,1,{94:1,96:1,99:1},DT);_.cT=function(a){return this.a==a.a?0:this.a?1:-1};_.eQ=function(a){return E(a,96)&&a.a==this.a};_.hC=function(){return this.a?1231:1237};_.tS=function(){return this.a?Ul:Ni};_.a=!1;var xN,wN;function ML(a,b,c){var d,e;d=ET(a,b++);if(c=55296<=d&&56319>=d&&b<c)a=e=a.charCodeAt(b),c=56320<=a&&57343>=a;return c?65536+((d&1023)<<10)+(e&1023):d}\nfunction FT(a,b){return 2>b||36<b?-1:48<=a&&a<48+(10>b?b:10)?a-48:97<=a&&a<b+97-10?a-97+10:65<=a&&a<b+65-10?a-65+10:-1}function WL(a){return null!=String.fromCharCode(a).match(/\\d/)}function GT(){}function HT(a){return typeof a==nk?Jg+(0>a?-a:a):a}function IT(a,b){var c;c=new GT;c.d=Ue+(JT(0!=a?-a:0)?HT(0!=a?-a:0):m+vw(c));KT(0!=a?-a:0)&&LT(0!=a?-a:0,c);c.b=4;c.a=b;return c}function Z(a){var b;b=new GT;b.d=Ue+(JT(a)?HT(a):m+vw(b));KT(a)&&LT(a,b);return b}\nfunction MT(a,b){var c;c=new GT;c.d=Ue+(JT(a)?HT(a):m+vw(c));KT(a)&&LT(a,c);c.b=b?8:0;return c}function NT(){var a;a=new GT;a.d=Ue+(JT(0)?HT(0):m+vw(a));KT(0)&&LT(0,a);a.b=2;return a}function OT(a){var b;b=new GT;b.d=Ue+(JT(a)?HT(a):m+vw(b));KT(a)&&LT(a,b);b.b=1;return b}function KT(a){return typeof a==nk&&0<a}function JT(a){return null!=a&&0!=a}\nfunction LT(a,b){var c;b.c=a;if(2==a)c=String.prototype;else if(0<a)if(c=Gm[b.c])c=c.prototype;else{c=Gm[a]=function(){};c.cZ=b;return}else return;c.cZ=b}x(627,1,{},GT);_.tS=function(){return(0!=(this.b&2)?"interface ":0!=(this.b&1)?m:"class ")+this.d};_.a=null;_.b=0;_.c=0;_.d=null;function uS(a){var b;if(!(b=PT,!b&&(b=PT=/^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$/),b.test(a)))throw new QT(rf+a+Aa);return parseFloat(a)}\nfunction as(a,b){var c,d;if(null==a)throw new QT(mk);if(2>b||36<b)throw new QT("radix "+b+" out of range");d=a.length;for(c=0<d&&45==a.charCodeAt(0)?1:0;c<d;++c)if(-1==FT(a.charCodeAt(c),b))throw new QT(rf+a+Aa);c=parseInt(a,b);if(isNaN(c))throw new QT(rf+a+Aa);if(-2147483648>c||2147483647<c)throw new QT(rf+a+Aa);return c}x(629,1,{94:1,107:1});var PT=null;function Hr(a){this.a=a}x(628,629,{94:1,99:1,100:1,107:1},Hr);\n_.cT=function(a){return isNaN(this.a)?isNaN(a.a)?0:1:isNaN(a.a)?-1:this.a<a.a?-1:this.a>a.a?1:0};_.eQ=function(a){return E(a,100)&&a.a==this.a};_.hC=RT;_.tS=ST;_.a=0;function aJ(a){this.a=a}function hs(a){a=uS(a);return 3.4028234663852886E38<a?Infinity:-3.4028234663852886E38>a?-Infinity:a}x(630,629,{94:1,99:1,103:1,107:1},aJ);_.cT=TT;_.eQ=function(a){return E(a,103)&&a.a==this.a};_.hC=RT;_.tS=ST;_.a=0;function QI(){}function vp(a){this.f=a}x(631,139,{94:1,102:1,104:1,110:1,111:1},QI,vp);\nfunction Ur(a){this.a=a}function WC(a){var b,c;if(0>a)return 0;if(0==a)return 32;b=~~-(~~a>>16)>>16&16;c=16-b;a=~~a>>b;b=~~(a-256)>>16&8;c+=b;a<<=b;b=~~(a-4096)>>16&4;c+=b;a<<=b;b=~~(a-16384)>>16&2;c+=b;a=~~(a<<b)>>14;return c+2-(a&~(~~a>>1))}function RC(a){var b,c;if(0==a)return 32;c=0;for(b=1;0==(b&a);b<<=1)++c;return c}function Hn(a){var b,c,d;b=C(bL,Um,-1,8,1);c=(UT(),VT);d=7;if(0<=a)for(;15<a;)b[d--]=c[a&15],a>>=4;else for(;0<d;)b[d--]=c[a&15],a>>=4;b[d]=c[a&15];return WT(b,d,8)}\nfunction qP(a){var b,c;return-129<a&&128>a?(b=a+128,c=(XT(),YT)[b],!c&&(c=YT[b]=new Ur(a)),c):new Ur(a)}x(632,629,{94:1,99:1,105:1,107:1},Ur);_.cT=TT;_.eQ=function(a){return E(a,105)&&a.a==this.a};_.hC=kD;_.tS=ST;_.a=0;function XT(){XT=y;YT=C(XQ,o,105,256,0)}var YT;function Eq(a){return 0>=a?0-a:a}function ir(a){return 0>a?-a:a}function Bp(a,b){return a>b?a:b}function Fp(a,b){return a<b?a:b}function N(a){return Math.round(a)}function Wq(a){return Math.sqrt(a)}function fL(){}\nfunction MB(a){this.f=a}x(636,139,{94:1,102:1,106:1,110:1,111:1},fL,MB);function UT(){UT=y;VT=z(bL,Um,-1,[48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122])}var VT;function QT(a){this.f=a}x(638,631,{94:1,102:1,104:1,108:1,110:1,111:1},QT);function ET(a,b){return a.charCodeAt(b)}function js(a,b){return-1!=a.lastIndexOf(b)&&a.lastIndexOf(b)==a.length-b.length}function ds(a,b){return!E(b,1)?!1:""+a==b}\nfunction wr(a,b){return null==b?!1:a==b||a.toLowerCase()==b.toLowerCase()}function Ir(a,b){return a.indexOf(b)}function ns(a,b,c){return a.indexOf(b,c)}function XH(a,b){return a.lastIndexOf(b)}function iS(a,b,c){var d;for(d=0;0<=(d=c.indexOf(ph,d));)36==c.charCodeAt(d+1)?c=c.substr(0,d-0)+cb+gs(c,++d):c=c.substr(0,d-0)+gs(c,++d);return a.replace(RegExp(b,Wi),c)}\nfunction ZT(a,b){for(var c=RegExp(b,Wi),d=[],e=0,f=a,g=null;;){var h=c.exec(f);if(null==h||f==m){d[e]=f;break}else d[e]=f.substring(0,h.index),f=f.substring(h.index+h[0].length,f.length),c.lastIndex=0,g==f&&(d[e]=f.substring(0,1),f=f.substring(1)),g=f,e++}if(0<a.length){for(c=d.length;0<c&&d[c-1]==m;)--c;c<d.length&&d.splice(c,d.length-c)}c=C(Jq,o,1,d.length,0);for(e=0;e<d.length;++e)c[e]=d[e];return c}function gs(a,b){return a.substr(b,a.length-b)}function ks(a,b,c){return a.substr(b,c-b)}\nfunction cs(a){return 0==a.length||a[0]>ca&&a[a.length-1]>ca?a:a.replace(/^(\\s*)/,m).replace(/\\s*$/,m)}function WT(a,b,c){a=a.slice(b,c);return String.fromCharCode.apply(null,a)}function Rp(a,b){a=""+a;return a==b?0:a<b?-1:1}\nfunction $T(a,b,c){if(128>c)return a[b]=~~((c&127)<<24)>>24,1;if(2048>c)return a[b++]=~~((~~c>>6&31|192)<<24)>>24,a[b]=~~((c&63|128)<<24)>>24,2;if(65536>c)return a[b++]=~~((~~c>>12&15|224)<<24)>>24,a[b++]=~~((~~c>>6&63|128)<<24)>>24,a[b]=~~((c&63|128)<<24)>>24,3;if(2097152>c)return a[b++]=~~((~~c>>18&7|240)<<24)>>24,a[b++]=~~((~~c>>12&63|128)<<24)>>24,a[b++]=~~((~~c>>6&63|128)<<24)>>24,a[b]=~~((c&63|128)<<24)>>24,4;if(67108864>c)return a[b++]=~~((~~c>>24&3|248)<<24)>>24,a[b++]=~~((~~c>>18&63|128)<<\n24)>>24,a[b++]=~~((~~c>>12&63|128)<<24)>>24,a[b++]=~~((~~c>>6&63|128)<<24)>>24,a[b]=~~((c&63|128)<<24)>>24,5;throw new vp("Character out of range: "+c);}function Jr(a){var b;return 65536<=a?(b=56320+(a-65536&1023)&65535,String.fromCharCode(55296+(~~(a-65536)>>10&1023)&65535)+String.fromCharCode(b)):String.fromCharCode(a&65535)}\nfunction aU(a){var b,c,d,e,f;e=a.length;for(d=b=0;d<e;)c=ML(a,d,a.length),d+=65536<=c?2:1,128>c?++b:2048>c?b+=2:65536>c?b+=3:2097152>c?b+=4:67108864>c&&(b+=5);b=C(Ap,Tm,-1,b,1);for(d=f=0;d<e;)c=ML(a,d,a.length),d+=65536<=c?2:1,f+=$T(b,f,c);return b}\nfunction Uq(a,b,c){var d,e,f,g,h,j;for(h=f=0;h<c;){++f;e=a[b+h];if(128==(e&192))throw new vp(Ff);if(0==(e&128))++h;else if(192==(e&224))h+=2;else if(224==(e&240))h+=3;else if(240==(e&248))h+=4;else throw new vp(Ff);if(h>c)throw new BT(Ff);}f=C(bL,Um,-1,f,1);for(h=g=j=0;h<c;){e=a[b+h++];0==(e&128)?(g=1,e&=127):192==(e&224)?(g=2,e&=31):224==(e&240)?(g=3,e&=15):240==(e&248)?(g=4,e&=7):248==(e&252)&&(g=5,e&=3);for(;0<--g;){d=a[b+h++];if(128!=(d&192))throw new vp("Invalid UTF8 sequence at "+(b+h-1)+", byte="+\nHn(d));e=e<<6|d&63}d=j;var l=f;if(0>e||1114111<e)throw new QI;65536<=e?(l[j++]=55296+(~~(e-65536)>>10&1023)&65535,l[j]=56320+(e-65536&1023)&65535,j=2):(l[j]=e&65535,j=1);j=d+j}return String.fromCharCode.apply(null,f)}function dL(a,b,c){c=b+c;if(0>b)throw new vL(b);if(c<b)throw new vL(c-b);if(c>a.length)throw new vL(c);return WT(a,b,c)}_=String.prototype;_.cM={1:1,94:1,97:1,99:1};_.cT=function(a){return Rp(this,a)};_.eQ=function(a){return ds(this,a)};_.hC=function(){return IK(this)};_.tS=_.toString;\nfunction bU(){bU=y;cU={};dU={}}function IK(a){bU();var b=Fd+a,c=dU[b];if(null!=c)return c;c=cU[b];if(null==c){var d,e,f,c=0;e=a.length;f=e-4;for(d=0;d<f;)c=a.charCodeAt(d+3)+31*(a.charCodeAt(d+2)+31*(a.charCodeAt(d+1)+31*(a.charCodeAt(d)+31*c)))|0,d+=4;for(;d<e;)c=31*c+ET(a,d++);c|=0}256==eU&&(cU=dU,dU={},eU=0);++eU;return dU[b]=c}var cU,eU=0,dU;function fU(a){a.a=new wx}function Lr(a,b){jw(a.a,b);return a}function iw(){fU(this)}function gU(){fU(this);this.a.a+=m}x(640,1,Qm,iw,gU);_.tS=hU;\nfunction Kr(a,b){jw(a.a,String.fromCharCode(b))}function nC(){fU(this)}function Or(){fU(this)}function hC(a){fU(this);jw(this.a,a)}x(641,1,Qm,nC,Or,hC);_.tS=hU;function vL(a){this.f="String index out of range: "+a}x(642,623,Cn,vL);\nfunction Zo(a,b,c,d){var e=0,f,g,h,j,l;if(null==a||null==c)throw new fL;j=qw(a);g=qw(c);if(0==(j.b&4)||0==(g.b&4))throw new CT("Must be array types");h=j.a;f=g.a;if(!(0!=(h.b&1)?h==f:0==(f.b&1)))throw new CT("Array types must match");l=a.length;f=c.length;if(0>b||0>e||0>d||b+d>l||e+d>f)throw new YE;if((0==(h.b&1)||0!=(h.b&4))&&j!=g)if(zC(a)===zC(c)&&b<e){b+=d;for(d=e+d;d-- >e;)oq(c,d,a[--b])}else for(d=e+d;e<d;)oq(c,e++,a[b++]);else Array.prototype.splice.apply(c,[e,d].concat(a.slice(b,b+d)))}\nfunction AL(a){this.f=a}x(644,139,Cn,AL);x(646,1,hn);_.a=null;function Fq(){this.a=(lC(),new rC(["USD",$g,2,$g,cb]))}x(645,646,hn,Fq);function iU(a,b){for(var c;a.Be();)if(c=a.Ce(),null==b?null==c:rw(b,c))return a;return null}function jU(a,b){var c;return(c=iU(a.af(),b))?(c.De(),!0):!1}function kU(a){var b,c,d,e;d=new iw;b=null;d.a.a+=nh;for(c=a.af();c.Be();)null!=b?jw(d.a,b):b=ac,e=c.Ce(),jw(d.a,e===a?"(this Collection)":m+e);d.a.a+=vh;return d.a.a}x(647,1,{});\n_.Ci=function(){throw new AL("Add not supported on this collection");};_.Di=function(a){return!!iU(this.af(),a)};_.mg=zL;_.Ei=function(a){return jU(this,a)};_.tS=function(){return kU(this)};x(649,647,Rm);_.eQ=function(a){var b;if(a===this)return!0;if(!E(a,117)||a.xg()!=this.xg())return!1;for(a=a.af();a.Be();)if(b=a.Ce(),!this.Di(b))return!1;return!0};_.hC=function(){var a,b,c;a=0;for(b=this.af();b.Be();)c=b.Ce(),null!=c&&(a+=uw(c),a=~~a);return a};\nfunction lU(a,b){var c;return E(b,115)&&(c=b.Fi(),iE(a.a,c))?(c=aC(a.a,c),a.a.yg(b.Gi(),c)):!1}function FL(a){this.a=a}x(648,649,Rm,FL);_.Di=function(a){return lU(this,a)};_.af=function(){return new mU(this.a)};_.Ei=function(a){return lU(this,a)?(a=a.Fi(),cC(this.a,a),!0):!1};_.xg=nU;_.a=null;function oU(a){if(a.b)pU(a.a),cC(a.c,a.b.Fi()),a.b=null;else throw new IE("Must call next() before remove().");}\nfunction mU(a){var b;this.c=a;b=new Yp;a.c&&bq(b,new qU(a));var c=a.e,d;for(d in c)if(58==d.charCodeAt(0)){var e=new rU(a,d.substring(1));b.Ci(e)}var a=a.a,f;for(f in a)if(c=parseInt(f,10),f==c){c=a[c];d=0;for(e=c.length;d<e;++d)b.Ci(c[d])}this.a=new gq(b)}x(650,1,{},mU);_.Be=sU;_.Ce=function(){return this.b=hq(this.a)};_.De=function(){oU(this)};_.a=null;_.b=null;_.c=null;x(652,1,Om);_.eQ=function(a){return E(a,115)&&yL(this.Fi(),a.Fi())&&yL(this.Gi(),a.Gi())?!0:!1};\n_.hC=function(){var a,b;b=a=0;null!=this.Fi()&&(a=uw(this.Fi()));null!=this.Gi()&&(b=uw(this.Gi()));return a^b};_.tS=function(){return this.Fi()+Vd+this.Gi()};function qU(a){this.a=a}x(651,652,Om,qU);_.Fi=MR;_.Gi=function(){return this.a.b};_.Hi=function(a){return CL(this.a,a)};_.a=null;function rU(a,b){this.b=a;this.a=b}x(653,652,Om,rU);_.Fi=kD;_.Gi=function(){return this.b.e[Fd+this.a]};_.Hi=function(a){return DL(this.b,this.a,a)};_.a=null;_.b=null;\nfunction tU(a,b){var c,d,e,f;if(b===a)return!0;if(!E(b,113)||a.xg()!=b.xg())return!1;e=a.af();for(f=b.af();e.Be();)if(c=e.Ce(),d=f.Ce(),!(null==c?null==d:rw(c,d)))return!1;return!0}function xq(a,b){(0>a||a>=b)&&uU(a,b)}function uU(a,b){throw new BT("Index: "+a+", Size: "+b);}x(654,647,on);_.Ii=function(){throw new AL("Add not supported on this list");};_.Ci=function(a){this.Ii(this.xg(),a);return!0};_.eQ=function(a){return tU(this,a)};\n_.hC=function(){var a,b,c;b=1;for(a=this.af();a.Be();)c=a.Ce(),b=31*b+(null==c?0:uw(c)),b=~~b;return b};_.af=function(){return new gq(this)};_.Ki=function(){return this.Li(0)};_.Li=function(a){return new vU(this,a)};_.Mi=function(){throw new AL("Remove not supported on this list");};function wU(a){return a.b<a.d.xg()}function hq(a){if(a.b>=a.d.xg())throw new aF;return a.d.Ji(a.c=a.b++)}function pU(a){if(0>a.c)throw new KH;a.d.Mi(a.c);a.b=a.c;a.c=-1}function gq(a){this.d=a}x(655,1,{},gq);_.Be=function(){return wU(this)};\n_.Ce=function(){return hq(this)};_.De=function(){pU(this)};_.b=0;_.c=-1;_.d=null;function vU(a,b){var c;this.d=this.a=a;c=a.xg();(0>b||b>c)&&uU(b,c);this.b=b}x(656,655,{},vU);_.Ni=function(){return 0<this.b};_.Oi=function(){if(0>=this.b)throw new aF;return this.a.Ji(this.c=--this.b)};_.a=null;function xU(a){a=new mU(a.b.a);return new yU(a)}function zU(a,b){this.a=a;this.b=b}x(657,649,Rm,zU);_.Di=AU;_.af=function(){return xU(this)};_.xg=function(){return this.b.a.d};_.a=null;_.b=null;\nfunction yU(a){this.a=a}x(658,1,{},yU);_.Be=function(){return wU(this.a.a)};_.Ce=function(){return(this.a.b=hq(this.a.a)).Fi()};_.De=function(){oU(this.a)};_.a=null;function BU(a){a.b=C(iL,o,0,0,0)}function Qp(a,b,c){(0>b||b>a.c)&&uU(b,a.c);a.b.splice(b,0,c);++a.c}function bq(a,b){oq(a.b,a.c++,b);return!0}function pR(a,b){var c,d;c=tC(b.b,b.c);d=c.length;0!=d&&(Array.prototype.splice.apply(a.b,[a.c,0].concat(c)),a.c+=d)}function TN(a){a.b=C(iL,o,0,0,0);a.c=0}\nfunction io(a,b){xq(b,a.c);return a.b[b]}function et(a,b){for(var c=0;c<a.c;++c)if(yL(b,a.b[c]))return c;return-1}function eR(a,b){var c;c=(xq(b,a.c),a.b[b]);a.b.splice(b,1);--a.c;return c}function Po(a,b){var c;c=et(a,b);if(-1==c)return!1;eR(a,c);return!0}function Vs(a,b,c){xq(b,a.c);oq(a.b,b,c)}function yq(a,b){var c;if(b.length<a.c){c=b;var d;d=uC(0,a.c);z(c.cZ,c.cM,c.qI,d);b=d}for(c=0;c<a.c;++c)oq(b,c,a.b[c]);b.length>a.c&&oq(b,a.c,null);return b}function Yp(){BU(this)}\nfunction LJ(a){BU(this);this.b.length=a}function WI(a){BU(this);a=tC(a.b,a.c);Array.prototype.splice.apply(this.b,[0,0].concat(a));this.c=this.b.length}x(662,654,wn,Yp,LJ,WI);_.Ii=function(a,b){Qp(this,a,b)};_.Ci=function(a){return bq(this,a)};_.$g=function(){TN(this)};_.Di=function(a){return-1!=et(this,a)};_.Ji=function(a){return io(this,a)};_.mg=function(){return 0==this.c};_.Mi=function(a){return eR(this,a)};_.Ei=function(a){return Po(this,a)};_.xg=iA;_.c=0;\nfunction Go(a,b,c){var d;d=tC(a,b);CU(d,a,0,b,-0.0,c)}function CU(a,b,c,d,e,f){var g,h,j;if(7>d-c){a=c;for(g=a+1;g<d;++g)for(j=g;j>a&&0<f.Dd(b[j-1],b[j]);--j)c=b[j],oq(b,j,b[j-1]),oq(b,j-1,c)}else if(h=c+e,g=d+e,j=h+(~~(g-h)>>1),CU(b,a,h,j,-e,f),CU(b,a,j,g,-e,f),0>=f.Dd(a[j-1],a[j]))for(;c<d;)oq(b,c++,a[h++]);else{e=h;for(h=j;c<d;)h>=g||e<j&&0>=f.Dd(a[e],a[h])?oq(b,c++,a[e++]):oq(b,c++,a[h++])}}function jp(a){a.sort(function(a,c){return a-c})}function dC(){dC=y;eC=new DU}\nfunction ys(a,b){dC();var c;c=tC(a.b,a.c);Go(c,c.length,b?b:(Ho(),Ho(),Io));var d,e;e=a.c;for(d=0;d<e;++d)Vs(a,d,c[d])}var eC;function DU(){}x(665,654,Dn,DU);_.Di=NR;_.Ji=function(){throw new YE;};_.xg=function(){return 0};function Ho(){Ho=y;Io=new EU}var Io;function EU(){}x(667,1,{},EU);_.Dd=function(a,b){return a.cT(b)};function FU(){this.a=new Date}function GU(a){return 10>a?cd+a:m+a}x(668,1,{94:1,98:1,99:1,112:1},FU);\n_.cT=function(a){a=VC(L(this.a.getTime()),L(a.a.getTime()));return mq(a,jm)?0:!lq(a,jm)?-1:1};_.eQ=function(a){return E(a,112)&&mq(L(this.a.getTime()),L(a.a.getTime()))};_.hC=function(){var a;a=L(this.a.getTime());var b,c,d,e;c=32;d=a.h&1048575;22>c?(e=~~d>>>c,b=~~a.m>>c|d<<22-c,c=~~a.l>>c|a.m<<22-c):44>c?(e=0,b=~~d>>>c-22,c=~~a.m>>c-22|a.h<<44-c):(b=e=0,c=~~d>>>c-44);b=kq(c&4194303,b&4194303,e&1048575);a=kq(a.l^b.l,a.m^b.m,a.h^b.h);return J(a)};\n_.tS=function(){var a,b;b=-this.a.getTimezoneOffset();a=(0<=b?Sb:m)+~~(b/60);b=10>(0>b?-b:b)%60?cd+(0>b?-b:b)%60:m+(0>b?-b:b)%60;return(HU(),IU)[this.a.getDay()]+ca+JU[this.a.getMonth()]+ca+GU(this.a.getDate())+ca+GU(this.a.getHours())+Fd+GU(this.a.getMinutes())+Fd+GU(this.a.getSeconds())+" GMT"+a+b+ca+this.a.getFullYear()};_.a=null;function HU(){HU=y;IU=z(Jq,o,1,"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","));JU=z(Jq,o,1,"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","))}var IU,JU;\nfunction VB(a,b){return null==U(a.a,b,a)}function UB(){this.a=new hw}x(670,649,{94:1,98:1,117:1},UB);_.Ci=function(a){return VB(this,a)};_.Di=AU;_.mg=function(){return 0==this.a.d};_.af=function(){return xU(new zU(this.a,new FL(this.a)))};_.Ei=function(a){return null!=cC(this.a,a)};_.xg=nU;_.tS=function(){return kU(new zU(this.a,new FL(this.a)))};_.a=null;function xL(a,b){this.a=a;this.b=b}x(674,652,Om,xL);_.Fi=kD;_.Gi=Nx;_.Hi=function(a){var b;b=this.b;this.b=a;return b};_.a=null;_.b=null;\nfunction aF(){}x(675,139,{94:1,102:1,110:1,111:1,116:1},aF);function KU(){KU=y;var a,b;LU=C(to,Sm,-1,25,1);MU=C(to,Sm,-1,33,1);b=1.52587890625E-5;for(a=32;0<=a;--a)MU[a]=b,b*=0.5;b=1;for(a=24;0<=a;--a)LU[a]=b,b*=0.5}function Us(a,b){var c,d;if(0<b){if((b&-b)==b)return I(4.6566128730773926E-10*b*NU(a));do c=NU(a),d=c%b;while(0>c-d+(b-1));return I(d)}throw new QI;}\nfunction NU(a){var b,c,d;c=15525485*a.a+1502*a.b;d=15525485*a.b+11;b=Math.floor(5.9604644775390625E-8*d);a.a=(c+b)%16777216;a.b=d-16777216*b;a=128*a.a+Math.floor(a.b*MU[31]);2147483648<=a&&(a-=4294967296);return a}function Ns(){KU();var a,b;b=OU++ +(new Date).getTime();a=I(Math.floor(5.9604644775390625E-8*b))&16777215;b=I(b-16777216*a);this.a=a^1502;this.b=b^15525485}x(676,1,{},Ns);_.a=0;_.b=0;var LU,MU,OU=0;\nfunction PU(a){var b,c;b=a.b;c=a.d.length;if(b<c){if(a.c){if(0<=ns(a.a,Jr(a.d.charCodeAt(a.b)),0))return a=ET(a.d,a.b++),String.fromCharCode(a);for(++a.b;a.b<c;++a.b)if(0<=ns(a.a,Jr(a.d.charCodeAt(a.b)),0))return ks(a.d,b,a.b);return gs(a.d,b)}for(;b<c&&0<=ns(a.a,Jr(a.d.charCodeAt(b)),0);)++b;a.b=b;if(b<c){for(++a.b;a.b<c;++a.b)if(0<=ns(a.a,Jr(a.d.charCodeAt(a.b)),0))return ks(a.d,b,a.b);return gs(a.d,b)}}throw new aF;}\nfunction QU(a){if(null!=a)this.d=a,this.a=" |",this.c=!1,this.b=0;else throw new fL;}x(677,1,{},QU);_.a=null;_.b=0;_.c=!1;_.d=null;function RU(){RU=y;SU=new TU}function Tr(a,b){var c;return(c=UU(a,b))?c.d:null}function UU(a,b){var c,d;for(d=a.b;d;){c=VU(b,d.c);if(0==c)return d;0>c?d=d.a[0]:d=d.a[1]}return null}\nfunction WU(a,b,c,d){var e;if(b){e=VU(b.c,c.c);if(0==e)return d.d=b.d,d.b=!0,b.d=c.d,b;e=0<e?0:1;b.a[e]=WU(a,b.a[e],c,d);XU(b.a[e])&&(XU(b.a[1-e])?(b.b=!0,b.a[0].b=!1,b.a[1].b=!1):XU(b.a[e].a[e])?b=YU(b,1-e):XU(b.a[e].a[1-e])&&(b=(b.a[1-(1-e)]=YU(b.a[1-(1-e)],1-(1-e)),YU(b,1-e))))}else return c;return b}function XU(a){return!!a&&a.b}function ms(a,b,c){b=new ZU(b,c);c=new $U;a.b=WU(a,a.b,b,c);c.b||++a.c;a.b.b=!1;return c.d}function aV(a,b){var c;c=new $U;bV(a,b,c);return c.d}\nfunction bV(a,b,c){var d,e,f,g,h,j,l,n,q;if(!a.b)return!1;n=f=null;h=new ZU(null,null);e=1;h.a[1]=a.b;for(l=h;l.a[e];)if(j=e,g=n,n=l,l=l.a[e],d=VU(l.c,b),e=0>d?1:0,0==d&&(!c.c||rw(l.d,c.d))&&(f=l),(!l||!l.b)&&!XU(l.a[e]))if(XU(l.a[1-e]))n=n.a[j]=YU(l,e);else if(!XU(l.a[1-e])&&(q=n.a[1-j]))!XU(q.a[1-j])&&!XU(q.a[j])?(n.b=!1,q.b=!0,l.b=!0):(d=g.a[1]==n?1:0,XU(q.a[j])?g.a[d]=(n.a[1-j]=YU(n.a[1-j],1-j),YU(n,j)):XU(q.a[1-j])&&(g.a[d]=YU(n,j)),l.b=g.a[d].b=!0,g.a[d].a[0].b=!1,g.a[d].a[1].b=!1);if(f){c.b=\n!0;c.d=f.d;if(l!=f){b=new ZU(l.c,l.d);e=f;j=h;for(g=null==j.c||0<VU(e.c,j.c)?1:0;j.a[g]!=e;)j=j.a[g],g=0<VU(e.c,j.c)?1:0;j.a[g]=b;b.b=e.b;b.a[0]=e.a[0];b.a[1]=e.a[1];e.a[0]=null;e.a[1]=null;n==f&&(n=b)}n.a[n.a[1]==l?1:0]=l.a[!l.a[0]?1:0];--a.c}a.b=h.a[1];a.b&&(a.b.b=!1);return c.b}function YU(a,b){var c;c=a.a[1-b];a.a[1-b]=c.a[b];c.a[b]=a;a.b=!0;c.b=!1;return c}function ls(){RU();var a=null;this.b=null;!a&&(a=SU);this.a=a}x(678,560,{94:1,114:1},ls);_.sg=function(a){return!!UU(this,a)};_.tg=function(){return new cV(this)};\n_.ug=function(a){return Tr(this,a)};_.vg=function(a,b){return ms(this,a,b)};_.wg=function(a){return aV(this,a)};_.xg=iA;_.a=null;_.b=null;_.c=0;var SU;function VU(a,b){if(null==a||null==b)throw new fL;return a.cT(b)}function TU(){}x(679,1,{},TU);_.Dd=function(a,b){return VU(a,b)};function dV(a,b,c,d,e,f){d&&(d.a[0]&&dV(a,b,c,d.a[0],e,f),!(c.Qi()&&0<=VU(d.c,f)||c.Pi()&&0>VU(d.c,e))&&b.Ci(d),d.a[1]&&dV(a,b,c,d.a[1],e,f))}function eV(a){pU(a.a);aV(a.c,a.b.Fi())}\nfunction fV(a){var b=(gV(),hV),c;this.c=a;c=new Yp;dV(this,c,b,a.b,null,null);this.a=new gq(c)}x(680,1,{},fV);_.Be=sU;_.Ce=function(){return this.b=hq(this.a)};_.De=function(){eV(this)};_.a=null;_.b=null;_.c=null;function cV(a){this.a=a}x(681,649,Rm,cV);_.Di=function(a){var b;if(!E(a,115))return!1;b=UU(this.a,a.Fi());return!!b&&yL(b.d,a.Gi())};_.af=function(){return new fV(this.a)};_.Ei=function(a){var b;if(!E(a,115))return!1;b=new $U;b.c=!0;b.d=a.Gi();return bV(this.a,a.Fi(),b)};_.xg=iV;_.a=null;\nfunction ZU(a,b){this.c=a;this.d=b;this.a=C(jV,o,118,2,0);this.b=!0}x(682,1,{115:1,118:1},ZU);_.eQ=function(a){return!E(a,115)?!1:yL(this.c,a.Fi())&&yL(this.d,a.Gi())};_.Fi=iA;_.Gi=yJ;_.hC=function(){var a,b;a=null!=this.c?uw(this.c):0;b=null!=this.d?uw(this.d):0;return a^b};_.Hi=function(a){var b;b=this.d;this.d=a;return b};_.tS=function(){return this.c+Vd+this.d};_.a=null;_.b=!1;_.c=null;_.d=null;function $U(){}x(683,1,{},$U);\n_.tS=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b};_.a=!1;_.b=!1;_.c=!1;_.d=null;function gV(){gV=y;hV=new kV("All",0);lV=new mV;nV=new oV;pV=new qV;rV=z(sV,o,119,[hV,lV,nV,pV])}function kV(a,b){Mx.call(this,a,b)}x(684,198,Wm,kV);_.Pi=LR;_.Qi=LR;var rV,hV,lV,nV,pV;function mV(){Mx.call(this,"Head",1)}x(685,684,Wm,mV);_.Qi=rt;function oV(){Mx.call(this,"Range",2)}x(686,684,Wm,oV);_.Pi=rt;_.Qi=rt;function qV(){Mx.call(this,"Tail",3)}x(687,684,Wm,qV);_.Pi=rt;\nfunction yL(a,b){return zC(a)===zC(b)||null!=a&&rw(a,b)}function KJ(a){var b=C(tV,o,60,0,0);return yq(a.a,b)}function EI(){this.a=new Yp}x(689,654,wn,EI);_.Ii=function(a,b){Qp(this.a,a,b)};_.Ci=function(a){return bq(this.a,a)};_.Di=function(a){return-1!=et(this.a,a)};_.Ji=function(a){return io(this.a,a)};_.mg=function(){return 0==this.a.c};_.af=function(){return new gq(this.a)};_.Mi=function(a){return eR(this.a,a)};_.xg=iV;_.tS=function(){return kU(this.a)};_.a=null;\nfunction aR(a){return a.b.a.test(a.a)}function bR(a,b){this.b=a;this.a=b}x(690,1,{},bR);_.a=null;_.b=null;function uV(a){UH.call(this,a,0)}function cR(a,b){UH.call(this,a,b)}x(691,473,{},uV,cR);function vV(){}x(694,1,{},vV);_.a=null;_.b=0;_.c=0;_.d=0;_.e=0;_.f=null;_.i=!1;_.j=null;function wV(a,b){var c;c=xV(a);return 0<c?b-c:0}function xV(a){a=aC((!yV&&zV(),yV),a);return null!=a?a[0]:-1}\nfunction zV(){var a,b,c,d,e,f;a=ZT("H.1,2,3.He.3,4.Li.6,7.Be.9.B.10,11.C.12,13,14.N.14,15.O.16,17,18.F.19.Ne.20,21,22.Na.23.Mg.24,25,26.Al.27.Si.28,29,30.P.31.S.32,33,34,36.Cl.35,37.Ar.36,38,40.K.39,40,41.Ca.40,42,43,44,46,48.Sc.45.Ti.46,47,48,49,50.V.50,51.Cr.50,52,53,54.Mn.55.Fe.54,56,57,58.Co.59.Ni.58,60,61,62,64.Cu.63,65.Zn.64,66,67,68,70.Ga.69,71.Ge.70,72,73,74,76.As.75.Se.74,76,77,78,80,82.Br.79,81.Kr.78,80,82,83,84,86.Rb.85,87.Sr.84,86,87,88.Y.90.Zr.90,91,92,94,96.Nb.93.Mo.92,94,95,96,97,98,100.Tc.99.Ru.96,98,99,100,101,102,104.Rh.103.Pd.102,104,105,106,108,110.Ag.107,109.Cd.106,108,110,111,112,113,114,116.In.113,115.Sn.112,114,115,116,117,118,119,120,122,124.Sb.121,123.Te.120,122,123,124,125,126,128,130.I.127.Xe.124,126,128,129,130,131,132,134,136.Cs.133.Ba.130,132,134,135,136,137,138.La.138,139.Ce.136,138,140,142.Pr.141.Nd.142,143,144,145,146,148,150.Pm.145.Sm.144,147,148,149,150,152,154.Eu.151,153.Gd.152,154,155,156,157,158,160.Tb.159.Dy.156,158,160,161,162,163,164.Ho.165.Er.162,164,166,167,168,170.Tm.169.Yb.168,170,171,172,173,174,176.Lu.175,176.Hf.174,176,177,178,179,180.Ta.180,181.W.180,182,183,184,186.Re.185,187.Os.184,186,187,188,189,190,192.Ir.191,193.Pt.190,192,194,195,196,198.Au.197.Hg.197,198,199,200,201,202,204.Tl.203,205.Pb.204,206,207,208.Bi.209.Po.209.At.210.Rn.222.Fr.223.Ra.226.Ac.227.Th.232.Pa.231.U.234,235,238.Np.237.Pu.244.Am.243.Cm.247.Bk.247.Cf.251.Es.254.Fm.257.Md.258.No.255.Lr.256.Ku.261",qh);\nyV=new hw;for(b=0;b<a.length-1;b+=2){f=a[b];e=ZT(a[b+1],$b);c=C(B,v,-1,e.length,1);for(d=0;d<e.length;++d)c[d]=as(e[d],10);U(yV,f,c)}}var yV=null;function hP(){}function jP(a,b,c,d){iK(this,a,b,c,d)}x(699,544,Km,hP,jP);_.mg=ZK;function ZP(a){if(!(a.a!=a.b&&a.a.b!=a.b))throw new IE("Cannot undo. Index is out of range.");if(!a.a.b)throw new IE(Ef);a.a=a.a.b;return a.a.a}function vS(){this.a=this.b=new AV}x(700,1,{},vS);_.a=null;function AV(){this.a=null}function hR(a){this.a=a}x(701,1,{},AV,hR);\n_.a=null;_.b=null;_.c=null;function BV(){BV=y;CV=new DV;EV=new uV("^[A-Z]{14}\\\\-[A-Z]{10}\\\\-[A-Z]$");FV=new cR("^[a-z0-9@+\\\\-\\\\[\\\\]\\\\(\\\\)\\\\\\\\\\\\/%=#$:>\\\\\\\\.]+$",2);GV=new uV("j");HV=new uV("\\\\s+");IV=new cR("^[a-z0-9@+\\\\-\\\\[\\\\]\\\\(\\\\)\\\\\\\\\\\\/%=#$:\\\\\\\\.,;!&]+$",2);JV=new uV("[\\\\^]");KV=new cR("[,;!&]",2);LV=new cR("\\\\s*^(<\\\\?xml\\\\s+[^>]+>)?\\\\s*<\\\\s*csrml\\\\b",2);MV=new uV("$\\\\w+:\\\\/\\\\/")}function zP(a,b){a.a=b.a;a.f=b.f;a.i=b.i;a.e=b.e;a.c=b.c;a.b=b.b}function DV(){}\nfunction vP(a){BV();var b,c,d,e,f,g,h,j;zP(this,CV);if(!(null==a||aR(new bR(MV,a)))){if(null==a||0==a.length)b=0;else{e=1;d=a.length;for(f=0;f<d&&!(5<e);++f){b=a.charCodeAt(f);13==b?(++e,f+1<d&&10==a.charCodeAt(f+1)&&++f):10==b&&++e}b=e}this.j=b;1>=this.j?this.b=cs(a):this.b=a;if(0!=this.b.length){this.d=aR(new bR(HV,this.b));do if(aR(new bR(LV,this.b)))this.f=(xP(),KP),this.a=(AP(),NV);else{if(4<this.j){if(0==a.indexOf(Id)){0==a.toLowerCase().indexOf("<svg")&&(In(),g=c=h=g=void 0,c=null,g=a.indexOf("chemical:x-mdl-molfile"),\n0<g&&(h=a.indexOf(Wd,g)+1,g=a.indexOf("<\/chemical:x-mdl-molfile",h),20<g-h&&(c=a.substr(h,g-h))),a=c=iS(c,sh,ba),null!=a&&(this.c=new vP(a),this.c.f&&(this.f=(xP(),yP))));break}-1!=this.b.indexOf(Pf)||-1!=this.b.indexOf("M END")&&(-1!=this.b.indexOf(ch)||-1!=this.b.indexOf(dh))?(this.a=(AP(),BP),this.f=(xP(),OV),-1!=this.b.indexOf(ch)&&(this.i=(CP(),PV)),-1!=this.b.indexOf(dh)&&(this.i=(CP(),DP)),0==this.b.indexOf(ub)?this.f=FP:-1!=this.b.indexOf(gb)&&(this.f=QV),b=!0):b=!1;if(b)break}if(1==this.j)if(0==\na.indexOf("InChI="))this.f=(xP(),RV);else{if(27==a.length&&(b=new bR(EV,a),b.b.a.test(b.a))){this.f=(xP(),SV);break}if(1<=a.length)if(this.d){b=new QU(a);try{for(j=PU(b);ds(j,gm);)j=PU(b);g=qP(as(j,10)).a;h=qP(as(PU(b),10)).a;for(c=0;c<3*(g+h);++c)PU(b);this.e=0<a.indexOf(Wd);this.f=(xP(),TV);this.a=(AP(),HP)}catch(l){if(l=No(l),!E(l,102))throw l;}}else if(!aR(new bR(GV,this.b)))if(d=0<a.indexOf(Wd),e=aR(new bR(IV,this.b)),b=aR(new bR(JV,this.b)),f=aR(new bR(FV,this.b))&&!aR(new bR(KV,this.b))&&!b)this.f=\n(xP(),UV),d&&(this.f=GP,this.e=!0);else if(e||b)this.f=(xP(),VV),b&&(this.i=(CP(),WV))}}while(0);(this.f==(xP(),SV)||this.f==RV)&&(this.a=(AP(),JP));(this.f==UV||this.f==VV||this.f==GP)&&(this.a=(AP(),XV))}}}x(702,1,{},DV,vP);_.eQ=function(a){return this===a?!0:null==a||YV!=qw(a)?!1:yL(this.a,a.a)&&yL(this.f,a.f)&&yL(this.i,a.i)&&yL((vN(),this.e?wN:xN),a.e?wN:xN)&&yL(this.c,a.c)};_.a=null;_.b=null;_.c=null;_.d=!1;_.e=!1;_.f=null;_.i=null;_.j=0;var LV,CV,JV,EV,GV,KV,IV,FV,HV,MV;\nfunction AP(){AP=y;BP=new ZV("MDL",0);XV=new ZV("DAYLIGHT",1);JP=new ZV("IUPAC",2);$V=new ZV("OPENCHEMLIB",3);HP=new ZV("P_ERTL",4);NV=new ZV("MolecularNetworks",5);aW=z(bW,o,123,[BP,XV,JP,$V,HP,NV])}function ZV(a,b){Mx.call(this,a,b)}x(703,198,{94:1,99:1,101:1,123:1},ZV);var aW,XV,JP,BP,NV,$V,HP;\nfunction xP(){xP=y;OV=new cW(cg,0);FP=new cW(Hg,1);QV=new cW("SDF",2);dW=new cW("RDF",3);UV=new cW(Kg,4);VV=new cW("SMARTS",5);GP=new cW(Rg,6);RV=new cW("InChI",7);SV=new cW("InChIkey",8);eW=new cW("OCLCODE",9);TV=new cW(Hf,10);yP=new cW("SVG",11);KP=new cW("CSRML",12);fW=z(gW,o,124,[OV,FP,QV,dW,UV,VV,GP,RV,SV,eW,TV,yP,KP])}function cW(a,b){Mx.call(this,a,b)}x(704,198,{94:1,99:1,101:1,124:1},cW);var fW,KP,RV,SV,TV,OV,eW,dW,FP,QV,VV,UV,GP,yP;\nfunction CP(){CP=y;PV=new hW(ch,0);DP=new hW(dh,1);WV=new hW("extended",2);iW=z(jW,o,125,[PV,DP,WV])}function hW(a,b){Mx.call(this,a,b)}x(705,198,{94:1,99:1,101:1,125:1},hW);var iW,PV,DP,WV;function kW(a){a=Hn(a);1==a.length&&(a=cd+a);return a}\nfunction WM(a){null==a.a&&(a.a=C(lW,o,126,7,0),a.a[0]=new mW((bJ(),gJ),cd,0),a.a[1]=new mW(pJ,jd,1),a.a[2]=new mW(new Ln(255,204,102),td,2),a.a[3]=new mW(new Ln(255,255,153),vd,3),a.a[4]=new mW(new Ln(255,153,153),wd,4),a.a[5]=new mW(new Ln(51,204,255),Bd,5),a.a[6]=new mW(new Ln(255,153,255),Ed,6))}function eQ(a){return Za+kW(~~a.d>>16&255)+kW(~~a.d>>8&255)+kW(a.d&255)}function GN(a){WM(a);return a.a.length-1}\nfunction tS(a){var b,c,d,e;c=(bJ(),dJ);try{if(0!=a.indexOf(Za))throw new $o("bad hex encoding");e=as(a.substr(1,2),16);d=as(a.substr(3,2),16);b=as(a.substr(5,2),16);return c=new Ln(e,d,b)}catch(f){f=No(f);if(E(f,102))return kL(),c;throw f;}}function TS(a,b){var c;WM(a);c=a.a[0];a.a=C(lW,o,126,b.length+1,0);a.a[0]=c;for(c=0;c<b.length;++c)a.a[c+1]=new mW(tS(b[c].a),b[c].b,c+1)}function $R(){}x(706,1,{},$R);_.a=null;function mW(a,b,c){this.a=a;this.d=b;this.b="COLOR_HASH\\t"+c;this.c=c}\nx(707,1,{126:1},mW);_.a=null;_.b=null;_.c=0;_.d=null;function SS(a,b){this.a=a;this.b=b}x(708,1,{127:1},SS);_.a=null;_.b=null;function fP(a){this.a=a}x(709,1,{},fP);_.a=0;function nW(){}function HS(a,b,c){var d,e,f,g;if(0>b||0>c)return null;g=new nW;f=d=0;e=new gq(a);a:for(;e.b<e.d.xg();){a=hq(e);++f;g.d=a;if(0<b){if(b==f){g.b=c+d;g.c=c;break a}}else if(c<=d+a.o){g.b=c;g.c=g.b-d;break a}d+=a.o}g.d&&(g.a=g.d.b[g.c]);return g}x(710,1,{},nW);_.a=null;_.b=0;_.c=0;_.d=null;function oW(){}\nfunction IS(a,b,c){var d,e,f,g;if(0>b||0>c)return null;g=new oW;f=d=0;e=new gq(a);a:for(;e.b<e.d.xg();){a=hq(e);++f;g.d=a;if(0<b){if(b==f){g.b=c+d;g.c=c;break a}}else if(c<=d+a.p){g.b=c;g.c=g.b-d;break a}d+=a.p}g.d&&(g.a=g.d.c[g.c]);return g}x(711,1,{},oW);_.a=null;_.b=0;_.c=0;_.d=null;function pW(a,b){var c;0==b?c=a.Ui():c=a.Vi();return c}function qW(a,b,c,d){var e,f;e=a.Ti();f=e.d+e.c/2;e=e.e+e.b/2;0>b&&f<d.d||0<b&&f>d.c||0>c&&e<d.e||0<c&&e>d.b||a.Xi(b,c)}x(713,1,Pm);\n_.Wi=function(a,b,c){qW(this,a,b,c)};function rR(a,b){var c,d,e,f;f=pW(a,b);for(e=new gq(a.a);e.b<e.d.xg();)d=hq(e),c=f-pW(d,b),0==b?d.Xi(c,0):d.Xi(0,c)}function iP(a){var b,c,d;b=null;for(a=new gq(a.a);a.b<a.d.xg();)c=hq(a),(c=c.Ti())&&(!b?b=c:b=(d=new hP,hK(b,c,d),d));!b&&(b=new hP);return b}function tR(a){var b,c,d;b=0;for(d=new gq(a.a);d.b<d.d.xg();)c=hq(d),b+=c.Vi();0<a.a.c&&(b/=a.a.c);return b}\nfunction qR(a,b,c){var d,e,f,g,h;if(!(1>=a.a.c)){g=new kP;pR(g.a,a.a);a=new kP;for(e=new gq(g.a);e.b<e.d.xg();)d=hq(e),f=d.Ti(),(!f||0>=f.c||0>=f.b)&&bq(a.a,d);for(e=new gq(a.a);e.b<e.d.xg();)d=hq(e),Po(g.a,d);if(!(1>=g.a.c)){a=pW(g,b);c&&ys(g.a,new rW(b));h=0;for(d=new gq(g.a);d.b<d.d.xg();)c=hq(d),e=c.Ti(),f=h-(0==b?e.d:e.e),0==b?c.Xi(f,0):c.Xi(0,f),h+=(0==b?e.c:e.b)+25;c=pW(g,b);0==b?sR(g,a-c,0):sR(g,0,a-c)}}}function sR(a,b,c){var d;for(d=new gq(a.a);d.b<d.d.xg();)a=hq(d),a.Xi(b,c)}\nfunction kP(){this.a=new Yp}x(714,713,Pm,kP);_.Ti=function(){return iP(this)};_.Ui=function(){var a,b,c;a=0;for(c=new gq(this.a);c.b<c.d.xg();)b=hq(c),a+=b.Ui();0<this.a.c&&(a/=this.a.c);return a};_.Vi=function(){return tR(this)};_.Xi=function(a,b){sR(this,a,b)};_.a=null;function rW(a){this.a=a}x(715,1,{},rW);_.Dd=function(a,b){var c,d;c=a.Ti();c=0==this.a?c.d:c.e;var e=b.Ti();return d=0==this.a?e.d:e.e,d>c?-1:c<d?1:0};_.a=0;function AO(a){this.a=a}x(716,544,Km,AO);_.a=null;\nfunction dS(a){this.d=a}x(717,1,Jm,dS);_.dg=function(a){Xw(9,new sW(this,a))};_.a=0;_.b=null;_.c=0;_.d=null;_.e=null;function sW(a,b){this.a=a;this.b=b}x(718,619,sn,sW);_.a=null;_.b=null;function nN(a){this.a=a}x(719,619,sn,nN);_.a=null;function rN(a){this.a=a}x(720,619,sn,rN);_.a=null;\nfunction dR(a,b){if(null!=b)if(null!=a.a.rc)TL(a.a.rc,z(Jq,o,1,[b]));else if(!a.a.Ng(b)){var c=a.a,d=new tW(a,b),e;c.Gc.a=m;wP(c.v,ge);e=c.Hc;var f,g,h,j;if(null==b)e=0;else if(f=ZT(b,"\\\\$\\\\$\\\\$\\\\$\\r?\\n?"),1>=f.length)e=0;else{for(h=0,j=f.length;h<j;++h)g=f[h],oq(e.b,e.c++,g);e=f.length}0<e&&(c.Gc.a=" Use Page Up/Down for SDF access ("+e+Ob,Ew(c.v,"readMultiSDF"),null!=c.kc&&TL(c.kc,null),c.v&&null!=c.v.a&&c.Lg());d=new uW(c,d);try{uP(c,b,d,!1,!0)}catch(l){if(l=No(l),E(l,102))NP(d,l);else throw l;\n}}}function iN(a){this.a=a}x(721,1,{},iN);_.a=null;function tW(a,b){this.a=a;this.b=b}x(722,1,sn,tW);_.ae=vI;_.a=null;_.b=null;function NP(a,b){yN(a.a,"ERROR: "+b._d());Xw(2,new HN(a.a,a.a.nb));xR(a.a);LI(a.a)}function MP(a){yN(a.a,"Structure pasted. "+a.a.Gc.a);a.a.cc=!0;LI(a.a);a=a.b;a.a.a.Kg(a.b)}function uW(a,b){this.a=a;this.b=b}x(723,1,sn,uW);_.ae=function(a){NP(this,a)};_.a=null;_.b=null;x(725,1,{});_.e=m;_.f=!1;_.i=!1;_.j=!1;\nfunction pQ(a,b,c){this.a=a;this.b=null;this.d=b;this.c=c;this.e=this.b;this.j=this.d;this.f=this.c;this.i=this.a.ab}x(724,725,{},pQ);_.a=null;_.b=null;_.c=!1;_.d=!1;function LP(a,b,c,d,e){this.a=a;this.b=b;this.c=c;this.e=d;this.d=e}x(726,619,sn,LP);_.a=null;_.b=null;_.c=!1;_.d=!1;_.e=null;function HN(a,b){this.a=a;this.b=b}x(727,619,sn,HN);_.a=null;_.b=null;function dQ(a){this.a=a}x(728,619,sn,dQ);_.a=null;function cQ(a){this.a=a}x(729,619,sn,cQ);_.a=null;function bQ(a){this.a=a}x(730,619,sn,bQ);\n_.a=null;function iQ(a){this.a=a}x(731,619,sn,iQ);_.a=null;function EN(a){this.a=a}x(732,619,sn,EN);_.a=null;\nfunction ZM(){ZM=y;eN=new vW("COPY_JME",0);$M=new vW("COPY_SMILES",1);cN=new vW("COPY_MOL",2);dN=new vW("COPY_MOL_V3000",3);jN=new vW("COPY_INCHI",4);kN=new vW("COPY_INCHI_KEY",5);lN=new vW("COPY_INCHI_AUXINFO",6);mN=new vW("COPY_OCLCODE",7);oN=new vW("SEARCH_INCHI_KEY",8);pN=new vW("COPY_SVG",9);sN=new vW("COPY_RAW_STRING_GRAPHIC",10);gN=new vW(og,11);wW=z(xW,o,129,[eN,$M,cN,dN,jN,kN,lN,mN,oN,pN,sN,gN])}function vW(a,b){Mx.call(this,a,b)}x(733,198,{94:1,99:1,101:1,129:1},vW);\nvar wW,jN,lN,kN,eN,cN,dN,mN,sN,$M,pN,gN,oN;function fR(){}x(734,1,{},fR);_.a=1;_.b=0;_.c=null;_.d=!1;_.e=!1;function cS(){}x(735,1,{},cS);_.a=null;function XO(a){a.d=0;a.i=0;a.o=0;a.e=-1;a.j=MO(2);a.j[0]=0;a.j[1]=0;a.f=0;a.n=0;a.k=MO(2);a.k[0]=0;a.k[1]=0;a.a=null;a.b=null;a.p=null}\nfunction RN(a,b,c,d,e){var f;a.i=d;0<d&&0<=e&&(a.o=e,f=(xq(e,b.c),b.b[e]),a.j[0]=f.c[d].j,a.j[1]=f.c[d].k,a.n=IS(b,e,d).b,a.k[0]=HS(b,e,a.j[0]).b,a.k[1]=HS(b,e,a.j[1]).b);a.d=c;a.o=e+1;a.f=HS(b,e,c).b;if(b=HS(b,e,c))b=b.a,a.e=CQ(b)}function wP(a,b){null==a.p&&(a.p=b)}function YR(){XO(this)}x(736,1,{},YR);_.a=null;_.b=null;_.c=null;_.d=0;_.e=0;_.f=0;_.i=0;_.j=null;_.k=null;_.n=0;_.o=0;_.p=null;function yW(){yW=y}\nfunction zW(a){a.b=C(AW,o,120,10,0);a.c=C(BW,o,122,10,0);a.e=MO(101);a.f=(vN(),vN(),xN)}function jQ(a,b,c){a.b[b].c=c}\nfunction CW(a,b,c,d){var e,f,g,h,j,l,n,q,r;l=C(B,v,-1,4,1);f=a.b[c].s-a.b[b].s;g=a.b[c].u-a.b[b].u;n=Math.sqrt(f*f+g*g);0.001>n&&(n=0.001);r=g/n;e=f/n;j=C(B,v,-1,4,1);for(h=0;4>h;++h)d[h]==c||0>=d[h]||(0==j[1]?j[1]=d[h]:0==j[2]?j[2]=d[h]:0==j[3]&&(j[3]=d[h]));q=C(to,Sm,-1,4,1);d=C(to,Sm,-1,4,1);for(h=1;3>=h;++h)3==h&&0==j[3]||(f=(a.b[j[h]].s-a.b[b].s)*e+(a.b[j[h]].u-a.b[b].u)*r,g=(a.b[j[h]].u-a.b[b].u)*e-(a.b[j[h]].s-a.b[b].s)*r,n=Math.sqrt(f*f+g*g),0.001>n&&(n=0.001),q[h]=g/n,d[h]=f/n);e=DW(q[1],\nd[1],q[2],d[2]);if(0<j[3])a=DW(q[2],d[2],q[3],d[3]),b=DW(q[1],d[1],q[3],d[3]),0<e&&0<a?(l[1]=j[1],l[2]=j[2],l[3]=j[3]):0<b&&0>a?(l[1]=j[1],l[2]=j[3],l[3]=j[2]):0>e&&0<b?(l[1]=j[2],l[2]=j[1],l[3]=j[3]):0<a&&0>b?(l[1]=j[2],l[2]=j[3],l[3]=j[1]):0>b&&0<e?(l[1]=j[3],l[2]=j[1],l[3]=j[2]):0>a&&0>e&&(l[1]=j[3],l[2]=j[2],l[3]=j[1]);else if(0<e?(l[1]=j[1],l[2]=j[2]):(l[1]=j[2],l[2]=j[1]),d=EW(a,b,j[1],j[2]),q=EW(a,b,j[2],c),j=EW(a,b,j[1],c),(3.141592653589793>d+q||3.141592653589793>q+j||3.141592653589793>d+\nj)&&d>q&&d>j)j=l[1],l[1]=l[2],l[2]=j;l[0]=c;return l}function EQ(a,b,c,d){HQ(a.b[b],c,d)}\nfunction oQ(a,b,c){var d,e,f,g,h,j,l,n;e=!1;DQ(a,null);switch(a.b[b].n){case 0:EQ(a,a.o,a.b[b].s+21.65,a.b[b].u+12.5);break;case 1:d=a.b[b].r[1];e=0;2==a.b[d].n&&(a.b[d].r[1]==b?e=a.b[d].r[2]:e=a.b[d].r[1]);f=a.b[b].s-a.b[d].s;g=a.b[b].u-a.b[d].u;j=Math.sqrt(f*f+g*g);0.001>j&&(j=0.001);g/=j;f/=j;l=j+25*Math.cos(1.0471975511965976);n=25*Math.sin(1.0471975511965976);h=QQ(a,b,d);if(3==a.c[h].d||204==a.j.o||1!=a.c[h].d&&(203==a.j.o||204==a.j.o)||a.k)l=j+25,n=0;0<e&&0<(a.b[e].u-a.b[d].u)*f-(a.b[e].s-a.b[d].s)*\ng&&(n=-n);0<c&&0>n?n=-n:0>c&&0<n&&(n=-n);EQ(a,a.o,a.b[d].s+l*f-n*g,a.b[d].u+n*f+l*g);e=!0;break;case 2:c=MO(2);FW(a,b,25,c);EQ(a,a.o,c[0],c[1]);break;case 3:case 4:case 5:for(h=1;h<=a.b[b].n&&!(d=a.b[b].r[h],f=a.b[b].s-a.b[d].s,g=a.b[b].u-a.b[d].u,j=Math.sqrt(f*f+g*g),0.001>j&&(j=0.001),EQ(a,a.o,a.b[b].s+25*f/j,a.b[b].u+25*g/j),0==IQ(a,a.o,a.o)||h==a.b[b].n);++h);break;default:return--a.o,yN(a.j,"Are you trying to draw an hedgehog ?"),a.j.ub=9,!1}b=MQ(a,a.w,a.o,1);203==a.j.o&&(b.d=2);204==a.j.o&&\n(b.d=3);201==a.j.o&&AQ(a,a.p);a.A=a.b[a.o].s;a.B=a.b[a.o].u;return e}function GW(a,b){var c,d;if(!b||0==b.c)return m;d=m;d+="M  V30 BEGIN COLLECTION"+(wM(),ba);d+=Zf+a+" [ATOMS=("+b.c;for(c=new gq(b);c.b<c.d.xg();)d+=ca+hq(c);return d+")]\\nM  V30 END COLLECTION\\n"}\nfunction yQ(a,b){var c;a.y=a.w;c=0;if(233==a.j.o||237==a.j.o||236==a.j.o||239==a.j.o||251==a.j.o||252==a.j.o)oQ(a,a.w,0),a.w=a.o,a.k=!0,oQ(a,a.w,0),a.k=!1,a.w=a.o-1,oQ(a,a.w,0),a.w=a.o-2,oQ(a,a.w,0),237==a.j.o&&(jQ(a,a.o,10),jQ(a,a.o-1,10),jQ(a,a.o-2,10)),236==a.j.o&&(jQ(a,a.o,9),jQ(a,a.o-1,9),jQ(a,a.o-2,9)),239==a.j.o&&(jQ(a,a.o,5),jQ(a,a.o-1,5),jQ(a,a.o-2,5),jQ(a,a.o-3,8),a.c[a.p].d=2,a.c[a.p-1].d=2),252==a.j.o&&(jQ(a,a.o,5),jQ(a,a.o-1,5),jQ(a,a.o-2,4),jQ(a,a.o-3,8),a.c[a.p].d=2,a.c[a.p-1].d=2),\n251==a.j.o&&(jQ(a,a.o,5),jQ(a,a.o-1,5),jQ(a,a.o-2,5),jQ(a,a.o-3,7),a.c[a.p].d=2),c=4;else if(244==a.j.o)oQ(a,a.w,0),jQ(a,a.o,4),a.w=a.o,oQ(a,a.w,0),jQ(a,a.o,8),a.w=a.o,a.k=!0,oQ(a,a.w,0),a.k=!1,a.w=a.o-1,oQ(a,a.w,0),jQ(a,a.o,5),a.c[a.p].d=2,a.w=a.o-2,oQ(a,a.w,0),jQ(a,a.o,5),a.c[a.p].d=2,c=5;else if(234==a.j.o)oQ(a,a.w,0),jQ(a,a.o,4),a.w=a.o,a.j.qc&&hQ(a,a.w,1),oQ(a,a.w,0),jQ(a,a.o,5),a.c[a.p].d=2,a.w=a.o-1,oQ(a,a.w,0),jQ(a,a.o,5),a.j.qc?(a.c[a.p].d=1,hQ(a,a.o,-1)):a.c[a.p].d=2,c=3;else if(235==a.j.o)oQ(a,\na.w,0),a.w=a.o,oQ(a,a.w,0),jQ(a,a.o,5),a.w=a.o-1,oQ(a,a.w,0),jQ(a,a.o,5),a.c[a.p].d=2,c=3;else if(240==a.j.o)oQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),jQ(a,a.o,5),a.w=a.o,oQ(a,a.w,0),a.w=a.o-2,oQ(a,a.w,0),jQ(a,a.o,5),a.c[a.p].d=2,c=4;else if(260==a.j.o)oQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),jQ(a,a.o,4),a.w=a.o-1,oQ(a,a.w,0),jQ(a,a.o,5),a.c[a.p].d=2,c=3;else if(261==a.j.o)oQ(a,a.w,0),jQ(a,a.o,4),a.w=a.o,oQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),jQ(a,a.o,5),a.c[a.p].d=2,c=3;else if(241==a.j.o)oQ(a,a.w,0),jQ(a,a.o,5),a.w=a.o,\noQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),a.w=a.o-1,oQ(a,a.w,0),a.c[a.p].d=2,jQ(a,a.o,5),c=4;else if(243==a.j.o)oQ(a,a.w,0),jQ(a,a.o,4),a.w=a.o,oQ(a,a.w,0),a.w=a.o-1,oQ(a,a.w,0),c=3;else if(238==a.j.o)oQ(a,a.w,0),a.w=a.o,a.k=!0,oQ(a,a.w,0),a.c[a.p].d=3,a.k=!1,c=2;else if(249==a.j.o)oQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),a.c[a.p].d=2,jQ(a,a.o,5),c=2;else if(250==a.j.o)oQ(a,a.w,0),a.c[a.p].d=2,jQ(a,a.o,5),c=1;else if(245==a.j.o)oQ(a,a.w,0),a.w=a.o,a.k=!0,oQ(a,a.w,0),a.w=a.o,a.c[a.p].d=3,oQ(a,a.w,0),a.k=!1,c=3;else if(242==\na.j.o)oQ(a,a.w,0),a.w=a.o,a.k=!0,oQ(a,a.w,0),a.c[a.p].d=3,jQ(a,a.o,4),a.k=!1,c=2;else if(254==a.j.o)oQ(a,a.w,0),jQ(a,a.o,9),c=1;else if(255==a.j.o)oQ(a,a.w,0),jQ(a,a.o,10),c=1;else if(256==a.j.o)oQ(a,a.w,0),jQ(a,a.o,11),c=1;else if(257==a.j.o)oQ(a,a.w,0),jQ(a,a.o,12),c=1;else if(258==a.j.o)oQ(a,a.w,0),jQ(a,a.o,4),c=1;else if(259==a.j.o)oQ(a,a.w,0),jQ(a,a.o,5),c=1;else if(246==a.j.o)oQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),c=2;else if(247==a.j.o)oQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),c=3;else if(248==\na.j.o)oQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),a.w=a.o,oQ(a,a.w,0),c=4;else if(253==a.j.o){var d,e,f,g,h,j,l,n;if(!a.j.Tc||0==a.j.Tc.o)c=0;else{c=0;n=a.j.Tc;for(e=1;e<=n.o;++e)if(0!=(-99199!=n.b[e].j?n.b[e].j:0)){c=e;break}0==c&&(c=1);g=a.o;h=a.w;e=new HW;f=IW(e,a,h,1);d=null;f&&(d=new HW,IW(d,a,h,-1));l=new HW;IW(l,n,c,0);var q;q=a.o;for(j=1;j<=n.o;++j)DQ(a,n.b[j]),jQ(a,a.o,n.b[j].c);for(j=1;j<=n.p;++j)JW(a,n.c[j]),a.c[a.p].j=n.c[j].j+q,a.c[a.p].k=n.c[j].k+q;KW(a,a.n.a);BN(a.b[g+c]);if(!b&&\n(LW(l,a,g+1,a.o,h,e),f)){f=MW(a,g+1,a.o);for(j=1;j<=n.o;++j)EQ(a,g+j,n.b[j].s,n.b[j].u);LW(l,a,g+1,a.o,h,d);d=MW(a,g+1,a.o);if(!(d<=f)){for(j=1;j<=n.o;++j)EQ(a,g+j,n.b[j].s,n.b[j].u);LW(l,a,g+1,a.o,h,e)}}JW(a,null);a.c[a.p].j=h;a.c[a.p].k=c+g;b&&(OM(a,h),HO(a));KW(a,a.n.a);c=n.o}}NW(a,c);a.w=a.y;b&&(a.w=0)}\nfunction FW(a,b,c,d){var e,f,g,h,j;e=a.b[b].r[1];f=a.b[b].r[2];g=a.b[f].s-a.b[e].s;h=-(a.b[f].u-a.b[e].u);j=Math.sqrt(g*g+h*h);0.001>j&&(j=0.001);1>Eq((a.b[b].u-a.b[e].u)*(g/j)+(a.b[b].s-a.b[e].s)*(h/j))?(g=a.b[b].s-a.b[e].s,h=a.b[b].u-a.b[e].u,j=Math.sqrt(g*g+h*h),0.001>j&&(j=0.001),b=h/j,g/=j,d[0]=a.b[e].s+j*g-c*b,d[1]=a.b[e].u+c*g+j*b):(g=(a.b[e].s+a.b[f].s)/2,e=(a.b[e].u+a.b[f].u)/2,g=a.b[b].s-g,h=a.b[b].u-e,j=Math.sqrt(g*g+h*h),0.001>j&&(j=0.001),d[0]=a.b[b].s+c*g/j,d[1]=a.b[b].u+c*h/j)}\nfunction nQ(a){var b,c,d,e,f,g,h,j,l,n,q,r,t,A;n=-1;j=6;switch(a.j.o){case 206:j=3;break;case 207:j=4;break;case 208:case 221:case 223:j=5;break;case 210:case 209:j=6;break;case 211:j=7;break;case 212:j=8;break;case 229:j=9}f=6.283185307179586/j;l=Wq(312.5/(1-Math.cos(f)));if(0<a.w)if(2>a.b[a.w].n)OW(a,j,f,l);else if(!a.j.Xb&&!a.j.Oc)n=a.w,oQ(a,a.w,0),a.w=a.o,OW(a,j,f,l);else{a.j.Oc=!1;if(209==a.j.o||221==a.j.o||223==a.j.o){yN(a.j,"ERROR - cannot add aromatic spiro ring !");a.j.ub=9;return}for(d=\n1;d<=a.b[a.w].n;++d)if(b=a.c[QQ(a,a.w,a.b[a.w].r[d])].d,2<d||1!=b){yN(a.j,"ERROR - spiro ring not possible here !");a.j.ub=9;return}b=MO(2);FW(a,a.w,l,b);e=a.b[a.w].s-b[0];g=a.b[a.w].u-b[1];q=Math.sqrt(e*e+g*g);0.001>q&&(q=0.001);g/=q;e/=q;for(d=1;d<=j;++d)h=DQ(a,null),r=f*d+1.5707963267948966,HQ(h,b[0]+l*(Math.sin(r)*e-Math.cos(r)*g),b[1]+l*(Math.cos(r)*e+Math.sin(r)*g))}else if(0<a.x){b=a.c[a.x].j;c=a.c[a.x].k;d=0;2==a.b[b].n?a.b[b].r[1]!=c?d=a.b[b].r[1]:d=a.b[b].r[2]:2==a.b[c].n&&(a.b[c].r[1]!=\nb?d=a.b[c].r[1]:d=a.b[c].r[2],q=b,b=c,c=q);0==d&&(a.b[b].r[1]!=c?d=a.b[b].r[1]:d=a.b[b].r[2]);e=a.b[c].s-a.b[b].s;g=a.b[c].u-a.b[b].u;q=Math.sqrt(e*e+g*g);0.001>q&&(q=0.001);g/=q;e/=q;h=q/2;r=l*Math.sin(0.5*(3.141592653589793-f));q=1;0<(a.b[d].u-a.b[b].u)*e-(a.b[d].s-a.b[b].s)*g&&(r=-r,q=0);t=a.b[b].s+h*e-r*g;A=a.b[b].u+r*e+h*g;for(d=1;d<=j;++d)h=DQ(a,null),r=f*(d+0.5)+3.141592653589793*q,HQ(h,t+l*(Math.sin(r)*e-Math.cos(r)*g),A+l*(Math.cos(r)*e+Math.sin(r)*g)),1==q?(d==j&&HQ(h,a.b[b].s,a.b[b].u),\nd==j-1&&HQ(h,a.b[c].s,a.b[c].u)):(d==j-1&&HQ(h,a.b[b].s,a.b[b].u),d==j&&HQ(h,a.b[c].s,a.b[c].u))}else{b=0.5;6==j&&(b=0);for(d=1;d<=j;++d)h=DQ(a,null),r=f*(d-b),HQ(h,a.A+l*Math.sin(r),a.B+l*Math.cos(r))}b=j;l=0;for(f=1;f<=b;++f)JW(a,null),l=a.o-b+f,a.b[l].n=2,a.c[a.p].j=l,a.c[a.p].k=l+1;a.c[a.p].k=a.o-b+1;if(209==a.j.o){if(a.c[a.p-4].d=2,a.c[a.p-2].d=2,a.c[a.p].d=2,0<a.x)if(1==a.c[a.x].d){if(b=0,1<a.b[a.c[a.x].j].n&&(b=a.b[a.c[a.x].j].r[1],l=a.c[a.x].j,b==a.c[a.x].k&&(b=a.b[a.c[a.x].j].r[2])),0==b&&\n1<a.b[a.c[a.x].k].n&&(b=a.b[a.c[a.x].k].r[1],l=a.c[a.x].k,b==a.c[a.x].k&&(b=a.b[a.c[a.x].k].r[2])),0<b)for(f=1;f<=a.p;++f)if(a.c[f].j==b&&a.c[f].k==l||a.c[f].j==l&&a.c[f].k==b){1!=a.c[f].d&&(a.c[a.p-4].d=1,a.c[a.p-2].d=1,a.c[a.p].d=1,a.c[a.p-5].d=2,a.c[a.p-3].d=2,a.c[a.p-1].d=3);break}}else a.c[a.p-4].d=1,a.c[a.p-2].d=1,a.c[a.p].d=1,a.c[a.p-5].d=2,a.c[a.p-3].d=2,a.c[a.p-1].d=2}else if(221==a.j.o||223==a.j.o)if(0<a.x){if(1==a.c[a.x].d){b=!1;for(f=1;f<=a.b[a.c[a.x].j].n;++f)if(l=a.b[a.c[a.x].j].r[f],\n1<a.c[QQ(a,a.c[a.x].j,l)].d){b=!0;break}for(f=1;f<=a.b[a.c[a.x].k].n;++f)if(l=a.b[a.c[a.x].k].r[f],1<a.c[QQ(a,a.c[a.x].k,l)].d){b=!0;break}b||(a.c[a.x].d=2)}a.c[a.p-4].d=2;jQ(a,a.o-2,5)}else 0<a.w?221==a.j.o?(a.c[a.p-4].d=1,a.c[a.p-2].d=1,a.c[a.p-1].d=1,a.c[a.p-3].d=2,a.c[a.p].d=2,jQ(a,a.o-1,5)):(a.c[a.p-3].d=1,a.c[a.p-2].d=1,a.c[a.p].d=1,a.c[a.p-4].d=2,a.c[a.p-1].d=2,jQ(a,a.o-2,5)):(a.c[a.p-3].d=1,a.c[a.p-2].d=1,a.c[a.p].d=1,a.c[a.p-4].d=2,a.c[a.p-1].d=2,jQ(a,a.o-2,5));l=MO(a.o+1);for(f=1;f<=j;++f)b=\na.o-j+f,c=a.p-j+f,a.b[b].r[1]=b-1,a.b[b].r[2]=b+1,TQ(a.c[c],a.b);a.b[a.o-j+1].r[1]=a.o;a.b[a.o].r[2]=a.o-j+1;for(f=a.o-j+1;f<=a.o;++f){l[f]=0;c=51;g=0;for(b=1;b<=a.o-j;++b)e=a.b[f].s-a.b[b].s,d=a.b[f].u-a.b[b].u,e=e*e+d*d,50>e&&e<c&&(c=e,g=b);0<g&&(0==a.w||g==a.w)&&(l[f]=g)}g=a.p-j;f=g+1;a:for(;f<=g+j;++f)if(b=a.c[f].j,e=a.c[f].k,0<l[b]&&0<l[e]){for(c=1;c<=g;++c)if(a.c[c].j==l[b]&&a.c[c].k==l[e]||a.c[c].k==l[b]&&a.c[c].j==l[e])continue a;MQ(a,l[b],l[e],a.c[f].d)}else 0<l[b]?MQ(a,l[b],e,a.c[f].d):\n0<l[e]&&MQ(a,l[e],b,a.c[f].d);d=a.o-j;for(f=a.o;f>d;--f)if(0<l[f]&&(OM(a,f),3==a.b[l[f]].c)){q=0;for(b=1;b<=a.b[l[f]].n;++b){e=a.b[l[f]].r[b];for(c=1;c<=a.p;++c)(a.c[c].j==l[f]&&a.c[c].k==e||a.c[c].j==e&&a.c[c].k==l[f])&&(q+=a.c[c].d)}if(4<q)for(c=g+1;c<=g+j;++c)a.c[c].d=1}0<a.w&&NW(a,j);-1<n&&(a.w=n)}\nfunction OW(a,b,c,d){var e,f,g,h,j,l,n;0==a.b[a.w].n?(e=0,f=1):(e=a.b[a.w].r[1],f=a.b[a.w].s-a.b[e].s,e=a.b[a.w].u-a.b[e].u,g=Math.sqrt(f*f+e*e),0.001>g&&(g=0.001),e/=g,f/=g);l=a.b[a.w].s+d*f;n=a.b[a.w].u+d*e;for(g=1;g<=b;++g)h=DQ(a,null),j=c*g-1.5707963267948966,HQ(h,l+d*(Math.sin(j)*f-Math.cos(j)*e),n+d*(Math.cos(j)*f+Math.sin(j)*e))}\nfunction EW(a,b,c,d){var e;e=Wq(Math.pow(a.b[b].s-a.b[c].s,2)+Math.pow(a.b[b].u-a.b[c].u,2));b=Wq(Math.pow(a.b[b].s-a.b[d].s,2)+Math.pow(a.b[b].u-a.b[d].u,2));a=Wq(Math.pow(a.b[c].s-a.b[d].s,2)+Math.pow(a.b[c].u-a.b[d].u,2));return Math.acos((e*e+b*b-a*a)/(2*e*b))}function NW(a,b){var c,d;0==b&&(b=a.o);for(c=a.o;c>a.o-b;--c)d=IQ(a,c,a.o),0!=d&&cT(a.b[c],6,6)}function QQ(a,b,c){var d,e,f;for(e=1;e<=a.p;++e)if(d=a.c[e],f=d.j,d=d.k,f==b&&d==c||f==c&&d==b)return e;return 0}\nfunction IO(a){var b,c,d,e,f,g;if(0==a.o)return null;RO(a);f=1.7976931348623157E308;d=4.9E-324;g=1.7976931348623157E308;e=4.9E-324;for(c=1;c<=a.o;++c)b=a.b[c].b,b=b.a,b.d<f&&(f=b.d),d=Bp(b.d+b.c,d),b.e<g&&(g=b.e),e=Bp(b.e+b.b,e);a=new hP;a.d=f;a.e=g;a.c=d-f;a.b=e-g;return a}function nP(a){var b;for(b=1;b<=a.p;++b)if(1==a.c[b].d&&0<a.c[b].i)return!0;return!1}\nfunction PW(a,b,c){var d,e,f,g;e=jm;for(f=g=0;;){++g;for(d=1;d<=a.o;++d)if(aD(c[d])){e=c[d];break}for(d=1;d<=a.o;++d)aD(c[d])&&!lq(c[d],e)&&(e=c[d]);for(d=1;d<=a.o;++d)mq(c[d],e)&&(b[d]=g,c[d]=jm,++f);if(f==a.o)break}return g==a.o}function HO(a){var b,c,d;0!=a.o&&(d=c=0,a.j&&(b=LN(a.j,a.j.X,a.j.Jb,a.j.Sb),c=b.c,d=b.b),0>=c||0>=d?a.r=!0:(b=IO(a),c=c/2-(b.d+b.c/2),b=d/2-(b.e+b.b/2),a.j.ic||KO(a,c,b)))}function ON(a){var b,c;c=0;for(b=1;b<=a.o;++b)c+=a.b[b].s;return 0<a.o?c/a.o:0}\nfunction PN(a){var b,c;c=0;for(b=1;b<=a.o;++b)c+=a.b[b].u;return 0<a.o?c/a.o:0}\nfunction hQ(a,b,c){var d,e,f;if(1==c)return a.b[b].p+=1,!0;if(-1==c)return a.b[b].p+=-1,!0;e=a.b[b].p;f=a.b[b].k;d=a.b[b].q;-1==d&&0==c&&(0==a.b[b].p?a.b[b].p=1:1==a.b[b].p?a.b[b].p=-1:-1==a.b[b].p&&(a.b[b].p=0));switch(a.b[b].c){case 1:0==d&&(0==a.b[b].p?a.b[b].p=1:1==a.b[b].p?a.b[b].p=-1:a.b[b].p=0);break;case 2:2<d&&yN(a.j,"Charge change not possible on this boron !");0==a.b[b].p?a.b[b].p=1:1==a.b[b].p&&(a.b[b].p=0);break;case 3:3<d?yN(a.j,"Charge change not possible on this carbon !"):4>d&&(0==\na.b[b].p?a.b[b].p=-1:-1==a.b[b].p?a.b[b].p=1:1==a.b[b].p&&(a.b[b].p=0));break;case 4:case 7:3<d?yN(a.j,"Charge change not possible on multibonded N or P !"):3==d&&0==a.b[b].p?a.b[b].p=1:3==d&&1==a.b[b].p?a.b[b].p=0:3>d&&0==a.b[b].p?a.b[b].p=1:3>d&&1==a.b[b].p?a.b[b].p=-1:3>d&&-1==a.b[b].p&&(a.b[b].p=0);break;case 5:case 8:case 13:2<d?yN(a.j,"Charge change not possible on multibonded "+(wM(),BM)[a.b[b].c]+" !"):2==d&&0==a.b[b].p?a.b[b].p=1:2==d&&1==a.b[b].p?a.b[b].p=0:2>d&&0==a.b[b].p?a.b[b].p=-1:\n2>d&&-1==a.b[b].p?a.b[b].p=1:2>d&&1==a.b[b].p&&(a.b[b].p=0);break;case 9:case 10:case 11:case 12:0==d&&0==a.b[b].p?a.b[b].p=-1:0==d&&-1==a.b[b].p?a.b[b].p=0:yN(a.j,"Charge change not possible on the halogen !");break;case 32:yN(a.j,"Use X button to change charge on the X atom !")}if(0<JM(a.b[b].c)){var c=a.b[b],g,h,j,l;g=!1;h=JM(c.c);0<h&&(h-=d,0<h&&(l=c.p,j=c.k,l+j<h?l+=h-j:l+j==h&&(l==h?(l=0,j=h):(j=l=0,0==d&&yN(a.j,"Metallic "+(wM(),BM)[c.c]))),g=c.p!=l||c.k!=j,c.p=l,c.k=j));g||yN(a.j,"Charge change not possible on "+\n(wM(),BM)[a.b[b].c])}return e!=a.b[b].p||f!=a.b[b].k}function IQ(a,b,c){var d,e,f,g,h;g=51;h=0;for(f=1;f<=c;++f)b!=f&&(d=a.b[b].s-a.b[f].s,e=a.b[b].u-a.b[f].u,d=d*d+e*e,50>d&&d<g&&(g=d,h=f));return h}function RM(a,b){QW(a);RW(a,b)}\nfunction RW(a,b){var c,d,e,f,g;for(g=1;g<=a.p;++g){e=a.c[g];c=e.j;d=e.k;f=e.d;if(1==a.b[c].p&&-1==a.b[d].p||-1==a.b[c].p&&1==a.b[d].p)if(1==f||2==f){if(3!=a.b[c].c&&3!=a.b[d].c&&b)continue;if(1==a.b[c].c||1==a.b[d].c)continue;if(2==a.b[c].c||2==a.b[d].c)continue;if(9==a.b[c].c||10==a.b[c].c||11==a.b[c].c||12==a.b[c].c||9==a.b[d].c||10==a.b[d].c||11==a.b[d].c||12==a.b[d].c)continue;a.b[c].p=0;a.b[d].p=0;++f;e.d=f;QW(a)}1==a.b[c].p&&1==a.b[d].p&&(2==f?f=1:3==f&&(f=2),e.d=f,QW(a));4==f&&(f=1);e.d=f}}\nfunction cP(a,b,c){var d,e,f;e=1.7976931348623157E308;for(d=1;d<=a.o;++d)f=gP(b,c,a.b[d].s,a.b[d].u),f<e&&(e=f);return Math.sqrt(e)}function DW(a,b,c,d){var e,f;f=e=0;0<=a&&0<=b?e=1:0<=a&&0>b?e=2:0>a&&0>b?e=3:0>a&&0<=b&&(e=4);0<=c&&0<=d?f=1:0<=c&&0>d?f=2:0>c&&0>d?f=3:0>c&&0<=d&&(f=4);if(e<f)return 1;if(e>f)return-1;switch(e){case 1:case 4:return a<c?1:-1;case 2:case 3:return a>c?1:-1}return 0}function KW(a,b){SW(a);TW(a);b&&QW(a)}\nfunction RO(a){var b,c,d,e,f,g,h,j,l,n,q,r,t;r=MO(a.o+1);q=MO(a.o+1);for(n=1;n<=a.p;++n)b=a.c[n].j,d=a.c[n].k,c=a.b[b].s,e=a.b[d].s,++q[b],++q[d],r[b]=r[b]/q[b]+e/q[b],r[d]=r[d]/q[d]+c/q[d];c=9;a.j&&(c=PO(a.j.B));for(n=1;n<=a.o;++n)j=UW(a,n),(null==j||1>j.length)&&(j=Rb),b=a.b[n],b.b=new vV,3==a.b[n].c&&0<a.b[n].n&&0==a.b[n].p&&0==b.f&&!(4<=b.q&&2==b.n)?b.b.i=!0:b.b.i=!1,e=j,d=r[n]<a.b[n].s,g=!0,1<q[n]&&8.333333333333334>Eq(r[n]-a.b[n].s)&&(g=!1),2<q[n]&&(g=!1),1==q[n]&&2.5>Eq(r[n]-a.b[n].s)&&(d=\n!0),l=m,a.n.b.f&&(f=a.b[n].k,0<f&&(l+=vf,1<f&&(l+=f))),b.b.i&&(l=m),h=m,0!=b.f&&(h=nh+b.f+vh),f=m,0!=a.b[n].p&&(1<ir(a.b[n].p)&&(f+=ir(a.b[n].p)),0<a.b[n].p?f+=Sb:f+=hc),d||!g?j=h+j+l+f+m:j=f+l+m+h+j,g||(e=j),b.b.j=j,e=sK(e,a.j.B.a),j=sK(j,a.j.B.a),g=b.b,l=j,h=f=void 0,f=a.b[n].s-e/2,d||(f-=l-e),h=a.b[n].u-c/2,f-=1,l+=1,l=new jP(f-2,h-2,l+4,c+4),g.a=l,b.b.f=null,b.b.d=b.b.a.d+2+1,b.b.e=b.b.a.e+c+2,!a.n.e&&-99199!=b.j&&(h=b.b.a,l=ca+(-99199!=b.j?b.j:0),b.b.i?(g=a.b[n].u-0.1*c,d=a.b[n].s+e/4):(f=sK(l,\na.j.D.a),t=0.3*c,g=a.b[n].u-t,h.e-=t,h.b+=t,h.c+=f,d?d=a.b[n].s-e/2+j:(h.d-=f,d=a.b[n].s+e/2-j-f)),b.b.b=d,b.b.c=g,b.b.f=l)}function UO(a,b){var c,d,e,f,g,h;h=0;for(c=1;c<=a.o;++c)a.b[c].o=0;for(e=1;e<=a.p;++e)a.c[e].f=0;a:for(;;){g=!1;for(c=1;c<=a.o;++c)if(d=a.b[c],0==d.o){d.o=++h;g=!0;break}if(!g)break a;for(;g;){g=!1;for(e=1;e<=a.p;++e)e!=b&&(f=a.c[e],0<f.f||(c=a.b[f.j],d=a.b[f.k],c.o!=d.o?(f.f=c.o=d.o=h,g=!0):f.f=c.o))}}return h}\nfunction JW(a,b){var c;++a.p;c=b?b.Bi():new dT;oq(a.c,a.p,c);return c}function MQ(a,b,c,d){var e;e=JW(a,null);SQ(a.b[b],c);SQ(a.b[c],b);e.j=b;e.k=c;TQ(e,a.b);e.d=d;return e}function DQ(a,b){++a.o;b?oq(a.b,a.o,b.Ai()):oq(a.b,a.o,new PQ);return a.b[a.o]}\nfunction uO(a,b,c){var d,e,f,c=VW(a,b,c,!1);WW(a);for(b=1;b<=a.o;++b)d=a.b[b],e=d.t,f=d.v,c+=XW(e,10,4)+XW(f,10,4)+XW(0,10,4),e=UW(a,b),1==e.length?e+=fa:2==e.length?e+=ca:3<e.length&&(e="Q  "),c+=ca+e,e=0,0<a.b[b].p&&4>a.b[b].p?e=4-a.b[b].p:0>a.b[b].p&&-4<a.b[b].p&&(e=4-a.b[b].p),f=0,0!=d.f&&(d=wV(UW(a,b),a.b[b].f),-3<=d&&4>=d&&(f=d)),d=YW(a,b),e=rQ(f,2)+rQ(e,3)+pa+rQ(d,3)+"  0  0  0  0  0",d=JS(a,b),e+=rQ(d,3),c+=e+qa+(wM(),ba);for(b=1;b<=a.p;++b)c+=ZW(a.c[b],!1)+(wM(),ba);for(b=1;b<=a.o;++b)0!=\na.b[b].p&&(c+="M  CHG  1"+rQ(b,4)+rQ(a.b[b].p,4)+(wM(),ba)),0!=a.b[b].f&&(c+="M  ISO  1"+rQ(b,4)+rQ(a.b[b].f,4)+(wM(),ba));return c+=Pf+(wM(),ba)}function OM(a,b){var c,d,e,f,g,h,j;g=j=0;for(h=1;h<=a.p;++h)e=a.c[h],c=e.j,d=e.k,c!=b&&d!=b?(++j,f=a.c[j],PS(e,f),f.j=c,c>b&&--f.j,f.k=d,d>b&&--f.k):g+=e.d;a.p=j;for(h=b;h<a.o;++h)oq(a.b,h,a.b[h+1]);--a.o;if(0!=a.o)for(h=1;h<=a.o;++h){d=0;for(j=1;j<=a.b[h].n;++j)c=a.b[h].r[j],c==b?a.b[h].k+=g:(c>b&&--c,a.b[h].r[++d]=c);a.b[h].n=d}}\nfunction QM(a,b){var c,d,e,f;c=a.c[b].j;d=a.c[b].k;for(e=b;e<a.p;++e)oq(a.c,e,a.c[e+1]);--a.p;f=0;for(e=1;e<=a.b[c].n;++e)a.b[c].r[e]!=d&&(a.b[c].r[++f]=a.b[c].r[e]);a.b[c].n=f;f=0;for(e=1;e<=a.b[d].n;++e)a.b[d].r[e]!=c&&(a.b[d].r[++f]=a.b[d].r[e]);a.b[d].n=f;c<d&&(f=c,c=d,d=f);0==a.b[c].n&&OM(a,c);0==a.b[d].n&&OM(a,d)}\nfunction DN(a,b){var c,d,e;d=!1;if(!b.d)return!1;SW(a);e=a.o;a:for(;1<=e;--e)if(c=a.b[e].r[1],!(b.e&&3!=a.b[c].c)&&1==a.b[e].c&&1==a.b[e].n&&0==a.b[e].p&&1!=a.b[c].c&&32>a.b[c].c){if(b.a&&0!=a.b[e].f)continue a;if(b.b&&0!=(-99199!=a.b[e].j?a.b[e].j:0))continue a;c=QQ(a,e,c);1==a.c[c].d&&!(b.c&&0!=a.c[c].i)&&(OM(a,e),d=!0)}return d}function $W(a,b){var c,d,e,f,g;g=z(B,v,-1,[0,0]);for(e=1,f=0;e<=a.b[b].n;++e)c=a.b[b].r[e],d=QQ(a,b,c),2!=a.c[d].d&&(g[f++]=c);return g}\nfunction SW(a){var b,c,d;for(d=1;d<=a.o;++d)a.b[d].n=0;for(d=1;d<=a.p;++d)b=a.c[d].j,c=a.c[d].k,SQ(a.b[b],c),SQ(a.b[c],b)}\nfunction aX(a,b,c){var d,e,f,g,h,j,l,n,q;a.d=MO(a.p+1);q=[];for(j=1;j<=a.o;++j){q[j]=!1;b[j]=!1;a:{d=void 0;for(d=1;d<=a.b[j].n;++d)if(0<c[QQ(a,j,a.b[j].r[d])]){d=!0;break a}d=!1}if(d&&!(3<a.b[j].n+a.b[j].k))switch(a.b[j].c){case 3:case 4:case 7:case 5:case 8:case 13:q[j]=!0;break;case 32:0==a.b[j].i.indexOf($d)?q[j]=!1:q[j]=!0}}if(a.i){var r;d=[];e=!1;for(j=1;j<=a.p;++j)f=a.c[j].j,g=a.c[j].k,d[f]=!0,d[g]=!0,(32==a.b[f].c||32==a.b[g].c)&&(e=!0);if(e){j=1;a:for(;j<=a.p;++j)if(0!=c[j]){f=a.c[j].j;g=\na.c[j].k;e=[];for(l=1;l<=a.b[f].n;++l)h=a.b[f].r[l],h!=g&&d[h]&&(e[h]=!0);for(r=!1;;){for(l=1;l<=a.o;++l){r=!1;if(e[l]&&d[l]&&l!=f)for(n=1;n<=a.b[l].n;++n){h=a.b[l].r[n];if(h==g){for(f=1;f<=a.o;++f)e[f]&&(5==a.b[f].c&&(a.b[f].c=32,a.b[f].i="#8"),4==a.b[f].c&&(a.b[f].c=32,a.b[f].i="#7"),8==a.b[f].c&&(a.b[f].c=32,a.b[f].i="#16"));continue a}!e[h]&&d[h]&&(r=e[h]=!0)}if(r)break}if(!r)break}}}}for(h=1;h<=a.p;++h)1==a.c[h].d?a.d[h]=1:2==a.c[h].d?a.d[h]=2:3==a.c[h].d&&(a.d[h]=3);h=1;a:for(;h<=a.p;++h)if(0!=\nc[h]&&(f=a.c[h].j,g=a.c[h].k,q[f]&&q[g])){d=[];for(j=1;j<=a.b[f].n;++j)e=a.b[f].r[j],e!=g&&q[e]&&(d[e]=!0);for(n=!1;;){for(j=1;j<=a.o;++j){n=!1;if(d[j]&&q[j]&&j!=f)for(l=1;l<=a.b[j].n;++l){e=a.b[j].r[l];if(e==g){b[f]=!0;b[g]=!0;a.d[h]=5;continue a}!d[e]&&q[e]&&(n=d[e]=!0)}if(n)break}if(!n)break}}}function JS(a,b){var c;c=0;0<b&&b<=a.o&&(c=a.b[b],c=!a.n.e?-99199!=c.j?c.j:0:CQ(c));return c}function TW(a){var b;for(b=1;b<=a.p;++b)TQ(a.c[b],a.b)}\nfunction bX(a,b){var c,d,e,f,g,h;h=1;f=b;e=MO(a.o+1);if(bT(a.b[b]))return e[0]=0,e;e[1]=b;a:for(;;){g=1;b:for(;g<=a.b[f].n;++g){c=a.b[f].r[g];if(c==e[1]||c==e[h-1])continue b;d=QQ(a,f,c);if(2==a.c[d].d&&5!=a.d[d]){f=e[++h]=c;continue a}}break a}e[0]=h;return e}function cX(a,b){var c,d;for(c=1;c<=a.p;++c)d=NO(a,a.c[c].j,a.c[c].k),b[c]=d}function oP(a){var b,c,d;if(0==a.o)return 0;d=-999999;for(b=1;b<=a.o;++b)c=-99199!=a.b[b].j?a.b[b].j:0,c>d&&(d=c);return d}\nfunction UW(a,b){var c;c=(wM(),BM)[a.b[b].c];32==a.b[b].c&&(c=a.b[b].i);return c}function YW(a,b){var c,d;d=0;c=a.b[b];0<c.k&&0!=JM(c.c)&&(d=c.k+c.n);return d}function kR(a){var b;if(1>=a.o)return!0;a:if(1>=a.o)b=!0;else{for(b=1;b<=a.o;++b)if(0!=a.b[b].w){b=!0;break a}b=!1}if(b)return!1;if(2==a.o)return a.b[1].s!=a.b[2].s||a.b[1].u!=a.b[2].u;for(b=1;b<=a.o;++b)if(0!=a.b[b].s||0!=a.b[b].u)return!0;return!1}function RQ(a,b){a.b[b].n+=-1}\nfunction dX(a,b){var c,d,e,f,g,h,j,l,n,q,r;if(null==b)return a;g=m;n=PP(b);if(null==n)return a;l=new OL(b,n,!0);for(e=1;4>=e;++e)g=QP(l,n);h=qP(as(cs(g.substr(0,3)),10)).a;j=qP(as(cs(g.substr(3,3)),10)).a;e=0;try{e=qP(as(cs(g.substr(14,1)),10)).a}catch(t){if(t=No(t),!E(t,102))throw t;}uN(a,(vN(),1==e?wN:xN));r=MO(h+1);for(e=1;e<=h;++e){d=DQ(a,null);g=QP(l,n);d.s=(new Hr(uS(cs(g.substr(0,10))))).a;d.u=-(new Hr(uS(cs(g.substr(10,10))))).a;d.w=(new Hr(uS(cs(g.substr(20,10))))).a;d=34;34>g.length&&(d=\ng.length);d=cs(g.substr(31,d-31));mQ(a,e,d);62<=g.length&&(f=cs(g.substr(60,3)),0<f.length&&(f=qP(as(f,10)).a,0<f&&(q=void 0,0<e&&e<=a.o&&(q=a.b[e],!a.n.e?q.j=f:q.x[0]=f))));36<=g.length&&(f=cs(g.substr(34,2)),0<f.length&&(f=qP(as(f,10)).a,0!=f&&-3<=f&&4>=f&&(q=void 0,q=xV(d),d=0<q?q+f:-1,0>d&&(d=0),a.b[e].f=d)));if(39<=g.length&&(f=cs(g.substr(37,2)),0<f.length&&(f=qP(as(f,10)).a,0<f&&7>=f))){d=0;switch(f){case 1:d=3;break;case 2:d=2;break;case 3:d=1;break;case 4:d=0;break;case 5:d=-1;break;case 6:d=\n-2;break;case 7:d=-3}a.b[e].p=d}45<=g.length&&(f=cs(g.substr(43,2)),0<f.length&&(r[e]=qP(as(f,10)).a))}for(e=1;e<=j;++e)d=JW(a,null),g=QP(l,n),d.j=qP(as(cs(g.substr(0,3)),10)).a,d.k=qP(as(cs(g.substr(3,3)),10)).a,f=qP(as(cs(g.substr(6,3)),10)).a,1==f?c=1:2==f?c=2:3==f?c=3:8==f?c=0:c=9,q=0,11<g.length&&(q=qP(as(cs(g.substr(9,3)),10)).a),(1==c||0==c)&&(1==q?d.i=1:6==q?d.i=2:4==q&&(d.i=5)),2==f&&3==q&&(c=2,d.i=10),d.d=c;for(;(l.j=IL(l,l.a),l.j<l.i)&&!(null==(g=LL(l)));){if(0==g.indexOf(Pf))break;if(0==\ng.indexOf(Of)){n=new NL(g);LL(n);LL(n);j=qP(as(LL(n),10)).a;for(e=1;e<=j;++e)c=qP(as(LL(n),10)).a,d=qP(as(LL(n),10)).a,a.b[c].p=d}if(0==g.indexOf(Rf)){n=new NL(g);LL(n);LL(n);j=qP(as(LL(n),10)).a;for(e=1;e<=j;++e)c=qP(as(LL(n),10)).a,a.b[c].f=qP(as(LL(n),10)).a}if(0==g.indexOf("M  APO")){n=new NL(g);LL(n);LL(n);j=qP(as(LL(n),10)).a;for(e=1;e<=j;++e)c=qP(as(LL(n),10)).a,g=qP(as(LL(n),10)).a,a.w=c,oQ(a,a.w,0),mQ(a,a.o,vg+g),a.w=0}}DN(a,a.n.b);KW(a,a.n.a);for(e=1;e<=h;++e)0<r[e]&&(l=a.b[e].n,15!=r[e]?\n(l=r[e]-l,0<l&&(a.b[e].k=l)):a.b[e].k=0);return a}function iR(a){var b,c,d,e,f,g,h;g=h=0;e=4.9E-324;f=1.7976931348623157E308;for(b=1;b<=a.p;++b)c=a.b[a.c[b].j].s-a.b[a.c[b].k].s,d=a.b[a.c[b].j].u-a.b[a.c[b].k].u,c=Math.sqrt(c*c+d*d),h+=c,e=e>c?e:c,f=f<c?f:c;0<h&&(0<a.p?(b=h/a.p,b-f<e-b?g=f:g=e,g=25/g):1<a.o&&(g=75/Wq((a.b[1].s-a.b[2].s)*(a.b[1].s-a.b[2].s)+(a.b[1].u-a.b[2].u)*(a.b[1].u-a.b[2].u))),mR(a,g),TW(a))}\nfunction zQ(a,b){var c;if(a.n.e){if(a.j.Ab)for(c=1;c<=a.o;++c)c!=a.w&&BQ(a.b[c]);if(b!=CQ(a.b[a.w]))return a.b[a.w].x[0]=b,!0;BQ(a.b[a.w]);return!1}c=a.b[a.w];0>=b?(BN(c),c=!1):(c.j=b,c=!0);return c}function VW(a,b,c,d){var e,f;f=d?0:a.f.a&&nP(a)?1:0;e=m;null!=b&&(e=b);79<e.length&&(e=e.substr(0,76)+Tc);e+=(wM(),ba);c?e+="JME 2020-12-26 "+new FU+"\\n\\n":e+="JME\\n\\n";e+=rQ(d?0:a.o,3)+rQ(d?0:a.p,3);return e+=qa+rQ(f,3)+"  0  0  0  0  0999 "+(d?dh:ch)+ba}\nfunction ZW(a,b){var c,d,e,f,g;e=a.d;c=a.j;d=a.k;f=0;if(1==e||0==e){switch(a.i){case 1:case 3:f=1;break;case 2:case 4:f=6;break;case 5:case 6:f=4}switch(a.i){case 3:case 4:case 6:g=c,c=d,d=g}}2==e&&10==a.i&&(f=3);if(b)switch(f){case 6:f=3;break;case 4:case 3:f=2}0==e?e=8:(9==e||5==e)&&(e=4);b?(c=e+ca+c+ca+d,0!=f&&(c+=" CFG="+f)):c=rQ(c,3)+rQ(d,3)+rQ(e,3)+rQ(f,3)+sa;return c}\nfunction NO(a,b,c){var d,e,f,g,h,j,l,n;e=MO(a.o+1);n=MO(a.o+1);h=MO(a.o+1);e[b]=1;h[1]=b;a:for(;;){l=0;j=1;for(;0!=h[j];++j){d=h[j];f=1;c:for(;f<=a.b[d].n;++f){g=a.b[d].r[f];if(g==c&&d==b)continue c;0==e[g]&&(e[g]=e[d]+1,++l,n[l]=g)}if(2<e[c])break a}if(0==l)break a;n[l+1]=0;d=h;h=n;n=d}return e[c]}function KO(a,b,c){var d;for(d=1;d<=a.o;++d)cT(a.b[d],b,c);TW(a)}function fQ(a){var b;a.s=0;for(b=1;b<=a.o;++b)a.b[b].j=b}\nfunction BR(a){var b,c,d;for(c=0,d=a.length;c<d;++c)(b=a[c])&&(b.x=MO(1),b.x[0]=-99199)}function tN(a,b){var c,d,e,f,g,h,j;if(0!=a.o){c=IO(a);d=c.d+c.c/2;e=c.e+c.b/2;g=Math.sin(3.141592653589793*b/180);c=Math.cos(3.141592653589793*b/180);for(f=1;f<=a.o;++f)h=a.b[f].s*c+a.b[f].u*g,j=-a.b[f].s*g+a.b[f].u*c,HQ(a.b[f],h,j);c=IO(a);KO(a,d-(c.d+c.c/2),e-(c.e+c.b/2))}}function mR(a,b){var c;if(0<b){for(c=1;c<=a.o;++c){var d=a.b[c],e=b;d.s*=e;d.u*=e}TW(a)}}\nfunction mQ(a,b,c){var d,e;if(0==c.indexOf(nh)&&js(c,vh))c=ks(c,1,c.length-1),a.b[b].c=32,a.b[b].i=c,a.b[b].k=0;else{e=a.b[b];var f=a.n,g,h,j,l,n,q,r,t,A,u,w,F,H;j=aT.a.exec(c);g=new QL;g.a=j;if(g.a){t=g.a[1];n=g.a[2];q=g.a[3];r=g.a[4];j=g.a[6];l=g.a[5];F=g.a[7];H=g.a[8];g=g.a[10];h=0;w=!0;if(-1!=xV(n)){if(null!=t&&0<t.length){t=as(t,10);a:{u=aC((!yV&&zV(),yV),n);if(null!=u)for(A=0;A<u.length;++A)if(t==u[A]){A=!0;break a}A=!1}A?e.f=t:w=!1}}else w=!1;w&&(A=null!=l&&0<l.length,t=null!=j&&0<j.length,\nu=null!=F&&0<F.length,A||t?(h=1,t&&(h=as(j,10)),h*=ds(l,hc)?-1:1):u&&(h=F.length,h*=ds(F,hc)?-1:1));w&&(c=n+(null!=H?H:m),e.p=h);if(null!=g&&0<g.length)try{d=as(g,10),0<d&&(f.e?e.x[0]=d:e.j=d)}catch(s){if(s=No(s),!E(s,102))throw s;}null!=q&&(e.k=1,null!=r&&0<r.length&&(e.k=as(r,10)))}d=!1;-1<c.indexOf($b)&&(d=!0);-1<c.indexOf(Hd)&&(d=!0);-1<c.indexOf(Za)&&(d=!0);-1<c.indexOf("!")&&(d=!0);e=c.indexOf(vf);if(d)a.b[b].i=c,a.b[b].c=32,a.b[b].k=0;else{d=c;0<e&&(d=c.substr(0,e-0));b:{f=d;for(j=1;j<(wM(),\nBM).length;++j)if(ds(f,BM[j])){f=j;break b}f=32}jQ(a,b,f);32==a.b[b].c&&(a.b[b].i=d);c+=ca;d=0;0<e&&(d=1,e=ET(c,++e),48<=e&&57>=e&&(d=e-48));32==a.b[b].c&&(a.b[b].k=d)}}}function uR(a,b,c,d){var e,f,b=new PL(b);try{for(;b.j=IL(b,b.a),b.j<b.i;)if(e=qP(as(LL(b),10)).a-c,f=qP(as(LL(b),10)).a,d){var g=void 0;0<e&&e<=a.o&&(g=a.b[e],YS(g,f))}else g=void 0,0<e&&e<=a.p&&(g=a.c[e],YS(g,f))}catch(h){if(h=No(h),!E(h,102))throw h;}}function uN(a,b){return a.f!=b?(a.f=b,!0):!1}\nfunction LO(a,b,c,d){d?0<c&&c<=a.o?(c=a.b[c],c=c.x):c=null:0<c&&c<=a.o?(c=a.c[c],c=c.x):c=null;if(null!=c&&0<c.length&&a.j)a:{var a=a.j.O,e,f,g,h,j,l,n;WM(a);e=-1;if(null!=c&&1<=c.length){j=d=l=n=0;for(g=0,h=c.length;g<h;++g)f=c[g],0<=f&&f<a.a.length&&(e=a.a[f].a,n+=~~e.d>>16&255,l+=~~e.d>>8&255,d+=e.d&255,++j,e=f);if(0<j)if(1==j){if(0<=e){c=a.a[e].a;break a}}else{c=e=new Ln(~~(n/j),~~(l/j),~~(d/j));break a}}c=null}else c=null;return c?(!b.b?pO(b.a,c):c==b.c||uJ(c,b.c)?pO(b.a,b.c):pO(b.a,b.b),!0):\n!1}function eX(a,b,c,d,e){c=QQ(a,b,c);b=a.c[c];5!=a.d[c]&&2==b.d?d.a.a+=Vd:3==b.d?d.a.a+=Za:9==b.d?(a=Xd,e=b.e,null!=e&&(a=e),jw(d.a,a)):0==b.d?d.a.a+=hm:1==e[c]?d.a.a+=Xc:-1==e[c]&&(d.a.a+=ph)}function gP(a,b,c,d){a=c-a;b=d-b;return a*a+b*b}\nfunction AQ(a,b){var c,d,e;e=a.c[b];if(1==e.d||0==e.d)if(c=a.c[b].j,d=a.c[b].k,2>a.b[c].n&&2>a.b[d].n)e.i=0,yN(a.j,"Stereomarking meaningless on this bond !");else switch(e.i){case 0:a.b[d].n<=a.b[c].n?e.i=1:e.i=3;break;case 1:e.i=2;break;case 2:e.i=5;break;case 5:2<a.b[d].n?e.i=3:e.i=1;break;case 3:e.i=4;break;case 4:e.i=6;break;case 6:2<a.b[c].n?e.i=1:e.i=3}else 2==e.d?2==e.d&&(e.i=10-e.i):yN(a.j,"Stereomarking allowed only on single and double bonds!")}\nfunction fX(a,b,c,d,e){var f,g,h,j,l,n,q,r,t;if(!(2!=a.c[b].d||5==a.d[b]||0<e[b]&&7>=e[b]))if((10==a.c[b].i||a.u.a)&&10!=a.c[b].i)if(e=a.c[b].j,b=a.c[b].k,!bT(a.b[e])||!bT(a.b[b])){f=null;bT(a.b[e])?f=bX(a,b):bT(a.b[b])&&(f=bX(a,e));if(null!=f)if(1==(f[0]-1)%2)e=f[1],b=f[f[0]];else return;f=z(B,v,-1,[e,b]);for(n=0,j=f.length;n<j;++n)if(h=f[n],h=a.b[h].n,2>h||3<h)return;c[e]>c[b]&&(j=e,e=b,b=j);j=$W(a,e);h=j[0];l=j[1];f=0;n=!1;0<l&&c[h]>c[l]&&(j=h,h=l,l=j);j=QQ(a,e,h);0!=d[j]?f=h:1==a.c[j].d&&5!=a.d[j]&&\n(f=h);0==f&&0<l&&(j=QQ(a,e,l),0!=d[j]?f=l:1==a.c[j].d&&5!=a.d[j]&&(f=l));c[f]>c[e]&&(n=!0);j=$W(a,b);l=j[0];g=j[1];h=0;0<g&&c[l]<c[g]&&(j=l,l=g,g=j);j=QQ(a,b,l);1==a.c[j].d&&5!=a.d[j]&&0==d[j]&&(h=l);0==h&&0<g&&(j=QQ(a,b,g),1==a.c[j].d&&5!=a.d[j]&&(h=g));if(!(0==f||0==h))if(l=a.b[b].s-a.b[e].s,j=a.b[b].u-a.b[e].u,g=Math.sqrt(l*l+j*j),0.001>g&&(g=0.001),j/=g,g=l/g,l=(a.b[f].u-a.b[e].u)*g-(a.b[f].s-a.b[e].s)*j,t=(a.b[h].u-a.b[e].u)*g-(a.b[h].s-a.b[e].s)*j,2>(0>=l?0-l:l)||2>(0>=t?0-t:t))yN(a.j,"Not unique E/Z geometry !");\nelse{g=QQ(a,f,e);h=QQ(a,h,b);r=1;if(0==d[g]){for(q=1;q<=a.b[f].n;++q)if(b=a.b[f].r[q],b!=e&&(j=QQ(a,f,b),0!=d[j])){c[b]>c[f]?r=-d[j]:r=d[j];break}d[g]=r}0==d[h]&&(0<l&&0<t||0>l&&0>t?d[h]=-d[g]:d[h]=d[g],n&&(d[h]=-d[h]))}}}function MW(a,b,c){var d,e;e=0;for(d=1;d<=a.o;++d)if(!(d>=b&&d<=c)){for(var f=void 0,g=void 0,h=void 0,j=f=void 0,j=0,h=b;h<=c;++h)d!=h&&(f=a.b[d].s-a.b[h].s,g=a.b[d].u-a.b[h].u,f=f*f+g*g,100>f&&(0==f&&(f=1.0E-4),j+=1/f));e+=j}return e}\nfunction WW(a){var b,c,d,e,f,g,h;d=0.055999999999999994;h=-1.7976931348623157E308;f=1.7976931348623157E308;for(c=1;c<=a.o;++c)a.b[c].u>h&&(h=a.b[c].u),a.b[c].s<f&&(f=a.b[c].s);a.n.d&&(h=f=0,d=1);for(c=1;c<=a.o;++c)b=a.b[c],e=(a.b[c].s-f)*d,g=(h-a.b[c].u)*d,b.t=e,b.v=g}function gX(a,b,c){var d;d=a.c[b].i;return 1>d||4<d?0:1==d&&a.c[b].j==c?1:2==d&&a.c[b].j==c?-1:3==d&&a.c[b].k==c?1:4==d&&a.c[b].k==c?-1:0}\nfunction QW(a){var b;for(b=1;b<=a.o;++b){var c;a:{for(var d=c=void 0,e=void 0,e=0,d=1;d<=a.b[b].n;++d)if(c=a.c[QQ(a,b,a.b[b].r[d])],1==c.d)e+=1;else if(2==c.d)e+=2;else if(3==c.d)e+=3;else if(9==c.d){c=-1;break a}c=e}a.b[b].q=c;c=a;var d=b,f=e=void 0,g=void 0,e=c.b[d],g=e.q;if(-1==g)e.k=0;else{switch(e.c){case 1:2==g?c.b[d].p=1:1<=g&&(c.b[d].p=0);e.k=0;break;case 2:3==g||5==g?(e.k=0,c.b[d].p=0):3>g?e.k=3-g-c.b[d].p:4==g?(c.b[d].p=-1,e.k=0):5<g&&(c.b[d].p=g-5,e.k=0);break;case 3:case 6:4>g?0<c.b[d].p?\ne.k=2-g+c.b[d].p:0>c.b[d].p?e.k=2-g-c.b[d].p:e.k=4-g:(c.b[d].p=g-4,e.k=4-g+c.b[d].p);break;case 4:case 7:3>g?e.k=3-g+c.b[d].p:3==g?0>c.b[d].p?(c.b[d].p=0,e.k=0):0<c.b[d].p?e.k=c.b[d].p:e.k=0:(c.b[d].p=4==g?1:6==g?-1:g-5,e.k=0);break;case 5:2==g&&(0>c.b[d].p?(c.b[d].p=0,e.k=0):0<c.b[d].p?e.k=c.b[d].p:e.k=0);2<g&&(c.b[d].p=g-2);e.k=2-g+c.b[d].p;break;case 8:case 13:2>g?e.k=2-g+c.b[d].p:2==g?0>c.b[d].p?(c.b[d].p=0,e.k=0):0<c.b[d].p?e.k=c.b[d].p:e.k=0:3==g?2==c.b[d].n?(c.b[d].p=0,e.k=1):(c.b[d].p=1,e.k=\n0):4==g?(c.b[d].p=0,e.k=0):5==g?(c.b[d].p=0,e.k=1):(c.b[d].p=g-6,e.k=0);break;case 9:case 10:case 11:case 12:1<=g&&(c.b[d].p=g-1);e.k=1-g+c.b[d].p;2<g&&(c.b[d].p=0,e.k=0);break;case 33:case 32:e.k=0}f=JM(e.c);if(0<f)for(;e.p+e.k+g>f;)if(0<e.k)--e.k;else if(0<e.p)--e.p;else break;0>e.k&&(e.k=0)}}}function TM(){yW();zW(this);oq(this.b,0,new PQ);this.s=this.p=this.o=0;this.n=new CN}\nfunction wR(a,b,c){var d;yW();var e,f,g,h,j,l,n,q,r;QN.call(this,a,c);0==b.indexOf(Aa)&&(b=ks(b,1,b.length));js(b,Aa)&&(b=ks(b,0,b.length-1));if(1>b.length)this.o=0;else{try{n=new NL(b);j=qP(as(LL(n),10)).a;l=qP(as(LL(n),10)).a;for(h=1;h<=j;++h)r=LL(n),e=(d=DQ(this,null),mQ(this,this.o,r),d),e.s=(new Hr(uS(LL(n)))).a,e.u=-(new Hr(uS(LL(n)))).a;for(h=1;h<=l;++h){f=JW(this,null);f.j=qP(as(LL(n),10)).a;f.k=qP(as(LL(n),10)).a;g=qP(as(LL(n),10)).a;q=0;if(-1==g)q=g=1;else if(-2==g)g=1,q=2;else if(-5==g)g=\n2,q=10;else if(11==g||12==g||13==g||14==g)q=g,g=9;f.d=g;f.i=q}SW(this)}catch(t){t=No(t);if(E(t,102))throw a=t,a._d(),this.o=0,a;throw t;}DN(this,c.b);KW(this,c.a)}}function hX(a,b,c){yW();var d,e,f;QN.call(this,a,b.n);f=MO(b.o+1);for(d=1;d<=b.o;++d)b.b[d].o==c&&(DQ(this,b.b[d]),f[d]=this.o);for(d=1;d<=b.p;++d)a=b.c[d],a.f==c&&(e=JW(this,a),e.j=f[a.j],e.k=f[a.k]);uN(this,b.f);SW(this)}function QN(a,b){yW();iX.call(this,b);this.j=a}\nfunction NQ(a,b){yW();var c,d,e,f,g,h;QN.call(this,a,0<b.length&&b[0]?b[0].n:null);h=b.length;for(c=0;c<h;++c)this.o+=b[c].o,this.p+=b[c].p,this.s+=b[c].s,b[c].f.a&&uN(this,(vN(),vN(),wN));this.b=C(AW,o,120,this.o+1,0);this.c=C(BW,o,122,this.p+1,0);for(c=f=g=e=0;c<h;++c){for(d=1;d<=b[c].o;++d)++e,oq(this.b,e,b[c].b[d].Ai());for(d=1;d<=b[c].p;++d)++g,oq(this.c,g,b[c].c[d].Bi()),this.c[g].j+=f,this.c[g].k+=f;f=e}SW(this)}\nfunction gQ(a){yW();var b;zW(this);this.j=a.j;this.n=a.n;this.t=a.t;this.o=a.o;this.p=a.p;this.s=a.s;this.b=C(AW,o,120,this.o+1,0);for(b=0;b<this.b.length;++b)a.b[b]&&oq(this.b,b,a.b[b].Ai());this.c=C(BW,o,122,this.p+1,0);for(b=0;b<this.c.length;++b)a.c[b]&&oq(this.c,b,a.c[b].Bi());this.f=a.f}function iX(a){yW();TM.call(this);this.n=a}\nfunction XW(a,b,c){var d,e,f;if(0==c)return rQ(I(a),b);9.0E-4>(0>=a?0-a:a)&&(a=0);a=J(L(N(a*Math.pow(10,c))))/Math.pow(10,c);e=m+(new Hr(a)).a;d=Ir(e,Jr(46));0>d&&(e+=Sc,d=Ir(e,Jr(46)));f=e.length;for(a=1;a<=c-f+d+1;++a)e+=cd;if(0==b)return e;e.length>b&&(e=Xd);c=m;for(a=1;a<=b-e.length;++a)c+=ca;return c+e}function PP(a){yW();var b;b=new OL(a,ba,!0);if(4<HL(b))return ba;b=new OL(a,gm,!0);return 4<HL(b)?gm:null}\nfunction rQ(a,b){yW();var c,d,e;d=m+(new Ur(a)).a;d.length>b&&(d=Xd);e=m;for(c=1;c<=b-d.length;++c)e+=ca;return e+d}function tQ(a){yW();var b;0==a.c?b=new TM:b=new NQ((xq(0,a.c),a.b[0]).j,yq(a,C(OQ,o,130,a.c,0)));return b}function QP(a,b){yW();for(var c,d;a.j=IL(a,a.a),a.j<a.i;){d=LL(a);if(ds(d,b))return ca;for(LL(a);;)if(c=d.charCodeAt(d.length-1),124==c||10==c||13==c){if(d=ks(d,0,d.length-1),0==d.length)return ca}else break;return d}return null}x(737,713,{128:1,130:1},TM,wR,hX,QN,NQ,gQ,iX);\n_.Ti=function(){return IO(this)};_.Ui=function(){return ON(this)};_.Vi=function(){return PN(this)};_.Wi=function(a,b,c){0!=this.o&&qW(this,a,b,c)};_.Xi=function(a,b){KO(this,a,b)};_.a=null;_.d=null;_.i=!1;_.j=null;_.k=!1;_.n=null;_.o=0;_.p=0;_.q=0;_.r=!1;_.s=0;_.t=0;_.u=null;_.v=!1;_.w=0;_.x=0;_.y=0;_.z=null;_.A=0;_.B=0;\nfunction IW(a,b,c,d){var e,f,g,h,j;f=b.b[c].Ai();e=oQ(b,c,d);d=b.o;a.c=b.b[d].s;a.d=b.b[d].u;g=b.b[c].s-a.c;h=b.b[c].u-a.d;j=Math.sqrt(g*g+h*h);a.b=h/j;a.a=g/j;OM(b,d);b.b[c].k=f.k;b.b[c].n=f.n;b.b[c].p=f.p;return e}function LW(a,b,c,d,e,f){var g,h,j;g=c;for(;g<=d;++g)c=b.b[g],cT(c,-a.c,-a.d),h=c.s*a.a+c.u*a.b,j=c.u*a.a-c.s*a.b,c.s=h,c.u=j,h=-c.s*f.a+c.u*f.b,j=-c.u*f.a-c.s*f.b,c.s=h,c.u=j,cT(c,b.b[e].s,b.b[e].u)}function HW(){}x(738,1,{},HW);_.a=0;_.b=0;_.c=0;_.d=0;\nfunction nR(){nR=y;oR=z(B,v,-1,[1,2,3])}var oR;function lR(a){var b,c,d;if(1>=a.o)return a;b=uO(a,m,!0);d=a;c=new rs;if(Yr(new os,c,new eL(new jL(b)))){b=!0;try{Ms(new ft,c)}catch(e){if(e=No(e),E(e,102))b=!1,d=null;else throw e;}if(b)if(c.o==a.o){for(b=0;b<c.o;++b)EQ(a,b+1,c.D[b].a,c.D[b].b);iR(a)}else c=new Nr(c),c=c.a.a.a,d=dX(new QN(a.j,a.n),c),d.f=a.f,iR(d)}return d}\nfunction sQ(a,b){var c;if(b.f){var d,e,f,g,h,j,l;l=VW(a,b.e,b.j,!0);l+="M  V30 BEGIN CTAB"+(wM(),ba);l+="M  V30 COUNTS "+a.o+ca+a.p+" 0 0 "+(a.f.a&&nP(a)?1:0)+ba;l+="M  V30 BEGIN ATOM\\n";WW(a);for(c=1;c<=a.o;++c)l+=Zf,d=UW(a,c),l+=c+ca+d,d=JS(a,c),l+=ca+XW(a.b[c].t,0,4)+ca+XW(a.b[c].v,0,4)+ca+XW(0,0,4)+ca+d,0!=a.b[c].p&&(l+=" CHG="+a.b[c].p),0<a.b[c].f&&(l+=" MASS="+a.b[c].f),d=YW(a,c),0!=d&&(l+=" VAL="+d),l+=ba;l+="M  V30 END ATOM\\nM  V30 BEGIN BOND\\n";for(c=1;c<=a.p;++c)l+=Zf+c+ca+ZW(a.c[c],!0)+\nba;l+="M  V30 END BOND\\n";d=new Yp;j=new Yp;g=new Yp;for(c=0;10>c;++c)oq(j.b,j.c++,null),oq(g.b,g.c++,null);for(c=1;c<=a.o;++c)e=a.b[c].d,null==e||0==e.length||(ds(e,zh)?bq(d,new Ur(c)):0==e.indexOf("mix")?(e=as(gs(e,3),10),h=null,g.c>e&&(h=(xq(e,g.c),g.b[e])),null==h?f=new Yp:f=h,bq(f,new Ur(c)),Vs(g,e,f)):0==e.indexOf(vk)&&(e=as(gs(e,2),10),h=null,j.c>e&&(h=(xq(e,j.c),j.b[e])),null==h?f=new Yp:f=h,bq(f,new Ur(c)),Vs(j,e,f)));l+=GW($f,d);if(0<j.c)for(c=1;c<j.c;++c)l+=GW(bg+c,(xq(c,j.c),j.b[c]));\nif(0<g.c)for(c=1;c<g.c;++c)l+=GW(ag+c,(xq(c,g.c),g.b[c]));c=l=l+"M  V30 END CTAB\\n"+Qf}else c=uO(a,b.e,b.j);return c}function gR(a){var b,c;b=new OP;for(c=new gq(a);c.b<c.d.xg();)a=hq(c),bq(b,new gQ(a));return b}function AN(a,b){var c,d,e;d=-2147483648;for(e=new gq(a);e.b<e.d.xg();)if(c=hq(e),-1==b||c.t==b)c=oP(c),c>d&&(d=c);return d}\nfunction WP(a,b){var c,d,e;e=m;if(a.a)e=WP(qQ(a,1,!1),b)+Wd+WP(qQ(a,2,!1),b)+Wd+WP(qQ(a,3,!1),b);else for(d=new gq(a);d.b<d.d.xg();){c=hq(d);var f=b,g=void 0,h=void 0,j=g=void 0,l=void 0,n=h=h=void 0,q=void 0,r=void 0,g=void 0,q=m+c.o+ca+c.p;WW(c);for(l=1;l<=c.o;++l){g=c.b[l];h=g.f;g=m;0!=h&&(g+=h);g+=UW(c,l);if((f||0<YW(c,l))&&0<c.b[l].k)g+=vf,1<c.b[l].k&&(g+=c.b[l].k);0!=c.b[l].p&&(0<c.b[l].p?g+=Sb:g+=hc,1<ir(c.b[l].p)&&(g+=ir(c.b[l].p)));h=JS(c,l);0!=h&&(g+=Fd+h);q+=ca+g+ca+XW(c.b[l].t,0,2)+ca+\nXW(c.b[l].v,0,2)}for(l=1;l<=c.p;++l)g=c.c[l].j,h=c.c[l].k,n=c.c[l].d,r=c.c[l].i,1==r?n=-1:2==r?n=-2:3==r?(n=-1,j=g,g=h,h=j):4==r?(n=-2,j=g,g=h,h=j):10==r&&(n=-5),9==c.c[l].d&&(n=r),q+=ca+g+ca+h+ca+n;c=q;0<c.length&&(0<e.length&&(e+=gm),e+=c)}return e}\nfunction MM(a,b){var c,d,e,f;e=m;if(a.a)e=MM(qQ(a,1,!1),b)+Wd+MM(qQ(a,2,!1),b)+Wd+MM(qQ(a,3,!1),b);else for(d=new gq(a);d.b<d.d.xg();){c=hq(d);for(var g=b,h=void 0,j=void 0,l=void 0,n=void 0,q=void 0,n=m,r=h=new gQ(c),t=void 0,A=void 0,u=void 0,t=UO(r,0),u=C(OQ,o,130,t,0),A=1;A<=t;++A)u[A-1]=new hX(r.j,r,A);l=u;for(j=0;j<l.length;++j){var w=l[j],F=g,H=void 0,s=void 0,Q=void 0,da=void 0,Y=void 0,W=void 0,ja=void 0,vb=void 0,Ua=void 0,db=void 0,M=void 0,yb=void 0,ua=void 0,P=void 0,Ca=void 0,mb=void 0,\nva=void 0,hb=void 0,R=void 0,Uc=void 0,ra=void 0,qb=void 0,ib=void 0,bb=void 0,$a=void 0,eb=void 0,La=void 0,ma=void 0,V=void 0,Fb=void 0,Tb=void 0;if(0==w.o)q=m;else{!F&&(F=new ZR);w.u=F;yb=MO(w.o+10);ua=MO(w.o+10);db=MO(w.o+1);M=MO(7);eb=MO(w.o+1);Ca=[];mb=[];Ua=MO(w.p+1);ib=0;$a=!0;for(vb=1;vb<=w.p;++vb)if(9==w.c[vb].d||0==w.c[vb].d){$a=!1;break}if(w.u.b&&$a){var ea=w,Lc=void 0,Lc=(new CN).b;Lc.c=!F.d;Lc.d=!0;Lc.e=!1;DN(ea,Lc);RW(w,F.c);cX(w,Ua);aX(w,Ca,Ua);var G=w,S=void 0,Lb=void 0,Gb=void 0,\nMc=void 0,Ub=void 0,ka=void 0,nb=void 0,Hb=void 0,ya=void 0,ob=void 0,Nc=void 0,O=void 0,Ka=void 0,qc=void 0,yc=void 0,wb=void 0,Ib=void 0,xb=void 0,bc=void 0,rb=void 0,cc=void 0,ab=void 0,S=MO(G.o+1),Lb=MO(G.o+1),Hb=MO(G.o+1);var K=G.o,Vb=void 0,Oc=void 0,Vc=void 0,ec=void 0,zc=void 0,Wb=void 0,zb=void 0,zc=MO(K+2),Wb=MO(100),zb=5,ec=0;Wb[0]=3;zc[1]=lm;zc[2]=mm;Vc=2;if(!(3>K))for(;zb<Wb[ec]*Wb[ec];){Oc=0;for(Vb=!0;Vb&&Oc<=ec&&zb>=Wb[Oc]*Wb[Oc];)0==zb%Wb[Oc]?Vb=!1:++Oc;if(Vb){zc[++Vc]=Vo(zb);if(Vc>=\nK)break;ec<Wb.length-1&&(++ec,Wb[ec]=zb)}zb+=2}for(O=1;O<=G.o;++O){Gb=G.b[O];for(Ka=rb=1;Ka<=G.p;++Ka)(G.c[Ka].j==O||G.c[Ka].k==O)&&(rb*=G.d[Ka]);bc=G.b[O].c;32==bc&&(ab=G.b[O].i,null!=ab&&0<ab.length&&(ka=ab.charCodeAt(0)-65+1,nb=0,1<ab.length&&(nb=ab.charCodeAt(1)-97),0>ka&&(ka=0),0>nb&&(nb=0),bc=28*ka+nb));Ib=0;0!=G.b[O].p&&(-2>G.b[O].p?Ib=1:-2==G.b[O].p?Ib=2:-1==G.b[O].p?Ib=3:1==G.b[O].p?Ib=4:2==G.b[O].p?Ib=5:2<G.b[O].p&&(Ib=6));ob=0;0!=Gb.f&&(ob=wV(UW(G,O),Gb.f),0>ob&&(ob=10-ob));cc=126;ya=rb;\nya+=126*G.b[O].k;cc*=7;ya+=Ib*cc;cc*=7;0!=ob&&(ya+=ob*cc);cc*=7;ya+=bc*cc;cc*=783;ya+=G.b[O].n*cc;Hb[O]=Vo(ya)}for(Ub=0;!PW(G,S,Hb);){wb=!1;for(O=1;O<=G.o;++O)S[O]!=Lb[O]&&(Lb[O]=S[O],wb=!0);if(wb){for(O=1;O<=G.o;++O){Hb[O]=km;for(Ka=1;Ka<=G.b[O].n;++Ka)Hb[O]=bD(Hb[O],zc[S[G.b[O].r[Ka]]])}Ub=0}else if(0<Ub){for(O=1;O<=G.o;++O)Hb[O]=km;O=1;b:for(;O<=G.o-1;++O)for(Ka=O+1;Ka<=G.o;++Ka)if(S[O]==S[Ka]){Hb[O]=lm;break b}}else{for(O=1;O<=G.o;++O){Hb[O]=km;for(Ka=1;Ka<=G.b[O].n;++Ka)Gb=G.b[O].r[Ka],Hb[O]=\nbD(Hb[O],Vo(G.b[Gb].c*G.d[QQ(G,O,Gb)]))}Ub=1}PW(G,S,Hb);for(O=1;O<=G.o;++O)Hb[O]=Vo(Lb[O]*G.o+S[O])}for(O=1;O<=G.o;++O)Lb[O]=S[O];for(xb=1;xb<=G.o;++xb)for(O=1;O<=G.o;++O)if(Lb[O]==xb){var rc=G.b,dd=O,oa=void 0,oa=rc[xb];oq(rc,xb,rc[dd]);oq(rc,dd,oa);Lb[O]=Lb[xb];Lb[xb]=xb;break}for(O=1;O<=G.p;++O)G.c[O].j=S[G.c[O].j],G.c[O].k=S[G.c[O].k],G.c[O].j>G.c[O].k&&(Nc=G.c[O].j,G.c[O].j=G.c[O].k,G.c[O].k=Nc,1==G.c[O].i?G.c[O].i=3:2==G.c[O].i?G.c[O].i=4:3==G.c[O].i?G.c[O].i=1:4==G.c[O].i&&(G.c[O].i=2));for(O=\n1;O<G.p;++O){yc=qc=G.o;Mc=0;for(Ka=O;Ka<=G.p;++Ka)G.c[Ka].j<qc?(qc=G.c[Ka].j,yc=G.c[Ka].k,Mc=Ka):G.c[Ka].j==qc&&G.c[Ka].k<yc&&(yc=G.c[Ka].k,Mc=Ka);var Xb=G.c,xd=O,Ac=void 0,Ac=Xb[Mc];oq(Xb,Mc,Xb[xd]);oq(Xb,xd,Ac)}KW(G,G.n.a);QW(w);cX(w,Ua);aX(w,Ca,Ua)}else{cX(w,Ua);w.d=MO(w.p+1);for(P=1;P<=w.p;++P)w.d[P]=w.c[P].d}for(vb=1;vb<=w.p;++vb)mb[vb]=0<Ua[vb];s=1;w.a=MO(w.o+1);Tb=1;w.a[1]=1;for(ra=0;;){qb=0;for(P=1;P<=w.b[s].n;++P)if(W=w.b[s].r[P],0<w.a[W]){if(!(w.a[W]>w.a[s])&&W!=eb[s]){bb=!0;for(hb=1;hb<=\nib;++hb)if(yb[hb]==s&&ua[hb]==W||yb[hb]==W&&ua[hb]==s){bb=!1;break}bb&&(++ib,yb[ib]=s,ua[ib]=W)}}else M[++qb]=W;if(0==qb){if(Tb==w.o)break;s=db[ra--]}else if(1==qb)eb[M[1]]=s,s=M[1],w.a[s]=++Tb;else{db[++ra]=s;da=0;for(P=1;P<=qb;++P)if(vb=QQ(w,M[P],s),!mb[vb]){da=M[P];break}if(0==da)for(P=1;P<=qb;++P)if(vb=QQ(w,M[P],s),2==w.d[vb]||3==w.d[vb]){da=M[P];break}0==da&&(da=M[1]);eb[da]=s;s=da;w.a[da]=++Tb}}eb=MO(w.o+1);H=MO(w.o+1);R=[];La=[];Y=Tb=ra=0;for(P=1;P<=w.o;++P)if(1==w.a[P]){s=P;break}b:for(;;){0<\nY&&(eb[s]=Y);H[++Tb]=s;for(w.a[s]=0;;){qb=da=0;Uc=w.o+1;P=1;c:for(;P<=w.b[s].n;++P){W=w.b[s].r[P];for(va=1;va<=ib;++va)if(yb[va]==W&&ua[va]==s||yb[va]==s&&ua[va]==W)continue c;0<w.a[W]&&(++qb,w.a[W]<Uc&&(da=W,Uc=w.a[W]))}if(0==da){if(0==ra)break b;La[s]=!0;s=db[ra--]}else break}Y=s;s=da;1<qb&&(db[++ra]=Y,R[da]=!0)}ma=MO(w.p+1);V=MO(w.o+1);if(w.u.d){for(var Ga=w,sc=H,Pc=eb,pb=ma,lc=V,jb=Ua,le=yb,Cd=ua,Yc=ib,fc=void 0,yd=void 0,mc=void 0,gc=void 0,Hc=void 0,lf=void 0,ed=void 0,fb=void 0,md=void 0,Qc=\nvoid 0,gc=MO(Ga.o+1),fc=1;fc<=Ga.o;++fc)gc[sc[fc]]=fc;lf=[];for(fb=1;fb<=Ga.o;++fb)yd=sc[fb],mc=Pc[yd],Hc=QQ(Ga,yd,mc),0!=Hc&&(fX(Ga,Hc,gc,pb,jb),lf[Hc]=!0);for(fb=1;fb<=Ga.p;++fb)lf[fb]||fX(Ga,fb,gc,pb,jb);fc=1;b:for(;fc<=Ga.o;++fc)if(!(2>Ga.b[fc].n||4<Ga.b[fc].n)){ed=Qc=0;for(md=1;md<=Ga.b[fc].n;++md){Hc=QQ(Ga,fc,Ga.b[fc].r[md]);if(5==Ga.d[Hc])continue b;1==Ga.c[Hc].d&&0!=gX(Ga,Hc,fc)&&++Qc;2==Ga.c[Hc].d&&(ed=Ga.b[fc].r[md])}if(0!=Qc)if(0<ed){var Ha=Ga,fd=gc,Zc=lc,we=void 0,Ea=void 0,tc=void 0,\nYb=void 0,Ie=void 0,Jb=void 0,nd=void 0,mf=void 0,Kd=void 0,ae=void 0,We=void 0,me=void 0,Je=void 0,gd=void 0,ne=void 0,hd=void 0,be=void 0,ce=void 0,Tf=void 0,nf=void 0,Lg=void 0,od=void 0,oe=void 0,Wc=void 0,tc=bX(Ha,fc),ae=tc[0];if(0!=ae%2&&(Wc=tc[1],Ea=tc[~~((ae+1)/2)],nd=tc[ae],!(2>Ha.b[nd].n||3<Ha.b[nd].n))){nf=ce=gd=me=0;od=hd=!1;for(Kd=1;Kd<=Ha.b[Wc].n;++Kd)we=Ha.b[Wc].r[Kd],we!=tc[2]&&(0==me?me=we:gd=we);0<fd[gd]&&fd[me]>fd[gd]&&(Yb=me,me=gd,gd=Yb);We=me;0==me&&(We=gd,hd=!0);for(mf=1;mf<=\nHa.b[nd].n;++mf)we=Ha.b[nd].r[mf],we!=tc[ae-1]&&(0==ce?ce=we:nf=we);0<fd[nf]&&fd[ce]>fd[nf]&&(Yb=ce,ce=nf,nf=Yb);be=ce;0==ce&&(be=nf,od=!0);Je=0<me?gX(Ha,QQ(Ha,Wc,me),Wc):0;ne=0<gd?gX(Ha,QQ(Ha,Wc,gd),Wc):0;Tf=0<ce?gX(Ha,QQ(Ha,nd,ce),nd):0;Lg=0<nf?gX(Ha,QQ(Ha,nd,nf),nd):0;1<(0>Je+ne?-(Je+ne):Je+ne)||0!=Tf||0!=Lg?yN(Ha.j,"Bad stereoinfo on allene !"):(Ie=Ha.b[tc[ae-1]].s-Ha.b[nd].s,Jb=Ha.b[tc[ae-1]].u-Ha.b[nd].u,oe=Math.sqrt(Ie*Ie+Jb*Jb),0.001>oe&&(oe=0.001),0<(Ha.b[be].u-Ha.b[tc[ae-1]].u)*(Ie/oe)-\n(Ha.b[be].s-Ha.b[tc[ae-1]].s)*(Jb/oe)?Zc[Ea]=1:Zc[Ea]=-1,hd&&(Zc[Ea]*=-1),od&&(Zc[Ea]*=-1),We==me&&0>Je&&(Zc[Ea]*=-1),We==gd&&0>ne&&(Zc[Ea]*=-1),fd[We]>fd[be]&&(Zc[Ea]*=-1))}}else c:{var Pb=Ga,Ld=fc,hh=lc,ih=void 0,Md=void 0,qg=void 0,Nd=void 0,Xa=void 0,Ke=void 0,zd=void 0,de=void 0,Od=void 0,Dd=void 0,sb=void 0,pd=void 0,Xe=void 0,Qh=void 0,Rc=void 0,Qb=void 0,pe=void 0,pd=MO(4),Qh=MO(4),qd=Pb,Ec=Ld,Mg=gc,yf=Pc,Ng=le,jh=Cd,Le=Yc,rd=pd,Uf=void 0,Sd=void 0,Vf=void 0,Zb=void 0,kh=void 0,Og=void 0,\nOg=-1;0<yf[Ec]&&(rd[++Og]=yf[Ec]);for(Sd=1;Sd<=Le;++Sd)Ng[Sd]==Ec&&(rd[++Og]=jh[Sd]),jh[Sd]==Ec&&(rd[++Og]=Ng[Sd]);for(Sd=Og+1;Sd<qd.b[Ec].n;++Sd){kh=qd.o+1;Vf=1;d:for(;Vf<=qd.b[Ec].n;++Vf){Uf=qd.b[Ec].r[Vf];for(Zb=0;Zb<Sd;++Zb)if(Uf==rd[Zb])continue d;Mg[Uf]<kh&&(kh=Mg[Uf],rd[Sd]=Uf)}}0==yf[Ec]&&0<qd.b[Ec].k?(rd[3]=rd[2],rd[2]=rd[1],rd[1]=rd[0],rd[0]=-1):0<qd.b[Ec].k&&(rd[3]=rd[2],rd[2]=rd[1],rd[1]=-1);for(Xa=de=Ke=Nd=pe=zd=Dd=0;4>Xa;++Xa)0>=pd[Xa]||(ih=QQ(Pb,Ld,pd[Xa]),Qh[Xa]=gX(Pb,ih,Ld),0<Qh[Xa]?\n(++Dd,pe=pd[Xa],Ke=pd[Xa]):0>Qh[Xa]?(++zd,Nd=pd[Xa],Ke=pd[Xa]):de=pd[Xa]);Od=Dd+zd;Qb=MO(4);Rc=0;if(3==Pb.b[Ld].n){if(1==Dd&&1==zd||3==Od&&0<Dd&&0<zd){yN(Pb.j,"Error in C3H stereospecification !");break c}Xe=pd[0];1==Od?Xe=Ke:2==Od&&(Xe=de);sb=CW(Pb,Ld,Xe,pd);Qb[0]=Ke;Qb[1]=-1;Qb[2]=sb[2];Qb[3]=sb[1];0<Dd?Rc=1:Rc=-1}else if(4==Pb.b[Ld].n)if(1==Od)sb=CW(Pb,Ld,Ke,pd),Qb[0]=sb[0],Qb[1]=sb[3],Qb[2]=sb[2],Qb[3]=sb[1],0<Dd?Rc=1:Rc=-1;else{Xe=pd[0];1<de&&(Xe=de);1==Dd?Xe=pe:1==zd&&(Xe=Nd);sb=CW(Pb,Ld,Xe,\npd);Md=MO(4);for(Xa=0;4>Xa;++Xa)ih=QQ(Pb,Ld,sb[Xa]),Md[Xa]=gX(Pb,ih,Ld);if(4==Od){if(0==Dd||0==zd){yN(Pb.j,"Error in C4 stereospecification !");break c}if(1==Dd||1==zd)Qb[0]=sb[0],Qb[1]=sb[3],Qb[2]=sb[2],Qb[3]=sb[1],Rc=Md[0];else{for(Xa=0;4>Xa;++Xa)-1==Md[Xa]&&(Md[Xa]=0);Od=2}}else if(3==Od)if(3==Dd||3==zd)Qb[0]=sb[0],Qb[1]=sb[3],Qb[2]=sb[2],Qb[3]=sb[1],0<Dd?Rc=-1:Rc=1;else{1==Dd?Dd=qg=1:zd=qg=-1;for(Xa=0;4>Xa;++Xa)Md[Xa]==qg&&(Md[Xa]=0);Od=2}if(2==Od)if(1==Dd&&1==zd)sb[1]==Nd?(sb[1]=sb[2],sb[2]=\nsb[3]):sb[2]==Nd&&(sb[2]=sb[3]),Qb[0]=pe,Qb[1]=Nd,Qb[2]=sb[2],Qb[3]=sb[1],Rc=1;else{if(Md[0]==Md[1]||Md[1]==Md[2]){yN(Pb.j,"Error in C4 stereospecification ! 2/0r");break c}0!=Md[0]?(Qb[0]=sb[0],Qb[1]=sb[2],Qb[2]=sb[1],Qb[3]=sb[3]):(Qb[0]=sb[1],Qb[1]=sb[3],Qb[2]=sb[2],Qb[3]=sb[0]);1<Dd?Rc=1:Rc=-1}}var Pa=Qb,Rh=pd,$c=void 0;Rh[0]==Pa[1]?($c=Pa[0],Pa[0]=Pa[1],Pa[1]=$c,$c=Pa[2],Pa[2]=Pa[3],Pa[3]=$c):Rh[0]==Pa[2]?($c=Pa[2],Pa[2]=Pa[0],Pa[0]=$c,$c=Pa[1],Pa[1]=Pa[3],Pa[3]=$c):Rh[0]==Pa[3]&&($c=Pa[3],Pa[3]=\nPa[0],Pa[0]=$c,$c=Pa[1],Pa[1]=Pa[2],Pa[2]=$c);Rh[1]==Pa[2]?($c=Pa[1],Pa[1]=Pa[2],Pa[2]=$c,$c=Pa[2],Pa[2]=Pa[3],Pa[3]=$c):Rh[1]==Pa[3]&&($c=Pa[1],Pa[1]=Pa[3],Pa[3]=$c,$c=Pa[2],Pa[2]=Pa[3],Pa[3]=$c);Qb[2]==pd[2]?hh[Ld]=1:Qb[2]==pd[3]?hh[Ld]=-1:yN(Pb.j,"Error in stereoprocessing ! - t30");hh[Ld]*=Rc}}}Fb=new gU;ja=MO(w.o+1);for(P=1;P<=w.o;++P)ja[H[P]]=P;for(P=1;P<=w.o;++P){s=H[P];R[s]&&(Fb.a.a+=Nb);0<eb[P]&&eX(w,s,eb[s],Fb,ma);var Ad=s,qe=Fb,tb=Ca[s],ee=V,xe=void 0,Pg=void 0,sd=void 0,rg=void 0,Wf=void 0,\nIa=void 0,zf=void 0,fe=void 0,ia=void 0,ia=fh,Pg=w.b[Ad],Wf=Pg.f,zf=Pg.k,fe=Pg.p,xe=Pg.c,sd=!1;(0!=fe||0!=Wf)&&(sd=!0);0!=ee[Ad]&&(sd=!0);Ia=JS(w,Ad);rg=0!=Ia;sd=sd||rg;w.n.e&&0<w.b[Ad].x[0]&&(sd=!0);switch(xe){case 2:ia=ye;break;case 3:tb?ia=di:ia=Fe;break;case 4:tb?(ia=fk,0<zf&&(sd=!0)):ia=eg;break;case 5:tb?ia="o":ia=lg;break;case 7:tb?(ia=yk,0<zf&&(sd=!0)):ia=ng;break;case 8:tb?ia=bl:ia=Jg;break;case 13:tb?ia=gl:ia=Tg;sd=!0;break;case 6:ia=Wg;sd=!0;break;case 9:ia=kf;break;case 10:ia=Te;break;\ncase 11:ia=Ee;break;case 12:ia=Bf;break;case 1:ia=vf;sd=!0;break;case 32:sd=!0,ia=w.b[Ad].i,null==ia&&(ia=fh),!rg&&(ds(ia,Rb)||ds(ia,yh)||ds(ia,$d))&&(sd=!1)}0<JM(xe)&&(ia=(wM(),BM)[xe],sd=!0);33<=xe&&42>=xe&&(sd=!0,ia=(wM(),BM)[xe]);sd&&(0!=Wf?ia=nh+Wf+ia:ia=nh+ia,1==ee[Ad]?ia+=Zd:-1==ee[Ad]&&(ia+="@@"),1==zf?ia+=vf:1<zf&&(ia+=vf+zf),0!=fe&&(0<fe?ia+=Sb:ia+=hc,1<(0>fe?-fe:fe)&&(ia+=0>fe?-fe:fe)),rg&&(ia+=Fd+Ia),ia+=vh);jw(qe.a,ia);for(va=1;va<=ib;++va)if(yb[va]==s||ua[va]==s)Q=ua[va],Q==s&&(Q=yb[va]),\nja[s]<ja[Q]&&eX(w,yb[va],ua[va],Fb,ma),9<va&&(Fb.a.a+=Bb),Lr(Fb,m+(new Ur(va)).a);La[s]&&(Fb.a.a+=Ob)}q=Fb.a.a}0<n.length&&(n+=Sc);n+=q}f=n;0<f.length&&(0<e.length&&(e+=Sc),e+=f)}return e}function SP(a){var b;for(b=new gq(a);b.b<b.d.xg();)if(a=hq(b),0<a.o)return!1;return!0}\nfunction jR(a){var b,c,d,e,f,g,h,j;a:{if(!(1>a.p))for(h=1;h<=a.p;++h)if(j=a.c[h],4==j.d||5==j.d||9==j.d){h=!0;break a}h=!1}if(!h)return a;c=uO(a,m,!0);j=new gQ(a);h=new rs;if(Yr(new os,h,new eL(new jL(c)))){if(!(h.o==a.o&&h.p==a.p))return null;c=!0;try{b=new jo(h),Wn(b,null)}catch(l){if(l=No(l),E(l,102))c=!1,j=null;else throw l;}if(c)for(d=0;d<h.p;++d){e=fo(h,d);b=h.y[0][d];c=h.y[1][d];f=h.q[b];g=h.q[c];++b;++c;if(a.b[b].p!=f||a.b[c].p!=g)return null;f=j.c[d+1];if(b==f.j&&c==f.k||c==f.j&&b==f.k)f.d=\ne;else return null}}return j}function qQ(a,b,c){var d,e;e=new OP;for(d=new gq(a);d.b<d.d.xg();)a=hq(d),0<a.o&&a.t==b&&oq(e.b,e.c++,a);c&&1<e.c&&(c=tQ(e),c.t=b,e=new OP,oq(e.b,e.c++,c));return e}function RP(a,b,c){var d;try{d=dX(new iX(c),b)}catch(e){e=No(e);if(E(e,102))return!1;throw e;}oq(a.b,a.c++,d);return!0}function NS(a){var b;for(b=new gq(a);b.b<b.d.xg();)a=hq(b),a.w=a.x=0}\nfunction SM(a){var b,c,d,e,f,g,h;e=new OP;b=!1;for(d=new gq(a);d.b<d.d.xg();)if(c=hq(d),g=UO(c,0),f=c.j,1==g)oq(e.b,e.c++,c);else{if(0!=g)for(h=1;h<=g;++h)b=new hX(f,c,h),b.t=c.t,oq(e.b,e.c++,b);b=!0}if(b){a.b=C(iL,o,0,0,0);a.c=0;for(d=new gq(e);d.b<d.d.xg();)c=hq(d),oq(a.b,a.c++,c)}}function OP(){BU(this)}x(740,662,wn,OP);_.a=!1;function CN(){this.b=new jX;this.a=!0;this.c=this.e=!1;this.d=!0}x(741,1,{},CN);_.a=!1;_.b=null;_.c=!1;_.d=!1;_.e=!1;\nfunction jX(){this.e=this.d=!1;this.f=this.a=this.b=this.c=!0}x(742,1,{},jX);_.a=!1;_.b=!1;_.c=!1;_.d=!1;_.e=!1;_.f=!1;function kQ(){kQ=y;lQ=new uK(vf)}var lQ;function iO(){iO=y;kX=new ZI(1);ds((kL(),lL[qj]),Kf)?X=30:X=1}function gO(a,b,c,d,e){$O(a.a,J(L(N(b*X))),J(L(N(c*X))),J(L(N(d*X))),J(L(N(e*X))),J(L(Math.round(-35))),J(L(Math.round(-110))))}function jO(a,b,c,d,e){kO(a.a,J(L(N(b*X))),J(L(N(c*X))),J(L(N(d*X))),J(L(N(e*X))))}\nfunction TO(a,b,c,d){var e,f,g;f=C(B,v,-1,d,1);g=C(B,v,-1,d,1);for(e=0;e<d;++e)f[e]=J(L(N(b[e]*X))),g[e]=J(L(N(c[e]*X)));a=a.a;a.n&&(dO(a,!1),eO(a,lX(a,f,g,d,2<d)))}function $N(a,b,c,d,e){lO(a.a,J(L(N(b*X))),J(L(N(c*X))),J(L(N(d*X))),J(L(N(e*X))))}function SO(a,b,c,d){QO(a.a,b,J(L(N(c*X))),J(L(N(d*X))))}\nfunction aO(a,b,c,d,e,f){var g,h;g=a.a.e;f?(h=sJ(g),f=new Ln(I(0.7*(~~g.d>>16&255)),I(0.7*(~~g.d>>8&255)),I(0.7*(g.d&255))),pO(a.a,g)):(h=new Ln(I(0.7*(~~g.d>>16&255)),I(0.7*(~~g.d>>8&255)),I(0.7*(g.d&255))),f=sJ(g),pO(a.a,h));g=J(L(N(X)));d=J(L(N(d*X)));e=J(L(N(e*X)));b=J(L(N(b*X)));c=J(L(N(c*X)));d-=g;e-=g;hO(a.a,b+g,c+g,d-g,e-g);pO(a.a,h);hO(a.a,b,c,d,g);hO(a.a,b,c+g,g,e);pO(a.a,f);hO(a.a,b+d,c,g,e+g);hO(a.a,b+1,c+e,d,g)}\nfunction cO(a,b,c,d,e){a=a.a;b=J(L(N(b*X)));c=J(L(N(c*X)));d=J(L(N(d*X)));e=J(L(N(e*X)));dO(a,!0);eO(a,fO(a,b,c,d,e))}function nO(a,b,c,d){var e,f,g;f=C(B,v,-1,d,1);g=C(B,v,-1,d,1);for(e=0;e<d;++e)f[e]=J(L(N(b[e]*X))),g[e]=J(L(N(c[e]*X)));a=a.a;dO(a,!0);eO(a,lX(a,f,g,d,2<d))}function ZN(a,b,c,d,e){hO(a.a,J(L(N(b*X))),J(L(N(c*X))),J(L(N(d*X))),J(L(N(e*X))))}function YN(a,b){!a.b?pO(a.a,b):b==a.c||uJ(b,a.c)?pO(a.a,a.c):pO(a.a,a.b)}function OO(a,b){a.e=new PJ(b.a,b.c,Math.round(b.b*X));HR(a.a,a.e)}\nfunction mX(a){iO();this.j=new WK;this.a=a;1<X&&(this.d=new ZI(X*kX.e),FO(this.a,this.d))}x(744,1,{},mX);_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;_.i=1;var kX,X=0;function WN(a){this.a=a;this.b=new mX(a.a)}x(745,1,{},WN);_.a=null;_.b=null;function KR(a){iK(a.c,a.d-a.a/2,a.e+a.a/4/2,a.a,a.a/4);return a.c}function XR(){this.i=new TK;this.k=new TK;this.b=new TK;this.j=z(nX,o,80,[this.i,this.k,this.b]);this.c=new hP;this.a=72}x(747,713,Pm,XR);_.Ti=function(){return KR(this)};_.Ui=yJ;\n_.Vi=YK;_.Xi=function(a,b){this.f=!0;this.d+=a;this.e+=b};_.a=48;_.c=null;_.d=0;_.e=0;_.f=!1;function aQ(a){return a.a<a.c-1?(++a.a,io(a,a.a)):null}function $P(a){return 0<a.a?(--a.a,io(a,a.a)):null}function aS(){BU(this)}x(748,662,wn,aS);_.$g=function(){this.a=-1;this.b=C(iL,o,0,0,0);this.c=0};_.a=-1;function ZR(){}x(750,1,{},ZR);_.a=!0;_.b=!0;_.c=!1;_.d=!0;\nfunction hN(a,b){var c;a.a=b;var d,e;d=null;if(e=c=(e=AK().a.rj(a),null!=e?new PK(e):null))e=(DK(),GK),e=HK(e,(DK(),GK))||HK(e,EK);if(e)try{d=MK(c)}catch(f){if(f=No(f),E(f,75))is(f);else if(E(f,85))is(f);else throw f;}c=d;null!=c&&dR(b,c)}function aN(a){var a=new PK(a),b=AK(),c,d;try{c=MK(a),d=sw(c)?c.tS():ww(c),b.a.sj(d)}catch(e){if(e=No(e),E(e,75))is(e);else if(E(e,85))is(e);else throw e;}}function bS(){}x(751,1,Jm,bS);_.dg=function(a){dR(this.a,a.a)};_.a=null;\nfunction eP(a){a.c=null;a.a=0;a.b=0}function OR(){}x(752,1,{},OR);_.a=0;_.b=0;_.c=null;function zS(){YF();ZF.call(this)}x(754,405,Im,zS);\nfunction $H(){var a;$H=y;YF();oX=(a=!1,rk in $wnd||rk in $doc.documentElement?a=!0:$wnd.navigator.msPointerEnabled&&-1!==navigator.userAgent.toLowerCase().indexOf("touch")&&(a=!0),a);pX=-1!=$wnd.navigator.userAgent.indexOf("Windows NT");qX=oX&!pX;var b;a=z(B,v,-1,[8,8,127,46,1005,40,1001,35,10,13,27,27,1E3,36,1006,37,1003,34,1002,33,1007,39,1,16,9,9,1004,38]);rX=C(B,v,-1,1E3,1);for(b=0;b<rX.length;++b)rX[b]=-999;for(b=0;b<a.length;b+=2)rX[a[b+1]]=a[b]}\nfunction wS(a){try{console.log("AppletViewer:"+a)}catch(b){}}function JI(a,b,c){var d;d=new sX;vE(d.t,b,c);cF(a.i,d.t,0,0);bq(a.b,d);return d}function UQ(){return!0===$doc.webkitIsFullScreen||$doc.msFullscreenElement||!0===$doc.mozFullScreen}function OI(a){var b;b=xx(a.lb,pk);0==b&&(b=parseInt(a.lb.style[jj])||0);return b}function sS(a,b){return!a.f?null:b in a.f?a.f[b]:null}function NI(a){var b;b=xx(a.lb,qk);0==b&&(b=parseInt(a.lb.style[cm])||0);return b}\nfunction tX(a,b){b.addEventListener(Ek,function(b){a._i(b)});b.addEventListener("copy",function(b){var d=a.Zi(b);b.clipboardData.setData(El,d)});b.addEventListener("cut",function(b){var d=a.$i(b);b.clipboardData.setData(El,d)})}function UR(a){var b;for(b=new gq(a.p);b.b<b.d.xg();)a=hq(b),a.Cg()}function jS(a){a=rL(a);$wnd.open(a,"_blank",m)}\nfunction rS(a,b,c,d){$H();zS.call(this);this.j=new uX;this.b=new Yp;this.p=new Yp;this.f=d;this.lb.style[zk]=cd;this.lb.style[wk]=cd;this.lb.style[Fl]=vj;this.lb.style[cm]=b;this.lb.style[jj]=c;this.i=new vX;yE(this.i,kd);uE(this.i,kd);this.r=null;c=!!a&&!(typeof ClipboardEvent===Vl||null===ClipboardEvent);qX||c?(b=new wX,this.r=new xX,cF(b,this.i,0,0),cF(b,this.r,0,0),jF(this,b),c&&(this.q=new vH,vE(this.q,0,0),this.q.lb.style[sk]=cd,cF(this.r,this.q,0,0),tX(this,this.q.lb))):jF(this,this.i);this.d=\na;a.qd=this.j;a.bd=this;this.a||(this.a=new yX(this),TD(this.a));qX&&(this.s=new zX(this),this.s.i=new AX(this),this.s.j=new BX(this),this.s.n=new CX(this),this.s.k=new DX(this),this.d&&(this.s.e=new EX(this),this.s.f=new FX(this),this.s.a=new GX(this)));FE(this,new HX(this),(SA(),SA(),TA));FE(this,this,(fA(),fA(),gA));FE(this,new IX(this,c),(VA(),VA(),WA));FE(this,new JX(this),(eB(),eB(),fB));FE(this,new KX(this),(YA(),YA(),ZA));FE(this,new LX(this),(hB(),hB(),iB));FE(this,new MX(this,c),(PA(),PA(),\nQA));this.n=UQ();(nI(),nI(),oI).a=this}x(753,754,Im,rS);_.Yi=function(a){return a.requestFullScreen||a.webkitRequestFullScreen||a.mozRequestFullScreen||a.msRequestFullscreen};_.Zi=function(a){var b;b=yA(this.d,!0,!1);a.stopPropagation();a.preventDefault();return b};_.$i=function(a){var b;b=tO(this.d);a.stopPropagation();a.preventDefault();return b};_._i=function(a){var b=this.d,c,d;c=(d=a.clipboardData||window.clipboardData,d.getData("Text"));fM(b,c,!1);a.stopPropagation();a.preventDefault()};\n_.a=null;_.c=!1;_.d=null;_.e=null;_.f=null;_.i=null;_.k=null;_.n=!1;_.o=!1;_.q=null;_.r=null;_.s=null;_.t=null;var qX,pX,oX,rX=null;function vX(){hF.call(this);this.lb[ki]=rj}x(756,382,Im,vX);function wX(){vX.call(this);this.lb.style[cm]=kd;this.lb.style[jj]=kd}x(755,756,Im,wX);function LA(a,b){var c;c=new RK(b,0,Li,jm);UM(a.a.d,c);return!0}function GX(a){this.a=a}x(757,1,{},GX);_.aj=function(a){return LA(this,a)};_.a=null;function HX(a){this.a=a}x(758,1,{},HX);\n_.Kd=function(a){var b,c,d,e;d=Zz(a);e=$z(a);c=Ex(a.a);b=new NX(a);2==c&&(b.e=4);b=uQ(this.a.d,b,d,e);this.a.o=!0;b&&a.a.stopPropagation();this.a.q&&SF(this.a.q,!0)};_.a=null;function IX(a,b){this.a=a;this.b=b}x(759,1,{},IX);_.Ld=function(a){var b,c;b=Zz(a);c=$z(a);a=new NX(a);(0>=b||b>=NI(this.a)-1||0>=c||c>=OI(this.a)-1)&&(this.a.o=!1);this.a.o?FQ(this.a.d,a,b,c):rP(this.a.d,a,b,c);this.b?this.a.q&&SF(this.a.q,!0):JG(this.a.lb)};_.a=null;_.b=!1;function JX(a){this.a=a}x(760,1,{},JX);\n_.Nd=function(a){var b;this.a.o=!1;b=Zz(a);a=$z(a);LQ(this.a.d,b,a)};_.a=null;function KX(a){this.a=a}x(761,1,{},KX);_.Md=function(){this.a.o&&(this.a.o=!1);try{SH(this.a.lb)}catch(a){if(a=No(a),E(a,102))wS(" onMouseOut seFocus(False) exception catched ");else throw a;}this.a.q&&SF(this.a.q,!1)};_.a=null;function LX(a){this.a=a}x(762,1,{},LX);_.a=null;function MX(a,b){this.a=a;this.b=b}x(763,1,{},MX);\n_.te=function(a){var b,c,d;c=a.a.keyCode||0;0<=c&&c<($H(),rX).length&&-999!=($H(),rX)[c]&&(c=($H(),rX)[c]);if(this.b&&(d=-1!=$wnd.navigator.userAgent.indexOf("Macintosh")?!!a.a.metaKey:!!a.a.ctrlKey)&&(67==c||86==c||88==c))return;b=new EJ(null,c,null);if(a.a.ctrlKey||a.a.shiftKey||a.a.metaKey||a.a.altKey)a.a.ctrlKey&&(b.e|=2),a.a.altKey&&(b.e|=8),a.a.metaKey&&(b.e|=4),a.a.shiftKey&&(b.e|=1);a:{d=this.a.d;var e,f,g,h;d.ac=!1;96<=c&&105>=c&&(c=c-96+48);if(d.U&&!d.V)d=!1;else{yN(d,d.T);g=1==b.e;e=8==\nb.e;f=-1!=$wnd.navigator.userAgent.indexOf("Macintosh")?b.Zf():0!=(b.e&2);kL();String.fromCharCode(c&65535);b=0;if(null!=d.Kb&&0<d.Kb.length&&(h=c&65535,g?h=String.fromCharCode(h).toUpperCase().charCodeAt(0):h=String.fromCharCode(h).toLowerCase().charCodeAt(0),0<=Ir(d.Kb,Jr(h)))){tK((kQ(),lQ),String.fromCharCode(h));d.$c=!0;yN(d,yx(lQ.rd.a.lb,Yl));d.s=32;d=XP(d,1201);break a}switch(c){case 99:case 67:if(f){aN(yA(d,!0,!1));break}b=301;break;case 42:case 106:case 103:case 71:tK((kQ(),lQ),Rb),d.$c=!0;\ncase 120:case 88:if(f){tO(d);break}d.$c&&(yN(d,yx((kQ(),lQ).rd.a.lb,Yl)),b=1201,d.s=32);break;case 118:case 86:if(f&&d.mc){e=d.v;null==e.p&&(e.p=og);hN(d.N,(!d.nc&&(d.nc=new iN(d)),d.nc));break}break;case 110:case 78:b=401;break;case 111:case 79:b=501;break;case 115:case 83:b=601;break;case 112:case 80:b=1101;break;case 102:case 70:b=701;break;case 108:case 76:b=801;break;case 98:case 66:b=901;break;case 105:case 73:b=1001;break;case 104:case 72:yN(d,vf);b=1300;break;case 114:case 82:yN(d,"-R");b=\n1301;break;case 116:case 84:701==d.o?(b=236,yN(d,vc)):801==d.o?(b=237,yN(d,uc)):(b=233,yN(d,"-tBu"));break;case 121:case 89:f?b=111:(b=234,yN(d,Dc));break;case 122:case 90:f?b=110:(b=239,yN(d,Ic));break;case 97:case 65:b=235;yN(d,"-COOH");break;case 101:case 69:b=238;yN(d,jc);break;case 117:case 85:b=110;break;case 113:case 81:b=242;yN(d,kc);break;case 27:b=202;break;case 45:701==d.o?(b=254,yN(d,"-F")):801==d.o?(b=255,yN(d,"-Cl")):901==d.o?(b=256,yN(d,"-Br")):1001==d.o?(b=257,yN(d,"-I")):501==d.o?\n(b=259,yN(d,"-OH")):401==d.o?(b=258,yN(d,"-NH2")):b=202;break;case 43:case 107:b=108;break;case 35:b=204;break;case 48:105==d.o?JR(d,0):e?(b=223,yN(d,"-3-Furyl")):(b=221,yN(d,"-Furyl"));break;case 49:105==d.o?JR(d,1):b=209;break;case 50:case 61:50==c&&105==d.o?JR(d,2):501==d.o?(b=250,yN(d,"=O")):b=203;break;case 51:105==d.o?JR(d,3):b=206;break;case 52:105==d.o?JR(d,4):b=207;break;case 53:105==d.o?JR(d,5):b=208;break;case 54:105==d.o?JR(d,6):b=210;break;case 55:105==d.o?JR(d,7):b=211;break;case 56:105==\nd.o?JR(d,8):b=212;break;case 57:105==d.o?JR(d,9):(yN(d,"9 ring"),b=229);break;case 100:case 68:case 8:case 127:b=104;break;case 32:b=205;break;case 109:case 77:case 1002:b=151;break;case 119:case 87:case 1003:b=152;break;case 1E3:b=153;break;case 1001:b=154}e=c+1-49;0<=e&&9>=e&&0<d.r.w&&(c=d.r.b[d.r.w].c,33<=c&&42>=c&&(b=1301+e));d=0!=b?XP(d,b):!1}}d&&a.a.preventDefault()};_.a=null;_.b=!1;function xX(){vX.call(this);this.lb.style[cm]=kd;this.lb.style[jj]=kd}x(764,756,Im,xX);\nfunction yX(a){this.a=a}x(765,1,{},yX);_.we=function(){mx((jx(),kx),new OX(this))};_.a=null;function OX(a){this.a=a}x(766,1,{},OX);\n_.Od=function(){var a;if(this.a.a.d){if(this.a.a.d&&(a=UQ(),a!=this.a.a.n))if(this.a.a.n=a,this.a.a.n){this.a.a.t=this.a.a.lb.style[cm];this.a.a.k=this.a.a.lb.style[jj];yE(this.a.a,kd);uE(this.a.a,kd);a=this.a.a.d;var b;kL();a.f=a.Sb;a.e=a.Jb;a.Jb=Fp(3*a.Jb,4);var c=MI(a),d=a.Jb;(b=KN(GO(a,a.Vb)))?(c=JO(a,c,d),b=Fp(c.c/b.c,c.b/b.b)):b=-1;a.Sb=Fp(3*a.Sb,10);0<b&&(a.Sb=Fp(a.Sb,b));a.eb=!0}else a=this.a.a.d,kL(),a.Sb=a.f,a.Jb=a.e,a.eb=!0,yE(this.a.a,this.a.a.t),uE(this.a.a,this.a.a.k);a=this.a.a;0<NI(a)&&\n0<OI(a)?wQ(a.d):wS(Gf);UR(this.a.a)}};_.a=null;function PX(a,b){var c;c=b.a;c.e=4;return uQ(a.a.d,c,b.d,b.e)}function AX(a){this.a=a}x(767,1,{},AX);_.aj=function(a){return PX(this,a)};_.a=null;function DB(a,b){rP(a.a.d,b.a,b.d,b.e);return uQ(a.a.d,b.a,b.d,b.e)}function BX(a){this.a=a}x(768,1,{},BX);_.aj=function(a){return DB(this,a)};_.a=null;function CX(a){this.a=a}x(769,1,{},CX);_.aj=function(a){return FQ(this.a.d,a.a,a.d,a.e)};_.a=null;function DX(a){this.a=a}x(770,1,{},DX);\n_.aj=function(a){return LQ(this.a.d,a.d,a.e)};_.a=null;function GA(a,b){var c;c=L(N(b.b));c=new RK(b,0,Wk,c);UM(a.a.d,c);return!0}function EX(a){this.a=a}x(771,1,{},EX);_.aj=function(a){return GA(this,a)};_.a=null;function HA(a,b){var c;c=L(N(100*b.c));c=new RK(b,0,dl,c);UM(a.a.d,c);return!0}function FX(a){this.a=a}x(772,1,{},FX);_.aj=function(a){return HA(this,a)};var QX=_.a=null;\nfunction RX(){RX=y;QX=new eD((uD(),new tD("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAEklEQVR42mM4MzPtPzJmIF0AAOqfLKHtSuV7AAAAAElFTkSuQmCC")),4,4)}\nfunction kT(){kT=y;SX={};SX[Fe]=217;SX[lg]=233;SX[eg]=217;SX[gg]=700;SX[vg]=217;SX[qf]=416;SX[lj]=83;SX[Fe]=217;SX[eg]=217;SX[lg]=233;SX[Jg]=200;SX[kf]=183;SX[Te]=300;SX[Ee]=334;SX[Bf]=83;SX[ng]=200;SX[fh]=200;SX[vf]=217;SX[wf]=392;SX[wg]=384;SX[xg]=384;SX[yg]=384;SX[zg]=384;SX[Ag]=384;SX[Bg]=384;SX[Cg]=384;SX[Dg]=384;SX[Eg]=384;SX[Te]=300;SX["Cl-"]=300;SX[ig]=384;SX["Na+"]=559;lT={};mT={}}\nfunction TX(a,b){var c;b&&(a.style[Ri]="300.0px",c=b.a,c!=ff&&(a.style[Qi]=c),0!=(b.c&1)&&(a.style[Ti]=Wh),0!=(b.c&2)&&(a.style[Si]=pj))}\nfunction TJ(a){var b=UX,c;c=a.a+a.c;if(c in mT)a=mT[c];else{var d,e,f;b.c||(b.c=$doc.createElement(rl),b.e=$doc.createElement(nj),b.f=(RX(),QX),e=$doc.createTextNode(pg),b.c.appendChild(e),b.c.appendChild(b.e),b.e.width=1,b.e.height=1,b.e.src=b.f.d.a);b.d||(b.i.appendChild(b.c),b.d=!0);VX(b.c);VX(b.e);b.e.style[Zl]=(qz(),"baseline");TX(b.c,a);f=Hx(b.c);e=Hx(b.c)+(b.c.offsetHeight||0);a=e-f;d=Hx(b.e)+(b.e.offsetHeight||0)+1;e-=d;d-=f;b.b&&console.log("totalTextHeight="+a+" descent="+e+" ascent="+d);\nb.i.removeChild(b.c);b.d=!1;f=new WX;f.a=d;f.b=e;f.c=a;a=f;0<a.c&&0<a.b&&0<a.a?mT[c]=a:(a.c=336,a.b=63,a.a=273,b.b&&console.log("ComputedFontMetrics() failed."))}return a}function RJ(a){return~~(TJ(a).a*a.b/300)}function SJ(a){return~~(TJ(a).b*a.b/300)}\nfunction sK(a,b){var c=UX,d,e,f;if(null==a||!a.length)return 0;e=null;if(c.a&&(e=b.a+b.c,e+=Fd+a,e in lT))return~~(lT[e]*b.b/300);!c.j&&(c.j=$doc.createElement(rl));c.k||(c.i.appendChild(c.j),VX(c.j),c.j.style[bm]=lk,c.k=!0);c.j.innerHTML=m||m;d=c.j.offsetWidth||0;c.b&&console.log("String width empty string: : "+d);c.j.innerHTML=a||m;TX(c.j,b);f=c.j.offsetWidth||0;c.i.removeChild(c.j);c.k=!1;c.b&&console.log(\'String width  "\'+a+Wa+f);d=0<f&&0==d;c.a&&d&&(lT[e]=f);d||(a in SX?f=SX[a]:(f=~~(SX["R1)"]/\n2)*a.length,c.b&&console.log("stringWidth() failed.")),c.b&&console.log(\'Default string width  "\'+a+Wa+f));return~~(f*b.b/300)}function XX(){kT();Wy();this.i=pH();this.a=!0}x(775,1,{},XX);_.a=!0;_.b=!1;_.c=null;_.d=!1;_.e=null;_.f=null;_.i=null;_.j=null;_.k=!1;var mT=null,SX,lT=null;function WX(){}x(776,1,{},WX);_.a=0;_.b=0;_.c=0;function GQ(a){if(0!=(a.e&4))return!0;try{if(a.a&&E(a.a,26))return!!a.a.a.metaKey}catch(b){if(b=No(b),!E(b,110))throw b;}return!1}\nfunction vQ(a){try{if(a.a&&E(a.a,26))return!!a.a.a.shiftKey}catch(b){if(b=No(b),!E(b,110))throw b;}return!1}function NX(a){EJ.call(this,null,0,null);this.a=a}x(777,497,hn,NX);_.Zf=function(){return GQ(this)};_.$f=function(){return vQ(this)};_.a=null;function aI(a){this.a=a;!UX&&(UX=new XX)}x(778,500,Mm,aI);var UX=null;function KI(a){this.a=a}x(779,507,{},KI);_.a=null;function uX(){DI.call(this)}x(780,476,cn,uX);function YX(a,b){this.a=a;this.b=b}x(781,1,{},YX);_.a=null;_.b=null;\nfunction ZX(){ZX=y;$X=z(Jq,o,1,[em,cm,$l,Ll,"textDecoration",Uk,Gk,Dk,Ck,Bk,Ak,zk,xk,"overflowX","overflowY",sk,Jj,Ij,Hj,Gj,Fj,"listStyleType",vj,jj,Ti,Si,Ri,Bi,vi,"color",li,bi,"borderWidth",ai,"borderColor","backgroundImage",Oh,Zl,"tableLayout",Fl,"textIndent","textJustify","textOverflow","textTransform","outlineWidth","outlineStyle","outlineColor","lineHeight",bm])}function VX(a){ZX();var b,c,d,e;if(e=a.style)for(b=$X,c=0,d=b.length;c<d;++c)a=b[c],e[a]=m}var $X;\nfunction aY(){aY=y;new XX;bY=new ZI(1)}function eO(a,b){a.p=!0;if(a.j){a.o&&(a.d.length=0,a.o=!1);var c=a.d;c[c.length]=b}else c=a.d,c[c.length]=b,cY(a)}function $O(a,b,c,d,e,f,g){var h,j,l,n,q,r,t,A,u,w,F;a.n&&(dO(a,!1),360<=g||-360>=g?h=fO(a,b,c,d,e):h=(j=f+g,l=0,j<f&&(l=1),n=0,(180<g||-180>g)&&(n=1),q=b+d/2,r=c+e/2,t=d/2,A=e/2,u=dY(q,r,t,A,f),w=dY(q,r,t,A,j),F="<g"+a.k+Wd,F+=\'<path d ="M \'+u.a+ca+u.b+" A "+t+ca+A+" 0 "+n+ca+l+ca+w.a+ca+w.b+Va,F+=Jd,F),eO(a,h))}\nfunction VO(a,b,c,d){a=a.a;if(a.r!=b||a.s!=c)fF(d.bd.i,a.t,b,c),a.r=b,a.s=c;cY(a)}function kO(a,b,c,d,e){var f,g,h,j,l,n;a.n&&(b=(f=a.a,a.a=!1,g=m+b,h=m+d,j=m+c,l=m+e,n=Rd+g+Ra+j+Qa+h+Sa+l+Na+a.f+Ba+a.c+a.b+bd,a.a=f,n),eO(a,b))}function lO(a,b,c,d,e){a.n&&(dO(a,!1),eO(a,Td+b+Ta+c+Fa+e+Oa+d+Aa+a.k+bd))}function QO(a,b,c,d){var e,b=b.replace(/&/g,Db).replace(/<\/g,Kb).replace(/>/g,Eb),b=(e=a.f,Ud+c+Ta+d+Ba+a.i+\' fill="\'+e+Ya+b+Qd);eO(a,b)}\nfunction hO(a,b,c,d,e){dO(a,!0);eO(a,Td+b+Ta+c+Fa+e+Oa+d+Aa+a.k+bd)}\nfunction cY(a){var b,c;if(a.p){for(;null!=(b=a.u.pop());)c=a.d,c[c.length]=b;b=a.d.join(ba);c=a.t;var d;d=Fx(c.lb)+(c.lb.offsetWidth||0)-Fx(c.lb);0==d&&(d=parseInt(c.lb.style[cm])||0);c=d;d=a.t;var e;e=Hx(d.lb)+(d.lb.offsetHeight||0)-Hx(d.lb);0==e&&(e=parseInt(d.lb.style[jj])||0);c=\'<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="\'+c+Fa+e+Ya;var f;d=!(f=$wnd.navigator.userAgent,-1!=f.indexOf("Firefox"))?"<style> text { cursor: default; } <\/style>":m;b=c+d+b+Pd;b!==a.q&&(a.t.lb.innerHTML=\nb||m,a.q=b);a.o=!0;a.p=!1}}function pO(a,b){(a.e=b)&&(a.f=eY(b))}function HR(a,b){var c,d,e;a.i=(c=b.b,d=b.a,e=m,12!=c&&(e=\' font-size="\'+c+\'px"\'),"Plain"!=d&&(e+=\' font-family="\'+d+Aa),0!=(b.c&1)&&(e+=\'font-weight="bold"\'),0!=(b.c&2)&&(e+=\'font-style="italic"\'),e)}function FO(a,b){(a.n=b)&&b&&(a.c=\'stroke-width="\'+(b.e==I(b.e)?m+I(b.e):m+b.e)+Ba)}x(783,503,{});_.d=null;_.e=null;_.f=Th;_.i=null;_.j=!0;_.k=null;_.o=!1;_.p=!1;_.q=m;_.r=0;_.s=0;_.t=null;_.u=null;var bY;\nfunction zB(a,b){var c;c=b.a.targetTouches;return 1==c.length?(c=c[0],a.b.d=c.clientX-Fx(a.o.lb)+Gx(a.o.lb)+Gx(a.o.lb.ownerDocument.body),a.b.e=c.clientY-Hx(a.o.lb)+(a.o.lb.scrollTop||0)+(a.o.lb.ownerDocument.body.scrollTop||0),a.b.a=new NX(b),b.a.preventDefault(),!0):!1}\nfunction zX(a){this.o=a;this.b=new fY;this.c=new gY(this);FE(this.o,new hY(this),(AB(),AB(),BB));FE(this.o,new iY(this),(sB(),sB(),tB));FE(this.o,new jY(this),(wB(),wB(),xB));FE(this.o,new kY(this),(oB(),oB(),pB));FE(this.o,new lY,(MA(),MA(),NA));FE(this.o,new mY(this),(IA(),IA(),JA));FE(this.o,new nY(this),(DA(),DA(),EA))}x(784,1,{},zX);_.a=null;_.b=null;_.c=null;_.d=!1;_.e=null;_.f=null;_.i=null;_.j=null;_.k=null;_.n=null;_.o=null;function gY(a){ut();this.a=a}x(785,66,{},gY);\n_.Yd=function(){!this.a.d&&this.a.i&&PX(this.a.i,this.a.b)};_.a=null;function hY(a){this.a=a}x(786,1,{},hY);_.a=null;function iY(a){this.a=a}x(787,1,{},iY);_.a=null;function jY(a){this.a=a}x(788,1,{},jY);_.a=null;function kY(a){this.a=a}x(789,1,{},kY);_.a=null;function lY(){}x(790,1,{},lY);function mY(a){this.a=a}x(791,1,{},mY);_.a=null;function nY(a){this.a=a}x(792,1,{},nY);_.a=null;function fY(){}x(793,1,{},fY);_.a=null;_.b=0;_.c=0;_.d=0;_.e=0;\nfunction eY(a){var b,c;c=~~a.d>>16&255;b=~~a.d>>8&255;a=a.d&255;if(0==c*b*a){if(0==c&&0==b&&0==a)return Th;if(255==c&&0==b&&0==a)return"red";if(0==c&&255==b&&0==a)return"green";if(0==c&&0==b&&255==a)return Uh}return 255==c&&255==b&&255==a?"white":Tk+c+$b+b+$b+a+Ob}function fS(){var a=$wnd.navigator.userAgent.match(/MSIE\\s+(\\d+\\.\\d+)/);return a?parseFloat(a[1]):-1}\nfunction oY(a){var b,c,d,e,f;LE(a);d=(ME(),fH(null));e=new pG;mG(e,a);VE(d,e,d.lb);ZX();VX(e.lb);f=a.Le();b=a.Ke();c=fS();9<=c?(++f,++b):7==c&&E(a,39)&&(c=a.lb.textContent,2>=c.length&&(f+=8));oG(e,a);dF(d,e);return new hI(f,b)}function VL(a){try{$wnd.console.log(a)}catch(b){}}function pY(){this.lb=$doc.createElement(Ci);this.lb[ki]=rj;this.lb.style[xk]=kj;this.lb.style[Gk]=Ah;this.lb.style[cm]=kd;this.lb.style[jj]=kd;this.lb.setAttribute("contenteditable",Ni)}x(795,385,Nm,pY);\nfunction dY(a,b,c,d,e){e*=0.017453292519943295;a+=c*Math.cos(e);b+=-d*Math.sin(e);return new YX(new Hr(a),new Hr(b))}function fO(a,b,c,d,e){return\'<ellipse cx="\'+(b+d/2)+Da+(c+e/2)+Ja+d/2+Ma+e/2+Aa+a.k+bd}function lX(a,b,c,d,e){var f,g,h,j;if(1>d)return m;g=d;e&&(d-=1,b[0]==b[d]&&c[0]==c[d]&&--g);d=\' points="\';for(f=0;f<g;++f)h=b[f],j=c[f],d+=h+$b+j,f<g-1&&(d+=ca);d+=Aa;b=Id;e?b+="polygon":b+="polyline";return b+=d+a.k+bd}\nfunction dO(a,b){var c;c=a.f;(a.a=b)?a.k=\' stroke="none" fill="\'+c+Ba+a.b:a.k=\' fill="none" stroke="\'+c+Ba+a.c+a.b}function sX(){aY();this.n=bY;this.d=[];this.t=new pY;this.u=[]}x(796,783,{},sX);_.a=!1;_.b=m;_.c=m;function qY(){qY=y;rY=new hI(0,0)}function sI(a,b){var c;if(a.mg())return rY;if(-1!=a.e.b&&-1!=a.e.a)return a.e;a.hj(YH(b));c=oY(a.ng());a.e.b=c.b;a.e.a=c.a;return c}function sY(){this.e=new CJ;this.e.a=-1;this.e.b=-1}x(798,1,{});_.mg=LR;\n_.hj=function(a){var b=this.ng().lb,c,d,e;c=(NJ(),OJ);e=a.b;d=a.a;e!=c.b?b.style[Ri]=m+e+"pt":b.style[Ri]=m;d!=c.a?b.style[Qi]=d:b.style[Qi]=m;0!=(a.c&1)?b.style[Ti]=Wh:b.style[Ti]=m;0!=(a.c&2)?b.style[Si]=pj:b.style[Si]=m};_.e=null;var rY;function FI(){qY();sY.call(this);this.d=new hF}x(802,798,{},FI);_.ng=yJ;_.d=null;\nfunction $J(a){var b,c,d;c=a.f;b=!1;d=c;-1!=c.indexOf(aa)&&(c=ZT(c,uh),b=!0,d=c[0],c=c[1],d=\'<div style="align-items:center; display: flex;">\'+(\'<svg height="24" width="24">\\n  <circle cx="12" cy="12" r="8" stroke="black" stroke-width="1" fill="\'+c+\'" />\\n<\/svg>\')+d+"<\/div");this.a=new VG(d,b,new tY(a));UG(this.a,a.e)}x(804,1,{},$J);_.a=null;\nfunction QG(a){var b,c,d,e,f;f=new QK(a.a,1001,null!=a.a.c?a.a.c:a.a.f);for(c=lB(a.a.d,C(uY,o,76,0,0)),d=0,e=c.length;d<e;++d)if(b=c[d],E(b,55)){b.bd.o=!1;break}a=a.a;b=a.n.d;f!=b.a&&(b.a=f,b.b=aC((RI(),SI),new Ur(f.k)));b=b.b;if(mq(!b?im:b.a,um))for(b=(!a.d.a||0==a.d.a.c?(dC(),dC(),eC):new WI(a.d.a)).af();b.Be();)a=b.Ce(),1001==f.k&&a.dg(f);var g,h,j;1001==f.k?(g=new EJ(f.n,f.k,f.a),g.e=f.b&15):601==f.k?(null.vj(),null.vj()):100==f.k&&E(f.n,73)?(h=f.n,j=new EJ(h,205,null),j.i=h.Bf(),j.j=h.Cf()):\n1004<=f.k&&1005>=f.k||(701==f.k?null.vj():401==f.k||402==f.k?(null.vj(),null.vj(),null.vj(),null.vj(),null.vj()):500<=f.k&&507>=f.k&&(g=null.wj,500!=g&&(g=new EJ(null.wj,g,null),g.i=f.f,g.j=f.i,f=f.j&63,g.e=f&12)))}function tY(a){this.a=a}x(805,1,dn,tY);_.Od=function(){QG(this)};_.a=null;function yK(){qY();sY.call(this);this.a=new wH}x(806,798,{},yK);_.ng=kD;_.a=null;function BK(){new UB;var a;a:{switch(AC){case 1:case 3:case 5:case 7:a=new vY;break a}a=new wY}this.a=a}x(820,527,{},BK);_.a=null;\nfunction wY(){}x(822,1,{},wY);_.rj=function(a){a&&a&&Xw(10,new xY(a));return null};_.sj=function(a){Xw(10,new yY(a))};function vY(){}x(821,822,{},vY);_.rj=function(){return $wnd.clipboardData.getData("Text")};_.sj=function(a){$wnd.clipboardData.setData("Text",a)};function xY(a){this.a=a}x(825,1,sn,xY);_.ae=vI;_.a=null;function yY(a){this.a=a}x(827,1,sn,yY);_.ae=vI;_.a=null;function CA(a,b){a.onloadend=function(a){b.Bg(a.target.result)}}function cM(a){this.a=a}x(833,1,{},cM);_.a=null;\nfunction $L(){}x(834,1,{},$L);function aM(){}x(835,1,{},aM);function bM(){}x(836,1,{},bM);function zK(){this.b=new CK;this.d=new UI}x(839,525,{},zK);function pP(a,b,c,d){b=bI(b);c+=b.a;d+=b.b;rF(a.a,c,d);sF(a.a)}function fK(){qY();sY.call(this);var a=this.a=new zY;a.Y=!0;a.a.f=!0;this.a._=!0}x(841,798,{},fK);_.ng=kD;_.a=null;function uL(){}x(848,556,{},uL);\nfunction hL(a,b){var c,d,e,f,g;c=new Or;d=C(Jq,o,1,b.length,0);for(f=0;f<b.length;++f)null==b[f]?d[f]="<null>":d[f]=sw(b[f])?b[f].tS():ww(b[f]);g=0;for(f=ns(a,Jr(123),0);0<=f;f=ns(a,Jr(123),g))0!=f&&92==a.charCodeAt(f-1)?(1!=f&&Lr(c,a.substr(g,f-1-g)),c.a.a+=fm,g=f+1):f>a.length-3?(Lr(c,ks(a,g,a.length)),g=a.length):(e=~~(FT(a.charCodeAt(f+1),10)<<24)>>24,0>e||125!=a.charCodeAt(f+2)?(Lr(c,a.substr(g,f+1-g)),g=f+1):(Lr(c,a.substr(g,f-g)),e>=d.length?c.a.a+="<missing argument>":jw(c.a,d[e]),g=f+3));\ng<a.length&&Lr(c,ks(a,g,a.length));return c.a.a}function tL(){tL=y;var a;a=(kL(),lL["os.encoding"]);if(null!=a)try{if(ds("UTF-8",a))aU(m);else if(ds("ISO-8859-1",a)||ds("ISO-LATIN-1",a))C(Ap,Tm,-1,0,1);else throw new AT(a+xa);}catch(b){if(b=No(b),!E(b,111))throw b;}}function aK(a,b){a.a=31*a.a+I((new Hr(b)).a)}function $I(){}x(853,1,{},$I);_.hC=kD;_.a=1;\nfunction zY(){var a=(zF(),CF);tF.call(this,!0,Oj);this.Q=a.a;this.a=new AY(this);this.a.d=!0;jF(this,this.a);this.Y=!0;this.a.f=!0;if(-1==this.hb){var a=this.lb,b=1|(this.lb.__eventBits||0);HD();qE(a,b)}else this.hb|=1;Dx(Cx(this.lb))[ki]=ej;this.lb.style[em]=ud}x(884,387,Im,zY);_.Ee=function(a){JE(this,a);1==FD(a.type)&&oF(this,!1)};_.a=null;\nfunction AY(a){this.b=a;this.c=new Yp;this.i=new Yp;a=(TG(),SG);new MH(a.d,a.b,a.c,a.e,a.a);var b;b=$doc.createElement(yl);this.e=$doc.createElement(Bl);zD(b,this.e);this.o=!0;a=(YF(),$F());b=(AD(),BD(b));a.appendChild(b);this.lb=a;Fu();this.lb.setAttribute(Vk,iv.a);-1==this.hb?(a=this.lb,b=2225|(this.lb.__eventBits||0),HD(),qE(a,b)):this.hb|=2225;this.lb[ki]=dj;a=zE(this.lb)+"-vertical";tE(this.Me(),a,!0);this.lb.style[wk]=id;this.lb.setAttribute("hideFocus",Ul);FE(this,new RG(this),(Tz(),Tz(),Uz))}\nx(885,427,Nm,AY);_.Ee=function(a){switch(FD(a.type)){case 16:this.a=!1;break;case 32:this.a=!0}KG(this,a)};_.nf=function(a,b){OG(this,a,b);b||this.a&&oF(this.b,!1)};_.a=!0;_.b=null;x(934,1,{});\nfunction BY(a,b,c,d,e){var f,g,h,j,l;h=(!c?b.b:BL(b,c,~~vw(c)))[d][e.length];b=j=d=null;for(c=0,f=!h?0:h.length;c<f;++c){g=h[c];var n;a:{n=g;var q=e,r=void 0,t=void 0,A=void 0,u=t=r=void 0,w=t=void 0,F=void 0,t=void 0;for(A=0,F=q.length;A<F;++A)if(w=n[A+3],u=q[A],r=null==u?mk:typeof u,r=r==ok?Object.prototype.toString.call(u)==oh||typeof u.length==nk?"array":r:r,!ds(r,w)&&(!ds(vl,w)||!ds(mk,r)))if(u=ds(nk,r),r=ds(Xh,r),CY===w)u&&(q[A]=new Hr(q[A])),r&&(q[A]=(vN(),q[A]?wN:xN));else{t=u||r;if(t=!t&&\nnull!=w&&qw(w)==DY){t=q[A];if(null==t||EY(t,w))continue;if(pw(t)&&(t=t&&t.g?t.g:null,null!=t&&EY(t,w))){q[A]=t;continue}}if(!ds(ok,w)||u||r){n=!1;break a}}n=!0}if(n){d=g[0];j=g[1];b=g[2];break}}return d?(e=b?b(a,e):e,a=(l=d.apply(a,e),[j?j(l):l])):null}function FY(){this.c=new hw;this.a=new hw;this.b=new hw}function EY(a,b){var c;if(CY==b||GY==b&&E(a,142))return!0;if(null!=a)for(c=qw(a);c&&c!=CY;c=null)if(c==b)return!0;return!1}x(933,934,{},FY);function iT(){iT=y;HY=new FY}\nfunction rT(a,b){iT();U(HY.c,a,b)}function fT(a){iT();var b,c,d;d=ZT(a,qh);c=$wnd;a=0;for(b=d.length-1;a<b;++a)ds(d[a],"client")||(c[d[a]]||(c[d[a]]={}),c=null!=c?c[d[a]]:null);return null!=c?c[d[a]]:null}function gT(a,b){var c;iT();return c=b&&b[0]&&(typeof b[0]==ok||typeof b[0]==Vi)?b[0]:null,EY(c,a)}function pT(a,b){var c=hT;iT();var d=HY,e;e=b?d.b:d.a;if(d=!c?e.b:BL(e,c,~~vw(c))){var f=d;for(p in a)f[p]=a[p]}else d=a;!c?CL(e,d):EL(e,c,d,~~vw(c))}\nfunction oT(a,b,c,d){var e=hT;iT();var f=HY,d=d?f.b:f.a,f=BY(a,d,e,b,c);if(!f){f=[a];for(i=0;i<c.length;i++)f.push(c[i]);c=f;f=BY(a,d,e,b,c)}if(!f)throw new lw("Can\'t find exported method for given arguments: "+b+Fd+c.length+ba);return f}function VQ(a){iT();var b=HY,c;null==a?a=null:(c=a[xh],c||(0!=(qw(a).b&4)?a=[]:(b=(b=aC(b.c,qw(a)))&&typeof b==Vi?new b(a):a,a=a[xh]=b),c=a),a=c);return a}function nT(a){iT();return a}var HY;\nfunction T(a){return function(){try{var b;var c=arguments,d;var e;0!=fx&&(e=it(),2E3<e-hx&&(hx=e,gx=ex()));if(0==fx++){var f=(jx(),kx),g,h;if(f.b){h=null;do g=f.b,f.b=null,h=sx(g,h);while(f.b);f.b=h}d=!0}else d=!1;try{b=a.apply(this,c)}finally{if(c=d){var j=(jx(),kx),l,n;if(j.c){n=null;do l=j.c,j.c=null,n=sx(l,n);while(j.c);j.c=n}}--fx;c&&-1!=gx&&($wnd.clearTimeout(gx),gx=-1)}return b}catch(q){throw q;}}}\nfunction gwtOnLoad(a,b,c,d){$moduleName=b;$moduleBase=c;AC=d;if(a)try{T(BC)()}catch(e){a(b)}else T(BC)()}var CY=Z(1),tw=Z(145),IY=OT(" I"),B=IT(940,IY);Z(154);var iL=IT(944,CY),Vw=IT(948,iL),JY=OT(" Z"),Yn=IT(938,JY),KY=NT(),Ww=IT(949,KY),LY=NT(),Yw=IT(950,LY);Z(141);Z(140);Z(139);Z(157);Z(158);Z(156);Z(159);Z(155);var MY=Z(334),$C=IT(951,MY);Z(335);Z(198);Z(607);Z(151);Z(625);var NY=OT(" B");Z(629);var OY=OT(" C"),bL=IT(952,OY),DY=Z(627),PY=OT(" D"),to=IT(939,PY);Z(628);var QY=OT(" F");Z(630);\nvar RY=Z(632),XQ=IT(953,RY),SY=OT(" J"),TY=OT(" S"),UY=Z(2),Jq=IT(945,UY),Ap=IT(954,NY);Z(641);Z(624);Z(144);Z(254);Z(605);var hT=Z(589);Z(617);var yT=Z(614);Z(612);Z(613);Z(621);Z(172);Z(162);Z(169);Z(170);Z(164);Z(165);Z(166);Z(167);Z(173);Z(142);Z(636);Z(631);Z(615);Z(616);var VY=Z(708),RS=IT(955,VY);Z(590);Z(591);Z(592);Z(593);Z(594);Z(595);Z(596);Z(597);Z(598);Z(599);var WY=Z(477);Z(476);Z(475);Z(474);Z(585);Z(584);Z(586);Z(587);Z(588);Z(541);var XY=Z(542),nX=IT(956,XY);Z(713);Z(747);Z(752);\nZ(710);Z(711);var zJ=Z(491),AM=IT(957,zJ),YY=Z(499),EM=IT(958,YY),ZY=Z(500),GM=IT(959,ZY),$Y=Z(737),OQ=IT(960,$Y),aZ=MT(733,function(){ZM();return wW}),xW=IT(961,aZ);Z(734);Z(735);Z(717);Z(725);Z(724);Z(619);Z(726);Z(727);Z(728);Z(729);Z(730);Z(731);Z(732);Z(719);Z(720);Z(721);Z(722);Z(723);Z(718);Z(714);Z(715);var tV=IT(962,WY),bZ=NT(),mB=IT(963,bZ);Z(647);Z(654);Z(662);Z(740);Z(655);Z(656);Z(751);Z(579);Z(580);Z(610);NT();Z(609);NT();Z(934);Z(933);var GY=NT();Z(386);var cZ=Z(385);Z(384);Z(390);\nZ(405);Z(447);Z(780);Z(754);Z(753);Z(383);Z(382);Z(756);Z(755);Z(764);Z(765);Z(766);Z(767);Z(768);Z(769);Z(770);Z(771);Z(772);Z(757);Z(758);Z(759);Z(760);Z(761);Z(762);Z(763);Z(314);Z(313);Z(395);Z(396);Z(397);Z(784);Z(793);Z(66);Z(785);Z(786);Z(787);Z(788);Z(789);Z(790);Z(791);Z(792);Z(368);Z(611);Z(572);Z(571);Z(570);Z(573);Z(574);Z(575);Z(833);Z(834);Z(835);Z(836);Z(775);Z(776);Z(502);Z(503);Z(783);Z(706);var dZ=Z(707),lW=IT(964,dZ);Z(443);Z(446);Z(444);Z(445);\nvar eZ=MT(233,function(){Wy();return oz}),pz=IT(965,eZ),fZ=MT(204,function(){Ox();return yy}),zy=IT(967,fZ),gZ=MT(223,function(){Ay();return Jy}),Ky=IT(968,gZ),hZ=MT(228,function(){Ly();return Uy}),Vy=IT(969,hZ),iZ=MT(243,function(){qz();return Hz}),Iz=IT(970,iZ);MT(234,null);MT(235,null);MT(236,null);MT(237,null);MT(238,null);MT(239,null);MT(240,null);MT(241,null);MT(242,null);MT(205,null);MT(215,null);MT(216,null);MT(217,null);MT(218,null);MT(219,null);MT(220,null);MT(221,null);MT(222,null);\nMT(206,null);MT(207,null);MT(208,null);MT(209,null);MT(210,null);MT(211,null);MT(212,null);MT(213,null);MT(214,null);MT(224,null);MT(225,null);MT(226,null);MT(227,null);MT(229,null);MT(230,null);MT(231,null);MT(232,null);MT(244,null);MT(245,null);MT(246,null);MT(247,null);MT(248,null);MT(249,null);MT(250,null);MT(251,null);Z(560);Z(559);Z(649);Z(648);Z(650);Z(652);Z(651);Z(653);Z(657);Z(658);Z(266);Z(265);Z(264);Z(270);Z(269);Z(268);Z(274);var jZ=Z(273);Z(272);Z(289);Z(291);Z(292);Z(602);var kZ=Z(601);\nZ(600);var Kp=IT(946,SY),xJ=IT(971,QY),lZ=Z(604);Z(603);Z(748);var AW=IT(972,kZ),BW=IT(973,lZ);Z(738);Z(736);Z(370);Z(308);Z(372);Z(311);Z(310);Z(309);Z(470);Z(471);Z(472);Z(518);Z(517);Z(544);Z(699);Z(512);Z(511);Z(510);Z(515);var mZ=NT(),uY=IT(974,mZ);Z(741);Z(742);Z(366);Z(558);Z(670);Z(320);Z(400);Z(450);Z(449);Z(448);var nZ=MT(452,function(){tH();return FH}),GH=IT(976,nZ);MT(453,null);MT(454,null);MT(455,null);MT(456,null);Z(315);Z(525);Z(526);Z(507);Z(745);Z(750);Z(298);Z(300);Z(700);Z(701);\nZ(638);Z(496);var DJ=Z(495);Z(644);Z(514);var cK=Z(513),VK=Z(543);Z(497);Z(523);Z(524);Z(562);Z(153);Z(463);Z(506);Z(271);Z(839);Z(458);var HH=IT(977,cZ);Z(459);Z(796);Z(795);Z(419);Z(421);Z(420);Z(422);Z(295);Z(312);Z(744);Z(520);Z(521);Z(522);Z(485);Z(716);Z(564);Z(484);Z(483);var YV=Z(702),oZ=MT(704,function(){xP();return fW}),gW=IT(978,oZ),pZ=MT(705,function(){CP();return iW}),jW=IT(979,pZ),qZ=MT(703,function(){AP();return aW}),bW=IT(980,qZ);Z(694);Z(561);Z(674);Z(640);Z(303);Z(689);Z(465);Z(464);\nZ(350);Z(352);Z(351);Z(305);Z(290);Z(293);Z(294);Z(287);Z(286);Z(288);Z(276);Z(280);Z(505);Z(479);Z(478);Z(532);Z(481);Z(482);var kK=Z(516);Z(690);Z(473);Z(691);Z(623);Z(563);Z(138);var MJ=Z(498);Z(278);Z(277);Z(279);Z(281);Z(853);var QJ=Z(778);Z(798);Z(841);Z(535);Z(677);Z(492);Z(675);Z(302);Z(299);Z(301);Z(297);Z(285);Z(284);Z(283);Z(23);Z(22);Z(32);var Bo=IT(982,B),Kq=IT(983,TY),Mq=IT(984,Ap),rZ=Z(18),Qq=IT(985,rZ);Z(6);Z(26);Z(665);Z(389);Z(388);Z(387);Z(884);Z(427);Z(885);\nvar sZ=MT(391,function(){zF();return GF}),HF=IT(986,sZ),tZ=MT(439,function(){vF();return aH}),bH=IT(987,tZ);Z(59);Z(440);Z(441);Z(436);Z(437);Z(438);Z(60);Z(61);Z(62);Z(428);Z(429);Z(430);Z(431);Z(804);Z(805);Z(709);Z(25);Z(779);Z(348);Z(415);Z(416);Z(622);Z(547);Z(546);Z(551);Z(33);var uZ=Z(41),Os=IT(988,uZ),vZ=Z(38),Ws=IT(989,vZ),wZ=Z(12),Cp=IT(990,wZ),xZ=Z(37),Is=IT(991,xZ),Hs=IT(992,Is);Z(34);Z(35);Z(36);Z(435);Z(434);Z(668);Z(802);Z(806);var UJ=Z(508);Z(341);Z(537);Z(538);Z(531);Z(548);Z(27);\nZ(676);Z(667);Z(393);Z(781);Z(451);Z(7);var np=IT(995,Bo),Ao=IT(996,to),yZ=Z(9),gp=IT(997,yZ),zZ=Z(11),dp=IT(998,zZ);Z(21);Z(13);Z(8);Z(10);Z(39);Z(678);Z(680);Z(681);var AZ=Z(682),jV=IT(999,AZ);Z(683);var BZ=MT(684,function(){gV();return rV}),sV=IT(1E3,BZ);MT(685,null);MT(686,null);MT(687,null);Z(679);Z(401);Z(418);Z(417);Z(40);Z(394);Z(71);Z(72);Z(70);Z(73);Z(76);Z(77);Z(78);Z(79);Z(80);Z(81);var CZ=Z(93),PG=IT(1001,CZ);Z(82);Z(83);Z(84);Z(85);Z(86);Z(87);Z(88);Z(90);Z(89);Z(91);Z(92);Z(94);Z(95);\nZ(97);Z(98);Z(96);Z(99);Z(100);Z(101);Z(102);Z(104);Z(106);Z(107);Z(105);Z(103);Z(108);Z(109);Z(110);Z(111);Z(113);Z(116);Z(115);Z(117);Z(120);Z(121);Z(119);Z(122);Z(123);Z(124);Z(125);Z(126);Z(127);Z(129);Z(130);Z(128);Z(131);Z(132);Z(133);Z(134);Z(136);Z(137);Z(135);Z(342);var JK=Z(528),LK=IT(1002,JK);Z(529);Z(527);Z(31);Z(14);var DZ=Z(null),wq=IT(1003,DZ);Z(16);var Bq=IT(1004,Yn);Z(20);Z(17);Z(15);Z(462);Z(263);Z(378);Z(380);Z(379);Z(346);Z(461);Z(343);Z(554);Z(553);Z(555);Z(646);Z(645);Z(307);\nZ(75);Z(353);Z(424);Z(426);Z(777);Z(820);Z(530);Z(556);Z(321);Z(642);Z(345);Z(74);Z(112);Z(822);Z(825);Z(827);Z(821);Z(549);Z(550);Z(557);Z(620);Z(848);Z(322);Z(63);Z(64);var EZ=Z(67),Dt=IT(1008,EZ);Z(65);Z(68);Z(69);Z(340);function yJ(){return this.d}function Nx(){return this.b}function LR(){return!1}function WF(a){return EE(this,a,(zA(),zA(),AA))}function vI(){}function iD(){return IK(this.a)}function iV(){return this.a.c}function ST(){return m+this.a}function RT(){return I(this.a)}\nfunction QE(){KE(this)}function VF(a){return EE(this,a,(sA(),sA(),tA))}function kD(){return this.a}function iA(){return this.c}function wK(){var a;0<this.a?(a=rK(this,this.a),a=!a?gI(this):a):a=gI(this);return a}function Fn(a){return this===a}function TF(a){return EE(this,a,(lA(),lA(),mA))}function ZK(){return 0>=this.c||0>=this.b}function uI(){return gI(this)}function DE(){return this.lb}function JJ(){}function sU(){return wU(this.a)}function rt(){return!0}function MR(){return null}\nfunction lD(a){return!E(a,33)?!1:ds(this.a,a.ze())}function rB(a){var b=a.a;if(a=a.a.k)zB(b,this),a.aj(b.b);b.d=!0}function hU(){return this.a.a}function PE(){}function UF(a){return EE(this,a,(pA(),pA(),qA))}function xI(){return this.cZ.d+nh+this.Jf()+vh}function CE(){return xx(this.lb,qk)}function NR(){return!1}function QS(){Xw(2,new HN(this.b,Tj))}function AU(a){return iE(this.a,a)}function zL(){return 0==this.xg()}function nU(){return this.a.d}\nfunction TT(a){return this.a<a.a?-1:this.a>a.a?1:0}function Gn(){return vw(this)}function VS(){var a=this.b;this.c.a.apply(a,[VQ(this.a.a),a])}function xK(){var a;0<this.a?(a=rK(this,this.a),a=!a?iI(this):a):a=iI(this);return a}function YK(){return this.e}function wI(){return iI(this)}function BE(){return xx(this.lb,pk)};window.gwtOnLoad=gwtOnLoad;$sendStats(\'moduleStartup\', \'moduleEvalEnd\');gwtOnLoad(__gwtModuleFunction.__errFn, __gwtModuleFunction.__moduleName, __gwtModuleFunction.__moduleBase, __gwtModuleFunction.__softPermutationId,__gwtModuleFunction.__computePropValue);$sendStats(\'moduleStartup\', \'end\');\n//@ sourceURL=0.js \n']);
  