From 0959985edbdc029d29a4f9f6db317686c6bc5b99 Mon Sep 17 00:00:00 2001 From: blokhin Date: Tue, 30 Apr 2024 11:45:56 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20mpds-io/?= =?UTF-8?q?ermac@f159deedf76164dacdbefbe5d548fcb1210f5328=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ermac.min.js | 171 ++++++++++++++++++-------------- index.html | 4 +- oauth/idp_auth.html | 5 +- webassets/ermac.css | 49 +++++---- webassets/iframe_cifplayer.html | 47 +++++++++ webassets/iframe_visavis.html | 99 ++++++++++++++++++ 6 files changed, 274 insertions(+), 101 deletions(-) create mode 100644 webassets/iframe_cifplayer.html create mode 100644 webassets/iframe_visavis.html diff --git a/ermac.min.js b/ermac.min.js index 0822881..732e7c7 100644 --- a/ermac.min.js +++ b/ermac.min.js @@ -1,4 +1,6 @@ var ie_passing_check=function(){var c=function(){var a=window.navigator.userAgent,b=a.indexOf("MSIE ");if(0c?!1:!0:!0}();if(!ie_passing_check)throw alert("Please, upgrade your browser"),Error("Unsupported user agent"); +/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),v={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&v(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!y||!y.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ve(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ye(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],y=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||y.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),y=y.length&&new RegExp(y.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),v=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&v(p,e)?-1:t==C||t.ownerDocument==p&&v(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!y||!y.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),v.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",v.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",v.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),v.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return B(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=_e(v.pixelPosition,function(e,t){if(t)return t=Be(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0 thead > tr > th", selectorHeaderParent:"dataheader_entries",debug:false};function benchmark(s,d){log(s+","+((new Date).getTime()-d.getTime())+"ms")}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined")console.log(s);else alert(s)}function buildParserCache(table,$headers){if(table.config.debug)var parsersDebug="";if(table.tBodies.length==0)return;var rows=table.tBodies[0].rows;if(rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;ir.input)),f=[]):G.includes(e)||(e=e.replace(RegExp("\\(","g") k&&("formulae"===k&&(e=n(e)),b[k]?"formulae"===k?l.push(e):"elements"===k?b[k]+=`-${e}`:"classes"===k?b[k]+=`, ${e}`:"props"===k&&(e.includes(b[k])?b[k]=e:l.push(e)):b[k]=e,d++);h++}});b.ignored=l;return b},to_optimade:function(a){const c=[];["formulae","elements","props","classes"].forEach(function(b){a[b]&&("formulae"===b?A(a[b])?c.push(`chemical_formula_anonymous="${a[b]}"`):c.push(`chemical_formula_reduced="${a[b]}"`):"elements"===b?c.push(`elements HAS ALL "${a[b].split("-").join('","')}"`): "props"===b?c.push(`_mpds_${a[b].replaceAll(" ","_")} IS KNOWN`):"classes"===b&&a[b].split(", ").forEach(function(d){d=B.indexOf(d);0d;d++)if(a.length>=b[d]&&-1!==c.indexOf(a.slice(0,b[d]).toLowerCase())){a=x(a,b[d]);break a}a=!1}}b=a;if(!b)return["?", "?"];a=capitalize(b[0]);b=b[1];c=!1;d="";for(let h=0,f=b.length;h",c=!0):c&&(d+="",c=!1),d+=b[h];c&&(d+="");return[a,d]},termify_formulae:n,is_numeric:g,arity_keys:B,periodic_elements:t,periodic_elements_cased:y,periodic_element_names:w}};"undefined"!==typeof module&&module.exports?module.exports=OptimadeNLP:"function"===typeof require&&"function"===typeof require.specified&&define(function(){return OptimadeNLP}); +!function(k,b){"object"==typeof exports&&"object"==typeof module?module.exports=b():"function"==typeof define&&define.amd?define("darkmode-js",[],b):"object"==typeof exports?exports["darkmode-js"]=b():k["darkmode-js"]=b()}("undefined"!=typeof self?self:this,function(){return function(k){function b(a){if(f[a])return f[a].exports;var c=f[a]={i:a,l:!1,exports:{}};return k[a].call(c.exports,c,c.exports,b),c.l=!0,c.exports}var f={};return b.m=k,b.c=f,b.d=function(a,c,g){b.o(a,c)||Object.defineProperty(a, +c,{enumerable:!0,get:g})},b.r=function(a){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"});Object.defineProperty(a,"__esModule",{value:!0})},b.t=function(a,c){if((1&c&&(a=b(a)),8&c)||4&c&&"object"==typeof a&&a&&a.__esModule)return a;var g=Object.create(null);if(b.r(g),Object.defineProperty(g,"default",{enumerable:!0,value:a}),2&c&&"string"!=typeof a)for(var l in a)b.d(g,l,function(d){return a[d]}.bind(null,l));return g},b.n=function(a){var c= +a&&a.__esModule?function(){return a.default}:function(){return a};return b.d(c,"a",c),c},b.o=function(a,c){return Object.prototype.hasOwnProperty.call(a,c)},b.p="",b(b.s=0)}([function(k,b,f){Object.defineProperty(b,"__esModule",{value:!0});b.default=void 0;if((f=f(1))&&f.__esModule)var a=f;else{var c={};if(null!=f)for(a in f)if(Object.prototype.hasOwnProperty.call(f,a)){var g=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(f,a):{};g.get||g.set?Object.defineProperty(c, +a,g):c[a]=f[a]}a=(c.default=f,c)}b.default=a.default;a.IS_BROWSER&&(window.Darkmode=a.default);k.exports=b.default},function(k,b,f){function a(g,l){for(var d=0;d 0.5{electronic properties for semiconductor carbides{c/a > 3, a/b > 3, density < 4{noble gases superconductivity{W-Mo ternary phase diagram{density < 3 and temperature for congruent melting > 2000{tetragonal SrTiO₃ phonons{radioactive elements conductivity{O₃Al₂ elastic properties{sidorenkite crystal cell{birefringence < 0.005 and static permittivity > 7.5{phase diagrams from ab initio literature{adiabatic bulk modulus > 250 and isothermal bulk modulus > 250{magnetic properties of binary compounds{radioactive binary compounds{binary frank-kasper type".split("{"); +wmgui.fetch_page_size=850;wmgui.notify_counter=null;wmgui.cliff_counter=null;wmgui.sid=null;wmgui.oauths=null;wmgui.prod=!0;wmgui.darkmode=null;wmgui.cliffhangers="binary compounds with negative thermal expansion{band gap of hexagonal ZnO{ternary oxides of indium{microhardness < 0.05{temperature for metal-nonmetal transition < 10{thermoelectric figure of merit > 0.5{electronic properties for semiconductor carbides{c/a > 3, a/b > 3, density < 4{noble gases superconductivity{W-Mo ternary phase diagram{density < 3 and temperature for congruent melting > 2000{tetragonal SrTiO₃ phonons{radioactive elements conductivity{O₃Al₂ elastic properties{sidorenkite crystal cell{birefringence < 0.005 and static permittivity > 7.5{phase diagrams from ab initio literature{adiabatic bulk modulus > 250 and isothermal bulk modulus > 250{magnetic properties of binary compounds{radioactive binary compounds{binary frank-kasper type".split("{"); wmgui.welcome_msgs="The distinct phases is the central concept at the MPDS. Thanks to that, the crystal structures are linked to the phase diagrams and physical properties. Any distinct phase is uniquely determined by the chemical formula, space group, and Pearson symbol e.g. CuAl2 140 tI12.{Our data back up such products as Springer Materials™, ICDD PDF-4™, ASM Alloy Phase Diagrams™, Pearson's Crystal Data, MedeA Materials Design™, and AtomWork Advanced.{Each peer-reviewed crystal structure, phase diagram, or physical property at the MPDS originates from a particular publication.{There are two search modes, simple and advanced. The simple presents one \"smart\" input field, the advanced offers many various search fields.{The MPDS includes the data extracted from the rare USSR and Japanese journals from 60-es, 70-es, and 80-es. These journals were never online.{A unique feature of the MPDS is the support of the polyhedral type searches, taking into account the atomic environments.".split("{"); wmgui.api_msg='Try e.g. the following command in a terminal. As finished, do not forget to revoke your API key. See the manual and the license for open data listing.
curl -H Key:YOUR_API_KEY \'https://api.mpds.io/v0/download/facet?q=\{"elements":"Ag-K"\}\'
Copy to clipboard
'; wmgui.bid_history=[];wmgui.mydata_history=[];wmgui.journal_converter={j2c:function(){},c2j:function(){}};wmgui.hy_complex="crystalline structure;phase diagram;cell parameters - temperature diagram;cell parameters - pressure diagram;electron energy band structure;electron density of states;vibrational spectra".split(";");wmgui.visavis_curtype="pie";wmgui.visavis_ready=!1;wmgui.visavis_working=!1;wmgui.visavis_terminating=!1;wmgui.visavis_starting=!1; @@ -203,8 +219,8 @@ wmgui.numerics={volume:[5001,"Å3",3,1E4,1],density:[5002,"Mg/m< wmgui.api_host=wmgui.prod?"https://api.mpds.io/v0":"http://localhost:7070";wmgui.static_host="https://mpds.io";wmgui.login_endpoint=wmgui.api_host+"/users/login";wmgui.logout_endpoint=wmgui.api_host+"/users/logout";wmgui.factor_endpoint=wmgui.api_host+"/users/factor";wmgui.factor_v_endpoint=wmgui.api_host+"/users/factor_v";wmgui.restore_endpoint=wmgui.api_host+"/users/lost_password";wmgui.password_endpoint=wmgui.api_host+"/users/new_password";wmgui.access_endpoint=wmgui.api_host+"/users/access"; wmgui.ip_endpoint=wmgui.api_host+"/users/ip";wmgui.ratify_endpoint=wmgui.api_host+"/users/ratify";wmgui.api_key_endpoint=wmgui.api_host+"/users/api_key";wmgui.perms_endpoint=wmgui.api_host+"/users/perms";wmgui.ip_perms_endpoint=wmgui.api_host+"/users/ip_perms";wmgui.funnel_endpoint=wmgui.api_host+"/users/funnel";wmgui.search_endpoint=wmgui.api_host+"/search/facet";wmgui.rfn_endpoint=wmgui.api_host+"/search/refinement";wmgui.sim_endpoint=wmgui.api_host+"/search/interlinkage"; wmgui.phase_endpoint=wmgui.api_host+"/search/phase";wmgui.phph_endpoint=wmgui.api_host+"/search/phase_phid";wmgui.auto_endpoint=wmgui.api_host+"/search/selectize";wmgui.refs_endpoint=wmgui.api_host+"/download/bib";wmgui.vis_endpoint=wmgui.api_host+"/visavis";wmgui.pdist_endpoint=wmgui.api_host+"/visavis/pdistribs";wmgui.mydata_endpoint=wmgui.api_host+"/extension/mydata";wmgui.dd_addr_tpl=wmgui.api_host+"/download";wmgui.mydata_addr=wmgui.prod?"https://absolidix.com":"http://localhost:5000"; -wmgui.v_player_addr_tpl="/crystvis/player.html";wmgui.v_player_addr=wmgui.v_player_addr_tpl+"#"+wmgui.api_host+"/download/s?fmt=cif&q=";wmgui.v_pd_addr=wmgui.static_host+"/pd_stub.html#"+wmgui.api_host+"/download/c?fmt=png&q=";wmgui.v_pd_addr_anon=wmgui.static_host+"/visavis/?290623#"+wmgui.api_host+"/download/c?fmt=json&q=";wmgui.v_sd_addr=wmgui.static_host+"/visavis/?290623#"+wmgui.api_host+"/download/p?fmt=json&q=";wmgui.v_xrpd_addr=wmgui.static_host+"/visavis/?290623#"+wmgui.api_host+"/download/s?fmt=xrpd&q="; -wmgui.v_vis_addr=wmgui.static_host+"/visavis/?nobanner&290623";wmgui.v_ab_vis_addr=wmgui.static_host+"/labs/view-phonons/#"+wmgui.api_host+"/download/p?fmt=json&q=";wmgui.v_pd_3d_addr=wmgui.gui_host+"/labs/pd3d/?";wmgui.client_data_addr=wmgui.static_host+"/wmdata.json?220923";wmgui.aetmap_addr=wmgui.static_host+"/aets.jpg";wmgui.edition=null; +wmgui.path_c_entry="#"+wmgui.api_host+"/download/c?fmt=json&q=";wmgui.path_s_entry="#"+wmgui.api_host+"/download/s?fmt=cif&q=";wmgui.path_s_xrpd="#"+wmgui.api_host+"/download/s?fmt=xrpd&q=";wmgui.path_sd_plot="#"+wmgui.api_host+"/download/p?fmt=json&q=";wmgui.engines="a";wmgui.engines_addrs={a:{cifplayer:"/crystvis/player.html",visavis:"/visavis/?nobanner"},b:{cifplayer:"webassets/iframe_cifplayer.html",visavis:"webassets/iframe_visavis.html"}}; +wmgui.v_pd_user_addr=wmgui.static_host+"/pd_stub.html#"+wmgui.api_host+"/download/c?fmt=png&q=";wmgui.v_ab_vis_addr=wmgui.static_host+"/labs/view-phonons/#"+wmgui.api_host+"/download/p?fmt=json&q=";wmgui.v_pd_3d_addr="labs/pd3d/?";wmgui.client_data_addr=wmgui.static_host+"/wmdata.json?220923";wmgui.aetmap_addr=wmgui.static_host+"/aets.jpg";wmgui.edition=null; wmgui.editions={0:{name:"Materials Platform for Data Science",prod_url:"https://mpds.io",dev_url:"http://localhost:8070",css:wmgui.static_host+"/editions/wm/style.css?220923",actions:function(){$("#logo_l").text("MPDS");$(".only_asm").hide();$(".only_mpds").css("display","inline-block")}},1:{name:"ASM International Materials Platform",prod_url:"https://asm.mpds.io",dev_url:"http://localhost:8075",css:wmgui.static_host+"/editions/asm/style.css?220923",actions:function(){$(".only_mpds").hide();$(".only_asm").css("display", "inline-block");var a=document.querySelector("link[rel*='icon']")||document.createElement("link");a.type="image/x-icon";a.rel="shortcut icon";a.href=wmgui.static_host+"/editions/asm/asm.ico";document.getElementsByTagName("head")[0].appendChild(a)}},6:{name:"ASM International Materials Platform",prod_url:"https://mpds.asminternational.org",dev_url:"http://localhost:8075",css:wmgui.static_host+"/editions/asm/style.css?220923",actions:function(){$(".only_mpds").hide();$(".only_asm").css("display","inline-block"); var a=document.querySelector("link[rel*='icon']")||document.createElement("link");a.type="image/x-icon";a.rel="shortcut icon";a.href=wmgui.static_host+"/editions/asm/asm.ico";document.getElementsByTagName("head")[0].appendChild(a)}},10:{name:"Ermac on MPDS",prod_url:"https://ermac.mpds.io",dev_url:"http://localhost:5555",actions:function(){$(".only_mpds").hide()}},11:{name:"Ermac on Tilde",prod_url:"https://ermac.tilde.pro",dev_url:"http://localhost:5556",actions:function(){$(".only_mpds").hide()}}, @@ -221,7 +237,7 @@ wmgui.aets={"single atom 1-vertex":[0,83],"4-capped trigonal prism 10-vertex":[8 120],"square pyramid central atom outside of base plane 5-vertex":[7657,81],"coplanar pentagon 5-vertex":[7740,67],"square pyramid 5-vertex":[7809,125],"trigonal bipyramid 5-vertex":[7936,107],"coplanar hexagon 6-vertex":[8045,49],"non-coplanar hexagon 6-vertex":[8096,80],"octahedron 6-vertex":[8178,125],"trigonal prism 6-vertex":[8305,120],"pentagonal pyramid 6-vertex":[8427,116],"distorted prism 6-vertex":[8545,110],"monocapped octahedron 7-vertex":[8657,125],"top-monocapped trigonal prism 7-vertex":[8784, 125],"bicapped hexagon 7-vertex":[8911,108],"hexagonal pyramid 7-vertex":[9021,96],"monocapped trigonal prism 7-vertex":[9119,125],"pentagonal bipyramid 7-vertex":[9246,122],"square prism cube 8-vertex":[9370,115],"square antiprism 8-vertex":[9487,103],"hexagonal bipyramid 8-vertex":[9592,125],"distorted square anti-prism-a 8-vertex":[9719,123],"double anti-trigonal prism 8-vertex":[9844,99],"side-bicapped trigonal prism 8-vertex":[9945,107],"distorted square anti-prism-b 8-vertex":[10054,125],"tricapped trigonal prism 9-vertex":[10181, 119],"monocapped square prism 9-vertex":[10302,125],"monocapped double anti-trigonal prism 9-vertex":[10429,113],"truncated hexagonal pyramid 9-vertex":[10544,75],"bicapped hexagonal pyramid 9-vertex":[10621,116]};wmgui.s_examples=[251737,261485,301194,458778,525194,533193,1005414,1030546,1122968,1215422,1232477,1321212,1406036,1613664,1638591,1640622,1707997,1711681,1722027,1819191,1928624,1933647,1940797];wmgui.mockyear="2022";wmgui.store_history_key="wm_search_log_v5";wmgui.store_user_key="wm"; -wmgui.store_bids_key="bid_history";wmgui.store_mydata_key="absolidix_v1";wmgui.store_oauth_email_key="wm_u_email";wmgui.store_comm_exec_key="wm_reload_v1";wmgui.store_redir_key="wm_redir_v1"; +wmgui.store_bids_key="bid_history";wmgui.store_mydata_key="absolidix_v1";wmgui.store_oauth_email_key="wm_u_email";wmgui.store_comm_exec_key="wm_reload_v1";wmgui.store_redir_key="wm_redir_v1";wmgui.store_engines_key="wm_engines_v0"; wmgui.tooltips={userbox:{el:"userbox",oleft:-105,otop:60,view_mode:1,text:'Enjoy full data access
with your account here.
OK'},interpretation:{el:"right_col",oleft:-70,otop:99,view_mode:2,text:'The entries are grouped in the phases.
Next'},databrowser:{el:"databrowser",oleft:0,otop:200,view_mode:2,text:'Click the particular entry to get more info. Opened lock means open access.
OK'}, ss_axes:{el:"ctxpanel_plots",oleft:60,otop:114,view_mode:2,text:'Click gear icon to sort axes differently.
Next'},visavis:{el:"right_col",oleft:-150,otop:500,view_mode:2,text:'Fine-tune visualizations with the commands here.
OK'}};wmgui.tooltip_counter=0;wmgui.tooltip_landing="userbox"; wmgui.entries_messages={C900500:"This system is stable (dashed metastable)",C904090:"This system is metastable (dashed stable)",C904091:"This system is metastable",C904092:"This system is metastable (dashed stable)",C904124:"This system is metastable (dashed stable)",C904221:"This system is stable; allotropic transition of Fe is not shown",C904222:"This system is stable",C904223:"This system is stable",C904313:"This system is stable",C904322:"This system is stable",C904329:"This system is stable", @@ -261,21 +277,22 @@ wmgui.ptable.deactivate=function(){wmgui.ptable.activated=!1;document.getElement wmgui.ptable.subphases_set=function(a){wmgui.ptable.subphases_button=a?1===a?'
Load binary and ternary phases
':'
Load ternary phases only
':""}; function read_ptable_html(){let a=[{}];wmgui.ptable.elements.forEach(function(b,c){if(!(0==c||103 ul > li[data-pos="'+c+'"]');var d={pos:c,classes:[]};b.classList.forEach(function(e){d.classes.push(e)});a.push(d)}});return a}function removeAllCls(a){const b=document.getElementsByClassName(a);for(;b.length;)b[0].classList.remove(a)} function clear_results_area(){try{wmgui.ptable.active_ajax.abort()}catch(a){}document.getElementById("ptable_previews").innerHTML="";document.getElementById("ptable_vis").innerHTML="";wmgui.ptable.deactivate()} -function refresh_ptable_results(a,b,c){if(1===wmgui.view_mode)if(c=[a,b,c].filter(function(d){return!!d}),a=c.length?{search_type:1,classes:wmutils.arity_keys[c.length],elements:c.join("-")}:!1,wmgui.ptable.update_selectize&&(wmgui.ptable.update_selectize=!1,wmgui.multiselects.main.clear(),wmgui.multiselects.main.write({elements:c.join("-")})),wmgui.ptable.subphases_set(),a){wmgui.ptable.query=a;wmgui.ptable.vis_fixed=!1;let d;b=900;1==c.length?2==wmgui.ptable.dtypes?(d=wmgui.v_player_addr_tpl,wmgui.ptable.vis_fixed= -!0):3==wmgui.ptable.dtypes?(d=wmgui.v_vis_addr,wmgui.ptable.vis_fixed=!0):document.getElementById("ptable_vis").innerHTML="":2==c.length?(b=800,1==wmgui.ptable.dtypes?(c={search_type:0,classes:wmutils.arity_keys[c.length],elements:c.join("-"),props:"phase diagram"},ajax_download(null,wmgui.search_endpoint+"?q="+JSON.stringify(c),render_right)):2==wmgui.ptable.dtypes?(d=wmgui.v_player_addr_tpl,wmgui.ptable.vis_fixed=!0):3==wmgui.ptable.dtypes?(d=wmgui.v_vis_addr,wmgui.ptable.vis_fixed=!0):document.getElementById("ptable_vis").innerHTML= -""):(wmgui.ptable.subphases_set(1),b=window.innerHeight-200,wmgui.ptable.vis_fixed=!0,1==wmgui.ptable.dtypes?d=wmgui.v_pd_3d_addr+c.join("-"):2==wmgui.ptable.dtypes?d=wmgui.v_player_addr_tpl:3==wmgui.ptable.dtypes?d=wmgui.v_vis_addr:document.getElementById("ptable_vis").innerHTML="");ajax_download(wmgui.ptable.active_ajax,wmgui.search_endpoint+"?q="+JSON.stringify(a)+"&strict=1",render_left);d&&(document.getElementById("ptable_vis").innerHTML='');wmgui.ptable.activate()}else clear_results_area()}function ajax_download(a,b,c){wmgui.show_preloader();const d=a?a:window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");d.onreadystatechange=function(){4==d.readyState&&(wmgui.hide_preloader(),200==d.status?c(d.responseText):console.error("Error: HTTP "+d.status+" status received during data retrieval from the server"))};d.open("GET",b);d.send(1)} +function refresh_ptable_results(a,b,c){if(1===wmgui.view_mode)if(c=[a,b,c].filter(function(d){return!!d}),a=c.length?{search_type:1,classes:wmutils.arity_keys[c.length],elements:c.join("-")}:!1,wmgui.ptable.update_selectize&&(wmgui.ptable.update_selectize=!1,wmgui.multiselects.main.clear(),wmgui.multiselects.main.write({elements:c.join("-")})),wmgui.ptable.subphases_set(),a){wmgui.ptable.query=a;wmgui.ptable.vis_fixed=!1;let d;b=900;1==c.length?2==wmgui.ptable.dtypes?(d=wmgui.engines_addrs[wmgui.engines].cifplayer, +wmgui.ptable.vis_fixed=!0):3==wmgui.ptable.dtypes?(d=wmgui.engines_addrs[wmgui.engines].visavis,wmgui.ptable.vis_fixed=!0):document.getElementById("ptable_vis").innerHTML="":2==c.length?(b=800,1==wmgui.ptable.dtypes?(c={search_type:0,classes:wmutils.arity_keys[c.length],elements:c.join("-"),props:"phase diagram"},ajax_download(null,wmgui.search_endpoint+"?q="+JSON.stringify(c),render_right)):2==wmgui.ptable.dtypes?(d=wmgui.engines_addrs[wmgui.engines].cifplayer,wmgui.ptable.vis_fixed=!0):3==wmgui.ptable.dtypes? +(d=wmgui.engines_addrs[wmgui.engines].visavis,wmgui.ptable.vis_fixed=!0):document.getElementById("ptable_vis").innerHTML=""):(wmgui.ptable.subphases_set(1),b=window.innerHeight-200,wmgui.ptable.vis_fixed=!0,1==wmgui.ptable.dtypes?d=wmgui.v_pd_3d_addr+c.join("-"):2==wmgui.ptable.dtypes?d=wmgui.engines_addrs[wmgui.engines].cifplayer:3==wmgui.ptable.dtypes?d=wmgui.engines_addrs[wmgui.engines].visavis:document.getElementById("ptable_vis").innerHTML="");ajax_download(wmgui.ptable.active_ajax,wmgui.search_endpoint+ +"?q="+JSON.stringify(a)+"&strict=1",render_left);d&&(document.getElementById("ptable_vis").innerHTML='');wmgui.ptable.activate()}else clear_results_area()} +function ajax_download(a,b,c){wmgui.show_preloader();const d=a?a:window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");d.onreadystatechange=function(){4==d.readyState&&(wmgui.hide_preloader(),200==d.status?c(d.responseText):console.error("Error: HTTP "+d.status+" status received during data retrieval from the server"))};d.open("GET",b);d.send(1)} function render_left(a){a=JSON.parse(a);if(a.error)return wmgui.notify(a.error);var b="

Reported phases of "+wmgui.ptable.query.classes+" "+wmgui.ptable.query.elements+(-1==wmgui.ptable.query.elements.indexOf("-")?"":" system")+"

";const c=document.getElementById("ptable_previews");c.className="";c.classList.add("ptable_dtype_"+wmgui.ptable.dtypes);c.innerHTML=b+(a.out.length?build_thumbs_ph(a.out):"

No results

")+wmgui.ptable.subphases_button;10>a.out.length&&(wmgui.ptable.vis_fixed= -!1);2==wmgui.ptable.dtypes?(a=document.querySelectorAll("#ptable_results div.gallery_img"),a.length?(b=Math.floor(Math.random()*a.length),a[b].parentNode.classList.add("active"),b=a[b].getAttribute("rel"),a=document.querySelector("#ptable_vis > iframe"),b="#"+wmgui.phase_endpoint+"?phid="+b+"&struct=1",a?a.contentWindow.location.hash=b:document.getElementById("ptable_vis").innerHTML=''):document.getElementById("ptable_vis").innerHTML= -""):3==wmgui.ptable.dtypes&&(a=document.querySelectorAll("#ptable_results div.gallery_img"),a.length?(b=Math.floor(Math.random()*a.length),a[b].parentNode.classList.add("active"),b=a[b].getAttribute("rel"),a=document.querySelector("#ptable_vis > iframe"),b=get_visavis_url({phid:b},"graph",window.innerHeight-50),a?a.contentWindow.location.replace(b):document.getElementById("ptable_vis").innerHTML=''):document.getElementById("ptable_vis").innerHTML= -"")}function render_right(a){a=JSON.parse(a);if(a.error)return wmgui.notify(a.error);a.fuzzy_notice||!a.out.length?document.getElementById("ptable_vis").innerHTML="":document.getElementById("ptable_vis").innerHTML="

Reported phase diagrams of "+wmgui.ptable.query.elements+" system

"+build_thumbs_pd(a.out)} +!1);2==wmgui.ptable.dtypes?(a=document.querySelectorAll("#ptable_results div.gallery_img.renderable"),a.length?(b=Math.floor(Math.random()*a.length),a[b].parentNode.classList.add("active"),b=a[b].getAttribute("rel"),a=document.querySelector("#ptable_vis > iframe"),b="#"+wmgui.phase_endpoint+"?phid="+b+"&struct=1",a?a.contentWindow.location.hash=b:document.getElementById("ptable_vis").innerHTML=''):document.getElementById("ptable_vis").innerHTML=""):3==wmgui.ptable.dtypes&&(a=document.querySelectorAll("#ptable_results div.gallery_img.renderable"),a.length?(b=Math.floor(Math.random()*a.length),a[b].parentNode.classList.add("active"),b=a[b].getAttribute("rel"),a=document.querySelector("#ptable_vis > iframe"),b=get_visavis_url({phid:b},"graph",window.innerHeight-50),a?a.contentWindow.location.replace(b):document.getElementById("ptable_vis").innerHTML=''):document.getElementById("ptable_vis").innerHTML="")}function render_right(a){a=JSON.parse(a);if(a.error)return wmgui.notify(a.error);a.fuzzy_notice||!a.out.length?document.getElementById("ptable_vis").innerHTML="":document.getElementById("ptable_vis").innerHTML="

Reported phase diagrams of "+wmgui.ptable.query.elements+" system

"+build_thumbs_pd(a.out)} function render_unaries(){wmgui.ptable.first_el&&(wmgui.ptable.els_data.forEach(function(a){if(a.pos){var b=document.querySelector('#ptable_area > ul > li[data-pos="'+a.pos+'"]');b.style.backgroundImage="none";b.className="";b.classList.add(...a.classes)}}),wmgui.ptable.first_el=null)} function render_binaries(a,b){document.querySelectorAll("#ptable_area > ul > li").forEach(function(c){if(c.hasAttribute("data-pos")){var d=wmgui.ptable.elements[parseInt(c.getAttribute("data-pos"))];1==wmgui.ptable.dtypes?d!=a&&d!=b&&(c.style.backgroundImage="url('"+wmgui.ptable.pdsvg_path+"/bin/"+a+"-"+d+".svg')",c.className="active_a"):2==wmgui.ptable.dtypes?d!=a&&d!=b&&(d=[a,d],d.sort(),c.style.backgroundImage="url('"+wmgui.ptable.crsvg_path+"/bin/"+d.join("-")+".svg')",c.className="active_a"): 3==wmgui.ptable.dtypes?d!=a&&d!=b&&(d=[a,d],d.sort(),c.style.backgroundImage="url('"+wmgui.ptable.ppsvg_path+"/bin/"+d.join("-")+".svg')",c.className="active_a"):d!=a&&d!=b?(c.style.backgroundImage="none",c.className="active_a"):d==a&&(c.className="selected_a",c.classList.add(...wmgui.ptable.els_data[parseInt(c.getAttribute("data-pos"))].classes))}})} function render_ternaries(a,b){document.querySelectorAll("#ptable_area > ul > li").forEach(function(c){if(c.hasAttribute("data-pos")){var d=wmgui.ptable.elements[parseInt(c.getAttribute("data-pos"))];1==wmgui.ptable.dtypes?d!=a&&d!=b&&(d=[a,b,d],d.sort(),c.style.backgroundImage="url('"+wmgui.ptable.pdsvg_path+"/ter/"+d.join("-")+".svg')",c.classList.add("active_b")):2==wmgui.ptable.dtypes?d!=a&&d!=b&&(d=[a,b,d],d.sort(),c.style.backgroundImage="url('"+wmgui.ptable.crsvg_path+"/ter/"+d.join("-")+".svg')", c.classList.add("active_b")):3==wmgui.ptable.dtypes?d!=a&&d!=b&&(d=[a,b,d],d.sort(),c.style.backgroundImage="url('"+wmgui.ptable.ppsvg_path+"/ter/"+d.join("-")+".svg')",c.classList.add("active_b")):d!=a&&d!=b?(c.style.backgroundImage="none",c.classList.add("active_b")):d==a?(c.className="selected_a",c.classList.add(...wmgui.ptable.els_data[parseInt(c.getAttribute("data-pos"))].classes)):d==b&&(c.className="selected_b")}})} -function build_thumbs_ph(a){let b="";a.sort(function(c,d){return c[1]>d[1]?1:c[1]';b+=' ";b+=' ";b+=""}); -return b} +function build_thumbs_ph(a){let b="";a.sort(function(c,d){return c[1]>d[1]?1:c[1]';b+=' ";b+=' ";b+=""});return b} function build_thumbs_pd(a){let b="";a.sort(function(c,d){return c[1]>d[1]?1:c[1]

'+c[2]+"

";b+='"}});return b} function select_ptable_el(a,b){if(!b&&(b=document.querySelector('#ptable_area > ul > li[data-pos="'+wmgui.ptable.elements.indexOf(a)+'"]'),!b))return wmgui.notify("Sorry, wrong element: "+a);b.classList.contains("selected_a")?(b.classList.remove("selected_a"),render_unaries(),refresh_ptable_results()):b.classList.contains("selected_b")?(b.classList.remove("selected_b"),render_binaries(wmgui.ptable.first_el,a),wmgui.ptable.second_el=null,refresh_ptable_results(wmgui.ptable.first_el)):b.classList.contains("selected_c")? @@ -298,7 +315,7 @@ var wmgui=window.wmgui||{};function url_redraw_react(){var b=window.location.has function url__start(b){switch_view_mode(1);2>wmgui.tooltip_counter&&setTimeout(function(){show_tooltip(wmgui.tooltips[wmgui.tooltip_landing])},4E3)}function url__search(b,a){b=unescape(b);var c=wmutils.guess(b);c.numeric&&(wmgui.search_type=1);show_interpretation(c);delete c.ignored;$("#search_field-selectized").val("");wmgui.multiselects.main.clear();wmgui.multiselects.main.write(c);wmgui.search=c;c.search_type=wmgui.search_type;a||request_search(c,b,wmgui.search_type)} function url__inquiry(b,a){var c=b.split("&").map(function(d){return d=d.split("="),this[d[0]]=d[1],this}.bind({}))[0];wmgui.facets.forEach(function(d){c[d]&&(c[d]=unescape(c[d].replaceAll("+"," ")))});c.numeric&&(c.numeric=unescape(c.numeric).split(";").map(function(d){return d.split(",")}),c.numeric=c.numeric.filter(function(d){return 3==d.length}),wmgui.search_type=1);show_interpretation(c);delete c.ignored;var e=[];$.each(c,function(d,f){e.push(f)});$("#search_field-selectized").val("");wmgui.multiselects.main.clear(); wmgui.multiselects.main.write(c);wmgui.search=c;c.search_type=wmgui.search_type;a||request_search(c,e.join(" ").replaceAll(","," "),wmgui.search_type)} -function url__plot(b){var a=b.split("/"),c=a[0],e=a[1];a=a[2];if(!c||!e||!a)return wmgui.notify("Sorry, unknown route: "+b);if("search"==e)url__search(a,!0);else if("inquiry"==e)url__inquiry(a,!0);else return wmgui.notify("Sorry, unknown route: "+b);wmgui.visavis_curtype=c;switch_view_mode(2);wmgui.visavis_ready?start_visavis(c):wmgui.visavis_starting=!0;2>wmgui.tooltip_counter&&("matrix"==c||"cube"==c)&&setTimeout(function(){show_tooltip(wmgui.tooltips.ss_axes,!0)},4E3)} +function url__plot(b){var a=b.split("/"),c=a[0],e=a[1];a=a[2];if(!c||!e||!a)return wmgui.notify("Sorry, unknown route: "+b);if("search"==e)url__search(a,!0);else if("inquiry"==e)url__inquiry(a,!0);else return wmgui.notify("Sorry, unknown route: "+b);wmgui.visavis_curtype=c;switch_view_mode(2);setTimeout(function(){start_visavis(c)},0);2>wmgui.tooltip_counter&&("matrix"==c||"cube"==c)&&setTimeout(function(){show_tooltip(wmgui.tooltips.ss_axes,!0)},4E3)} function url__entry(b){wmgui.search_type=0;wmgui.visavis_terminating=!0;request_search({entry:b},"entry "+b,!0);wmgui.search={};wmgui.passive_sim_col=!0;show_interpretation()}function url__phase_id(b){wmgui.search_type=0;show_interpretation();b=parseInt(b);wmgui.search={phid:b};wmgui.search.search_type=wmgui.search_type;request_search({phid:b},"phase "+b,!0)} function url__phase(b){var a=b.split("/");b=a[0];var c=a[1];a=a[2];if(b&&c&&a)wmgui.active_ajax=$.ajax({type:"GET",url:wmgui.phph_endpoint,data:{phase:[b,c,a].join("/")},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(e){if(e.error)return wmgui.notify(e.error);window.location.replace("#phase_id/"+e.phid)}).fail(function(e,d,f){"abort"!=d&&wmgui.notify("Sorry, a network error occured. Please, try again")});else return wmgui.notify("Sorry, wrong phase given")} function url__article(b){wmgui.search_type=0;show_interpretation();b=parseInt(b);wmgui.search={bid:b};wmgui.search.search_type=wmgui.search_type;request_search({bid:b},"B"+b,!0)}function url__hierarchy(){$("body").removeClass("noscroll");$("#overlay").show();window.scrollTo(0,0);$("#hy_box").show()} @@ -321,7 +338,7 @@ wmgui.multiselects[c].clear(),a={},a[c]=b,wmgui.multiselects[c].write(a)):a.pare "graph",window.innerHeight-50));$("div.gallery_item.active").removeClass("active");a.parent().addClass("active")}else b=a.attr("data-path")||"phase_id",window.location.hash="#"+b+"/"+a.attr("rel")});$("#databrowser").on("mousedown","a.resolve_ref",function(a){a=$(this).attr("rel");$("a.resolve_ref[rel="+a+"]").addClass("visited");wmgui.bid_history.push(parseInt(a));window.localStorage.setItem(wmgui.store_bids_key,JSON.stringify(wmgui.bid_history));return!0});$("#databrowser").on("click","tr.tcell, div.gallery_item", function(){open_context($(this),!1)});$("#databrowser").on("click","span.launch_v",function(a){wmgui.cancel_event(a);a=$(this).parent().parent();a.removeClass("busy_entry");open_context(a,!0)});$("#databrowser").on("click","a.launch_id",function(a){wmgui.cancel_event(a);a=$(this).attr("href");window.location.hash==a&&(a+=".");window.location.hash=a;return!1});$("#all_polyhedra_content").on("click","div.gallery_item",function(){$("#advstab_options li").removeClass("working");$("#advstab_options li[rev=advstab_cry]").addClass("working"); $("div.advstab").hide();$("#advstab_cry").show();$("div.modal").hide();$("#advsbox, #overlay").show();var a=$(this).attr("rel");-1==(wmgui.multiselects.aetypes.read().aetypes||"").split(", ").indexOf(a)&&wmgui.multiselects.aetypes.write({aetypes:a});show_aetmap(a)});$("#aet_limit").click(function(a){var b=(wmgui.multiselects.classes.read().classes||"").split(", ");if(this.checked){var c=(wmgui.multiselects.aetypes.read().aetypes||"").split(", ").filter(function(f){return f});c=wmgui.poly_limits[c.length]; -if(!c)return wmgui.cancel_event(a),wmgui.notify("Sorry, only up to 3 supported"),!1;-1==b.indexOf(c)&&wmgui.multiselects.classes.write({classes:c})}else{var d=Object.values(wmgui.poly_limits);wmgui.multiselects.classes.clear();wmgui.multiselects.classes.write({classes:b.filter(function(f){return-1==d.indexOf(f)}).join(", ")})}return!0});$("#visualize, #xrpdize").click(function(){close_vibox();launch_iframed_app(this.getAttribute("data-rank"))});$("#absolidize").click(function(){if(!$(this).hasClass("wmbutton"))return!1; +if(!c)return wmgui.cancel_event(a),wmgui.notify("Sorry, only up to 3 supported"),!1;-1==b.indexOf(c)&&wmgui.multiselects.classes.write({classes:c})}else{var d=Object.values(wmgui.poly_limits);wmgui.multiselects.classes.clear();wmgui.multiselects.classes.write({classes:b.filter(function(f){return-1==d.indexOf(f)}).join(", ")})}return!0});$("#visualize, #xrpdize").click(function(){close_vibox();launch_db_iframed(this.getAttribute("data-rank"))});$("#absolidize").click(function(){if(!$(this).hasClass("wmbutton"))return!1; if(!wmgui.sid)return window.localStorage.setItem(window.store_redir_key,"/"+window.location.hash),window.location.replace("#modal/login");var a=$("#entryno > a").text();try{wmgui.active_ajax.abort()}catch(b){}$.ajax({type:"GET",url:wmgui.mydata_endpoint,data:{q:a,sid:wmgui.sid},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(b){if(b.error)return wmgui.notify(b.error);wmgui.mydata_history.push(a);window.localStorage.setItem(wmgui.store_mydata_key,JSON.stringify(wmgui.mydata_history)); $("#absolidize").removeClass("wmbutton")}).fail(function(b,c,d){"abort"!=c&&wmgui.notify('Please, make sure your access works
and try again')})});$("#refine_col").on("click","a.extd_refine",function(){var a=$(this).attr("rel");if($("#refine_col > ul > li.extd_rfns.fct_"+a).length)return $("#refine_col > ul > li:not(.fct_"+a+")").addClass("hidden_rfns").slideUp(),$("#refine_col > ul > li.extd_rfns.fct_"+a).show(),$("a.extd_refine[rel="+a+"]").parent().hide(),!1;var b= {extd_refine:a};$.extend(b,wmgui.search);try{wmgui.active_ajax.abort()}catch(c){}wmgui.active_ajax=$.ajax({type:"GET",url:wmgui.rfn_endpoint,data:{q:JSON.stringify(b)}}).done(function(c){if(c.error)return wmgui.notify(c.error);var d="";delete b.numeric;delete b.extd_refine;var f=!1;$.each(wmgui.inquiries,function(e,h){if(b[h])return f=!0,!1});$.each(c.payload,function(e,h){var r="",k={};$.each(b,function(l,g){if("search_type"==l||"elements"==a&&("elements"==l||"formulae"==l)||"props"==a&&"props"== @@ -330,56 +347,57 @@ $("#refine_col > ul > li:not(.fct_"+a+")").addClass("hidden_rfns").slideUp();$(" $("#refine_col > ul > li.extd_rfns").hide();return!1});$("#tagcloudbox").on("click","a.collateral",function(){$("#userbox").data("saved_hash",!1);var a=$(this).attr("rel");if("adv"==a)$("#advsearch_init_trigger").trigger("click"),$("div.menu_collateral").hide();else if("idea"==a)window.location.hash="#plot/"+wmgui.get_random_term(["pie","lit","graph"])+"/search/"+wmgui.get_interesting().text;else if("sod"==a){var b=new Date;a=b.getDate()%wmgui.s_examples.length;var c=new Date(b.getFullYear(),0,0); b=b-c+6E4*(c.getTimezoneOffset()-b.getTimezoneOffset());window.location.hash="#entry/S"+(wmgui.s_examples[a]+Math.floor(b/864E5))}else"my"==a&&(a=JSON.parse(window.localStorage.getItem(wmgui.store_user_key)||"{}"),a.ipbased?window.location.hash="#inquiry/orgs="+a.name:a.name&&(a=a.name.split(" "),window.location.hash="#inquiry/authors="+escape(a[a.length-1])));return!1});$("#hintsbox_msg").on("click","div.wmbutton",function(){var a=document.createRange();a.selectNode($("#hintsbox_msg > pre").get(0)); window.getSelection().removeAllRanges();window.getSelection().addRange(a);document.execCommand("copy");wmgui.notify("Copied")});$("#tooltip").on("click","span",function(){var a=$(this),b=a.attr("rel");a=a.hasClass("forced");document.getElementById("tooltip").style.display="none";b&&wmgui.tooltips[b]&&show_tooltip(wmgui.tooltips[b],a)});$("#sim_col").on("click","li > a",function(){$("#sim_col > ul > li").removeClass("selected");$(this).parent().addClass("selected");wmgui.passive_sim_col=!1;return!0}); -$("div.close_user_dialogue").click(function(){$("#userbox").trigger("click")});$("div.close_advs_dialogue").click(function(){$("#advsbox, #overlay, #aetmap").hide()});$("#close_inquiry_dialogue").click(function(){$("#inquirybox").hide()});$("#close_ss_dialogue").click(function(){var a=$("#ss_x > ul > li.ss_x").attr("rel").split("_")[1],b=$("#ss_y > ul > li.ss_y").attr("rel").split("_")[1],c=$("#sops_x > ul > li.sops_x").text(),d=$("#sops_y > ul > li.sops_y").text();c="none"==c?!1:c;d="none"==d?!1: -d;if($("#ss_z").is(":visible")){var f=$("#ss_z > ul > li.ss_z").attr("rel").split("_")[1],e=$("#sops_z > ul > li.sops_z").text();e="none"==e?!1:e;$("#ctxpanel_cube > ul > li.embodied").removeClass("embodied");$("#viscube_"+a).addClass("embodied");$("#ctxpanel_cube > ul > li.ss_y").removeClass("ss_y");$("#viscube_"+b).addClass("ss_y");$("#ctxpanel_cube > ul > li.ss_z").removeClass("ss_z");$("#viscube_"+f).addClass("ss_z");$("span.sops").remove();c&&$(''+c+"").appendTo("#viscube_"+ -a);d&&$(''+d+"").appendTo("#viscube_"+b);e&&$(''+e+"").appendTo("#viscube_"+f);-1!==document.getElementById("visavis_iframe").contentWindow.location.hash.indexOf("fixel=1")?document.getElementById("visavis_iframe").contentWindow.matrix_order(a,b,c,d):document.getElementById("visavis_iframe").contentWindow.cube_order(a,b,f,c,d,e)}else{if(c&&"count"==a||d&&"count"==b)return wmgui.notify("Sorry, data counts are not supported");$("#ctxpanel_matrix > ul > li.embodied").removeClass("embodied"); -$("#vismatrix_"+a).addClass("embodied");$("#ctxpanel_matrix > ul > li.ss_y").removeClass("ss_y");$("#vismatrix_"+b).addClass("ss_y");$("span.sops").remove();c&&$(''+c+"").appendTo("#vismatrix_"+a);d&&$(''+d+"").appendTo("#vismatrix_"+b);document.getElementById("visavis_iframe").contentWindow.matrix_order(a,b,c,d)}$("#ss_custom_box, #overlay").hide();$("div.ss_col > ul").empty()});$("#close_dc_dialogue").click(function(){$("#discovery_custom_box, #overlay").hide(); -$("#discovery_enabled, #discovery_disabled").empty();document.getElementById("visavis_iframe").contentWindow.discovery_rerun();$("#select_cmp_trigger").val("X")});$("#close_formal_dialogue").click(function(){window.location.hash="#start"});$("#close_ph_dialogue, div.close_hy_dialogue, div.close_product_dialogue").click(function(){if(-1==document.referrer.indexOf(window.location.host))window.location.hash="#start";else{var a=window.location.href;window.history.go(-1);setTimeout(function(){window.location.href== -a&&(window.location.hash="#start")},500)}});$("div._close_ctx").click(function(){try{wmgui.quick_ajax.abort()}catch(a){}$(".busy_entry").removeClass("busy_entry");$("#ctx_col, #sim_col").hide();wmgui.passive_sim_col=!0;close_vibox()});$("#hy_box").on("click","span",function(){var a=$(this).attr("class");$("span."+a).each(function(){var b=$(this);b.parent().find("ul").toggle();"expand"==b.text()?b.text("collapse"):b.text("expand")})});$("#hy_box").on("click","a.dynprop",function(){var a=$(this).attr("data-val"); -window.location.hash=wmgui.aug_search_cmd("props",a);return!1});$("#hy_box").on("click","strong.numeric",function(){var a=$(this).attr("rel"),b=wmgui.numerics[a],c=b[0],d=b[1],f=b[2],e=b[3];b=b[4];var h=$("div.slider_numerics").length;2<=h&&wmgui.notify("Too little phases have all these properties reported — expect no results");8<=h||create_floating_slider(a,c,d,f,e,b)});$("strong.numeric").click(function(){var a=$(this).attr("rel"),b=wmgui.numerics[a];create_floating_slider(a,b[0],b[1],b[2], -b[3],b[4])});$("#hy_options > li").click(function(){var a=$(this),b=a.attr("rev");"hy_vis"==b?window.open(wmgui.static_host+"/labs/ontology"):(a.addClass("working").siblings().removeClass("working"),$("div.hy_tabs").hide(),$("#"+b).show())});$("#dtypes > ul > li").click(function(){var a=$(this),b=a.data("facet");a=a.data("term");"classes"==b&&wmgui.search.classes&&(wmgui.search.classes=wmgui.search.classes.replace("peer-reviewed","").replace("peer-review","").replace("machine-learning","").replace("machine learning", -"").replace("ab initio calculations","").split(",").map(function(c){return c.trim()}).filter(function(c){return c}).join(", "));window.location.hash=wmgui.aug_search_cmd(b,a)});$(window).scroll(wmgui.debounce(function(){if(2==wmgui.view_mode){if(wmgui.unfinished_page&&50>$("#footer").offset().top-$(window).scrollTop()-$(window).height()){wmgui.unfinished_page=!1;var a={offset:wmgui.quick_page_size};$.extend(a,wmgui.search);wmgui.active_ajax=$.ajax({type:"GET",url:wmgui.search_endpoint,data:{q:JSON.stringify(a), -strict:wmgui.ctx_strict_phases,sid:wmgui.sid},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(b){if(b.error)return wmgui.notify(b.error);$("div.context_msg").hide();show_hints();b.out.length&&(wmgui.thumbed_display?$("#databrowser tr td").append(build_thumbs(b.out)):($("#databrowser tbody").append(build_cells(b.out)),$("#databrowser").trigger("update")))}).fail(function(b,c,d){"abort"!=c&&wmgui.notify("Connection to server is lost, please try to reload")})}a= -$("#iframe");a.length&&!wmgui.is_inview(a)&&close_vibox()}else wmgui.ptable.activated&&(a=window.scrollY,40 li").click(function(){try{wmgui.active_ajax.abort()}catch(c){}try{wmgui.quick_ajax.abort()}catch(c){}var a=$(this),b=a.attr("rev");a.addClass("working").siblings().removeClass("working");$("div.menu_tabs").hide();$("#"+b).show();"usr_tab_api_key"==b?($("#hintsbox_msg").html(wmgui.api_msg),wmgui.active_ajax= -$.ajax({type:"POST",url:wmgui.api_key_endpoint,data:{sid:wmgui.sid},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(c){if(c.error)return wmgui.notify(c.error);$("#usr_api_key").html(c.msg);if(c.revokable)$("#revoke_usr_api_key_holder").show();else if(c.creatable)$("#create_usr_api_key_holder").show();else return wmgui.notify('Your session ended: please, log in again')}).fail(function(c,d,f){"abort"!=d&&wmgui.notify('Your session ended: please, log in again')})): -"usr_tab_perms"==b?($("#hintsbox_msg").html(wmgui.get_random_term(wmgui.welcome_msgs)),a=JSON.parse(window.localStorage.getItem(wmgui.store_user_key)||"{}"),wmgui.active_ajax=$.ajax({type:"POST",url:a.ipbased?wmgui.ip_perms_endpoint:wmgui.perms_endpoint,data:{sid:wmgui.sid},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(c){if(c.error)return wmgui.notify(c.error);if(!c.hasOwnProperty("gui")||!c.hasOwnProperty("api"))return wmgui.notify('Your session ended: please, log in again'); -$("#perms_view").html(describe_perms(c))}).fail(function(c,d,f){"abort"!=d&&wmgui.notify('Your session ended: please, log in again')})):"usr_tab_ctrl"==b?window.location.href=(0===wmgui.edition?"/ctrl/":"/labs/custom-datasets/")+"?"+Math.floor(1E3*Math.random()):"usr_tab_absolidix"==b?window.location.href=wmgui.mydata_addr:"usr_tab_account"==b&&$("#hintsbox_msg").html(wmgui.get_random_term(wmgui.welcome_msgs))});$("#advstab_options > li").click(function(){var a=$(this), -b=a.attr("rev");a.addClass("working").siblings().removeClass("working");$("div.advstab").hide();$("#"+b).show()});$("a.link_adjuster").click(function(){return"#polyhedra"==window.location.hash?(window.location.hash="#polyhedra/",!1):"#polyhedra/"==window.location.hash?(window.location.hash="#polyhedra",!1):!0});$("#create_usr_api_key").click(function(){$(this).parent().hide();try{wmgui.active_ajax.abort()}catch(a){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.api_key_endpoint,data:{sid:wmgui.sid, -create:!0},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(a){if(a.error)return wmgui.notify(a.error);$("#usr_api_key").html(a.msg);$("#revoke_usr_api_key_holder").show()}).fail(function(a,b,c){"abort"!=b&&wmgui.notify('Your session ended: please, log in again')})});$("#revoke_usr_api_key").click(function(){$(this).parent().hide();try{wmgui.active_ajax.abort()}catch(a){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.api_key_endpoint, -data:{sid:wmgui.sid,revoke:!0},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(a){if(a.error)return wmgui.notify(a.error);$("#usr_api_key").html("Successfully revoked");$("#create_usr_api_key_holder").show()}).fail(function(a,b,c){"abort"!=b&&wmgui.notify('Your session ended: please, log in again')})});$("#login_trigger").click(function(){if(!$(this).data("busy")){$(this).data("busy",!0);$(this).text("In process...");try{wmgui.active_ajax.abort()}catch(a){}wmgui.active_ajax= -$.ajax({type:"POST",url:wmgui.login_endpoint,data:{login:$("#login_email").val().trim(),pass:$("#login_password").val(),ed:wmgui.edition},beforeSend:wmgui.show_preloader}).always(function(){$("#login_trigger").data("busy",!1);$("#login_trigger").text("Login");wmgui.hide_preloader()}).done(function(a){if(a.error)return wmgui.notify(a.error);if(!a.sid||!a.name||!a.acclogin)return wmgui.notify("Connection to server is lost, please try to reload");user_login(a.sid, -a.name,a.acclogin,a.admin,a.oauths);$("#userbox").trigger("click")}).fail(function(a,b,c){wmgui.notify("Login unsuccessful")})}});$("#factor_trigger").click(function(){if(!$(this).data("busy")){$(this).data("busy",!0);$(this).text("Sending...");try{wmgui.active_ajax.abort()}catch(a){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.factor_endpoint,data:{login:$("#factor_by_email").val().trim()},beforeSend:wmgui.show_preloader}).always(function(){$("#factor_trigger").data("busy",!1);$("#factor_trigger").text("Send code"); -wmgui.hide_preloader()}).done(function(a){if(a.error)return wmgui.notify(a.error);wmgui.notify("Please, check your inbox (and spam)");document.getElementById("factor_trigger").style.display="none";document.getElementById("factor_form_step_one").style.display="none";document.getElementById("factor_form_step_two").style.display="block";document.getElementById("factor_form_resp_0").focus()}).fail(function(a,b,c){"abort"!=b&&wmgui.notify("Sorry, a network error occured. Please, try again")})}});$("#restore_trigger").click(function(){if(!$(this).data("busy")){$(this).data("busy", -!0);$(this).text("Sending...");try{wmgui.active_ajax.abort()}catch(a){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.restore_endpoint,data:{login:$("#restore_by_email").val().trim(),ed:wmgui.edition},beforeSend:wmgui.show_preloader}).always(function(){$("#restore_trigger").data("busy",!1);$("#restore_trigger").text("Send link");wmgui.hide_preloader()}).done(function(a){if(a.error)return wmgui.notify(a.error);wmgui.notify("Please, check your inbox (and spam)");$("#userbox").trigger("click")}).fail(function(a, -b,c){"abort"!=b&&wmgui.notify("Sorry, a network error occured. Please, try again")})}});$("#accpass_trigger").click(function(){if($(this).hasClass("disabled"))return!1;$("#account_pass_change").toggle()});$("#password_trigger").click(function(){var a=$("#new_password_1").val(),b=$("#new_password_2").val();if(!a||!b)return wmgui.notify("Please, type your new password in both fields");if(a!==b)return wmgui.notify("Passwords do not match (typo?)");if(!$(this).data("busy")){$(this).data("busy",!0);$(this).text("Changing..."); -try{wmgui.active_ajax.abort()}catch(c){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.password_endpoint,data:{new_password:b,sid:wmgui.sid,ed:wmgui.edition},beforeSend:wmgui.show_preloader}).always(function(){$("#password_trigger").data("busy",!1);$("#password_trigger").text("Change");wmgui.hide_preloader()}).done(function(c){if(c.error)return wmgui.notify(c.error);user_login(c.sid,c.name,c.acclogin,c.admin,c.oauths);window.location.replace("#start");$("#account_pass_change").hide()}).fail(function(c, -d,f){"abort"!=d&&wmgui.notify('Your session ended: please, log in again')})}});$("#logout_trigger").click(function(){if($(this).hasClass("disabled"))return!1;$.ajax({type:"POST",url:wmgui.logout_endpoint,data:{sid:wmgui.sid}}).done(function(a){}).fail(function(a,b,c){});user_logout();$("#userbox").trigger("click")});$("#notifybox").on("click","span.relogin",force_relogin);q=document.getElementsByClassName("factor_form_resp");for(n=0;na.keyCode&&(submit_factor_form_resp(),a=this.nextElementSibling)&&(a.focus(),a.select())}),q[n].addEventListener("paste",function(a){a=(a.clipboardData||window.clipboardData).getData("text");if(!a||!a.length)return!1;for(var b=0;6>b;b++)document.getElementById("factor_form_resp_"+b).value=a.charAt(b);submit_factor_form_resp()});$("#search_holder").keydown(function(a){13==(window.event? -a.keyCode:a.which)&&$("#search_trigger").trigger("click")});$("#control_a").click(function(){re_view_request(0)});$("#control_b").click(function(){re_view_request(1)});$("#control_f").click(function(){re_view_request(2)});$("#control_c").click(function(){wmgui.visavis_terminating=!0;wmgui.thumbed_display=!1;if(wmgui.visavis_working){var a={},b;for(b in wmgui.search)-1<["search_type","phid","numeric"].indexOf(b)||(a[b]=wmgui.search[b]);a=$.param(a);window.location.hash=="#inquiry/"+a&&(a="="==a.slice(-1)? -a.substr(0,a.length-1):a+"=");window.location.hash="#inquiry/"+a}else re_view_request(wmgui.search_type);wmgui.chosen_table_browser=!0});$("#control_d").click(function(){wmgui.visavis_terminating=!0;wmgui.thumbed_display=!0;if(wmgui.visavis_working){var a={},b;for(b in wmgui.search)-1<["search_type","phid","numeric"].indexOf(b)||(a[b]=wmgui.search[b]);a=$.param(a);window.location.hash=="#inquiry/"+a&&(a="="==a.slice(-1)?a.substr(0,a.length-1):a+"=");window.location.hash="#inquiry/"+a}else re_view_request(wmgui.search_type); -wmgui.chosen_table_browser=!0});$("#control_e").click(function(){var a={};for(b in wmgui.search)-1<["search_type","phid","numeric"].indexOf(b)||(a[b]=wmgui.search[b]);for(;;){var b=wmgui.get_random_term(["matrix","cube"]);if(b!=wmgui.visavis_curtype)break}window.location.hash="#plot/"+b+"/inquiry/"+$.param(a)});$("#ctx_strict_phases_trigger").change(function(a){if(!wmgui.search.elements)return wmgui.cancel_event(a),!1;a=wmutils.arity_keys[wmgui.search.elements.split("-").length];var b=!1;wmgui.search.classes? -($.each(wmutils.arity_keys.slice(1),function(c,d){if(6==c)return!1;if(-1!==wmgui.search.classes.indexOf(d))return b=!0,!1}),b||(wmgui.search.classes+=", "+a,wmgui.multiselects.main.write({classes:a}))):(wmgui.search.classes=a,wmgui.multiselects.main.write({classes:a}));wmgui.ctx_strict_phases=$("#ctx_strict_phases_trigger").is(":checked")?"":"1";re_view_request(wmgui.search_type)});$("#ctxpanel_matrix > ul > li").click(function(){var a=$(this);if(!a.hasClass("embodied")&&!a.hasClass("ss_y")){var b= -a.attr("id").split("_")[1],c=$("#ctxpanel_matrix > ul > li.ss_y");$("#ctxpanel_matrix > ul > li.embodied").removeClass("embodied");c.length&&c.removeClass("ss_y");a.addClass("embodied");$("span.sops").remove();document.getElementById("visavis_iframe").contentWindow.matrix_order(b)}});$("#ctxpanel_cube > ul > li").click(function(){var a=$(this);if(!(a.hasClass("embodied")||a.hasClass("ss_y")||a.hasClass("ss_z"))){var b=a.attr("id").split("_")[1],c=$("#ctxpanel_cube > ul > li.ss_y"),d=$("#ctxpanel_cube > ul > li.ss_z"); -$("#ctxpanel_cube > ul > li.embodied").removeClass("embodied");c.length&&c.removeClass("ss_y");d.length&&d.removeClass("ss_z");a.addClass("embodied");$("span.sops").remove();-1!==document.getElementById("visavis_iframe").contentWindow.location.hash.indexOf("fixel=1")?document.getElementById("visavis_iframe").contentWindow.matrix_order(b):document.getElementById("visavis_iframe").contentWindow.cube_order(b,b,b)}});$("#ctxpanel_graph > ul > li").click(function(){var a=$(this);if(!a.hasClass("embodied")){var b= -a.attr("id").split("_")[1];$("#ctxpanel_graph > ul > li.embodied").removeClass("embodied");a.addClass("embodied");document.getElementById("visavis_iframe").contentWindow.graph_rebuild(b)}});$("#select_cmp_trigger").change(function(){var a=$(this).val();$("#select_cmp_trigger option:selected").text();wmgui.dc_ctrl_flag=!0;"X"!=a&&("Y"==a?document.getElementById("visavis_iframe").contentWindow.cmp_discard(wmgui.visavis_curtype):"Z"==a?window.location.href="/labs/multi-cmp":-1!=["matrix","cube","discovery"].indexOf(wmgui.visavis_curtype)&& -(a=wmgui.vis_endpoint+"/"+wmgui.visavis_curtype+"?q="+a,document.getElementById("visavis_iframe").contentWindow.cmp_download(a,wmgui.visavis_curtype)))});$("li.discovery_custom").click(function(){if(!document.getElementById("visavis_iframe")||!document.getElementById("visavis_iframe").contentWindow)return!1;var a=document.getElementById("visavis_iframe").contentWindow.visavis.elementals_on,b="",c="",d;for(d in wmgui.elemental_names)-1!==a.indexOf(d)?b+='
'+wmgui.elemental_names[d]+ -" (−)
":c+='
'+wmgui.elemental_names[d]+" (+)
";c&&$("#discovery_disabled").html(c);$("#discovery_enabled").html(b);$("#discovery_custom_box, #overlay").show()});$("#discovery_custom_box").on("click","div.rearrange",function(){var a=$(this),b=a.attr("rel"),c=document.getElementById("visavis_iframe").contentWindow.visavis.elementals_on.indexOf(b);if("discovery_enabled"==a.parent().attr("id")){if(1==$("#discovery_enabled div.rearrange").length)return!1; --1!==c&&document.getElementById("visavis_iframe").contentWindow.visavis.elementals_on.splice(c,1);$("#discovery_disabled").append('
'+wmgui.elemental_names[b]+" (+)
");$("#dc_"+b).hide()}else-1==c&&document.getElementById("visavis_iframe").contentWindow.visavis.elementals_on.push(b),$("#discovery_enabled").append('
'+wmgui.elemental_names[b]+" (−)
"),$("#dc_"+b).show();a.remove()});$("#ss_gear_matrix, #ss_gear_cube").click(function(){var a= -$(this).attr("id").substr(8);"matrix"==a?($("#ss_z, #sops_z").hide(),$("#ss_x, #ss_y, #sops_x, #sops_y").css("width","50%")):($("#ss_x, #ss_y, #ss_z, #sops_x, #sops_y, #sops_z").css("width","33%"),$("#ss_z, #sops_z").show());var b=$("#ctxpanel_"+a+" > ul > li.embodied").attr("id").split("_")[1],c=$("#ctxpanel_"+a+" > ul > li.ss_y"),d=$("#ctxpanel_"+a+" > ul > li.ss_z"),f=c.length?c.attr("id").split("_")[1]:b,e=d.length?d.attr("id").split("_")[1]:b,h="",r="",k="";$("#ctxpanel_"+a+" > ul > li").each(function(){var g= -$(this),p=g.attr("id").split("_")[1];g=g.contents().filter(function(){return 1!==this.nodeType})[0].data.substr(3);var m=p==b?' class="ss_x"':"";h+='
  • "+g+"
  • ";m=p==f?' class="ss_y"':"";r+='
  • "+g+"
  • ";if("matrix"==a)return!0;m=p==e?' class="ss_z"':"";k+='
  • "+g+"
  • "});$("#ss_x > ul").html(h);$("#ss_y > ul").html(r);"cube"==a&&$("#ss_z > ul").html(k);$("li.sops_x").removeClass("sops_x");$("li.sops_y").removeClass("sops_y"); -$("li.sops_z").removeClass("sops_z");var l=["x","y","z"];$("span.sops").each(function(){var g=$(this),p=g.text(),m=g.attr("rel");$("#sops_"+m+' > ul > li:contains("'+p+'")').addClass("sops_"+m);l=l.filter(function(t){return t!==m})});l.forEach(function(g){$("#sops_"+g+' > ul > li:contains("none")').addClass("sops_"+g)});$("#ss_custom_box, #overlay").show()});$("div.ss_col").on("click","li",function(){var a=$(this),b=a.attr("rev"),c=a.attr("rel").split("_")[0];c="x"==c?"ss_x":"y"==c?"ss_y":"ss_z"; -$("#"+b+" > ul > li."+c).removeClass(c);a.addClass(c)});$("div.sops_col").on("click","li",function(){var a=$(this),b=a.parent().parent().attr("id"),c=b.split("_")[1];c="x"==c?"sops_x":"y"==c?"sops_y":"sops_z";$("#"+b+" > ul > li."+c).removeClass(c);a.addClass(c)});$("#tips_trigger").click(function(){wmgui.tooltip_counter=0;show_tooltip(wmgui.tooltips[wmgui.tooltip_landing]);return!1});$("#numericbox").on("click","div.slider_close",function(){if(1==$("div.slider_numerics").length)return destroy_numericbox(), -delete wmgui.search.numeric,$("#search_field-selectized").val(""),wmgui.multiselects.main.clear(),wmgui.multiselects.main.write(wmgui.search),!1;var a=$(this);a.siblings("div.slider").children("div.slider_numerics")[0].noUiSlider.destroy();a.parent("li").fadeOut(250,function(){$(this).remove()})});$("#numericbox_do_trigger").click(function(){for(var a=document.getElementsByClassName("slider_numerics"),b=[],c=0;c",d[0]]); -b.push([f,"<",d[1]])}b.length&&(wmgui.search.numeric=b);$("#advsbox").is(":visible")?$("#advsearch_do_trigger").trigger("click"):$("#search_trigger").trigger("click")});$("#numericbox_drop_trigger").click(function(){for(var a=document.getElementsByClassName("slider_numerics"),b=0;b ul > li.ss_x").attr("rel").split("_")[1],b=$("#ss_y > ul > li.ss_y").attr("rel").split("_")[1],c=$("#sops_x > ul > li.sops_x").text(),d=$("#sops_y > ul > li.sops_y").text();c="none"==c?!1:c;d="none"==d?!1:d;if($("#ss_z").is(":visible")){var f=$("#ss_z > ul > li.ss_z").attr("rel").split("_")[1],e=$("#sops_z > ul > li.sops_z").text();e="none"==e?!1:e;$("#ctxpanel_cube > ul > li.embodied").removeClass("embodied");$("#viscube_"+a).addClass("embodied"); +$("#ctxpanel_cube > ul > li.ss_y").removeClass("ss_y");$("#viscube_"+b).addClass("ss_y");$("#ctxpanel_cube > ul > li.ss_z").removeClass("ss_z");$("#viscube_"+f).addClass("ss_z");$("span.sops").remove();c&&$(''+c+"").appendTo("#viscube_"+a);d&&$(''+d+"").appendTo("#viscube_"+b);e&&$(''+e+"").appendTo("#viscube_"+f);-1!==document.getElementById("visavis_iframe").contentWindow.location.hash.indexOf("fixel=1")? +document.getElementById("visavis_iframe").contentWindow.matrix_order(a,b,c,d):document.getElementById("visavis_iframe").contentWindow.cube_order(a,b,f,c,d,e)}else{if(c&&"count"==a||d&&"count"==b)return wmgui.notify("Sorry, data counts are not supported");$("#ctxpanel_matrix > ul > li.embodied").removeClass("embodied");$("#vismatrix_"+a).addClass("embodied");$("#ctxpanel_matrix > ul > li.ss_y").removeClass("ss_y");$("#vismatrix_"+b).addClass("ss_y");$("span.sops").remove();c&&$(''+ +c+"").appendTo("#vismatrix_"+a);d&&$(''+d+"").appendTo("#vismatrix_"+b);document.getElementById("visavis_iframe").contentWindow.matrix_order(a,b,c,d)}$("#ss_custom_box, #overlay").hide();$("div.ss_col > ul").empty()});$("#close_dc_dialogue").click(function(){$("#discovery_custom_box, #overlay").hide();$("#discovery_enabled, #discovery_disabled").empty();document.getElementById("visavis_iframe").contentWindow.discovery_rerun();$("#select_cmp_trigger").val("X")}); +$("#close_formal_dialogue").click(function(){window.location.hash="#start"});$("#close_ph_dialogue, div.close_hy_dialogue, div.close_product_dialogue").click(function(){if(-1==document.referrer.indexOf(window.location.host))window.location.hash="#start";else{var a=window.location.href;window.history.go(-1);setTimeout(function(){window.location.href==a&&(window.location.hash="#start")},500)}});$("div._close_ctx").click(function(){try{wmgui.quick_ajax.abort()}catch(a){}$(".busy_entry").removeClass("busy_entry"); +$("#ctx_col, #sim_col").hide();wmgui.passive_sim_col=!0;close_vibox()});$("#hy_box").on("click","span",function(){var a=$(this).attr("class");$("span."+a).each(function(){var b=$(this);b.parent().find("ul").toggle();"expand"==b.text()?b.text("collapse"):b.text("expand")})});$("#hy_box").on("click","a.dynprop",function(){var a=$(this).attr("data-val");window.location.hash=wmgui.aug_search_cmd("props",a);return!1});$("#hy_box").on("click","strong.numeric",function(){var a=$(this).attr("rel"),b=wmgui.numerics[a], +c=b[0],d=b[1],f=b[2],e=b[3];b=b[4];var h=$("div.slider_numerics").length;2<=h&&wmgui.notify("Too little phases have all these properties reported — expect no results");8<=h||create_floating_slider(a,c,d,f,e,b)});$("strong.numeric").click(function(){var a=$(this).attr("rel"),b=wmgui.numerics[a];create_floating_slider(a,b[0],b[1],b[2],b[3],b[4])});$("#hy_options > li").click(function(){var a=$(this),b=a.attr("rev");"hy_vis"==b?window.open(wmgui.static_host+"/labs/ontology"):(a.addClass("working").siblings().removeClass("working"), +$("div.hy_tabs").hide(),$("#"+b).show())});$("#dtypes > ul > li").click(function(){var a=$(this),b=a.data("facet");a=a.data("term");"classes"==b&&wmgui.search.classes&&(wmgui.search.classes=wmgui.search.classes.replace("peer-reviewed","").replace("peer-review","").replace("machine-learning","").replace("machine learning","").replace("ab initio calculations","").split(",").map(function(c){return c.trim()}).filter(function(c){return c}).join(", "));window.location.hash=wmgui.aug_search_cmd(b,a)});$(window).scroll(wmgui.debounce(function(){if(2== +wmgui.view_mode){if(wmgui.unfinished_page&&50>$("#footer").offset().top-$(window).scrollTop()-$(window).height()){wmgui.unfinished_page=!1;var a={offset:wmgui.quick_page_size};$.extend(a,wmgui.search);wmgui.active_ajax=$.ajax({type:"GET",url:wmgui.search_endpoint,data:{q:JSON.stringify(a),strict:wmgui.ctx_strict_phases,sid:wmgui.sid},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(b){if(b.error)return wmgui.notify(b.error);$("div.context_msg").hide();show_hints();b.out.length&& +(wmgui.thumbed_display?$("#databrowser tr td").append(build_thumbs(b.out)):($("#databrowser tbody").append(build_cells(b.out)),$("#databrowser").trigger("update")))}).fail(function(b,c,d){"abort"!=c&&wmgui.notify("Connection to server is lost, please try to reload")})}a=$("#iframe");a.length&&!wmgui.is_inview(a)&&close_vibox()}else wmgui.ptable.activated&&(a=window.scrollY,40 li").click(function(){try{wmgui.active_ajax.abort()}catch(c){}try{wmgui.quick_ajax.abort()}catch(c){}var a= +$(this),b=a.attr("rev");a.addClass("working").siblings().removeClass("working");$("div.menu_tabs").hide();$("#"+b).show();"usr_tab_api_key"==b?($("#hintsbox_msg").html(wmgui.api_msg),wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.api_key_endpoint,data:{sid:wmgui.sid},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(c){if(c.error)return wmgui.notify(c.error);$("#usr_api_key").html(c.msg);if(c.revokable)$("#revoke_usr_api_key_holder").show();else if(c.creatable)$("#create_usr_api_key_holder").show(); +else return wmgui.notify('Your session ended: please, log in again')}).fail(function(c,d,f){"abort"!=d&&wmgui.notify('Your session ended: please, log in again')})):"usr_tab_perms"==b?($("#hintsbox_msg").html(wmgui.get_random_term(wmgui.welcome_msgs)),a=JSON.parse(window.localStorage.getItem(wmgui.store_user_key)||"{}"),wmgui.active_ajax=$.ajax({type:"POST",url:a.ipbased?wmgui.ip_perms_endpoint:wmgui.perms_endpoint,data:{sid:wmgui.sid}, +beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(c){if(c.error)return wmgui.notify(c.error);if(!c.hasOwnProperty("gui")||!c.hasOwnProperty("api"))return wmgui.notify('Your session ended: please, log in again');$("#perms_view").html(describe_perms(c))}).fail(function(c,d,f){"abort"!=d&&wmgui.notify('Your session ended: please, log in again')})):"usr_tab_ctrl"==b?window.location.href=(0===wmgui.edition?"/ctrl/": +"/labs/custom-datasets/")+"?"+Math.floor(1E3*Math.random()):"usr_tab_absolidix"==b?window.location.href=wmgui.mydata_addr:"usr_tab_account"==b&&$("#hintsbox_msg").html(wmgui.get_random_term(wmgui.welcome_msgs))});$("#advstab_options > li").click(function(){var a=$(this),b=a.attr("rev");a.addClass("working").siblings().removeClass("working");$("div.advstab").hide();$("#"+b).show()});$("a.link_adjuster").click(function(){return"#polyhedra"==window.location.hash?(window.location.hash="#polyhedra/",!1): +"#polyhedra/"==window.location.hash?(window.location.hash="#polyhedra",!1):!0});$("#create_usr_api_key").click(function(){$(this).parent().hide();try{wmgui.active_ajax.abort()}catch(a){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.api_key_endpoint,data:{sid:wmgui.sid,create:!0},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(a){if(a.error)return wmgui.notify(a.error);$("#usr_api_key").html(a.msg);$("#revoke_usr_api_key_holder").show()}).fail(function(a,b,c){"abort"!= +b&&wmgui.notify('Your session ended: please, log in again')})});$("#revoke_usr_api_key").click(function(){$(this).parent().hide();try{wmgui.active_ajax.abort()}catch(a){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.api_key_endpoint,data:{sid:wmgui.sid,revoke:!0},beforeSend:wmgui.show_preloader}).always(wmgui.hide_preloader).done(function(a){if(a.error)return wmgui.notify(a.error);$("#usr_api_key").html("Successfully revoked");$("#create_usr_api_key_holder").show()}).fail(function(a, +b,c){"abort"!=b&&wmgui.notify('Your session ended: please, log in again')})});$("#login_trigger").click(function(){if(!$(this).data("busy")){$(this).data("busy",!0);$(this).text("In process...");try{wmgui.active_ajax.abort()}catch(a){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.login_endpoint,data:{login:$("#login_email").val().trim(),pass:$("#login_password").val(),ed:wmgui.edition},beforeSend:wmgui.show_preloader}).always(function(){$("#login_trigger").data("busy", +!1);$("#login_trigger").text("Login");wmgui.hide_preloader()}).done(function(a){if(a.error)return wmgui.notify(a.error);if(!a.sid||!a.name||!a.acclogin)return wmgui.notify("Connection to server is lost, please try to reload");user_login(a.sid,a.name,a.acclogin,a.admin,a.oauths);$("#userbox").trigger("click")}).fail(function(a,b,c){wmgui.notify("Login unsuccessful")})}});$("#factor_trigger").click(function(){if(!$(this).data("busy")){$(this).data("busy",!0); +$(this).text("Sending...");try{wmgui.active_ajax.abort()}catch(a){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.factor_endpoint,data:{login:$("#factor_by_email").val().trim()},beforeSend:wmgui.show_preloader}).always(function(){$("#factor_trigger").data("busy",!1);$("#factor_trigger").text("Send code");wmgui.hide_preloader()}).done(function(a){if(a.error)return wmgui.notify(a.error);wmgui.notify("Please, check your inbox (and spam)");document.getElementById("factor_trigger").style.display="none"; +document.getElementById("factor_form_step_one").style.display="none";document.getElementById("factor_form_step_two").style.display="block";document.getElementById("factor_form_resp_0").focus()}).fail(function(a,b,c){"abort"!=b&&wmgui.notify("Sorry, a network error occured. Please, try again")})}});$("#restore_trigger").click(function(){if(!$(this).data("busy")){$(this).data("busy",!0);$(this).text("Sending...");try{wmgui.active_ajax.abort()}catch(a){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.restore_endpoint, +data:{login:$("#restore_by_email").val().trim(),ed:wmgui.edition},beforeSend:wmgui.show_preloader}).always(function(){$("#restore_trigger").data("busy",!1);$("#restore_trigger").text("Send link");wmgui.hide_preloader()}).done(function(a){if(a.error)return wmgui.notify(a.error);wmgui.notify("Please, check your inbox (and spam)");$("#userbox").trigger("click")}).fail(function(a,b,c){"abort"!=b&&wmgui.notify("Sorry, a network error occured. Please, try again")})}});$("#accpass_trigger").click(function(){if($(this).hasClass("disabled"))return!1; +$("#account_pass_change").toggle()});$("#password_trigger").click(function(){var a=$("#new_password_1").val(),b=$("#new_password_2").val();if(!a||!b)return wmgui.notify("Please, type your new password in both fields");if(a!==b)return wmgui.notify("Passwords do not match (typo?)");if(!$(this).data("busy")){$(this).data("busy",!0);$(this).text("Changing...");try{wmgui.active_ajax.abort()}catch(c){}wmgui.active_ajax=$.ajax({type:"POST",url:wmgui.password_endpoint,data:{new_password:b,sid:wmgui.sid,ed:wmgui.edition}, +beforeSend:wmgui.show_preloader}).always(function(){$("#password_trigger").data("busy",!1);$("#password_trigger").text("Change");wmgui.hide_preloader()}).done(function(c){if(c.error)return wmgui.notify(c.error);user_login(c.sid,c.name,c.acclogin,c.admin,c.oauths);window.location.replace("#start");$("#account_pass_change").hide()}).fail(function(c,d,f){"abort"!=d&&wmgui.notify('Your session ended: please, log in again')})}});$("#logout_trigger").click(function(){if($(this).hasClass("disabled"))return!1; +$.ajax({type:"POST",url:wmgui.logout_endpoint,data:{sid:wmgui.sid}}).done(function(a){}).fail(function(a,b,c){});user_logout();$("#userbox").trigger("click")});$("#notifybox").on("click","span.relogin",force_relogin);q=document.getElementsByClassName("factor_form_resp");for(n=0;na.keyCode&&(submit_factor_form_resp(),a=this.nextElementSibling)&& +(a.focus(),a.select())}),q[n].addEventListener("paste",function(a){a=(a.clipboardData||window.clipboardData).getData("text");if(!a||!a.length)return!1;for(var b=0;6>b;b++)document.getElementById("factor_form_resp_"+b).value=a.charAt(b);submit_factor_form_resp()});$("#search_holder").keydown(function(a){13==(window.event?a.keyCode:a.which)&&$("#search_trigger").trigger("click")});$("#control_a").click(function(){re_view_request(0)});$("#control_b").click(function(){re_view_request(1)});$("#control_f").click(function(){re_view_request(2)}); +$("#control_c").click(function(){wmgui.visavis_terminating=!0;wmgui.thumbed_display=!1;if(wmgui.visavis_working){var a={},b;for(b in wmgui.search)-1<["search_type","phid","numeric"].indexOf(b)||(a[b]=wmgui.search[b]);a=$.param(a);window.location.hash=="#inquiry/"+a&&(a="="==a.slice(-1)?a.substr(0,a.length-1):a+"=");window.location.hash="#inquiry/"+a}else re_view_request(wmgui.search_type);wmgui.chosen_table_browser=!0});$("#control_d").click(function(){wmgui.visavis_terminating=!0;wmgui.thumbed_display= +!0;if(wmgui.visavis_working){var a={},b;for(b in wmgui.search)-1<["search_type","phid","numeric"].indexOf(b)||(a[b]=wmgui.search[b]);a=$.param(a);window.location.hash=="#inquiry/"+a&&(a="="==a.slice(-1)?a.substr(0,a.length-1):a+"=");window.location.hash="#inquiry/"+a}else re_view_request(wmgui.search_type);wmgui.chosen_table_browser=!0});$("#control_e").click(function(){var a={};for(b in wmgui.search)-1<["search_type","phid","numeric"].indexOf(b)||(a[b]=wmgui.search[b]);for(;;){var b=wmgui.get_random_term(["matrix", +"cube"]);if(b!=wmgui.visavis_curtype)break}window.location.hash="#plot/"+b+"/inquiry/"+$.param(a)});$("#ctx_strict_phases_trigger").change(function(a){if(!wmgui.search.elements)return wmgui.cancel_event(a),!1;a=wmutils.arity_keys[wmgui.search.elements.split("-").length];var b=!1;wmgui.search.classes?($.each(wmutils.arity_keys.slice(1),function(c,d){if(6==c)return!1;if(-1!==wmgui.search.classes.indexOf(d))return b=!0,!1}),b||(wmgui.search.classes+=", "+a,wmgui.multiselects.main.write({classes:a}))): +(wmgui.search.classes=a,wmgui.multiselects.main.write({classes:a}));wmgui.ctx_strict_phases=$("#ctx_strict_phases_trigger").is(":checked")?"":"1";re_view_request(wmgui.search_type)});$("#ctxpanel_matrix > ul > li").click(function(){var a=$(this);if(!a.hasClass("embodied")&&!a.hasClass("ss_y")){var b=a.attr("id").split("_")[1],c=$("#ctxpanel_matrix > ul > li.ss_y");$("#ctxpanel_matrix > ul > li.embodied").removeClass("embodied");c.length&&c.removeClass("ss_y");a.addClass("embodied");$("span.sops").remove(); +document.getElementById("visavis_iframe").contentWindow.matrix_order(b)}});$("#ctxpanel_cube > ul > li").click(function(){var a=$(this);if(!(a.hasClass("embodied")||a.hasClass("ss_y")||a.hasClass("ss_z"))){var b=a.attr("id").split("_")[1],c=$("#ctxpanel_cube > ul > li.ss_y"),d=$("#ctxpanel_cube > ul > li.ss_z");$("#ctxpanel_cube > ul > li.embodied").removeClass("embodied");c.length&&c.removeClass("ss_y");d.length&&d.removeClass("ss_z");a.addClass("embodied");$("span.sops").remove();-1!==document.getElementById("visavis_iframe").contentWindow.location.hash.indexOf("fixel=1")? +document.getElementById("visavis_iframe").contentWindow.matrix_order(b):document.getElementById("visavis_iframe").contentWindow.cube_order(b,b,b)}});$("#ctxpanel_graph > ul > li").click(function(){var a=$(this);if(!a.hasClass("embodied")){var b=a.attr("id").split("_")[1];$("#ctxpanel_graph > ul > li.embodied").removeClass("embodied");a.addClass("embodied");document.getElementById("visavis_iframe").contentWindow.graph_rebuild(b)}});$("#select_cmp_trigger").change(function(){var a=$(this).val();$("#select_cmp_trigger option:selected").text(); +wmgui.dc_ctrl_flag=!0;"X"!=a&&("Y"==a?document.getElementById("visavis_iframe").contentWindow.cmp_discard(wmgui.visavis_curtype):"Z"==a?window.location.href="/labs/multi-cmp":-1!=["matrix","cube","discovery"].indexOf(wmgui.visavis_curtype)&&(a=wmgui.vis_endpoint+"/"+wmgui.visavis_curtype+"?q="+a,document.getElementById("visavis_iframe").contentWindow.cmp_download(a,wmgui.visavis_curtype)))});$("li.discovery_custom").click(function(){if(!document.getElementById("visavis_iframe")||!document.getElementById("visavis_iframe").contentWindow)return!1; +var a=document.getElementById("visavis_iframe").contentWindow.visavis.elementals_on,b="",c="",d;for(d in wmgui.elemental_names)-1!==a.indexOf(d)?b+='
    '+wmgui.elemental_names[d]+" (−)
    ":c+='
    '+wmgui.elemental_names[d]+" (+)
    ";c&&$("#discovery_disabled").html(c);$("#discovery_enabled").html(b);$("#discovery_custom_box, #overlay").show()});$("#discovery_custom_box").on("click","div.rearrange",function(){var a=$(this), +b=a.attr("rel"),c=document.getElementById("visavis_iframe").contentWindow.visavis.elementals_on.indexOf(b);if("discovery_enabled"==a.parent().attr("id")){if(1==$("#discovery_enabled div.rearrange").length)return!1;-1!==c&&document.getElementById("visavis_iframe").contentWindow.visavis.elementals_on.splice(c,1);$("#discovery_disabled").append('
    '+wmgui.elemental_names[b]+" (+)
    ");$("#dc_"+b).hide()}else-1==c&&document.getElementById("visavis_iframe").contentWindow.visavis.elementals_on.push(b), +$("#discovery_enabled").append('
    '+wmgui.elemental_names[b]+" (−)
    "),$("#dc_"+b).show();a.remove()});$("#toggle_engines").click(function(){$("#engines_box, #overlay").show()});$("#ss_gear_matrix, #ss_gear_cube").click(function(){var a=$(this).attr("id").substr(8);"matrix"==a?($("#ss_z, #sops_z").hide(),$("#ss_x, #ss_y, #sops_x, #sops_y").css("width","50%")):($("#ss_x, #ss_y, #ss_z, #sops_x, #sops_y, #sops_z").css("width","33%"),$("#ss_z, #sops_z").show()); +var b=$("#ctxpanel_"+a+" > ul > li.embodied").attr("id").split("_")[1],c=$("#ctxpanel_"+a+" > ul > li.ss_y"),d=$("#ctxpanel_"+a+" > ul > li.ss_z"),f=c.length?c.attr("id").split("_")[1]:b,e=d.length?d.attr("id").split("_")[1]:b,h="",r="",k="";$("#ctxpanel_"+a+" > ul > li").each(function(){var g=$(this),p=g.attr("id").split("_")[1];g=g.contents().filter(function(){return 1!==this.nodeType})[0].data.substr(3);var m=p==b?' class="ss_x"':"";h+='
  • "+g+"
  • ";m=p==f?' class="ss_y"': +"";r+='
  • "+g+"
  • ";if("matrix"==a)return!0;m=p==e?' class="ss_z"':"";k+='
  • "+g+"
  • "});$("#ss_x > ul").html(h);$("#ss_y > ul").html(r);"cube"==a&&$("#ss_z > ul").html(k);$("li.sops_x").removeClass("sops_x");$("li.sops_y").removeClass("sops_y");$("li.sops_z").removeClass("sops_z");var l=["x","y","z"];$("span.sops").each(function(){var g=$(this),p=g.text(),m=g.attr("rel");$("#sops_"+m+' > ul > li:contains("'+p+'")').addClass("sops_"+ +m);l=l.filter(function(t){return t!==m})});l.forEach(function(g){$("#sops_"+g+' > ul > li:contains("none")').addClass("sops_"+g)});$("#ss_custom_box, #overlay").show()});$("div.ss_col").on("click","li",function(){var a=$(this),b=a.attr("rev"),c=a.attr("rel").split("_")[0];c="x"==c?"ss_x":"y"==c?"ss_y":"ss_z";$("#"+b+" > ul > li."+c).removeClass(c);a.addClass(c)});$("div.sops_col").on("click","li",function(){var a=$(this),b=a.parent().parent().attr("id"),c=b.split("_")[1];c="x"==c?"sops_x":"y"==c? +"sops_y":"sops_z";$("#"+b+" > ul > li."+c).removeClass(c);a.addClass(c)});$("#tips_trigger").click(function(){wmgui.tooltip_counter=0;show_tooltip(wmgui.tooltips[wmgui.tooltip_landing]);return!1});$("#numericbox").on("click","div.slider_close",function(){if(1==$("div.slider_numerics").length)return destroy_numericbox(),delete wmgui.search.numeric,$("#search_field-selectized").val(""),wmgui.multiselects.main.clear(),wmgui.multiselects.main.write(wmgui.search),!1;var a=$(this);a.siblings("div.slider").children("div.slider_numerics")[0].noUiSlider.destroy(); +a.parent("li").fadeOut(250,function(){$(this).remove()})});$("#numericbox_do_trigger").click(function(){for(var a=document.getElementsByClassName("slider_numerics"),b=[],c=0;c",d[0]]);b.push([f,"<",d[1]])}b.length&&(wmgui.search.numeric=b);$("#advsbox").is(":visible")?$("#advsearch_do_trigger").trigger("click"):$("#search_trigger").trigger("click")});$("#numericbox_drop_trigger").click(function(){for(var a=document.getElementsByClassName("slider_numerics"), +b=0;bWeb-browser is either busy or not supported: try to restart\n\n
    \n\n
    \n\n
    \n\n\x3c!-- TOP-LEFT CORNER MENU --\x3e\n
    \n
    \n 👤Guest — log in\n
    \n
    \n 👤(menu)\n
    \n
    \n\n\x3c!-- SEARCH --\x3e\n\n\n\x3c!-- DATAGRID --\x3e\n
    \n
    \n\n
    Getting the rest of data...
    \n
    There are results not shown — please, refine the search or use the MPDS API.
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    Get full machine-readable data using API: curl -H Key:YOUR_API_KEY \'https://api.mpds.io/v0/download/facet?q=&fmt=json\'
    \n\n \x3c!-- div id="fdwidget" class="context_msg">
    \n\n\x3c!-- PERIODIC TABLE --\x3e\n
    \n
    \n
      \n \x3c!-- Period 1 --\x3e\n
    • HHydrogen
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • HeHelium
    • \n\n \x3c!-- Period 2 --\x3e\n
    • LiLithium
    • \n
    • BeBeryllium
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • BBoron
    • \n
    • CCarbon
    • \n
    • NNitrogen
    • \n
    • OOxygen
    • \n
    • FFluorine
    • \n
    • NeNeon
    • \n\n \x3c!-- Period 3 --\x3e\n
    • NaSodium
    • \n
    • MgMagnesium
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • AlAluminium
    • \n
    • SiSilicon
    • \n
    • PPhosphorus
    • \n
    • SSulfur
    • \n
    • ClChlorine
    • \n
    • ArArgon
    • \n\n \x3c!-- Period 4 --\x3e\n
    • KPotassium
    • \n
    • CaCalcium
    • \n
    • ScScandium
    • \n
    • TiTitanium
    • \n
    • VVanadium
    • \n
    • CrChromium
    • \n
    • MnManganese
    • \n
    • FeIron
    • \n
    • CoCobalt
    • \n
    • NiNickel
    • \n
    • CuCopper
    • \n
    • ZnZinc
    • \n
    • GaGallium
    • \n
    • GeGermanium
    • \n
    • AsArsenic
    • \n
    • SeSelenium
    • \n
    • BrBromine
    • \n
    • KrKrypton
    • \n\n \x3c!-- Period 5 --\x3e\n
    • RbRubidium
    • \n
    • SrStrontium
    • \n
    • YYttrium
    • \n
    • ZrZirconium
    • \n
    • NbNiobium
    • \n
    • MoMolybdenum
    • \n
    • TcTechnetium
    • \n
    • RuRuthenium
    • \n
    • RhRhodium
    • \n
    • PdPalladium
    • \n
    • AgSilver
    • \n
    • CdCadmium
    • \n
    • InIndium
    • \n
    • SnTin
    • \n
    • SbAntimony
    • \n
    • TeTellurium
    • \n
    • IIodine
    • \n
    • XeXenon
    • \n\n \x3c!-- Period 6 --\x3e\n
    • CsCaesium
    • \n
    • BaBarium
    • \n
    • LuLutetium
    • \n
    • HfHafnium
    • \n
    • TaTantalum
    • \n
    • WTungsten
    • \n
    • ReRhenium
    • \n
    • OsOsmium
    • \n
    • IrIridium
    • \n
    • PtPlatinum
    • \n
    • AuGold
    • \n
    • HgMercury
    • \n
    • TlThallium
    • \n
    • PbLead
    • \n
    • BiBismuth
    • \n
    • PoPolonium
    • \n
    • AtAstatine
    • \n
    • RnRadon
    • \n\n \x3c!-- Period 7 --\x3e\n
    • FrFrancium
    • \n
    • RaRadium
    • \n
    • LrLawrencium
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n
    • \n\n \x3c!-- Lanthanides --\x3e\n
    • \n
    • \n
    • LaLanthanum
    • \n
    • CeCerium
    • \n
    • PrPraseodymium
    • \n
    • NdNeodynium
    • \n
    • PmPromethium
    • \n
    • SmSamarium
    • \n
    • EuEuropium
    • \n
    • GdGadolinium
    • \n
    • TbTerbium
    • \n
    • DyDysprosium
    • \n
    • HoHolmium
    • \n
    • ErErbium
    • \n
    • TmThulium
    • \n
    • YbYtterbium
    • \n
    • \n
    • \n\n \x3c!-- Actinides --\x3e\n
    • \n
    • \n
    • AcActinium
    • \n
    • ThThorium
    • \n
    • PaProtactinium
    • \n
    • UUranium
    • \n
    • NpNeptunium
    • \n
    • PuPlutonium
    • \n
    • AmAmericium
    • \n
    • CmCurium
    • \n
    • BkBerkelium
    • \n
    • CfCalifornium
    • \n
    • EsEinsteinium
    • \n
    • FmFermium
    • \n
    • MdMendelevium
    • \n
    • NoNobelium
    • \n
    • \n
    • \n
    \n
    \n\n\x3c!-- PERIODIC TABLE OUTPUT --\x3e\n
    \n
    \n
    \n
    \n
    \n\n\x3c!-- PERIODIC TABLE DATATYPES CONTROL --\x3e\n
    \n Show chemical elements as: \n
    \n
    \n
    \n
    \n \n
    \n
    \n\n\x3c!-- LEFT MAIN COLUMN --\x3e\n
    \n
    Filters
    \n
    \n
      \n\n
      \n
      Distinct phases
      \n
      \n   \n \x3c!-- br />\n   See the public dumps of the distinct phases appeared at least once in the literature.\n
      \n\n
      \n
      Examples
      \n
        \n
        \n
        \n\n\x3c!-- LEFT CONTEXT COLUMN --\x3e\n
        \n
        Entry
        \n\n
        \n

        In-house machine-learning predictions

        Show more info...\n
        \n
        \n

        In-house ab initio calculations

        Show more info...\n
        \n
        \n

        In-house ab initio calculations

        Show more info...\n
        \n
        \n

        Automatically combined phase diagrams

        Show more info...\n
        \n\n
          \n
        • Visualize
        • \n
        • Get XRPD
        • \n
        • Simulate in my data
        • \n
        • \n
        • \n
        • \n
        • \n
        • \n
        • \n
        • \n
        • \n
        \n
        \n\n\x3c!-- LEFT INDIVIDUAL ID COLUMN --\x3e\n
        \n
        \n \n

        Permanent link:

        \n
        \n
        \n\n\x3c!-- LEFT PLOTTING COLUMN --\x3e\n
        \n
        Plot type
        \n \n\n
        \n
        Comparison
        \n \n
        \n\n
        \n
        \n
        Sorting
        \n
          \n
        • by occurence
        • \n
        • by atomic number
        • \n
        • by periodic number
        • \n
        • by atomic size
        • \n
        • by atomic reactivity
        • \n
        • by pseudopotential radii
        • \n
        • by ionic radii
        • \n
        • by covalent radii
        • \n
        • by metallic radii
        • \n
        • by melting temperature
        • \n
        • by electronegativity
        • \n
        \n
        \n\n
        \n
        Sorting
        \n
          \n
        • by atomic number
        • \n
        • by periodic number
        • \n
        • by atomic size
        • \n
        • by atomic reactivity
        • \n
        • by pseudopotential radii
        • \n
        • by ionic radii
        • \n
        • by covalent radii
        • \n
        • by metallic radii
        • \n
        • by melting temperature
        • \n
        • by electronegativity
        • \n
        \n
        \n\n
        \n
        Node type
        \n
          \n
        • physical properties
        • \n
        • polyhedral types
        • \n
        • crystal systems
        • \n
        • publications
        • \n
        • countries
        • \n
        \n
        \n\n
        \n
        Active axes
        \n
          \n
        • atomic number
        • \n
        • periodic number
        • \n
        • atomic size
        • \n
        • atomic reactivity
        • \n
        • pseudopotential radii
        • \n
        • ionic radii
        • \n
        • covalent radii
        • \n
        • metallic radii
        • \n
        • melting temperature
        • \n
        • electronegativity
        • \n
        \n
        \n
        \n
        \n\n\x3c!-- RIGHT MAIN COLUMN --\x3e\n
        \n
        View
        \n\n
        \n
        entries
        phases
        articles
        \n
        \n\n
        \n
        table
        previews
        plots
        \n
        \n\n
          \n\n
          \n
          Data types
          \n
            \n
          • crystal structures
          • \n
          • phase diagrams
          • \n
          • physical properties
          • \n
          • peer-reviewed experimental
          • \n
          • machine-learning
          • \n
          • ab initio modeling
          • \n
          \n
          \n\n
          \n
          Last searches
          \n
            \n
            \n
            \n\n\x3c!-- RIGHT CONTEXT COLUMN --\x3e\n
            \n
            See also
            \n
            \n\n
            \n\n
            \n\n
              \n\n Show more\n\n
              \n
              Color legend
              \n
                \n
              • liquid or gas blue or violet
              • \n
              • 1-phase violet
              • \n
              • 2-phase gray or white
              • \n
              • 3-phase yellow
              • \n
              • 4-phase red
              • \n
              • 5-phase green
              • \n
              \n
              \n
              \n\n\x3c!-- ADVANCED SEARCH MODAL --\x3e\n\n\n\x3c!-- LOGIN MODAL --\x3e\n\n\n\x3c!-- FACTOR MODAL --\x3e\n\n\n\x3c!-- RESTORE MODAL --\x3e\n\n\n\x3c!-- USER MENU MODAL --\x3e\n\n\n\x3c!-- USER MENU COLLATERAL WINDOWS --\x3e\n\n\n\n\x3c!-- NEW PROPS HIERARCHY MODAL --\x3e\n\n\n\x3c!-- PLOTS EMBED --\x3e\n
              \x3c!-- NB relative URL --\x3e\n\n\x3c!-- DISCOVERY SETTINGS MODAL --\x3e\n\n\n\x3c!-- ALL POLYHEDRA MODAL --\x3e\n\n\n\x3c!-- SORTING SETTINGS MODAL --\x3e\n\n\n\x3c!-- HELP BOXES --\x3e\n\n\n\x3c!-- NUMERIC SEARCH SMART BOX --\x3e\n
              \n
              \n
                \n
                \n +\n
                \n
                \n
                \n
                \n\n\n')}; +function register_html(){$("body").append('\n
                Web-browser is either busy or not supported: try to restart
                \n\n
                \n\n
                \n\n
                \n\n\x3c!-- TOP-LEFT CORNER MENU --\x3e\n
                \n
                \n 👤Guest — log in\n
                \n
                \n 👤(menu)\n
                \n
                \n\n\x3c!-- SEARCH --\x3e\n\n\n\x3c!-- DATAGRID --\x3e\n
                \n
                \n\n
                Getting the rest of data...
                \n
                There are results not shown — please, refine the search or use the MPDS API.
                \n
                \n
                \n
                \n
                \n
                \n
                \n
                \n
                \n\n
                Get full machine-readable data using API: curl -H Key:YOUR_API_KEY \'https://api.mpds.io/v0/download/facet?q=&fmt=json\'
                \n\n \x3c!-- div id="fdwidget" class="context_msg">
                \n\n\x3c!-- PERIODIC TABLE --\x3e\n
                \n
                \n
                  \n \x3c!-- Period 1 --\x3e\n
                • HHydrogen
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • HeHelium
                • \n\n \x3c!-- Period 2 --\x3e\n
                • LiLithium
                • \n
                • BeBeryllium
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • BBoron
                • \n
                • CCarbon
                • \n
                • NNitrogen
                • \n
                • OOxygen
                • \n
                • FFluorine
                • \n
                • NeNeon
                • \n\n \x3c!-- Period 3 --\x3e\n
                • NaSodium
                • \n
                • MgMagnesium
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • AlAluminium
                • \n
                • SiSilicon
                • \n
                • PPhosphorus
                • \n
                • SSulfur
                • \n
                • ClChlorine
                • \n
                • ArArgon
                • \n\n \x3c!-- Period 4 --\x3e\n
                • KPotassium
                • \n
                • CaCalcium
                • \n
                • ScScandium
                • \n
                • TiTitanium
                • \n
                • VVanadium
                • \n
                • CrChromium
                • \n
                • MnManganese
                • \n
                • FeIron
                • \n
                • CoCobalt
                • \n
                • NiNickel
                • \n
                • CuCopper
                • \n
                • ZnZinc
                • \n
                • GaGallium
                • \n
                • GeGermanium
                • \n
                • AsArsenic
                • \n
                • SeSelenium
                • \n
                • BrBromine
                • \n
                • KrKrypton
                • \n\n \x3c!-- Period 5 --\x3e\n
                • RbRubidium
                • \n
                • SrStrontium
                • \n
                • YYttrium
                • \n
                • ZrZirconium
                • \n
                • NbNiobium
                • \n
                • MoMolybdenum
                • \n
                • TcTechnetium
                • \n
                • RuRuthenium
                • \n
                • RhRhodium
                • \n
                • PdPalladium
                • \n
                • AgSilver
                • \n
                • CdCadmium
                • \n
                • InIndium
                • \n
                • SnTin
                • \n
                • SbAntimony
                • \n
                • TeTellurium
                • \n
                • IIodine
                • \n
                • XeXenon
                • \n\n \x3c!-- Period 6 --\x3e\n
                • CsCaesium
                • \n
                • BaBarium
                • \n
                • LuLutetium
                • \n
                • HfHafnium
                • \n
                • TaTantalum
                • \n
                • WTungsten
                • \n
                • ReRhenium
                • \n
                • OsOsmium
                • \n
                • IrIridium
                • \n
                • PtPlatinum
                • \n
                • AuGold
                • \n
                • HgMercury
                • \n
                • TlThallium
                • \n
                • PbLead
                • \n
                • BiBismuth
                • \n
                • PoPolonium
                • \n
                • AtAstatine
                • \n
                • RnRadon
                • \n\n \x3c!-- Period 7 --\x3e\n
                • FrFrancium
                • \n
                • RaRadium
                • \n
                • LrLawrencium
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n
                • \n\n \x3c!-- Lanthanides --\x3e\n
                • \n
                • \n
                • LaLanthanum
                • \n
                • CeCerium
                • \n
                • PrPraseodymium
                • \n
                • NdNeodynium
                • \n
                • PmPromethium
                • \n
                • SmSamarium
                • \n
                • EuEuropium
                • \n
                • GdGadolinium
                • \n
                • TbTerbium
                • \n
                • DyDysprosium
                • \n
                • HoHolmium
                • \n
                • ErErbium
                • \n
                • TmThulium
                • \n
                • YbYtterbium
                • \n
                • \n
                • \n\n \x3c!-- Actinides --\x3e\n
                • \n
                • \n
                • AcActinium
                • \n
                • ThThorium
                • \n
                • PaProtactinium
                • \n
                • UUranium
                • \n
                • NpNeptunium
                • \n
                • PuPlutonium
                • \n
                • AmAmericium
                • \n
                • CmCurium
                • \n
                • BkBerkelium
                • \n
                • CfCalifornium
                • \n
                • EsEinsteinium
                • \n
                • FmFermium
                • \n
                • MdMendelevium
                • \n
                • NoNobelium
                • \n
                • \n
                • \n
                \n
                \n\n\x3c!-- PERIODIC TABLE OUTPUT --\x3e\n
                \n
                \n
                \n
                \n
                \n\n\x3c!-- PERIODIC TABLE DATATYPES CONTROL --\x3e\n
                \n Show chemical elements as: \n
                \n
                \n
                \n
                \n \n
                \n
                \n\n\x3c!-- LEFT MAIN COLUMN --\x3e\n
                \n
                Filters
                \n
                \n
                  \n\n
                  \n
                  Distinct phases
                  \n
                  \n   \n \x3c!-- br />\n   See the public dumps of the distinct phases appeared at least once in the literature.\n
                  \n\n
                  \n
                  Examples
                  \n
                    \n
                    \n
                    \n\n\x3c!-- LEFT CONTEXT COLUMN --\x3e\n
                    \n
                    Entry
                    \n\n
                    \n

                    In-house machine-learning predictions

                    Show more info...\n
                    \n
                    \n

                    In-house ab initio calculations

                    Show more info...\n
                    \n
                    \n

                    In-house ab initio calculations

                    Show more info...\n
                    \n
                    \n

                    Automatically combined phase diagrams

                    Show more info...\n
                    \n\n
                      \n
                    • Visualize
                    • \n
                    • Get XRPD
                    • \n
                    • Simulate in my data
                    • \n
                    • \n
                    • \n
                    • \n
                    • \n
                    • \n
                    • \n
                    • \n
                    • \n
                    \n
                    \n\n\x3c!-- LEFT INDIVIDUAL ID COLUMN --\x3e\n
                    \n
                    \n \n

                    Permanent link:

                    \n
                    \n
                    \n\n\x3c!-- LEFT PLOTTING COLUMN --\x3e\n
                    \n
                    Plot type
                    \n \n\n
                    \n
                    Comparison
                    \n \n
                    \n\n
                    \n
                    \n
                    Sorting
                    \n
                      \n
                    • by occurence
                    • \n
                    • by atomic number
                    • \n
                    • by periodic number
                    • \n
                    • by atomic size
                    • \n
                    • by atomic reactivity
                    • \n
                    • by pseudopotential radii
                    • \n
                    • by ionic radii
                    • \n
                    • by covalent radii
                    • \n
                    • by metallic radii
                    • \n
                    • by melting temperature
                    • \n
                    • by electronegativity
                    • \n
                    \n
                    \n\n
                    \n
                    Sorting
                    \n
                      \n
                    • by atomic number
                    • \n
                    • by periodic number
                    • \n
                    • by atomic size
                    • \n
                    • by atomic reactivity
                    • \n
                    • by pseudopotential radii
                    • \n
                    • by ionic radii
                    • \n
                    • by covalent radii
                    • \n
                    • by metallic radii
                    • \n
                    • by melting temperature
                    • \n
                    • by electronegativity
                    • \n
                    \n
                    \n\n
                    \n
                    Node type
                    \n
                      \n
                    • physical properties
                    • \n
                    • polyhedral types
                    • \n
                    • crystal systems
                    • \n
                    • publications
                    • \n
                    • countries
                    • \n
                    \n
                    \n\n
                    \n
                    Active axes
                    \n
                      \n
                    • atomic number
                    • \n
                    • periodic number
                    • \n
                    • atomic size
                    • \n
                    • atomic reactivity
                    • \n
                    • pseudopotential radii
                    • \n
                    • ionic radii
                    • \n
                    • covalent radii
                    • \n
                    • metallic radii
                    • \n
                    • melting temperature
                    • \n
                    • electronegativity
                    • \n
                    \n
                    \n
                    \n
                    \n\n\x3c!-- RIGHT MAIN COLUMN --\x3e\n
                    \n
                    View
                    \n\n
                    \n
                    entries
                    phases
                    articles
                    \n
                    \n\n
                    \n
                    table
                    previews
                    plots
                    \n
                    \n\n
                      \n\n
                      \n
                      Data types
                      \n
                        \n
                      • crystal structures
                      • \n
                      • phase diagrams
                      • \n
                      • physical properties
                      • \n
                      • peer-reviewed experimental
                      • \n
                      • machine-learning
                      • \n
                      • ab initio modeling
                      • \n
                      \n
                      \n\n
                      \n
                      Last searches
                      \n
                        \n
                        \n
                        \n\n\x3c!-- RIGHT CONTEXT COLUMN --\x3e\n
                        \n
                        See also
                        \n
                        \n\n
                        \n\n
                        \n\n
                          \n\n Show more\n\n
                          \n
                          Color legend
                          \n
                            \n
                          • liquid or gas
                          • \n
                          • 1-phase
                          • \n
                          • 2-phase
                          • \n
                          • 3-phase
                          • \n
                          • 4-phase
                          • \n
                          • 5-phase
                          • \n
                          \n
                          \n
                          \n\n\x3c!-- ADVANCED SEARCH MODAL --\x3e\n\n\n\x3c!-- LOGIN MODAL --\x3e\n\n\n\x3c!-- FACTOR MODAL --\x3e\n\n\n\x3c!-- RESTORE MODAL --\x3e\n\n\n\x3c!-- USER MENU MODAL --\x3e\n\n\n\x3c!-- USER MENU COLLATERAL WINDOWS --\x3e\n\n\n\n\x3c!-- NEW PROPS HIERARCHY MODAL --\x3e\n\n\n\x3c!-- PLOTS EMBED --\x3e\n
                          \n\n\x3c!-- DISCOVERY SETTINGS MODAL --\x3e\n\n\n\x3c!-- ALL POLYHEDRA MODAL --\x3e\n\n\n\x3c!-- SORTING SETTINGS MODAL --\x3e\n\n\n\x3c!-- RENDERING SETTINGS MODAL --\x3e\n\n\n\x3c!-- HELP BOXES --\x3e\n\n\n\x3c!-- NUMERIC SEARCH SMART BOX --\x3e\n
                          \n
                          \n
                            \n
                            \n +\n
                            \n
                            \n
                            \n
                            \n\n\n\n\x3c!-- CROSS-SITE COMMS --\x3e\n\n\x3c!-- iframe id="comms" src="http://localhost:5000/comms.html" style="width:0;height:0;border:none;position:absolute;">","")),$("#results").slideDown(250),2==wmgui.search_type?(f.addClass("tablesorter").tablesorter({sortMultiSortKey:"ctrlKey",headers:{0:{sorter:"doi"},5:{sorter:!1}},selectorHeaders:"#dataheader_articles > thead > tr > th",selectorHeaderParent:"dataheader_articles"}),$("#header_articles").show()):1==wmgui.search_type?(f.addClass("tablesorter").tablesorter({sortMultiSortKey:"ctrlKey",headers:{0:{sorter:"chemical"},1:{sorter:"digit"},2:{sorter:"digit"},3:{sorter:"digit"},4:{sorter:!1}}, selectorHeaders:"#dataheader_phases > thead > tr > th",selectorHeaderParent:"dataheader_phases"}),$("#header_phases").show()):(f.addClass("tablesorter").tablesorter({sortMultiSortKey:"ctrlKey",headers:{0:{sorter:"chemical"},1:{sorter:!1},5:{sorter:"doi"}},selectorHeaders:"#dataheader_entries > thead > tr > th",selectorHeaderParent:"dataheader_entries"}),$("#header_entries").show());wmgui.unfinished_page=!1;wmgui.search_type||a.phid?(d.estimated_count>=3*wmgui.quick_page_size&&$("#toomuch span").html("other").parent().show(), show_hints(a.entry||a.interlinkage)):d.estimated_count>wmgui.quick_page_size+wmgui.fetch_page_size?($("#toomuch span").html("nearly "+(d.estimated_count-wmgui.quick_page_size)).parent().show(),show_hints(a.entry)):d.estimated_count>wmgui.quick_page_size?($("#loadscroll").show(),wmgui.unfinished_page=!0):show_hints(a.entry);wmgui.visavis_terminating&&stop_visavis();wmgui.search_type||a.phid||a.bid||a.entry||a.interlinkage||a.doi||a.numeric?(a.phid||a.bid||a.entry?(switch_control_mode(9,11,"a","c"), -show_dunit_info(a.phid,a.bid,a.entry)):a.interlinkage?(switch_control_mode(9,11,"a","c"),show_examples("#examples",!0,!0),$("#dtypes").hide()):(a.numeric?(switch_control_mode(1,12,"b",!1),destroy_numericbox(),$.each(get_sliders_ranges(a.numeric,wmgui.numerics),function(g,c){create_floating_slider.apply(this,c)})):switch_control_mode(1,10,!1,!1),show_examples("#examples",!0,!0)),!a.entry||"S"!=a.entry.substr(0,1)&&"C"!=a.entry.substr(0,1)||-1!=a.entry.indexOf("-")||(d=$("#e__"+a.entry),d.length&&0!= -d.attr("data-rank")&&(d.removeClass("busy_entry"),open_context(d,!0)))):(wmgui.fuzzyout?switch_control_mode(1,11,"a",!1):switch_control_mode(0,10,!1,!1),request_refinement(a,d.estimated_count>wmgui.quick_page_size));a.numeric||(destroy_numericbox(),delete wmgui.search.numeric);a.props&&wmgui.numerics[a.props]&&(d=wmgui.numerics[a.props],create_floating_slider(a.props,d[0],d[1],d[2],d[3],d[4]));e||rebuild_history_box(a,b);wmgui.search.elements&&1==wmgui.search_type?$("#phases_ctx").show():$("#phases_ctx").hide()}).fail(function(d, +show_dunit_info(a.phid,a.bid,a.entry)):a.interlinkage?(switch_control_mode(9,11,"a","c"),show_examples("#examples",!0,!0),$("#dtypes").hide()):(a.numeric?(switch_control_mode(1,12,"b",!1),destroy_numericbox(),$.each(get_sliders_ranges(a.numeric,wmgui.numerics),function(g,c){create_floating_slider.apply(this,c)})):switch_control_mode(1,10,!1,!1),show_examples("#examples",!0,!0)),a.entry&&(d=$("#e__"+a.entry),-1!=a.entry.indexOf("-")||d.length||(d=$("#e__"+a.entry+"-1")),d.length&&0!=d.attr("data-rank")&& +(d.removeClass("busy_entry"),open_context(d,!0)))):(wmgui.fuzzyout?switch_control_mode(1,11,"a",!1):switch_control_mode(0,10,!1,!1),request_refinement(a,d.estimated_count>wmgui.quick_page_size));a.numeric||(destroy_numericbox(),delete wmgui.search.numeric);a.props&&wmgui.numerics[a.props]&&(d=wmgui.numerics[a.props],create_floating_slider(a.props,d[0],d[1],d[2],d[3],d[4]));e||rebuild_history_box(a,b);wmgui.search.elements&&1==wmgui.search_type?$("#phases_ctx").show():$("#phases_ctx").hide()}).fail(function(d, f,g){"abort"!=f&&wmgui.notify("Connection to server is lost, please try to reload")})}} function rebuild_history_box(a,b){var e={};wmgui.facets.forEach(function(h){a[h]&&(e[h]=a[h])});var d=!1;$.each(wmgui.inquiries,function(h,l){if(e[l])return d=!0,!1});var f=[];for(g in e)f.push(e[g].toLowerCase());f.sort();var g=f.join(" ");f=JSON.parse(window.localStorage.getItem(wmgui.store_history_key)||"[]");var c=[];8'+b+"":''+b+"",$("#history ul").prepend("
                          • "+wmgui.clean(b)+"
                          • "),f.unshift(e),window.localStorage.setItem(wmgui.store_history_key,JSON.stringify(f)),8<$("#history ul li").length&&$("#history ul li:last").remove());wmgui.tooltip_counter++;1==wmgui.tooltip_counter&&setTimeout(function(){show_tooltip(wmgui.tooltips.interpretation)},3E3)} @@ -426,7 +444,7 @@ g=l?g+('
                          • '+k.value+ function open_context(a,b){close_vibox();if(a.hasClass("busy_entry")){a.removeClass("busy_entry");$("#ctx_col, #sim_col").hide();try{wmgui.quick_ajax.abort()}catch(c){}}else{var e=a.attr("id").substr(3),d=parseInt(a.attr("data-rank")),f=e.substr(0,1),g=e.split("-")[0];$(".busy_entry").removeClass("busy_entry");a.addClass("busy_entry");"Z"!=f&&"B"!=f&&($("#entryno").html(''+g+""),$("#ctx_col").show(),$("#visualize").attr("data-rank",d),$("#xrpdize").attr("data-rank",99), $("#visualize, #xrpdize, #absolidize, div.spinoff_pane, li.d_icon").hide(),open_sim_col(e,f,d),0==d?$("#download_bib").show():1==d?$("#download_bib, #download_pdf").show():2==d?$("#download_bib, #download_pdf, #download_json").show():3==d?$("#download_bib, #download_png, #download_cdr").show():4==d?$("#download_bib, #download_json, #visualize").show():5==d?$("#download_bib, #download_pdf, #visualize, #xrpdize, #absolidize, #download_cif, #download_inp, #download_json").show():6==d?$("#download_bib, #download_pdf, #visualize, #download_png, #download_cdr, #download_json").show(): 7==d?$("#ml_data, #download_pdf, #download_json").show():8==d?$("#ab_data, #download_pdf, #download_json, #download_raw").show():9==d?$("#ab_data, #download_pdf, #download_json, #visualize, #download_png, #download_raw").show():10==d?$("#ab_data, #download_pdf, #download_json, #visualize, #download_raw").show():11==d?$("#ab_promise, #download_json").show():12==d&&$("#pd3d_data, #visualize").show(),$("#ctx_col > ul > li.d_icon:visible > a").each(function(){var c=$(this).attr("rel"),h="S"==f?"&export=1": -"",l="raw"==c?"null":wmgui.sid;c=wmgui.dd_addr_tpl+"/"+f.toLowerCase()+"?q="+e+"&fmt="+c+"&sid="+l+h+"&ed="+wmgui.edition;$(this).attr("href",c)}),-1==wmgui.mydata_history.indexOf(e)?$("#absolidize").addClass("wmbutton"):$("#absolidize").removeClass("wmbutton"),b&&launch_iframed_app(d))}} +"",l="raw"==c?"null":wmgui.sid;c=wmgui.dd_addr_tpl+"/"+f.toLowerCase()+"?q="+e+"&fmt="+c+"&sid="+l+h+"&ed="+wmgui.edition;$(this).attr("href",c)}),-1==wmgui.mydata_history.indexOf(e)?$("#absolidize").addClass("wmbutton"):$("#absolidize").removeClass("wmbutton"),b&&launch_db_iframed(d))}} function open_sim_col(a,b,e){$("#sim_col > ul, #sim_legend").empty();$(".sim_col_ctx").hide();$("#sim_col").show();var d={q:a},f=-1<[0,1,4,9].indexOf(e);f&&(d.allpurpose=!0);try{wmgui.quick_ajax.abort()}catch(g){}wmgui.quick_ajax=$.ajax({type:"GET",url:wmgui.sim_endpoint,data:d,beforeSend:function(){$("#sim_preloader").show()}}).always(function(){$("#sim_preloader").hide()}).done(function(g){if(g.error)return wmgui.notify(g.error);var c=0,h="";if(f)$.each(g.out.sim,function(r,m){if(7==c)return!1; h=m[4]?h+('
                          • '+m[0]+"
                          • "):h+('
                          • '+m[0]+"
                          • ");c++});else if("C"==b||"S"==b)3'+m[0]+"";c++}),"C"==b?$("#pd_legend").show():1==c&&(c=0));else{var l=wmgui.thumbed_display?$("div.busy_entry > div.gallery_img > div").text().split(";")[0]: $("tr.busy_entry > td.c2").text().split(";")[0];$.each(g.out.sim,function(r,m){if(8==c)return!1;h+='
                          • '+m[0]+"
                          • ";c++})}if(c)f?$("#sim_legend").removeClass("apparent").text("Also studied by these authors:"):"C"==b?$("#sim_legend").removeClass("apparent").text("Phases at the diagram:"):"S"==b?$("#sim_legend").removeClass("apparent").text("The same prototype structures:"):$("#sim_legend").removeClass("apparent").text("Similar "+l+":"),7 td.c2").text().split(";")[0];$.each(g.out.sim,function(r,m){i '">3d
                            3d phase diagram';$("#sim_legend").addClass("apparent").html('
                            C-entry
                            Full phase diagram
                            '+n)}else"C"==b&&5==e?$("#sim_legend").addClass("apparent").text("No links to other phases found"):"S"==b?$("#sim_legend").addClass("apparent").text("No other structures for this prototype found"): $("#sim_legend").addClass("apparent").text("No similar values found");g.out.own.length&&!wmgui.search.phid&&$("#own_phase").html('Phase
                            Linked '+("S"==b?"distinct phase":"crystalline structure")+"
                            ").show()}).fail(function(g,c,h){"abort"!=c&&wmgui.notify("Connection to server is lost, please try to reload")})} function close_vibox(){return $("#iframe").length?(wmgui.thumbed_display?$("#iframe").slideUp(function(){$("#iframe").remove()}):$("#iframe").remove(),$("#vibox").hide(),!0):!1} -function launch_iframed_app(a){var b=$(".busy_entry");if(b.length){var e=b.attr("id").substr(3),d=e.substr(0,1);"S"==d?99==a?(a=wmgui.v_xrpd_addr+e,d=550):(a=wmgui.v_player_addr+e,d=650):"P"==d?10==a?(a=wmgui.v_ab_vis_addr+e,d=600):(a=wmgui.v_sd_addr+e,d=550):(12==a?(a=wmgui.thumbed_display?$("div.busy_entry > div.gallery_img > p").text():$("tr.busy_entry > td.c1").text().split(" ")[0],a=wmgui.v_pd_3d_addr+a,d=550):(a=(wmgui.sid?wmgui.v_pd_addr:wmgui.v_pd_addr_anon)+e,d=600),e.startswith("C3")||e.startswith("C4")? -wmgui.notify("This entry is now in preparation"):wmgui.entries_messages[e]&&wmgui.notify(wmgui.entries_messages[e]));wmgui.sid&&(a+="&sid="+wmgui.sid);e='';e=wmgui.thumbed_display?'
                            '+e+"
                            ":''+e+""; -b.after(e);$(window).scrollTop(b.position().top-95)}} +function launch_db_iframed(a){var b=$(".busy_entry");if(b.length){var e=b.attr("id").substr(3),d=e.substr(0,1);if("S"==d)99==a?(a=wmgui.engines_addrs[wmgui.engines].visavis+wmgui.path_s_xrpd+e,d=550):(a=wmgui.engines_addrs[wmgui.engines].cifplayer+wmgui.path_s_entry+e,d=650);else if("P"==d)if(4==a||9==a)a=wmgui.engines_addrs[wmgui.engines].visavis+wmgui.path_sd_plot+e,d=550;else if(10==a)a=wmgui.v_ab_vis_addr+e,d=600;else return;else{if(12==a)a=wmgui.thumbed_display?$("div.busy_entry > div.gallery_img > p").text(): +$("tr.busy_entry > td.c1").text().split(" ")[0],a=wmgui.v_pd_3d_addr+a,d=550;else if(6==a)a=(wmgui.sid?wmgui.v_pd_user_addr:wmgui.engines_addrs[wmgui.engines].visavis+wmgui.path_c_entry)+e,d=600;else return;e.startswith("C3")||e.startswith("C4")?wmgui.notify("This entry is now in preparation"):wmgui.entries_messages[e]&&wmgui.notify(wmgui.entries_messages[e])}wmgui.sid&&(a+="&sid="+wmgui.sid);e='';e=wmgui.thumbed_display? +'
                            '+e+"
                            ":''+e+"";b.after(e);$(window).scrollTop(b.position().top-95)}} function start_visavis(a){destroy_numericbox();delete wmgui.search.numeric;a&&(wmgui.visavis_curtype=a);$("div.ctxpanel").hide();a=$("#ctxpanel_"+wmgui.visavis_curtype);a.length&&a.show();-1<["matrix","cube","discovery"].indexOf(wmgui.visavis_curtype)&&$("#cmppanel_plots").show();if(wmgui.visavis_working)return manage_visavis();rebuild_visavis();$("#visavis_col").show();$("#visavis").show();switch_control_mode(0,11,"a","e");$("body").addClass("noscroll");wmgui.search_type=0;wmgui.visavis_working= -!0;wmgui.visavis_starting=!1;a={total_count:1};$.extend(a,wmgui.search);try{document.getElementById("visavis_iframe").contentWindow.location.replace(get_visavis_url(a))}catch(b){console.error("No iframe access")}} +!0;a={total_count:1};$.extend(a,wmgui.search);try{document.getElementById("visavis_iframe").contentWindow.location.replace(get_visavis_url(a))}catch(b){console.error("No iframe access")}} function manage_visavis(a,b,e){if(wmgui.visavis_terminating||!wmgui.visavis_working)return!1;if(wmgui.search.numeric)return wmgui.visavis_terminating=!0,!1;try{wmgui.active_ajax.abort()}catch(f){}try{wmgui.quick_ajax.abort()}catch(f){}rebuild_visavis();var d={total_count:1};$.extend(d,wmgui.search);try{document.getElementById("visavis_iframe").contentWindow.location.replace(get_visavis_url(d))}catch(f){console.error("No iframe access")}a&&a(b,e);return!0} function rebuild_visavis(){var a=window.location.hash.indexOf("search/");if(-1==a&&(a=window.location.hash.indexOf("inquiry/"),-1==a))return;var b=window.location.hash.substr(a);$("a.pltcol_links").each(function(){var d=$(this),f=d.attr("rev");d.attr("href",wmgui.gui_host+window.location.pathname+"#plot/"+f+"/"+b)});$("#visavis_col > ul > li").removeClass("embodied");$("#pltchoice_"+wmgui.visavis_curtype).addClass("embodied");-1<["matrix","cube","discovery"].indexOf(wmgui.visavis_curtype)&&update_dc(); if("matrix"==wmgui.visavis_curtype)$("#ctxpanel_matrix > ul > li.embodied").removeClass("embodied"),a=$("#ctxpanel_matrix > ul > li.ss_y"),a.length&&a.removeClass("ss_y"),$("#vismatrix_nump").addClass("embodied"),$("span.sops").remove();else if("cube"==wmgui.visavis_curtype){$("#ctxpanel_cube > ul > li.embodied").removeClass("embodied");a=$("#ctxpanel_cube > ul > li.ss_y");var e=$("#ctxpanel_cube > ul > li.ss_z");a.length&&a.removeClass("ss_y");e.length&&e.removeClass("ss_z");$("#viscube_nump").addClass("embodied"); $("span.sops").remove()}else"graph"==wmgui.visavis_curtype&&($("#ctxpanel_graph > ul > li.embodied").removeClass("embodied"),$("#visgraph_props").addClass("embodied"));try{document.getElementById("visavis_iframe").contentWindow.fixel_manage("cube"==wmgui.visavis_curtype&&wmgui.search.elements)}catch(d){console.error("No iframe access")}}function stop_visavis(){$("#visavis, #visavis_col").hide();wmgui.visavis_working=!1;wmgui.visavis_terminating=!1} -function get_visavis_url(a,b,e){if("pie"==wmgui.visavis_curtype&&!b)return wmgui.v_vis_addr+"#"+wmgui.rfn_endpoint+"?q="+escape(JSON.stringify(a));e=e?"&visavis_height="+e:"";return wmgui.v_vis_addr+"#"+wmgui.vis_endpoint+"/"+(b||wmgui.visavis_curtype)+"?q="+escape(JSON.stringify(a))+e} +function get_visavis_url(a,b,e){if("pie"==wmgui.visavis_curtype&&!b)return wmgui.engines_addrs[wmgui.engines].visavis+"#"+wmgui.rfn_endpoint+"?q="+escape(JSON.stringify(a));e=e?"&visavis_height="+e:"";return wmgui.engines_addrs[wmgui.engines].visavis+"#"+wmgui.vis_endpoint+"/"+(b||wmgui.visavis_curtype)+"?q="+escape(JSON.stringify(a))+e} function describe_perms(a){var b="

                            Web-browser access = GUI

                              ",e="

                              Programmatic access = API

                                ";a.gui?a.gui.root?b+="
                              • complete access
                              • ":($.isArray(a.gui)||(a.gui=[a.gui]),$.each(a.gui,function(d,f){if(3",!1;$.each(wmgui.facets,function(g,c){if(f[c])try{b+='
                              • '+wmgui.facet_names[c]+": "+f[c].map(function(h){return h.replace(", "," & ")}).join(", ")+"
                              • "}catch(h){return!1}}); b="ALL"==f.refs?b+"
                              • full access to reference details
                              • ":"MENTIONED"==f.refs?b+"
                              • access to corresponding references
                              • ":b+"
                              • no access to reference details
                              • ";b+='

                              • '})):b+="
                              • only open data
                              • ";a.api?a.api.root?e+="
                              • complete access
                              • ":a.api.disabled?e+="
                              • disabled; please check on the other device
                              • ":($.isArray(a.api)||(a.api=[a.api]),$.each(a.api,function(d,f){if(3", !1;$.each(wmgui.facets,function(g,c){if(f[c])try{e+='
                              • '+wmgui.facet_names[c]+": "+f[c].map(function(h){return h.replace(", "," & ")}).join(", ")+"
                              • "}catch(h){return!1}});e+='

                              • '})):e+="
                              • only open data
                              • ";return b+'
                              '+e+"
                            "} @@ -461,8 +479,8 @@ function force_relogin(a){$.ajax({type:"POST",url:wmgui.logout_endpoint,data:{si function reset_factor_form(){document.getElementById("factor_trigger").style.display="block";document.getElementById("factor_form_step_one").style.display="block";document.getElementById("factor_form_step_two").style.display="none";for(var a=document.getElementsByClassName("factor_form_resp"),b=0;breload"); user_login(d.sid,d.name,d.acclogin,d.admin,d.oauths);reset_factor_form();$("#userbox").trigger("click")}).fail(function(d,f,g){})} -function update_dc(){var a=[],b={},e;for(e in wmgui.search)-1<["search_type","phid","numeric"].indexOf(e)||(b[e]=wmgui.search[e],a.push(wmgui.search[e]));a=a.join(" ");var d=0,f=JSON.stringify(b),g='';$.each(JSON.parse(window.localStorage.getItem(wmgui.store_history_key)||"[]"),function(c,h){if(5'+c+"";d++}); -g+='';$("#select_cmp_trigger").empty().append(g)}function show_aetmap(a){(a=wmgui.aets[a])?$("#aetmap").css("height",a[1]+"px").css("background","url("+wmgui.aetmap_addr+") 0 -"+a[0]+"px no-repeat").show():$("#aetmap").hide()} +function update_dc(){var a=[],b={},e;for(e in wmgui.search)-1<["search_type","phid","numeric"].indexOf(e)||(b[e]=wmgui.search[e],a.push(wmgui.search[e]));a=a.join(" ");var d=0,f=JSON.stringify(b),g='';$.each(JSON.parse(window.localStorage.getItem(wmgui.store_history_key)||"[]"),function(c,h){if(6'+c+""; +d++});g+='';"a"==wmgui.engines&&(g+='');$("#select_cmp_trigger").empty().append(g)}function show_aetmap(a){(a=wmgui.aets[a])?$("#aetmap").css("height",a[1]+"px").css("background","url("+wmgui.aetmap_addr+") 0 -"+a[0]+"px no-repeat").show():$("#aetmap").hide()} function render_all_polyhedra(){if($("#all_polyhedra_content").is(":empty")){var a="",b=Object.keys(wmgui.aets);b.sort(function(e,d){var f=e.split("-vertex")[0].split(" ");f=parseInt(f[f.length-1]);var g=d.split("-vertex")[0].split(" ");g=parseInt(g[g.length-1]);return f>g?1:fd.length?1:e.length
                            '+d+""});$("#all_polyhedra_content").html(a)}} function show_dunit_info(a,b,e){a?($("#ind_title").html("Phase "+a),$("#ind_link").attr("href","https://mpds.io/phase_id/"+a).html("www.mpds.io/phase_id/"+a)):b?($("#ind_title").html("Publication B"+b),$("#ind_link").attr("href","https://mpds.io/article/"+b).html("www.mpds.io/article/"+b)):e&&($("#ind_title").html("Entry "+e),$("#ind_link").attr("href","https://mpds.io/entry/"+e).html("www.mpds.io/entry/"+e));$("#refine_col, #ctx_col").hide();$("#phase_info, #ind_col > span").empty();a?($("#ind_col > span").html('"):(f=wmgui.thumbed_display?$("div.gallery_item").length:$("tr.tcell").length,1E3==f&&(f="more than "+f),$("#phase_info").html("

                            Ref. "+b+"

                            We have "+(1==f?"one entry":f+" entries")+" from this reference"+d+".

                            "+(c.length?"

                            In addition, search all data co-authored by "+c+".

                            ":"")))}).fail(function(d,f,g){})):$("#ind_col > span").html("🔬");$("#ind_col").show();$("#dtypes").hide()} function assign_edition(){function a(b){b=parseInt(b);wmgui.editions[b]||(b=0);wmgui.edition=b;wmgui.editions[b].css&&wmgui.loadCSS(wmgui.editions[b].css);wmgui.editions[b].actions&&wmgui.editions[b].actions()}$.each(wmgui.editions,function(b,e){if(wmgui.gui_host==e.prod_url||wmgui.gui_host==e.dev_url)return a(b),!1});wmgui.edition||a(0)}; var wmgui=window.wmgui||{}; -function satisfy_requirements(){$("#notifybox, #preloader").hide();$("#absolidize > span.disabled > span.href").attr("rel",wmgui.mydata_addr);wmgui.ptable.els_data=read_ptable_html();init_user_login();var t="";$.each(JSON.parse(window.localStorage.getItem(wmgui.store_history_key)||"[]"),function(a,h){wmgui.tooltip_counter++;if(7 span.disabled > span.href").attr("rel",wmgui.mydata_addr);wmgui.ptable.els_data=read_ptable_html();init_user_login();var t="";$.each(JSON.parse(window.localStorage.getItem(wmgui.store_history_key)||"[]"),function(a,h){wmgui.tooltip_counter++;if(5'+a+""):t+('
                          • '+a+"
                          • ")});$("#history ul").append(t);$.each(JSON.parse(window.localStorage.getItem(wmgui.store_bids_key)||"[]"),function(a,h){wmgui.bid_history.push(parseInt(h))});$.each(JSON.parse(window.localStorage.getItem(wmgui.store_mydata_key)||"[]"),function(a,h){wmgui.mydata_history.push(h)});$.getJSON(wmgui.client_data_addr,function(a){var h=0,q=a.props_ref.length;for(h;hf.length)for(m=0;m'+b+""}})});$.each(wmgui.multi_facets,function(c,d){wmgui.multiselects[d]=$("#advs_fct_"+d).selectize({plugins:["remove_button","preserve_on_blur"],valueField:"id",labelField:"label",searchField:"label",create:!1,highlight:!1,maxItems:5,closeAfterSelect:!0,diacritics:!1,options:[],onChange:function(b){"aetypes"==d&&(b=(wmgui.multiselects.aetypes.read().aetypes||"").split(", ").pop(),show_aetmap(b),$("#aet_limit").is(":checked")&& @@ -486,5 +504,6 @@ p+=""});$("#hy_textual > ul").append(p);wmgui.create_autocomplete({sel (wmgui.numerics[c]?"color:#c00":"")+'" data-val="'+c+'">'+c+""},onSelect:function(c,d,b){c=wmgui.numerics[d];$("#numericbox").is(":visible")&&c?create_floating_slider(d,c[0],c[1],c[2],c[3],c[4]):window.location.hash=wmgui.aug_search_cmd("props",d);$("#hy_suggest").val("")}});rotate_interesting();setInterval(rotate_interesting,2E3);window.location.hash?url_redraw_react():window.location.replace("#start")});wmgui.multiselects.main=$("#search_field").selectize({plugins:["remove_button","preserve_on_blur"], valueField:"id",labelField:"label",searchField:"label",create:!1,highlight:!1,maxItems:10,closeAfterSelect:!0,diacritics:!1,options:[],onInitialize:function(){$("#search_field-selectized").focus()},onItemAdd:function(){if(wmgui.selectize_emit){var a=wmgui.multiselects.main.read();select_ptable_series(a.elements)}},onItemRemove:function(){var a=wmgui.multiselects.main.read(),h=this;a.numeric||(destroy_numericbox(),delete wmgui.search.numeric,wmgui.selectize_emit&&select_ptable_series(a.elements)); setTimeout(function(){h.close()},750)},load:function(a,h){this.clearOptions();if(!a.length)return h();$.ajax({url:wmgui.auto_endpoint+"?q="+encodeURIComponent(a),type:"GET",error:h,success:function(q){q.length&&h(q)}})},score:function(){return function(){return 1}},render:{option:function(a,h){return'
                            '+a.label+"
                            "},item:function(a,h){return'
                            '+a.label+"
                            "}}})[0].selectize;wmgui.multiselects.main.read= -function(){return wmgui._selectize_read_main()};wmgui.multiselects.main.write=function(a){wmgui._selectize_write(wmgui.multiselects.main,"main",a)};wmgui.multiselects.main.display=function(a,h){wmgui._selectize_display(wmgui.multiselects.main,a,h)}}; +function(){return wmgui._selectize_read_main()};wmgui.multiselects.main.write=function(a){wmgui._selectize_write(wmgui.multiselects.main,"main",a)};wmgui.multiselects.main.display=function(a,h){wmgui._selectize_display(wmgui.multiselects.main,a,h)};wmgui.engines=window.localStorage.getItem(wmgui.store_engines_key)||"a";$("#engines_a").prop("checked","a"==wmgui.engines);$("#engines_b").prop("checked","b"==wmgui.engines);wmgui.darkmode=new Darkmode({saveInCookies:!1});document.getElementById("darkmode_trigger").innerHTML= +wmgui.darkmode.isActivated()?"enabled":"disabled"}; assign_edition();register_html();satisfy_requirements();register_events();console.log("%cWeb-scraping or automated usage apart of the public MPDS API is in violation of our ToS (https://mpds.io/formal/terms) and results in banned account.","color:red;font-size:16px;"); diff --git a/index.html b/index.html index 2b7c3f0..33b9a75 100755 --- a/index.html +++ b/index.html @@ -3,10 +3,8 @@ - - - + diff --git a/oauth/idp_auth.html b/oauth/idp_auth.html index 71fd991..42cda9f 100644 --- a/oauth/idp_auth.html +++ b/oauth/idp_auth.html @@ -43,14 +43,13 @@ if (window.skip_idp_confirm) return post_auth(session_id); - const confirmation = confirm('Log in at the external service?'); - if (confirmation){ + if (confirm('Log in at the external service?')){ window.localStorage.setItem(window.store_idp_skip_tpl + window.consumer_id, true); post_auth(session_id); } else { console.log('Redirecting a user to login...'); - window.localStorage.setItem(window.store_redir_key, saved_redir_url); + window.localStorage.removeItem(window.store_redir_key); window.location.href = window.login_url; } } else { diff --git a/webassets/ermac.css b/webassets/ermac.css index 577a3b3..d77fa89 100755 --- a/webassets/ermac.css +++ b/webassets/ermac.css @@ -19,10 +19,11 @@ div.cross{float:right;width:16px;height:16px;font-size:10px;text-align:center;cu div.cross:active{transform:translateY(1px);} div.gear{float:right;margin:12px 2px 0 0;width:16px;height:16px;font-size:10px;text-align:center;cursor:pointer;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAApQAAAKUBcMTeVQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAHdSURBVDiNdZMxaBRREIa//7iNeGsKS5MIglaCKYSA4GGd61LsC+RsrAIWio2owUoIwRRK0MbuUhhxX7NWm0axMIVtLGwSEEJsDdweepeDsci7Ywmbrd4/M//M/8++J874nHPrwGMASetpmj6pqquPDq1W61wcx/cnJiY2t7a2/gA3RjkzmwVot9sXh8PhcqPR2Oh0Ov8AFKadB7aBO8C+mX2U9ACYDD26kt6a2RJwBdguimIhz/N+LUh8GMgAVyWtlMgAk2b2LJAB5uM4vgdQAxgMBu+AvQqLh8DvivhPSe/HDbIsO5LkSwUHkpre+xnv/bSkJnBQyn/y3hcASpLklaRZ4BYQB0vNNE13yiMXFxdvm9m3AAvgi6RdOefstGzv/UyFbJxzh8BUOVarqFMV+axcDXgBZEEWwJRzrlkxvQlcCrAHfDaz1+OOSZKsht8HJ0tcGu0h+P8AXAaQtJam6cpYknPuAvAduH5q8GGomToV3zs+Pp7LsuyoBmBmdyvIANMVZIBr9Xp9ebQDer1eh5OrDPBL0hrQLRG6wCqwH/BXSW/GDfI87xdFsSDpaRRFN4O/8j3Y8d4/j6JoDnhUFMW89/4vlF5jnud94OUIS9o1s/kAfwCEV7pR9vIf1VyoNh7B/AQAAAAASUVORK5CYII=) no-repeat;} -#notifybox{z-index:210;position:fixed;top:30px;right:20px;width:380px;background:#fc6;border-radius:5px;padding:20px;font-size:1.1em;line-height:1.5em;text-align:center;} +#notifybox{z-index:210;position:fixed;top:40px;right:20px;width:380px;background:#fc6;border-radius:5px;padding:20px;font-size:1.1em;line-height:1.5em;text-align:center;} #notifybox > a{text-decoration:none;color:#3e3f95;border-bottom:1px solid #3e3f95;} #ermac_logo{width:200px;height:200px;margin:0 auto;background:url(wm_logo_opt.png) center center no-repeat;background-size:75%;} +body.darkmode--activated #ermac_logo{filter:invert(100%);} #ermac_logo.cornered{display:block !important;position:fixed;top:0;left:0;width:58px;height:58px;margin:0 0 0 5%;z-index:52;} #ermac_logo.resulted{display:none;} #ermac_logo > a{display:block;width:100%;height:100%;} @@ -66,7 +67,7 @@ h4{font-weight:normal;font-size:1.1em;line-height:2.15em;text-align:center;backg #advsbox div.advs > input{float:right;width:63%;height:30px;font-size:1.1em;padding-left:2px;margin-top:5px;text-align:left;} #advsbox div.advs > div.advs_legend{clear:both;float:right;color:#888;line-height:12px;font-size:0.85em;margin-right:2px;} #advsbox div.advs > div.advs_legend a{text-decoration:none;color:#888;border-bottom:1px solid #888;letter-spacing:0.5px;} -#crtab{margin:2.5vmin 0 1.5vmin;} +#crtab{color:#555;margin:2.5vmin 0 1.5vmin;} #crtab > div{display:inline-block;width:49%;font-size:1.1em;height:4vmin;line-height:40px;letter-spacing:-0.5px;} #crtab > div:nth-child(even){text-align:right;} #crtab strong.numeric{font-size:0.85em;letter-spacing:0.5px;font-weight:normal;cursor:pointer;border-bottom:1px solid #fff;background:#ffd;} @@ -75,9 +76,9 @@ h4{font-weight:normal;font-size:1.1em;line-height:2.15em;text-align:center;backg #advsearch_do_trigger, #numericbox_do_trigger{display:inline-block;width:125px;margin-left:179px;} #advsearch_drop_trigger, #numericbox_drop_trigger{display:inline-block;width:100px;margin-left:1px;background:#c00;border:1px solid #c00;} -#advstab_options{margin:-52px 0 0 0;padding:0;} +#advstab_options{color:#333;margin:-52px 0 0 0;padding:0;} #advstab_options:after{display:block;clear:both;content:'';} -#advstab_options li{margin:0 2px;cursor:pointer;user-select:none;float:left;padding:5px 10px;list-style:none;line-height:20px;font-size:0.95em;background:#eee;border-radius:4px 4px 0 0;border-top:1px solid #999;border-right:1px solid #999;border-left:1px solid #999;} +#advstab_options li{margin:0 2px;cursor:pointer;user-select:none;float:left;padding:5px 10px;list-style:none;line-height:20px;font-size:0.95em;background:#ddd;border-radius:4px 4px 0 0;border-top:1px solid #999;border-right:1px solid #999;border-left:1px solid #999;} #advstab_options li:hover{background:#fff;} #advstab_options li.working{background:#fff;} @@ -303,14 +304,16 @@ a.extd_refine, a.collapse_refine{letter-spacing:1px;font-size:0.75em;text-transf li.extd_refine, li.collapse_refine{padding-right:6px;} #sim_col{display:none;position:fixed;top:62px;right:0;width:13.5%;height:95%;z-index:56;border-top:1px solid #888;overflow:hidden;background:#fff;} -#sim_col > ul{margin:0;padding:0;} +#sim_col > ul{color:#555;margin:0;padding:0;} #sim_col > ul > li{list-style:none;line-height:1.8em;background:#999;margin-bottom:3px;border-bottom-left-radius:4px;} #sim_col > ul > li > a{display:block;white-space:nowrap;width:100%;height:100%;text-decoration:none;color:#fff;padding-left:3px;} #sim_legend{text-align:center;margin:25px auto 8px;width:90%;font-size:1.05em;line-height:1.4em;color:#333;} #sim_trigger{display:block;width:125px;margin:30px auto 0;} #pd_legend{display:none;margin-top:50px;border-top:1px solid #888;} #pd_legend > ul{margin:0;padding:0;} -#pd_legend > ul > li{list-style:none;line-height:2.2em;} +#pd_legend > ul > li{list-style:none;line-height:2.2em;text-align:center;} +#pd_legend > ul > li span{color:#fff;padding:2px 10px;} +body.darkmode--activated #pd_legend > ul > li span{color:#000 !important;} #own_phase{margin-top:4vmin;text-align:center;} #own_phase a, #sim_legend a{text-decoration:none;} @@ -326,9 +329,9 @@ div.controlswitch > div.active, div.controlswitch > div:hover{background:#bfbfbf /* USER ACCOUNT */ -#userbox{position:fixed;top:0;right:0;height:34px;z-index:200;background:#fff;font-size:0.9em;border-bottom-left-radius:4px;line-height:33px;padding:0 8px 0 3px;border-bottom:1px solid #888;border-left:1px solid #888;cursor:pointer;box-shadow:8px 8px 4px -3px rgba(0,0,0,0.4);overflow:hidden;} +#userbox{position:fixed;top:0;right:0;height:34px;z-index:200;background:#fff;font-size:0.9em;color:#555;border-bottom-left-radius:4px;line-height:33px;padding:0 8px 0 3px;border-bottom:1px solid #888;border-left:1px solid #888;cursor:pointer;box-shadow:8px 8px 4px -3px rgba(0,0,0,0.4);overflow:hidden;} #userbox span{margin:0 3px;} -#userbox span.user_title{display:none;color:#555;} +#userbox span.user_title{display:none;} #userbox > div.logged_out{background:#fff;} #loginbox, #factorbox, #restorebox{display:none;margin-left:-200px;width:350px;padding:25px;background:#fff;text-align:center;} @@ -338,7 +341,7 @@ div.controlswitch > div.active, div.controlswitch > div:hover{background:#bfbfbf input.factor_form_resp {display:inline-block;font-family:Courier;font-weight:bold;width:20px !important;height:40px !important;font-size:30px !important;margin-right:5px;text-align:center;outline:none;border-top:none !important;border-left:none !important;border-right:none !important;border-bottom:2px solid #000 !important;} #menubox{display:none;z-index:111;margin-left:-250px;width:450px;padding:25px;background:#fff;text-align:center;} -div.notice{font-size:0.95em;line-height:2.5em;} +div.notice{color:#555;font-size:0.95em;line-height:2.5em;} span.href, div.notice > a{cursor:pointer;text-decoration:none;color:#3e3f95;border-bottom:1px solid #3e3f95;letter-spacing:0.5px;} #account_holder_name{font-size:1.4em;text-align:center;margin-bottom:0.8em;} #account_holder_acclogin, #account_holder_accpass{line-height:2em;color:#3e3f95;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} @@ -347,15 +350,15 @@ span.href, div.notice > a{cursor:pointer;text-decoration:none;color:#3e3f95;bord #account_pass_hint{width:90%;height:auto;position:relative;margin:2vh auto;font-size:0.95em;line-height:2.5vh;background:#ffd;padding:15px;} #account_pass_hint:after{content:'';position:absolute;bottom:0;left:50%;width:0;height:0;border:22px solid transparent;border-top-color:#ffc;border-bottom:0;margin-left:-22px;margin-bottom:-22px;} -#tab_links{margin:-55px 0 0 0;padding:0;} +#tab_links{color:#333;margin:-55px 0 0 0;padding:0;} #tab_links:after{display:block;clear:both;content:'';} -#tab_links li{margin:0 2px;cursor:pointer;user-select:none;float:left;padding:5px 8px;list-style:none;line-height:20px;font-size:0.9em;background:#eee;border-radius:4px 4px 0 0;border-top:1px solid #999;border-right:1px solid #999;border-left:1px solid #999;} +#tab_links li{margin:0 2px;cursor:pointer;user-select:none;float:left;padding:5px 8px;list-style:none;line-height:20px;font-size:0.9em;background:#ddd;border-radius:4px 4px 0 0;border-top:1px solid #999;border-right:1px solid #999;border-left:1px solid #999;} #tab_links li:hover{background:#fff;} #tab_links li.working{background:#fff;} div.divider{width:100%;border-bottom:1px dotted #000;margin:15px 0;} div.user_dialogue input{width:98%;height:30px;font-size:1.25em;border:1px solid #888;padding:0 2px;text-align:center;} -label{font-size:0.95em;line-height:30px;cursor:pointer;} +label{color:#555;font-size:0.95em;line-height:30px;cursor:pointer;} #usr_api_key strong{display:block;font-size:0.85em;line-height:3em;font-weight:normal;} #perms_view > ul{margin:0;padding:0;} @@ -364,6 +367,7 @@ label{font-size:0.95em;line-height:30px;cursor:pointer;} #hintsbox{display:none;position:fixed;top:5%;left:2%;z-index:111;width:27%;height:auto;background:transparent;border-bottom:1px solid #ddd;} #hintsbox_logo{width:100%;height:175px;background:url(wm_logo_opt.png) center center no-repeat;background-size:32%;margin-bottom:10px;} +body.darkmode--activated #hintsbox_logo{filter:invert(100%);} #hintsbox_msg{position:relative;width:92%;height:auto;background:#ffd;padding:6% 4%;font-size:1.05em;line-height:1.8em;text-align:center;} #hintsbox_msg a{text-decoration:none;color:#666;border-bottom:1px solid #666;} #hintsbox_msg:after{content:'';position:absolute;top:0;left:50%;width:0;height:0;border:22px solid transparent;border-bottom-color:#ffc;border-top:0;margin-left:-22px;margin-top:-22px;} @@ -377,9 +381,9 @@ label{font-size:0.95em;line-height:30px;cursor:pointer;} /* PROPS BOX */ #hy_box{display:none;z-index:104;position:absolute !important;top:5%;margin-left:-365px;width:680px;height:auto;padding:25px;background:#fff;margin-bottom:100px;} -#hy_options{margin:-55px 0 0 0;padding:0;} +#hy_options{color:#333;margin:-55px 0 0 0;padding:0;} #hy_options:after{display:block;clear:both;content:'';} -#hy_options li{margin:0 2px;cursor:pointer;user-select:none;float:left;padding:5px 8px;list-style:none;line-height:20px;font-size:0.95em;background:#eee;border-radius:4px 4px 0 0;border-top:1px solid #999;border-right:1px solid #999;border-left:1px solid #999;} +#hy_options li{margin:0 2px;cursor:pointer;user-select:none;float:left;padding:5px 8px;list-style:none;line-height:20px;font-size:0.95em;background:#ddd;border-radius:4px 4px 0 0;border-top:1px solid #999;border-right:1px solid #999;border-left:1px solid #999;} #hy_options li:hover{background:#fff;} #hy_options li.working{background:#fff;} #hy_box > div > ul li{list-style:lower-greek inside;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:4.2vh;} @@ -392,7 +396,7 @@ label{font-size:0.95em;line-height:30px;cursor:pointer;} #hy_textual span{color:#555;border-bottom:1px dotted #555;} #hy_textual a{color:#333 !important;border-bottom:1px solid #333 !important;} #hy_box > div > ul > li > ul > li{padding-left:20px;font-size:0.9em;line-height:1.7em;margin-bottom:10px;} -#hy_box > div > ul > li{padding-left:0;font-size:1.3em;line-height:4.2vh;} +#hy_box > div > ul > li{color:#555;padding-left:0;font-size:1.3em;line-height:4.2vh;} #hy_box > div > ul > li:last-child{margin-bottom:30px;} #hy_box strong.numeric{display:inline-block;float:right;font-size:0.85em;letter-spacing:0.5px;font-weight:normal;cursor:pointer;border-bottom:1px solid #fff;background:#ffd;} #hy_box strong.numeric:hover{border-bottom:1px solid #000;} @@ -414,12 +418,14 @@ label{font-size:0.95em;line-height:30px;cursor:pointer;} #ss_custom_box{display:none;z-index:198;top:4%;margin-left:-305px;width:560px;height:auto;padding:25px;text-align:center;background:#fff;overflow:visible;} div.ss_col, div.sops_col{float:left;} +div.ss_col > ul, div.sops_col > ul{margin:0;padding:0;} div.ss_col > ul > li, div.sops_col > ul > li{display:block;list-style:none;user-select:none;text-align:center;color:#fff;background:#bfbfbf;line-height:27px;border-radius:4px;cursor:pointer;margin:8px 4px;} div.ss_col > ul > li.ss_x, div.sops_col > ul > li.sops_x, #ss_x > ul > li:hover, #sops_x > ul > li:hover{background:#FE9A2E;} div.ss_col > ul > li.ss_y, div.sops_col > ul > li.sops_y, #ss_y > ul > li:hover, #sops_y > ul > li:hover{background:#E36868;} div.ss_col > ul > li.ss_z, div.sops_col > ul > li.sops_z, #ss_z > ul > li:hover, #sops_z > ul > li:hover{background:#3e3f95;} div.sops_col{letter-spacing:1px;} #all_polyhedra_box{display:none;position:absolute !important;z-index:103;top:4%;margin-left:-49%;margin-bottom:100px;width:98%;height:auto;background:#fff url(wm_logo_opt.png) 28% 3em no-repeat;background-size:3%;} +#engines_box{display:none;z-index:198;top:30%;margin-left:-250px;width:450px;height:auto;padding:25px;text-align:center;background:#fff;padding-bottom:3em;} #tooltip{display:none;position:fixed;z-index:202;width:200px;height:auto;text-align:center;background:#ebffd6;padding:15px 10px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;} #tooltip > div{position:relative;width:100%;height:100%;font-size:1em;line-height:2em;} @@ -507,7 +513,7 @@ div.sops_col{letter-spacing:1px;} #ptable_area > ul li.type_2{background:#a8bffa;} #ptable_area > ul li.type_3{background:#F8B707;} #ptable_area > ul li.type_4{background:#f3f300;} -#ptable_area > ul li.type_5{background:#3bd93b;} +#ptable_area > ul li.type_5{background:#acc2b3;} #ptable_area > ul li.type_6{background:#dd9999;} #ptable_area > ul li.type_7{background:#fcc;} #ptable_area > ul li.cat_0{color:#222;} @@ -760,7 +766,10 @@ div.advs.advs_aetypes div.selectize-input{border:1px solid #3e3f95;} #preloader{z-index:201;position:fixed;left:0;top:0;width:100%;height:100%;text-align:center;overflow:hidden;background-color:rgba(255,255,255,0.4);} #preloader > div{position:absolute;top:50%;left:50%;width:80px;height:80px;margin:-40px 0 0 -40px;background:url(wm_logo_opt.png) center center no-repeat;background-size:85%;animation:spin 2s ease infinite;} -@keyframes spin { 100% { transform:rotate(360deg); } } +body.darkmode--activated #preloader > div{filter:invert(100%);} +@keyframes spin { + 100% {transform:rotate(360deg);} +} #rfn_preloader, #sim_preloader{display:none;margin:100px auto;width:125px;height:60px;font-size:10px;} #rfn_preloader > div, #sim_preloader > div{height:100%;width:15px;background:#eee;display:inline-block;margin:0 5px;animation:stretchdelay 1.2s infinite ease-in-out;} @@ -769,10 +778,12 @@ div.advs.advs_aetypes div.selectize-input{border:1px solid #3e3f95;} #rfn_preloader > div.rect4, #sim_preloader > div.rect4{animation-delay:-0.9s;} #rfn_preloader > div.rect5, #sim_preloader > div.rect5{animation-delay:-0.8s;} @keyframes stretchdelay { -0%, 40%, 100% {transform:scaleY(0.4);} -20% {transform:scaleY(1.0);} + 0%, 40%, 100% {transform:scaleY(0.4);} + 20% {transform:scaleY(1.0);} } +div.darkmode-layer{z-index:9999;} + /*! nouislider - 14.0.3 - 10/10/2019 */ .noUi-target,.noUi-target *{touch-action:none;-ms-user-select:none;user-select:none;box-sizing:border-box}.noUi-target{position:relative;direction:ltr}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;left:0;-ms-transform-origin:0 0;transform-origin:0 0;transform-style:flat}.noUi-connect{height:100%;width:100%}.noUi-origin{height:10%;width:10%}html:not([dir=rtl]) .noUi-horizontal .noUi-origin{left:auto;right:0}.noUi-vertical .noUi-origin{width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;left:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;left:-6px;top:-17px}html:not([dir=rtl]) .noUi-horizontal .noUi-handle{right:-17px;left:auto}.noUi-target{background:#FAFAFA;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}.noUi-connects{border-radius:3px}.noUi-connect{background:#FE9A2E}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#B8B8B8}[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed}.noUi-pips,.noUi-pips *{box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#CCC}.noUi-marker-sub{background:#AAA}.noUi-marker-large{background:#AAA}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{transform:translate(0,-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{transform:translate(0,50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;padding:1px;text-align:center;white-space:nowrap;font-size:0.85em;color:#c00;}.noUi-horizontal .noUi-tooltip{transform:translate(-50%,0);left:50%;bottom:95%}.noUi-vertical .noUi-tooltip{transform:translate(0,-50%);top:50%;right:120%} diff --git a/webassets/iframe_cifplayer.html b/webassets/iframe_cifplayer.html new file mode 100644 index 0000000..1b7c73b --- /dev/null +++ b/webassets/iframe_cifplayer.html @@ -0,0 +1,47 @@ + + + + + + + + + + + diff --git a/webassets/iframe_visavis.html b/webassets/iframe_visavis.html new file mode 100644 index 0000000..44ceab5 --- /dev/null +++ b/webassets/iframe_visavis.html @@ -0,0 +1,99 @@ + + + + + + + + + + +