(window.webpackJsonp=window.webpackJsonp||[]).push([[204,4,5,7,9,11,12,13,14,15,32,58,60,65,66,67,68,70,72,73,74,75,76,78,79,80,82,89,91,92,93,94,97,99,100,106,109,110,112,113,118,119,120,121],{1012:function(t,e,n){t.exports=n.p+"img/antibody.cb9af41.svg"},1013:function(t,e,n){t.exports=n.p+"img/antibody_drug_conjugate.8e26b5b.svg"},1014:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+YmxhY2tfYm94PC90aXRsZT4KPHBhdGggZD0iTTE2LjA4OSAwbC0xMy44MjMgNS4zNjUgMTMuODIzIDUuMzY1IDEzLjgyMy01LjM2NS0xMy44MjMtNS4zNjV6TTEuMTQzIDYuNjY1djE5Ljg1NmwxNC4xMzggNS40Nzl2LTE5Ljg1NmwtMTQuMTM4LTUuNDc5ek0zMS4wMzUgNi42NjVsLTE0LjEzOCA1LjQ3OXYxOS44NTZsMTQuMTM4LTUuNDc5di0xOS44NTZ6Ij48L3BhdGg+Cjwvc3ZnPgo="},1015:function(t,e,n){t.exports=n.p+"img/cell.c9cfafa.svg"},1016:function(t,e,n){t.exports=n.p+"img/chemical_probe.c46ebc7.svg"},1017:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+Y2hpcmFsbHlfcHVyZTwvdGl0bGU+CjxwYXRoIGQ9Ik0yNC4yOTEgNy4yODJsLTAuMDMzIDguMDk2YzAgMCAwLjAwMyAwLjU2NS0wLjUzOSAwLjU2NS0wLjU1NCAwLTAuNTM4LTAuNTY1LTAuNTM4LTAuNTY1di0xMS42NzljMC0wLjk5Ny0wLjc5OS0xLjc3LTEuNzkzLTEuNzctMC45OTUgMC0xLjcwNCAwLjc3NC0xLjcwNCAxLjc3djExLjY3OGMwIDAtMC4wNjEgMC41NzEtMC41OTYgMC41NzEtMC41MyAwLTAuNTctMC41NzEtMC41Ny0wLjU3MXYtMTMuNjI1YzAtMC45OTYtMC43NS0xLjc1My0xLjc0NS0xLjc1M3MtMS43NTEgMC43NTctMS43NTEgMS43NTN2MTMuNjI1YzAgMC0wLjAyNyAwLjU0Ni0wLjYgMC41NDYtMC41NjMgMC0wLjU2Ni0wLjU0Ni0wLjU2Ni0wLjU0NnYtMTAuMTIyYzAtMC45OTctMC43NzktMS42MjItMS43NzQtMS42MjJzLTEuNzIzIDAuNjI1LTEuNzIzIDEuNjIydjE0Ljc5M2MwIDAtMC4wOTcgMC42NTctMS4wMzktMC40MjgtMi40MTMtMi43ODItMy42NzItMy4zMzUtMy42NzItMy4zMzVzLTIuMjctMC43NzctMy4xMDIgMC41OTVjLTAuODMzIDEuMzcxIDAuNTUxIDMuMTY5IDEuMDQzIDMuNjY5czQuNDI2IDUuODA5IDQuNDI2IDUuODA5YzAgMCAzLjk4OSA1LjYzOCA5LjM3MyA1LjYzOCAwIDAgMTAuNTQzIDAuNDUxIDEwLjU0My0xMGwtMC4wMzctMTQuNzE1Yy0wLjAwMS0wLjk5OC0wLjgwNy0xLjgwNi0xLjgwMi0xLjgwNnMtMS44MDIgMC44MDktMS44MDIgMS44MDZ6Ij48L3BhdGg+Cjwvc3ZnPgo="},1018:function(t,e,n){t.exports=n.p+"img/discontinued.7fe8789.svg"},1019:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+ZW56eW1lPC90aXRsZT4KPHBhdGggZD0iTTE4Ljc5NyAxLjIxM2wtMy4wNjAgOC40NjUgNi4wMTEgNy4xOTUgOC45NzktMS41ODNjMC4wMTcgMC4yOTcgMC4wMjYgMC41OTcgMC4wMjYgMC44OTggMCA4LjQ4MS02Ljg4NCAxNS4zNTYtMTUuMzc1IDE1LjM1NnMtMTUuMzc1LTYuODc1LTE1LjM3NS0xNS4zNTZjMC04LjQ4MSA2Ljg4NC0xNS4zNTYgMTUuMzc1LTE1LjM1NiAxLjE3NSAwIDIuMzIgMC4xMzIgMy40MTkgMC4zODF6TTI5LjU4MyAxMy42bC02Ljk3NiAxLjIzLTQuNTU5LTUuNDU2IDIuNDE3LTYuNjg2IDYuOTc2LTEuMjMgNC41NTkgNS40NTYtMi40MTcgNi42ODZ6Ij48L3BhdGg+Cjwvc3ZnPgo="},1020:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+Zmlyc3RfaW5fY2xhc3M8L3RpdGxlPgo8cGF0aCBkPSJNMTYuMDIzIDMyYy02LjE4MyAwLTExLjI0Mi01LjA4OC0xMS4yNDItMTEuMzA3czUuMDU5LTExLjMwNyAxMS4yNDItMTEuMzA3YzYuMTgzIDAgMTEuMjQyIDUuMDg4IDExLjI0MiAxMS4zMDdzLTUuMDU5IDExLjMwNy0xMS4yNDIgMTEuMzA3ek0xMi4wNjEgMTguNTAxaDIuODQ0djguMzg5aDIuNDM1di0xMi4xNjRoLTEuOTc3YzAgMC4xMDYtMC4wMzEgMC4yNjgtMC4wOTIgMC40ODctMC4xMDYgMC4zNjQtMC4yNjEgMC42NTQtMC40NjcgMC44NzItMC4zIDAuMzE5LTAuNjg5IDAuNTMxLTEuMTY4IDAuNjM4LTAuMyAwLjA2Ny0wLjgyNiAwLjExNy0xLjU3NiAwLjE1MXYxLjYyN3pNNy4yNTUgMTAuMzhsLTMuNTk3LTUuODU3IDguNDMyLTQuNTIzIDMuOTM1IDcuMTI0Yy0zLjM3MyAwLTYuODggMS42NTEtOC43NjkgMy4yNTd6TTI0Ljc5MiAxMC4zOGMtMS44ODktMS42MDYtNS4zOTYtMy4yNTctOC43NjktMy4yNTdsMy45MzUtNy4xMjQgOC40MzIgMy4zOTItMy41OTcgNi45ODh6Ij48L3BhdGg+Cjwvc3ZnPgo="},1021:function(t,e,n){t.exports=n.p+"img/gene.9da768e.svg"},1022:function(t,e,n){t.exports=n.p+"img/inorganic.8f4112d.svg"},1023:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+bmF0dXJhbDwvdGl0bGU+CjxwYXRoIGQ9Ik0yLjkyMSAyNS41MjZjMS4yNzktMi40MDUgNC4xMjUtNy43NzEgOC4zMjMtMTEuNDEyIDAgMC0xLjYyMiAxLjg1LTMuOSA1LjgxNS0xLjc0MyAzLjEyNy0yLjczNiA1LjY5My0zLjEgNi41MzYtMC40MzYgMC45NjEtMi4xMjIgNC40ODEtMS45OTcgNC45MjggMC4xMDggMC40MTIgMC44NTEgMC4xMDggMS4xMDQgMC4yIDAuMjM3IDAuMDU4IDAuODAyIDAuNjM2IDEgMC4yNDkgMC4yNTItMC40NTQgMC44NzEtMy4wOTkgMS4xMTYtMy4yOTcgOS45MjggMS41MTMgMTguNzYyLTQuOTIgMjAuMTkyLTE2LjQ4NCAwLjQ2Ni0zLjg3NyAwLjQ5OS04LjE0MiA0LjA3Mi0xMi4wMzgtMjEuMjY5IDIuOTc2LTMyLjE3MSAxMS4zODQtMjYuODA5IDI1LjUwMXoiPjwvcGF0aD4KPC9zdmc+Cg=="},1024:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+b2xpZ29udWNsZW90aWRlPC90aXRsZT4KPHBhdGggZD0iTTMxLjc4NiAxOC40MDdsLTUuNjYtNy40ODljLTAuMjg2LTAuMzQzLTAuNzQzLTAuNTE0LTEuMTQzLTAuMzQzbC04LjUxOCAyLjkxNi02LjY4OS0zLjgzdi02LjE3NGMwLTAuNTE0LTAuNDU3LTAuOTcyLTAuOTcyLTAuOTcycy0wLjk3MiAwLjQtMC45NzIgMC45NzJ2Ni4xNzRsLTcuMzE4IDQuMjNjLTAuMzQzIDAuMTcxLTAuNTE0IDAuNTE0LTAuNTE0IDAuOTE1djkuMDMzYzAgMC4zNDMgMC4xNzIgMC42ODYgMC41MTQgMC45MTVsNy43NzUgNC40NTljMC4xNzEgMC4xMTQgMC4zNDMgMC4xMTQgMC41MTQgMC4xMTRzMC4zNDMtMC4wNTcgMC41MTQtMC4xMTRsNy4yMDMtNC4xNzMgOC43NDcgMi42ODdjMC4xMTQgMC4wNTcgMC4yMjkgMC4wNTcgMC4yODYgMC4wNTcgMC4zNDMgMCAwLjYyOS0wLjE3MiAwLjg1OC0wLjQ1N2w1LjM3NC03LjcxOGMwLjI4Ni0wLjM0MyAwLjI4Ni0wLjggMC0xLjIwMWgtMHpNOC44MDQgMjcuMDk3bC02Ljc0Ni0zLjg4N3YtNy44MzJsNi43NDYtMy44ODcgNi41NzQgMy43NzMgMC4xMTQgNy45NDYtNi42ODkgMy44ODd6TTI1LjE1NCAyNS41NTNsLTcuNDg5LTIuMjg3di04LjAwNGw3LjI2LTIuNTE1IDQuNzQ1IDYuMjg4LTQuNTE2IDYuNTE3eiI+PC9wYXRoPgo8L3N2Zz4K"},1025:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+b2xpZ29zYWNjaGFyaWRlPC90aXRsZT4KPHBhdGggZD0iTTguNTIyIDMxLjAzNWMwIDAtMC43Ny0wLjIyLTAuOTktMC41NWwtNy4zNjgtMTIuODExYy0wLjIyLTAuMzMtMC4yMi0wLjc3IDAtMS4xNTVsNy4zNjgtMTIuODExYzAuMjItMC4zMyAwLjYwNS0wLjU1IDAuOTktMC41NWg4LjI4N2wtMC4zMjIgMi4zMDloLTcuMzA1bC02LjcwOCAxMS42MDEgNi43NjMgMTEuNjU2aDEzLjQ3MWw2Ljc2My0xMS42NTYtNC4xNzEtNi45NzUgMS43MTItMS40NzcgNC44MjMgNy45MDJjMC4yMiAwLjMzIDAuMjIgMC43NyAwIDEuMTU1bC03LjQ3OCAxMi44MTFjLTAuMjIgMC4zMy0wLjYwNSAwLjU1LTAuOTkgMC41NXpNMjIuMjIgOC43OTJjLTIuMTMyIDAtMy44MjUtMS43NDQtMy44MjUtMy44MjVzMS42OTMtMy44MjUgMy44MjUtMy44MjVjMi4xMzIgMCAzLjgyNSAxLjc0NCAzLjgyNSAzLjgyNXMtMS42OTMgMy44MjUtMy44MjUgMy44MjV6TTIyLjI2MiAzLjIzN2MtMC45NiAwLTEuNzQgMC43NzMtMS43NCAxLjc0czAuNzggMS43NCAxLjc0IDEuNzRjMC45NiAwIDEuNzQtMC43NzMgMS43NC0xLjc0cy0wLjc4LTEuNzQtMS43NC0xLjc0djB6Ij48L3BhdGg+Cjwvc3ZnPgo="},1026:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+b3JhbDwvdGl0bGU+CjxwYXRoIGQ9Ik0yLjQwMSAyOS41NjdjLTMuMTM3LTMuMTMyLTMuMTMyLTguMjE5LTAuMDAxLTExLjM1N2wxNS43NzgtMTUuNzY5YzMuMTMyLTMuMTM3IDguMjE5LTMuMTMyIDExLjM1Ny0wLjAwMSAzLjEyMiAzLjEyNyAzLjEzMiA4LjIxOSAwLjAwMSAxMS4zNTdsLTE1Ljc3OCAxNS43NjljLTMuMTMyIDMuMTM3LTguMjE5IDMuMTMyLTExLjM1NyAwLjAwMXYwek0xMi4xODUgMTAuOTQ5bDguODIzIDguODQ0IDcuMjY1LTcuMjY2YzIuNDU3LTIuNDUxIDIuNDU3LTYuMzYyLTAuMDA5LTguODIyLTIuNDUxLTIuNDU3LTYuMzc3LTIuNDYxLTguODM0LTAuMDExbC03LjI0NiA3LjI1NXpNMjMuODU5IDExLjkwMWwxLjI1Ni0xLjI2N2MwLjY5NC0wLjY5OCAxLjEzNi0xLjQzIDEuMjM0LTIuMDQyIDAuMTQzLTEuMTc3LTAuNi0xLjkzMi0wLjYtMS45MzJsMS4yNTYtMS4yNjdjMC45NTQgMC45NTkgMS4zMTMgMi4zODUgMS4xMSAzLjUwOHMtMC44NjQgMi4xMjUtMS43MzggMy4wMDRsLTEuMjcxIDEuMjYzLTEuMjQ4LTEuMjY3eiI+PC9wYXRoPgo8L3N2Zz4K"},1027:function(t,e,n){t.exports=n.p+"img/otc.f6a101a.svg"},1028:function(t,e,n){t.exports=n.p+"img/parenteral.a23ddd9.svg"},1029:function(t,e,n){t.exports=n.p+"img/polymer.704d278.svg"},1030:function(t,e,n){t.exports=n.p+"img/prescription.7ac58db.svg"},1031:function(t,e,n){t.exports=n.p+"img/prodrug.0cfde11.svg"},1032:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+cHJvdGVpbjwvdGl0bGU+CjxwYXRoIGQ9Ik0zMS44NDcgMTMuNjIxdjBjLTAuMjg1LTAuMzk5LTAuODU2LTAuNTEyLTEuMzEzLTAuMjI4bC03LjEzNyA0Ljg5Ni02LjQ1Mi00LjYxMSAyLjk2OS04LjY1M2MwLjA1Ny0wLjIyOCAwLjA1Ny0wLjQ1NS0wLjExNC0wLjYyNi0wLjExNC0wLjE3MS0wLjM0My0wLjI4NS0wLjU3MS0wLjI4NWgtNi4zOTVjLTAuMjI4IDAtMC40NTcgMC4xMTQtMC41NzEgMC4yODVzLTAuMTcxIDAuNDU1LTAuMTE0IDAuNjI2bDIuOTY5IDguNjUzLTYuNDUyIDQuNjExLTcuMTk0LTQuODk2Yy0wLjQtMC4yODUtMS4wMjgtMC4xNzEtMS4zMTMgMC4yMjhzLTAuMTcxIDEuMDI1IDAuMjI4IDEuMzA5bDcuNjUxIDUuMjk0YzAuMzQzIDAuMjI4IDAuNzQyIDAuMjI4IDEuMDg1IDBsNi44NTItNC44OTYgNi4yODEgNC40OTd2Ny4xMTZjMCAwLjUxMiAwLjQgMC45MTEgMC45MTQgMC45MTFzMC45MTQtMC4zOTkgMC45MTQtMC45MTF2LTYuOTQ1bDcuNDIzLTUuMTI0YzAuNTE0LTAuMjg1IDAuNjI4LTAuODU0IDAuMzQzLTEuMjUyaC0weiI+PC9wYXRoPgo8L3N2Zz4K"},1033:function(t,e,n){t.exports=n.p+"img/racemic_mixture.904316f.svg"},1034:function(t,e,n){t.exports=n.p+"img/rule_of_five.b7299b4.svg"},1035:function(t,e,n){t.exports=n.p+"img/small-molecule.02e4c83.svg"},1036:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+dG9waWNhbDwvdGl0bGU+CjxwYXRoIGQ9Ik0yMy4xMSAyMS45OTJsMi4yNTYtMTkuNTU4YzAuMDY3LTAuNTg2LTAuMTE5LTEuMTU5LTAuNTI3LTEuNjE2LTAuNDY0LTAuNTIxLTEuMTUzLTAuODE5LTEuODkyLTAuODE5aC0xNC4xMTVjLTAuNzM5IDAtMS40MjkgMC4yOTktMS44OTMgMC44MTktMC40MDcgMC40NTctMC41OTQgMS4wMzEtMC41MjYgMS42MTZsMi4yNTYgMTkuNTU4YzAuMjI0IDEuOTQgMS43MzMgMy40OTUgMy43MzIgNC4wMjl2MC43MjVoLTEuMDY2Yy0wLjMxOSAwLTAuNTc4IDAuMjU5LTAuNTc4IDAuNTc4djQuMDk3YzAgMC4zMiAwLjI1OSAwLjU3OCAwLjU3OCAwLjU3OGg5LjEwOGMwLjMxOSAwIDAuNTc4LTAuMjU5IDAuNTc4LTAuNTc4di00LjA5N2MwLTAuMzItMC4yNTktMC41NzgtMC41NzgtMC41NzhoLTEuMDY2di0wLjcyNWMxLjk5OS0wLjUzNCAzLjUwOS0yLjA4OCAzLjczMi00LjAyOXpNOS44MTkgMjEuODZsLTEuNTk2LTEzLjgzNmgxNS4zMzRsLTEuNTk2IDEzLjgzNmMtMC4yMTEgMS44MjgtMS45NzkgMy4yMDUtNC4xMTMgMy4yMDVoLTMuOTE2Yy0yLjEzNCAwLTMuOTAyLTEuMzc4LTQuMTEzLTMuMjA1ek0xOC4yMjEgMjYuNzQ2aC00LjY2MnYtMC41NGMwLjEyNCAwLjAwOCAwLjI0OCAwLjAxNiAwLjM3NCAwLjAxNmgzLjkxNmMwLjEyNiAwIDAuMjUtMC4wMDggMC4zNzMtMC4wMTZ2MC41NHoiPjwvcGF0aD4KPC9zdmc+Cg=="},1037:function(t,e){t.exports="data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+dW5rbm93bjwvdGl0bGU+CjxwYXRoIGQ9Ik0xMi44NzMgMjUuNzg5aDYuNDA0djYuMjExaC02LjQwNHYtNi4yMTF6TTkuMzA1IDEuNjMzYzEuNjkxLTEuMDg5IDMuNzY4LTEuNjMzIDYuMjMyLTEuNjMzIDMuMjM4IDAgNS45MjggMC43NzQgOC4wNzAgMi4zMjFzMy4yMTMgMy44NCAzLjIxMyA2Ljg3N2MwIDEuODYzLTAuNDY2IDMuNDMxLTEuMzk3IDQuNzA3LTAuNTQ0IDAuNzc0LTEuNTkgMS43NjItMy4xMzggMi45NjZsLTEuNTI2IDEuMTgyYy0wLjgzMSAwLjY0NS0xLjM4MyAxLjM5Ny0xLjY1NSAyLjI1Ny0wLjE3MiAwLjU0NC0wLjI2NSAxLjM5LTAuMjc5IDIuNTM2aC01LjgwM2MwLjA4Ni0yLjQyMSAwLjMxNS00LjA5NCAwLjY4OC01LjAxOHMxLjMzMi0xLjk4OCAyLjg4LTMuMTkxbDEuNTY5LTEuMjI1YzAuNTE2LTAuMzg3IDAuOTMxLTAuODA5IDEuMjQ2LTEuMjY4IDAuNTczLTAuNzg4IDAuODYtMS42NTUgMC44Ni0yLjYgMC0xLjA4OS0wLjMxOS0yLjA4MS0wLjk1Ni0yLjk3NnMtMS44MDItMS4zNDMtMy40OTItMS4zNDNjLTEuNjYyIDAtMi44NCAwLjU1Mi0zLjUzNSAxLjY1NXMtMS4wNDIgMi4yNDktMS4wNDIgMy40MzloLTYuMjExYzAuMTcyLTQuMDgzIDEuNTk3LTYuOTc3IDQuMjc3LTguNjgyeiI+PC9wYXRoPgo8L3N2Zz4K"},1038:function(t,e,n){t.exports=n.p+"img/withdrawn.0702ef0.svg"},1040:function(t,e,n){var map={"./metal_containing.svg":1041};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(map,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return map[t]}r.keys=function(){return Object.keys(map)},r.resolve=o,t.exports=r,r.id=1040},1041:function(t,e,n){t.exports=n.p+"img/metal_containing.199cda6.svg"},1042:function(t,e,n){"use strict";n(942)},1043:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.image-container[data-v-3068f72a]{position:relative}.image-container.bordered-img-container[data-v-3068f72a]{border:1px solid #eee}.image-container .full-width[data-v-3068f72a]{width:100%}.image-container .options-button[data-v-3068f72a]{position:absolute;top:2px;right:2px}.image-container.no-structure-img-container[data-v-3068f72a]{padding:10px}.structure-search-trigger-container[data-v-3068f72a]{padding-top:5px}.no-structure-img[data-v-3068f72a]{opacity:.5}',""]),t.exports=r},1044:function(t,e,n){var content=n(1045);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("beda1088",content,!0,{sourceMap:!1})},1045:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.theme--light.v-input--switch .v-input--switch__thumb{color:#fff}.theme--light.v-input--switch .v-input--switch__track{color:rgba(0,0,0,.38)}.theme--light.v-input--switch.v-input--is-disabled:not(.v-input--is-dirty) .v-input--switch__thumb{color:#fafafa!important}.theme--light.v-input--switch.v-input--is-disabled:not(.v-input--is-dirty) .v-input--switch__track{color:rgba(0,0,0,.12)!important}.theme--dark.v-input--switch .v-input--switch__thumb{color:#bdbdbd}.theme--dark.v-input--switch .v-input--switch__track{color:hsla(0,0%,100%,.3)}.theme--dark.v-input--switch.v-input--is-disabled:not(.v-input--is-dirty) .v-input--switch__thumb{color:#424242!important}.theme--dark.v-input--switch.v-input--is-disabled:not(.v-input--is-dirty) .v-input--switch__track{color:hsla(0,0%,100%,.1)!important}.v-input--switch__thumb,.v-input--switch__track{background-color:currentColor;pointer-events:none;transition:inherit}.v-input--switch__track{border-radius:8px;width:36px;height:14px;left:2px;position:absolute;opacity:.6;right:2px;top:calc(50% - 7px)}.v-input--switch__thumb{border-radius:50%;top:calc(50% - 10px);height:20px;position:relative;width:20px;display:flex;justify-content:center;align-items:center;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-input--switch .v-input--selection-controls__input{width:38px}.v-input--switch .v-input--selection-controls__ripple{top:calc(50% - 24px)}.v-input--switch.v-input--dense .v-input--switch__thumb{width:18px;height:18px}.v-input--switch.v-input--dense .v-input--switch__track{height:12px;width:32px}.v-input--switch.v-input--dense.v-input--switch--inset .v-input--switch__track{height:22px;width:44px;top:calc(50% - 12px);left:-3px}.v-input--switch.v-input--dense .v-input--selection-controls__ripple{top:calc(50% - 22px)}.v-input--switch.v-input--is-dirty.v-input--is-disabled{opacity:.6}.v-application--is-ltr .v-input--switch .v-input--selection-controls__ripple{left:-14px}.v-application--is-ltr .v-input--switch.v-input--dense .v-input--selection-controls__ripple{left:-12px}.v-application--is-ltr .v-input--switch.v-input--is-dirty .v-input--selection-controls__ripple,.v-application--is-ltr .v-input--switch.v-input--is-dirty .v-input--switch__thumb{transform:translate(20px)}.v-application--is-rtl .v-input--switch .v-input--selection-controls__ripple{right:-14px}.v-application--is-rtl .v-input--switch.v-input--dense .v-input--selection-controls__ripple{right:-12px}.v-application--is-rtl .v-input--switch.v-input--is-dirty .v-input--selection-controls__ripple,.v-application--is-rtl .v-input--switch.v-input--is-dirty .v-input--switch__thumb{transform:translate(-20px)}.v-input--switch:not(.v-input--switch--flat):not(.v-input--switch--inset) .v-input--switch__thumb{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.v-input--switch--inset .v-input--selection-controls__input,.v-input--switch--inset .v-input--switch__track{width:48px}.v-input--switch--inset .v-input--switch__track{border-radius:14px;height:28px;left:-4px;opacity:.32;top:calc(50% - 14px)}.v-application--is-ltr .v-input--switch--inset .v-input--selection-controls__ripple,.v-application--is-ltr .v-input--switch--inset .v-input--switch__thumb{transform:translate(0)!important}.v-application--is-rtl .v-input--switch--inset .v-input--selection-controls__ripple,.v-application--is-rtl .v-input--switch--inset .v-input--switch__thumb{transform:translate(-6px)!important}.v-application--is-ltr .v-input--switch--inset.v-input--is-dirty .v-input--selection-controls__ripple,.v-application--is-ltr .v-input--switch--inset.v-input--is-dirty .v-input--switch__thumb{transform:translate(20px)!important}.v-application--is-rtl .v-input--switch--inset.v-input--is-dirty .v-input--selection-controls__ripple,.v-application--is-rtl .v-input--switch--inset.v-input--is-dirty .v-input--switch__thumb{transform:translate(-26px)!important}',""]),t.exports=r},1106:function(t,e,n){"use strict";n.r(e);n(8),n(6),n(235);var r=n(1107),o=n(1108),c=n(1109),l={components:{ATCRefs:r.default,RefsList:o.default,VerticalRefsList:c.default},props:{refs:{type:Object,default:function(){}}},computed:{refsList:function(){return Object.values(this.refs).sort((function(a,b){return a.sourceKey.localeCompare(b.sourceKey)}))},noRefs:function(){return 0===this.refsList.length}},methods:{isATCRef:function(t){return"ATC"===t.xref_src}}},d=n(4),m=n(7),h=n.n(m),f=n(301),v=n(25),y=n(294),component=Object(d.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("v-card",{attrs:{flat:""}},[t._l(t.refsList,(function(e){return[n("v-card-title",{key:e.sourceKey+"-title"},[n("a",{attrs:{href:e.sourceURL,target:"_parent"}},[t._v(t._s(e.sourceKey)+" ("+t._s(e.count)+")\n ")])]),t._v(" "),n("v-card-text",{key:e.sourceKey+"-data"},["ATC"==e.sourceKey?n("ATCRefs",{attrs:{refs:e.refs}}):["GoComponent","GoFunction","GoProcess","InterPro","Pfam"].includes(e.sourceKey)?n("VerticalRefsList",{attrs:{refs:e.refs}}):n("RefsList",{attrs:{refs:e.refs,"force-i-d":"PDBe"==e.sourceKey}})],1),t._v(" "),n("v-divider",{key:e.sourceKey+"-divider"})]})),t._v(" "),t.noRefs?n("v-card-text",[t._v(" No cross references found. ")]):t._e()],2)],1)}),[],!1,null,null,null);e.default=component.exports;h()(component,{VCard:f.a,VCardText:v.c,VCardTitle:v.d,VDivider:y.a})},1107:function(t,e,n){"use strict";n.r(e);var r={props:{refs:{type:Array,default:function(){return[]}}}},o=n(4),c=n(7),l=n.n(c),d=n(301),m=n(25),h=n(885),f=n(904),v=n(886),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("v-container",{attrs:{fluid:""}},[n("v-row",{attrs:{dense:""}},t._l(t.refs,(function(e,r){return n("v-col",{key:r,attrs:{cols:"12",sm:"6",md:"4",lg:"2"}},[n("v-card",{attrs:{flat:""}},[n("v-card-text",[n("v-card-text",t._l(e.levels_refs,(function(e){return n("div",{key:e.level},[t._v("\n "+t._s(e.name)+" -\n "),n("a",{attrs:{href:e.link,target:"_parent"}},[t._v(t._s(e.description))])])})),0)],1)],1)],1)})),1)],1)],1)}),[],!1,null,null,null);e.default=component.exports;l()(component,{VCard:d.a,VCardText:m.c,VCol:h.a,VContainer:f.a,VRow:v.a})},1108:function(t,e,n){"use strict";n.r(e);var r={props:{refs:{type:Array,default:function(){return[]}},forceID:{type:Boolean,default:!1}},methods:{getRefLabel:function(t){return this.forceID?t.xref_id:null!=t.xref_name?t.xref_name:t.xref_id}}},o=n(4),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._l(t.refs,(function(e,r){return[n("a",{key:r+"-anchor",attrs:{href:e.xref_url,target:"_parent"}},[t._v(t._s(t.getRefLabel(e)))]),r!==t.refs.length-1?[t._v(", ")]:t._e()]}))],2)}),[],!1,null,"0eb21881",null);e.default=component.exports},1109:function(t,e,n){"use strict";n.r(e);var r={props:{refs:{type:Array,default:function(){return[]}}}},o=n(4),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("ul",t._l(t.refs,(function(e,r){return n("li",{key:r},[n("a",{attrs:{href:e.xref_url,target:"_parent"}},[t._v(" "+t._s(e.xref_id))]),t._v("\n "+t._s(null!=e.xref_name?"("+e.xref_name+")":void 0)+"\n ")])})),0)])}),[],!1,null,null,null);e.default=component.exports},1116:function(t,e,n){"use strict";n.r(e);n(15),n(12),n(8),n(6),n(13);var r=n(1),o=(n(62),n(11),n(38),n(906)),c=n(58),l=n(54);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var h={components:{PieChart:n(1192).default},props:{chemblID:{type:String,default:function(){}},title:{type:String,default:""},querystring:{type:String,default:""},browseAllButonText:{type:String,default:"Browse all"},entityID:{type:String,default:function(){}},datasetDescriptionText:{type:String,default:function(){}},esAggField:{type:String,default:"standard_type"},customNoDataText:{type:String,default:"No Data Available"}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,buckets:[],missingLabel:"N/A",otherLabel:"Other"}},computed:{linkToAllData:function(){return o.a.buildURLForEntityBrowser(this.entityID,this.querystring,"querystring",this.datasetDescriptionText)},thereAreNoCategories:function(){return 0===(this.pieConfig.categories||[]).length},aggQuery:function(){return{size:0,query:{query_string:{query:this.querystring}},aggs:{main_agg:{terms:{field:this.esAggField,size:20,missing:this.missingLabel,order:{_count:"desc"}}}}}},pieConfig:function(){var t=this;return{categories:this.buckets.map((function(e){var n;if(e.key===t.missingLabel)n="NOT _exists_:".concat(t.esAggField);else if(e.key===t.otherLabel){var r=t.buckets.filter((function(b){return b.key!==t.otherLabel&&b.key!==t.missingLabel})).map((function(b){return b.key})),c=t.buckets.find((function(b){return b.key===t.missingLabel}));n="NOT ".concat(t.esAggField,":(").concat(r.map((function(t){return'"'.concat(t,'"')})).join(" OR "),")"),c&&(n="".concat(n," AND _exists_:").concat(t.esAggField))}else n="".concat(t.esAggField,':"').concat(e.key,'"');var link=o.a.buildURLForEntityBrowser(t.entityID,"".concat(t.querystring," AND ").concat(n),"querystring","".concat(t.datasetDescriptionText," - ").concat(e.key));return m(m({},e),{},{link:link})}))}}},watch:{querystring:{handler:function(){this.loaddAggData()}}},mounted:function(){this.loaddAggData()},methods:{loaddAggData:function(){var t=this;this.loading=!0,this.showError=!1,this.errorMsg=void 0;var e=c.a.getIndexNameFromEntityID(this.entityID);l.a.getESData(e,this.aggQuery).then((function(e){var n=e.data.es_response.aggregations.main_agg.buckets;t.buckets=n;var r=e.data.es_response.aggregations.main_agg.sum_other_doc_count;r>0&&t.buckets.push({key:t.otherLabel,doc_count:r}),t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e}))}}},f=(n(1203),n(4)),v=n(7),y=n.n(v),_=n(301),w=n(25),k=n(218),x=n(899),component=Object(f.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",{attrs:{outlined:""}},[n("v-card-title",[t._v(t._s(t.title))]),t._v(" "),t.thereAreNoCategories?[n("v-card-text",[n("v-icon",{attrs:{color:"warning"}},[t._v(" mdi-alert ")]),t._v(" "+t._s(t.customNoDataText)+"\n ")],1)]:[n("v-card-text",[n("div",{staticClass:"d-flex justify-center align-center"},[n("a",{attrs:{target:"_parent",href:t.linkToAllData}},[t._v(t._s(t.browseAllButonText))])])]),t._v(" "),t.loading?n("v-card-text",[n("v-skeleton-loader",{attrs:{type:"card"}})],1):t._e(),t._v(" "),t.showError?n("v-card-text",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):n("v-card-text",[n("PieChart",{attrs:{config:t.pieConfig}})],1)]],2)}),[],!1,null,"a8832f28",null);e.default=component.exports;y()(component,{VCard:_.a,VCardText:w.c,VCardTitle:w.d,VIcon:k.a,VSkeletonLoader:x.a})},1117:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));n(77);var r=n(30),o=n(1),c=n(906),l=n(58),d=n(54),m={data:function(){return{initialLoad:!0,showError:!1,errorMsg:void 0,loadingHistogramData:!1,showHistogramDataError:!1,histogramErrorMsg:void 0,numItems:0,minXValue:void 0,maxXValue:void 0,minRange:.1,minInterval:void 0,maxInterval:void 0,currentInterval:void 0,intervalStep:void 0,numIntervalSteps:10,missingLabel:"N/A",otherLabel:"Other",histogramData:void 0,numItemsWithNoCategory:0,entityID:void 0,xPropertyLabel:void 0}},computed:{countQuery:function(){return{size:0,track_total_hits:!0,query:{query_string:{query:this.allDataQuerystring}}}},minAggName:function(){return"min_".concat(this.categoriesField)},maxAggName:function(){return"max_".concat(this.categoriesField)},minMaxQuery:function(){var t;return{size:0,query:{query_string:{query:this.allDataQuerystring}},aggs:(t={},Object(o.a)(t,this.minAggName,{min:{field:this.categoriesField}}),Object(o.a)(t,this.maxAggName,{max:{field:this.categoriesField}}),t)}},aggName:function(){return"histogram_".concat(this.categoriesField)},aggQuery:function(){return{size:0,query:{query_string:{query:this.allDataQuerystring}},aggs:Object(o.a)({},this.aggName,{histogram:{field:this.categoriesField,interval:this.currentInterval}})}},noCategoryQuery:function(){return{size:0,track_total_hits:!0,query:{bool:{must:[{query_string:{query:this.itemsWithNoCategoryQuerystring}}]}}}},itemsWithNoCategoryQuerystring:function(){return"".concat(this.allDataQuerystring," AND NOT _exists_:").concat(this.categoriesField)},itemsWithNoCategoryDescriptionText:function(){return null==this.histogramConfig?"Items with no category":"".concat(this.histogramConfig.datasetDescriptionText," - Items with no ").concat(this.xPropertyLabel)},itemsWithNoCategoryLinkText:function(){return"Items with no ".concat(this.xPropertyLabel," (").concat(this.numItemsWithNoCategory,")")},linkToItemsWithNoCategory:function(){return c.a.buildURLForEntityBrowser(this.entityID,this.itemsWithNoCategoryQuerystring,"querystring",this.itemsWithNoCategoryDescriptionText)},disableLessBars:function(){return this.currentInterval>=this.maxInterval},disableMoreBars:function(){return this.currentInterval<=this.minInterval},isMobile:function(){return this.$vuetify.breakpoint.xs},showHistogramSettings:function(){return!this.isMobile},noDataAvailable:function(){return null==this.histogramData||0===this.histogramData.categories.length}},watch:{currentInterval:function(){this.loadHistogramData()}},mounted:function(){this.loadInitialDetails()},methods:{increaseInterval:function(){this.currentInterval<this.maxInterval&&(this.currentInterval+=this.intervalStep)},decreaseInterval:function(){this.currentInterval>this.minInterval&&(this.currentInterval-=this.intervalStep)},updateInterval:function(t){this.currentInterval=t},calculateInitialInterval:function(){var t,e=this.maxXValue-this.minXValue;this.maxInterval=e/2;var n=2*(t=this.$vuetify.breakpoint.lgAndUp?8:this.$vuetify.breakpoint.md?6:this.$vuetify.breakpoint.sm?4:3);this.minInterval=e/n;var r=e/t;this.intervalStep=(this.maxInterval-this.minInterval)/this.numIntervalSteps;var o=Math.max(Math.min(this.maxInterval,r),this.minInterval);this.currentInterval=this.calibrateInterval(this.minInterval,this.maxInterval,this.numIntervalSteps,this.intervalStep,o)},calibrateInterval:function(t,e,n,r,o){for(var c=[],l=t,i=0;i<n;i++)c.push(l),l+=r;return c.reduce((function(t,e){return Math.abs(e-o)<Math.abs(t-o)?e:t}))},loadInitialDetails:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=l.a.getIndexNameFromEntityID(t.entityID),e.next=4,d.a.getESData(n,t.countQuery);case 4:return r=e.sent,t.numItems=r.data.es_response.hits.total.value,e.next=8,d.a.getESData(n,t.minMaxQuery);case 8:o=e.sent,t.minXValue=o.data.es_response.aggregations[t.minAggName].value,t.maxXValue=o.data.es_response.aggregations[t.maxAggName].value,t.minXValue===t.maxXValue&&(t.maxXValue+=t.minRange),t.calculateInitialInterval(),t.initialLoad=!1,e.next=21;break;case 16:e.prev=16,e.t0=e.catch(0),t.initialLoad=!1,t.showError=!0,t.errorMsg=e.t0;case 21:case"end":return e.stop()}}),e,null,[[0,16]])})))()},loadHistogramData:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loadingHistogramData=!0,n=l.a.getIndexNameFromEntityID(t.entityID),e.prev=2,e.next=5,d.a.getESData(n,t.aggQuery);case 5:return r=e.sent,o=r.data.es_response.aggregations[t.aggName].buckets,c=t.parseBuckets(o),t.histogramData={categories:c,xPropertyLabel:t.xPropertyLabel},e.next=11,d.a.getESData(n,t.noCategoryQuery);case 11:m=e.sent,t.numItemsWithNoCategory=m.data.es_response.hits.total.value,t.loadingHistogramData=!1,e.next=21;break;case 16:e.prev=16,e.t0=e.catch(2),t.loadingHistogramData=!1,t.showHistogramDataError=!0,t.histogramErrorMsg=e.t0;case 21:case"end":return e.stop()}}),e,null,[[2,16]])})))()},parseBuckets:function(t){for(var e=[],i=0;i<t.length;i++){var n=t[i],r=n.key,o=this.histogramConfig.datasetDescriptionText,label=void 0,l=void 0,d=void 0;if(1===this.currentInterval)label=r,l="".concat(this.allDataQuerystring," AND ").concat(this.categoriesField,":").concat(r),d="".concat(o," | ").concat(this.xPropertyLabel," ").concat(r);else{var m=i+1<t.length?t[i+1].key:this.maxXValue;label=i+1<t.length?"[".concat(r.toFixed(2),", ").concat(m.toFixed(2),")"):"[".concat(r.toFixed(2),", ").concat(m.toFixed(2),"]");var h=i+1<t.length?"[".concat(r," TO ").concat(m,"}"):"[".concat(r," TO ").concat(m,"]");l="".concat(this.allDataQuerystring," AND ").concat(this.categoriesField,":").concat(h),d="".concat(o," | ").concat(this.xPropertyLabel," from ").concat(r.toFixed(2)," to ").concat(m.toFixed(2))}var f={label:label,querystring:l,datasetDescriptionText:d,link:c.a.buildURLForEntityBrowser(this.entityID,l,"querystring",d),count:n.doc_count};e.push(f)}return e}}}},1119:function(t,e,n){var content=n(1147);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("0fdb8062",content,!0,{sourceMap:!1})},1123:function(t,e,n){"use strict";n(38),n(40),n(36);var r=n(1105),o=function(t){var e=t.replace(/^rgb\(/,"").replace(/\)$/,"").replace(/ /g,"").split(",");return{red:parseInt(e[0]),green:parseInt(e[1]),blue:parseInt(e[2]),alpha:parseInt(e[3])}},c=function(t){var a=[t.red,t.green,t.blue].map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}));return.2126*a[0]+.7152*a[1]+.0722*a[2]};function l(t,e){var n=c(t),r=c(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}e.a={getBlackOrWhiteForBackround:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"black",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"white",r=o(t),c=Math.round((299*r.red+587*r.green+114*r.blue)/1e3);return c>128?e:n},getFinalColorAfterOpacity:function(t,e){var n=o(t),r={red:parseInt(255-e*(255-n.red)),green:parseInt(255-e*(255-n.green)),blue:parseInt(255-e*(255-n.blue))};return"rgb(".concat(r.red,",").concat(r.green,",").concat(r.blue,")")},calculateForegroundColorFromContrastRatio:function(t,e){var n=o(t);n.alpha=e;for(var c=function(t,e){var n=e.alpha;return{red:parseInt((1-n)*t.red+n*e.red),green:parseInt((1-n)*t.green+n*e.green),blue:parseInt((1-n)*t.blue+n*e.blue)}}({red:255,green:255,blue:255},n),d=r.d("rgb(".concat(c.red,", ").concat(c.green,", ").concat(c.blue,")")),m={minS:0,maxS:1,minL:0,maxL:1},h=-1,i=0,f=!1;!f&&i<10;){i+=1,[{minS:m.minS,maxS:m.maxS/2,minL:m.minL,maxL:m.maxL/2},{minS:m.maxS/2,maxS:m.maxS,minL:m.minL,maxL:m.maxL/2},{minS:m.minS,maxS:m.maxS/2,minL:m.maxL/2,maxL:m.maxL},{minS:m.maxS/2,maxS:m.maxS,minL:m.maxL/2,maxL:m.maxL}].forEach((function(t){var e=(t.minS+t.maxS)/2,n=(t.minL+t.maxL)/2,o=r.d(d.h,e,n),v=o.rgb(),y=l(c,{red:v.r,green:v.g,blue:v.b});y>h&&(m=t,d=o,(h=y)>=8&&(f=!0))}))}var v,y=l(c,{red:0,green:0,blue:0}),_=l(c,{red:255,green:255,blue:255}),w=Math.max(y,_,h);if(w===y)v="rgb(0, 0, 0)";else if(w===_)v="rgb(255, 255, 255)";else{var k=d.rgb();v="rgb(".concat(parseInt(k.r),", ").concat(parseInt(k.g),", ").concat(parseInt(k.b),")")}return v}}},1124:function(t,e,n){var content=n(1152);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("bc9f12ea",content,!0,{sourceMap:!1})},1128:function(t,e,n){"use strict";n(15),n(11),n(12),n(8),n(6),n(13);var r=n(1),o=(n(1118),n(1044),n(1122)),c=n(64),l=n(129),d=n(48),m=n(240),h=n(0);function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?f(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):f(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}e.a=o.a.extend({name:"v-switch",directives:{Touch:l.a},props:{inset:Boolean,loading:{type:[Boolean,String],default:!1},flat:{type:Boolean,default:!1}},computed:{classes:function(){return v(v({},c.a.options.computed.classes.call(this)),{},{"v-input--selection-controls v-input--switch":!0,"v-input--switch--flat":this.flat,"v-input--switch--inset":this.inset})},attrs:function(){return{"aria-checked":String(this.isActive),"aria-disabled":String(this.isDisabled),role:"switch"}},validationState:function(){return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0},switchData:function(){return this.setTextColor(this.loading?void 0:this.validationState,{class:this.themeClasses})}},methods:{genDefaultSlot:function(){return[this.genSwitch(),this.genLabel()]},genSwitch:function(){return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.genInput("checkbox",v(v({},this.attrs),this.attrs$)),this.genRipple(this.setTextColor(this.validationState,{directives:[{name:"touch",value:{left:this.onSwipeLeft,right:this.onSwipeRight}}]})),this.$createElement("div",v({staticClass:"v-input--switch__track"},this.switchData)),this.$createElement("div",v({staticClass:"v-input--switch__thumb"},this.switchData),[this.genProgress()])])},genProgress:function(){return this.$createElement(d.c,{},[!1===this.loading?null:this.$slots.progress||this.$createElement(m.a,{props:{color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,size:16,width:2,indeterminate:!0}})])},onSwipeLeft:function(){this.isActive&&this.onChange()},onSwipeRight:function(){this.isActive||this.onChange()},onKeydown:function(t){(t.keyCode===h.y.left&&this.isActive||t.keyCode===h.y.right&&!this.isActive)&&this.onChange()}}})},1130:function(t,e,n){var content=n(1172);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("53daac18",content,!0,{sourceMap:!1})},1132:function(t,e,n){var content=n(1176);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("49a4617e",content,!0,{sourceMap:!1})},1133:function(t,e,n){var content=n(1178);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("58c5e788",content,!0,{sourceMap:!1})},1134:function(t,e,n){var content=n(1180);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("963174b8",content,!0,{sourceMap:!1})},1135:function(t,e,n){var content=n(1185);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("83d46d98",content,!0,{sourceMap:!1})},1136:function(t,e,n){var content=n(1187);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("397d5118",content,!0,{sourceMap:!1})},1137:function(t,e,n){var content=n(1189);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("02bbe854",content,!0,{sourceMap:!1})},1138:function(t,e,n){"use strict";(function(t){var r=n(16),o=n(58),c=n(54),l=n(307),d=n(102),m=n(1227);e.a={props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,smiles:void 0,predictions:void 0,headers:[{text:"Target",value:"target_chemblid"},{text:"Target Pref. Name",value:"pref_name"},{text:"Confidence 70%",value:"70%"},{text:"Confidence 80%",value:"80%"},{text:"Confidence 90%",value:"90%"},{text:"Activity Threshold",value:"threshold"}],options:{itemsPerPage:5}}},computed:{curlCommand:function(){return"curl '".concat(this.targetPredictionsURL,"' -H 'Content-Type: application/json' --data-raw '").concat(JSON.stringify({smiles:this.smiles}),"' ")},targetPredictionsURL:function(){return t.env.chemblTargetPredictionBaseUrl}},mounted:function(){var t=this,e=r.a.Compound.entityID,n=o.a.getIndexNameFromEntityID(e);c.a.getESDocument(n,this.chemblID,["molecule_structures.canonical_smiles"]).then((function(e){var n=e.data._source;if(t.smiles=l.a.getPropertyPalue(n,"molecule_structures.canonical_smiles",null,!0),null==t.smiles)return t.predictions=[],void(t.loading=!1);m.a.getPredictions(t.smiles).then((function(e){t.predictions=e.data})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e.message})),t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e.message}))},methods:{getLinkToReportCard:function(t){var e=r.a.Target.entityID;return d.a[e].getLinkToReportCard(t)}}}}).call(this,n(155))},1142:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));n(63),n(44),n(55),n(24),n(34),n(35),n(33),n(15),n(11),n(12),n(8),n(6),n(13);var r=n(1),o=n(47),c=n(16);function l(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var h={computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(o.b)({reportCardStructure:function(t){return t[this.storeModuleName].reportCardStructure}})),methods:{setFinalPageStructure:function(t,e){var n,r={title:t,entityName:c.a[this.entityID].singularEntityName,sections:[]},o=0,d=l(e);try{for(d.s();!(n=d.n()).done;){var section=n.value;section.include&&(section.index=o,r.sections.push(section),o++)}}catch(t){d.e(t)}finally{d.f()}this.$store.dispatch("".concat(this.storeModuleName,"/setReportCardStructure"),r),this.$store.dispatch("".concat(this.storeModuleName,"/setStructureReady"),!0)}}}},1143:function(t,e,n){"use strict";n(15),n(11),n(12),n(8),n(6),n(13);var r=n(1),o=n(47),c=(n(182),{props:{rootMargin:{type:String,default:function(){return"0px"}},top:{type:String,default:function(){return"0px"}},left:{type:String,default:function(){return"0px"}}},data:function(){return{pinned:!1}},computed:{pinningClasses:function(){return{pinned:this.pinned}}},mounted:function(){var t=this,e={threshold:1,rootMargin:this.rootMargin};new IntersectionObserver((function(e,n){var r=e[0],o=!r.isIntersecting,c=t.$refs.componentToPin,l=t.$refs.pinnedComponentContainer,d=t.$refs.placeholder,m=r.intersectionRect,h=r.boundingClientRect,f=m.top===h.top&&h.bottom>m.bottom;if(!o||f)return t.pinned=!1,l.style.width=null,d.style.height=null,d.style.width=null,l.style.top=null,void(l.style.left=null);t.pinned=!0;var slot=null!=t.$slots.default?t.$slots.default[0].elm:t.$scopedSlots.default(),v=c.offsetWidth,y=slot.offsetHeight;l.style.width="".concat(v,"px"),l.style.top=t.top,l.style.left=t.left,d.style.height="".concat(y,"px"),d.style.width="".concat(v,"px")}),e).observe(this.$refs.stickyComponentContainer)}}),l=(n(1175),n(4)),d=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"stickyComponentContainer"},[n("div",{ref:"pinnedComponentContainer",staticClass:"pinned-component-container",class:t.pinningClasses},[n("div",{ref:"componentToPin"}),t._v(" "),t._t("default",null,{pinned:t.pinned})],2),t._v(" "),n("div",{ref:"placeholder",staticClass:"placeholder"})])}),[],!1,null,"15c53008",null).exports;function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var h={components:{Sticky:d},props:{reportCardStructure:{type:Object,default:function(){}},storeModuleName:{type:String,default:function(){return""}}},data:function(){return{items:["Foo","Bar","Fizz","Buzz"]}},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({thereIsAnActiveSection:function(){return null!=this.activeSectionIndex},activeSectionData:function(){if(this.thereIsAnActiveSection)return this.reportCardStructure.sections[this.activeSectionIndex].title}},Object(o.b)({activeSectionIndex:function(t){return t[this.storeModuleName].activeSection}})),methods:{goToTop:function(){window.scrollTo(0,0),this.$store.dispatch("".concat(this.storeModuleName,"/setActiveSection"),0),window.location.hash=""},gotToSection:function(t){var e=this.reportCardStructure.sections.findIndex((function(section){return section.id===t}));this.$store.dispatch("".concat(this.storeModuleName,"/setActiveSection"),e),window.location.hash="#".concat(t)}}},f=(n(1177),n(7)),v=n.n(f),y=n(887),_=n(293),w=n(220),k=n(885),x=n(294),T=n(218),C=n(174),S=n(22),I=n(299),E=n(303),D=n(886),M=Object(l.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Sticky",{attrs:{"root-margin":"-62px 0px 0px 0px",top:"62px"}},[n("div",{staticClass:"navigator-mobile grey lighten-4"},[n("v-banner",{attrs:{"single-line":""}},[n("v-row",{attrs:{dense:""}},[n("v-col",{attrs:{cols:"2",sm:"1"}},[n("div",{staticClass:"d-flex"},[n("v-btn",{attrs:{small:"",text:"",tile:"",color:"primary"},on:{click:t.goToTop}},[n("v-icon",[t._v("mdi-format-vertical-align-top")])],1),t._v(" "),n("v-divider",{attrs:{vertical:""}})],1)]),t._v(" "),n("v-col",{staticClass:"d-flex align-end",attrs:{cols:"10",sm:"11"}},[n("v-menu",{attrs:{bottom:"",left:"","offset-y":""},scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,o=e.attrs;return[n("v-chip",t._g(t._b({attrs:{label:"",outlined:""}},"v-chip",o,!1),r),[t.thereIsAnActiveSection?n("span",{staticClass:"text-truncate"},[t._v("\n "+t._s(t.activeSectionIndex+1)+". "+t._s(t.activeSectionData)+"\n ")]):t._e()])]}}])},[t._v(" "),n("div",{staticClass:"grey lighten-4"},[n("v-list-item-group",{attrs:{value:t.activeSectionIndex,color:"primary"}},[t._l(t.reportCardStructure.sections,(function(section,e){return n("v-list-item",{key:section.id,on:{click:function(e){return t.gotToSection(section.id)}}},[n("v-list-item-content",[n("v-list-item-title",[t._v("\n "+t._s(e+1)+".\n "+t._s(section.title)+"\n ")])],1)],1)})),t._v(" "),n("v-divider")],2)],1)])],1)],1)],1)],1)])}),[],!1,null,"4bd8e96c",null),N=M.exports;v()(M,{VBanner:y.a,VBtn:_.a,VChip:w.a,VCol:k.a,VDivider:x.a,VIcon:T.a,VListItem:C.a,VListItemContent:S.a,VListItemGroup:I.a,VListItemTitle:S.c,VMenu:E.a,VRow:D.a});n(242);function L(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function P(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?L(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):L(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var O={props:{reportCardStructure:{type:Object,default:function(){}},fixed:{type:Boolean,default:!1},storeModuleName:{type:String,default:function(){return""}}},computed:P(P({mainPageURL:function(){return"https://www.ebi.ac.uk/chembl"}},Object(o.b)({activeSection:function(t){return t[this.storeModuleName].activeSection},structureReady:function(t){return t[this.storeModuleName].structureReady}})),{},{meunClasses:function(){return{"fixed-menu":this.fixed}}}),methods:{onClickOutside:function(){this.fixed&&this.$emit("clickedOutside")},gotToSection:function(t){var e=this.reportCardStructure.sections.findIndex((function(section){return section.id===t}));this.$store.dispatch("".concat(this.storeModuleName,"/setActiveSection"),e),window.location.hash="#".concat(t)},goToTop:function(){window.scrollTo(0,0),this.$store.dispatch("".concat(this.storeModuleName,"/setActiveSection"),0),window.location.hash=""}}},A=(n(1179),n(295)),V=n(148),j=(n(20),n(1181),n(319)),B=n(318),R=n(19),F=n(107),H=n(184),U=n(243),z=n(131),G=n(17),Y=n(103),W=n(106),Q=n(129),$=n(0),X=n(5);function K(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var Z=Object(X.a)(Object(B.a)("left",["isActive","isMobile","miniVariant","expandOnHover","permanent","right","temporary","width"]),R.a,F.a,H.a,U.a,z.a,G.a).extend({name:"v-navigation-drawer",directives:{ClickOutside:Y.a,Resize:W.a,Touch:Q.a},provide:function(){return{isInNav:"nav"===this.tag}},props:{bottom:Boolean,clipped:Boolean,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,height:{type:[Number,String],default:function(){return this.app?"100vh":"100%"}},miniVariant:Boolean,miniVariantWidth:{type:[Number,String],default:56},permanent:Boolean,right:Boolean,src:{type:[String,Object],default:""},stateless:Boolean,tag:{type:String,default:function(){return this.app?"nav":"aside"}},temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},value:null},data:function(){return{isMouseover:!1,touchArea:{left:0,right:0},stackMinZIndex:6}},computed:{applicationProperty:function(){return this.right?"right":"left"},classes:function(){return function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?K(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):K(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({"v-navigation-drawer":!0,"v-navigation-drawer--absolute":this.absolute,"v-navigation-drawer--bottom":this.bottom,"v-navigation-drawer--clipped":this.clipped,"v-navigation-drawer--close":!this.isActive,"v-navigation-drawer--fixed":!this.absolute&&(this.app||this.fixed),"v-navigation-drawer--floating":this.floating,"v-navigation-drawer--is-mobile":this.isMobile,"v-navigation-drawer--is-mouseover":this.isMouseover,"v-navigation-drawer--mini-variant":this.isMiniVariant,"v-navigation-drawer--custom-mini-variant":56!==Number(this.miniVariantWidth),"v-navigation-drawer--open":this.isActive,"v-navigation-drawer--open-on-hover":this.expandOnHover,"v-navigation-drawer--right":this.right,"v-navigation-drawer--temporary":this.temporary},this.themeClasses)},computedMaxHeight:function(){if(!this.hasApp)return null;var t=this.$vuetify.application.bottom+this.$vuetify.application.footer+this.$vuetify.application.bar;return this.clipped?t+this.$vuetify.application.top:t},computedTop:function(){if(!this.hasApp)return 0;var t=this.$vuetify.application.bar;return t+=this.clipped?this.$vuetify.application.top:0,t},computedTransform:function(){return this.isActive?0:this.isBottom||this.right?100:-100},computedWidth:function(){return this.isMiniVariant?this.miniVariantWidth:this.width},hasApp:function(){return this.app&&!this.isMobile&&!this.temporary},isBottom:function(){return this.bottom&&this.isMobile},isMiniVariant:function(){return!this.expandOnHover&&this.miniVariant||this.expandOnHover&&!this.isMouseover},isMobile:function(){return!this.stateless&&!this.permanent&&H.a.options.computed.isMobile.call(this)},reactsToClick:function(){return!this.stateless&&!this.permanent&&(this.isMobile||this.temporary)},reactsToMobile:function(){return this.app&&!this.disableResizeWatcher&&!this.permanent&&!this.stateless&&!this.temporary},reactsToResize:function(){return!this.disableResizeWatcher&&!this.stateless},reactsToRoute:function(){return!this.disableRouteWatcher&&!this.stateless&&(this.temporary||this.isMobile)},showOverlay:function(){return!this.hideOverlay&&this.isActive&&(this.isMobile||this.temporary)},styles:function(){var t=this.isBottom?"translateY":"translateX";return{height:Object($.g)(this.height),top:this.isBottom?"auto":Object($.g)(this.computedTop),maxHeight:null!=this.computedMaxHeight?"calc(100% - ".concat(Object($.g)(this.computedMaxHeight),")"):void 0,transform:"".concat(t,"(").concat(Object($.g)(this.computedTransform,"%"),")"),width:Object($.g)(this.computedWidth)}}},watch:{$route:"onRouteChange",isActive:function(t){this.$emit("input",t)},isMobile:function(t,e){!t&&this.isActive&&!this.temporary&&this.removeOverlay(),null!=e&&this.reactsToResize&&this.reactsToMobile&&(this.isActive=!t)},permanent:function(t){t&&(this.isActive=!0)},showOverlay:function(t){t?this.genOverlay():this.removeOverlay()},value:function(t){this.permanent||(null!=t?t!==this.isActive&&(this.isActive=t):this.init())},expandOnHover:"updateMiniVariant",isMouseover:function(t){this.updateMiniVariant(!t)}},beforeMount:function(){this.init()},methods:{calculateTouchArea:function(){var t=this.$el.parentNode;if(t){var e=t.getBoundingClientRect();this.touchArea={left:e.left+50,right:e.right-50}}},closeConditional:function(){return this.isActive&&!this._isDestroyed&&this.reactsToClick},genAppend:function(){return this.genPosition("append")},genBackground:function(){var t={height:"100%",width:"100%",src:this.src},image=this.$scopedSlots.img?this.$scopedSlots.img(t):this.$createElement(j.a,{props:t});return this.$createElement("div",{staticClass:"v-navigation-drawer__image"},[image])},genDirectives:function(){var t=this,e=[{name:"click-outside",value:{handler:function(){t.isActive=!1},closeConditional:this.closeConditional,include:this.getOpenDependentElements}}];return this.touchless||this.stateless||e.push({name:"touch",value:{parent:!0,left:this.swipeLeft,right:this.swipeRight}}),e},genListeners:function(){var t=this,e={transitionend:function(e){if(e.target===e.currentTarget){t.$emit("transitionend",e);var n=document.createEvent("UIEvents");n.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(n)}}};return this.miniVariant&&(e.click=function(){return t.$emit("update:mini-variant",!1)}),this.expandOnHover&&(e.mouseenter=function(){return t.isMouseover=!0},e.mouseleave=function(){return t.isMouseover=!1}),e},genPosition:function(t){var slot=Object($.s)(this,t);return slot?this.$createElement("div",{staticClass:"v-navigation-drawer__".concat(t)},slot):slot},genPrepend:function(){return this.genPosition("prepend")},genContent:function(){return this.$createElement("div",{staticClass:"v-navigation-drawer__content"},this.$slots.default)},genBorder:function(){return this.$createElement("div",{staticClass:"v-navigation-drawer__border"})},init:function(){this.permanent?this.isActive=!0:this.stateless||null!=this.value?this.isActive=this.value:this.temporary||(this.isActive=!this.isMobile)},onRouteChange:function(){this.reactsToRoute&&this.closeConditional()&&(this.isActive=!1)},swipeLeft:function(t){this.isActive&&this.right||(this.calculateTouchArea(),Math.abs(t.touchendX-t.touchstartX)<100||(this.right&&t.touchstartX>=this.touchArea.right?this.isActive=!0:!this.right&&this.isActive&&(this.isActive=!1)))},swipeRight:function(t){this.isActive&&!this.right||(this.calculateTouchArea(),Math.abs(t.touchendX-t.touchstartX)<100||(!this.right&&t.touchstartX<=this.touchArea.left?this.isActive=!0:this.right&&this.isActive&&(this.isActive=!1)))},updateApplication:function(){if(!this.isActive||this.isMobile||this.temporary||!this.$el)return 0;var t=Number(this.computedWidth);return isNaN(t)?this.$el.clientWidth:t},updateMiniVariant:function(t){this.miniVariant!==t&&this.$emit("update:mini-variant",t)}},render:function(t){var e=[this.genPrepend(),this.genContent(),this.genAppend(),this.genBorder()];return(this.src||Object($.s)(this,"img"))&&e.unshift(this.genBackground()),t(this.tag,this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,directives:this.genDirectives(),on:this.genListeners()}),e)}}),J=n(899),tt=n(300),et=n(1183),at=n.n(et),nt=Object(l.a)(O,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-navigation-drawer",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.onClickOutside,expression:"onClickOutside"}],attrs:{permanent:""}},[t.structureReady?[n("v-list",{staticClass:"menu-list",class:t.meunClasses,attrs:{nav:"",dense:""}},[n("v-list-item",{attrs:{href:t.mainPageURL}},[n("v-list-item-icon",[n("v-icon",[t._v("mdi-home")])],1),t._v(" "),n("v-list-item-content",[n("v-list-item-title",[t._v(" Home Page")])],1)],1),t._v(" "),n("v-divider"),t._v(" "),n("v-list-item",{on:{click:t.goToTop}},[n("v-list-item-icon",[n("v-icon",[t._v("mdi-format-vertical-align-top")])],1),t._v(" "),n("v-list-item-content",[n("v-list-item-title",[t._v(" Back to top ")])],1)],1),t._v(" "),n("v-divider"),t._v(" "),n("v-subheader",[t._v("Navigation")]),t._v(" "),n("v-list-item-group",{attrs:{value:t.activeSection,color:"primary"}},t._l(t.reportCardStructure.sections,(function(section,e){return n("v-list-item",{key:section.id,on:{click:function(e){return t.gotToSection(section.id)}}},[n("v-list-item-content",[n("v-list-item-title",[t._v("\n "+t._s(e+1)+".\n "+t._s(section.title)+"\n ")])],1)],1)})),1)],1)]:n("v-skeleton-loader",{attrs:{type:"list-item-two-line, list-item-two-line, list-item-two-line"}})],2)}),[],!1,null,"cec9659a",null),it=nt.exports;v()(nt,{VDivider:x.a,VIcon:T.a,VList:A.a,VListItem:C.a,VListItemContent:S.a,VListItemGroup:I.a,VListItemIcon:V.a,VListItemTitle:S.c,VNavigationDrawer:Z,VSkeletonLoader:J.a,VSubheader:tt.a}),at()(nt,{ClickOutside:Y.a});var ot={components:{NavigatorDrawer:it,Sticky:d},props:{reportCardStructure:{type:Object,default:function(){}},storeModuleName:{type:String,default:function(){return""}}},data:function(){return{selectedItem:0}},computed:{}},st=(n(1184),Object(l.a)(ot,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"navigator-container"},[n("Sticky",{attrs:{"root-margin":"-62px 0px 0px 0px",top:"62px"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.pinned;return[n("NavigatorDrawer",{attrs:{"report-card-structure":t.reportCardStructure,"store-module-name":t.storeModuleName,fixed:r}})]}}])})],1)}),[],!1,null,null,null).exports);n(36),n(40);function ct(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function lt(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ct(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):ct(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var ut={props:{sectionDescription:{type:Object,default:function(){}},itemID:{type:String,default:function(){}},storeModuleName:{type:String,default:function(){return""}}},data:function(){return{showLinkIcon:!1,ignoreFirstIntersection:!0}},computed:lt(lt({},Object(o.b)({activeSection:function(t){return t.reportCard.activeSection}})),{},{fullUrl:function(){return window.location.href},fullUrlWithoutHash:function(){return window.location.href.split("#")[0]},chemblID:function(){return null==this.sectionDescription.componentParams?this.itemID:this.sectionDescription.componentParams.chemblID||this.itemID}}),mounted:function(){var t=this;window.location.hash.replace("#","")===this.sectionDescription.id&&setTimeout((function(){t.scrollToSection()}),500);new IntersectionObserver((function(e,n){var r=t.sectionDescription.index;e[0].isIntersecting&&t.$store.dispatch("".concat(t.storeModuleName,"/setActiveSection"),r)}),{rootMargin:"-69% 0px -30% 0px",threshold:0}).observe(this.$refs.sectionContainer)},methods:{scrollToSection:function(){var element=this.$refs.sectionContainer;element&&element.scrollIntoView({behavior:"smooth"})}}},mt=(n(1186),Object(l.a)(ut,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"sectionContainer",staticClass:"report-card-section",attrs:{id:t.sectionDescription.id}},[n("v-row",[n("v-col",{attrs:{cols:"12"}},[n("a",{staticClass:"d-flex section-title-link",attrs:{href:t.fullUrlWithoutHash+"#"+t.sectionDescription.id},on:{mouseover:function(e){t.showLinkIcon=!0},mouseout:function(e){t.showLinkIcon=!1}}},[n("h2",{staticClass:"primary--text"},[t._v(t._s(t.sectionDescription.title))]),t._v(" "),n("v-icon",{directives:[{name:"show",rawName:"v-show",value:t.showLinkIcon,expression:"showLinkIcon"}]},[t._v("mdi-link")])],1)])],1),t._v(" "),n("v-row",[n("v-col",{attrs:{cols:"12"}},[n(t.sectionDescription.component,t._b({tag:"component",attrs:{"item-i-d":t.itemID,"chembl-i-d":t.chemblID}},"component",t.sectionDescription.componentParams,!1))],1)],1)],1)}),[],!1,null,null,null)),ht=mt.exports;v()(mt,{VCol:k.a,VIcon:T.a,VRow:D.a});var ft=n(906);function pt(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function gt(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?pt(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):pt(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var vt={components:{Navigator:st,NavigatorMobile:N,ReportCardSection:ht},props:{itemID:{type:String,default:function(){}},entityID:{type:String,default:function(){}},reportCardStructure:{type:Object,default:function(){}},storeModuleName:{type:String,default:function(){return""}}},computed:gt(gt({isMobile:function(){return this.$vuetify.breakpoint.xs||this.$vuetify.breakpoint.sm}},Object(o.b)({structureReady:function(t){return t[this.storeModuleName].structureReady}})),{},{contentClasses:function(){return{"full-width":this.isMobile,"make-space-for-navigator":!this.isMobile}},linkToEntityBrowser:function(){return ft.a.buildURLForEntityBrowser(this.entityID)}})},bt=(n(1188),Object(l.a)(vt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"report-card-container"},[t.isMobile?n("NavigatorMobile",{attrs:{"store-module-name":t.storeModuleName,"report-card-structure":t.reportCardStructure}}):t._e(),t._v(" "),n("div",{staticClass:"d-flex"},[t.isMobile?t._e():n("Navigator",{attrs:{"store-module-name":t.storeModuleName,"report-card-structure":t.reportCardStructure}}),t._v(" "),n("div",{staticClass:"report-card-content",class:t.contentClasses},[t.structureReady?[n("div",[n("v-row",[n("v-col",{attrs:{cols:"12",sm:"9",lg:"10"}},[n("div",{staticClass:"report-card-title"},[n("h1",{staticClass:"primary--text text-center text-sm-left"},[t._v("\n "+t._s(t.reportCardStructure.title)+"\n ")])])]),t._v(" "),n("v-col",{staticClass:"d-flex justify-center align-center justify-sm-space-between",attrs:{cols:"12",sm:"3",lg:"2"}},[t.$vuetify.breakpoint.xs?t._e():n("v-divider",{attrs:{vertical:""}}),t._v(" "),n("v-chip",{attrs:{label:"",outlined:"",color:"primary",href:t.linkToEntityBrowser}},[t._v("\n "+t._s(t.reportCardStructure.entityName)+"\n ")]),t._v(" "),t.$vuetify.breakpoint.xs?t._e():n("div")],1)],1),t._v(" "),n("v-divider")],1),t._v(" "),n("br"),t._v(" "),t._l(t.reportCardStructure.sections,(function(section){return n("div",{key:section.id,staticClass:"section-container"},[n("ReportCardSection",{attrs:{"store-module-name":t.storeModuleName,"section-description":section,"item-i-d":t.itemID}}),t._v(" "),n("v-divider")],1)}))]:n("v-skeleton-loader",{attrs:{type:"card, card, card"}})],2)],1)],1)}),[],!1,null,"20ddaa38",null));e.a=bt.exports;v()(bt,{VChip:w.a,VCol:k.a,VDivider:x.a,VRow:D.a,VSkeletonLoader:J.a})},1144:function(t,e,n){var content=n(1204);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("64cd8ade",content,!0,{sourceMap:!1})},1145:function(t,e,n){var content=n(1221);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("4ca83dbe",content,!0,{sourceMap:!1})},1146:function(t,e,n){"use strict";n(1119)},1147:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.syn-tradename-chip[data-v-03f38e75]{margin:2px}',""]),t.exports=r},1149:function(t,e,n){"use strict";n.r(e);var r=n(16),o=n(102),c=n(58),l=n(54),d={props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,prefName:void 0}},computed:{linkToReportCard:function(){var t=r.a.Compound.entityID,e=o.a[t],n=this.chemblID;return e.getLinkToReportCard(n)},linkText:function(){return null==this.prefName?this.chemblID:"".concat(this.prefName," (").concat(this.chemblID,")")}},mounted:function(){var t=this,e=r.a.Compound.entityID,n=c.a.getIndexNameFromEntityID(e);l.a.getESDocument(n,this.chemblID,["pref_name"]).then((function(e){var n=e.data._source;t.prefName=n.pref_name,t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e}))}},m=n(4),h=n(7),f=n.n(h),v=n(240),component=Object(m.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("div",[n("v-progress-circular",{attrs:{indeterminate:"",color:"primary",size:"16",width:"2"}})],1):t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):n("div",{staticClass:"text-caption"},[n("a",{attrs:{href:t.linkToReportCard,target:"_parent"}},[t._v(t._s(t.linkText))])])])}),[],!1,null,null,null);e.default=component.exports;f()(component,{VProgressCircular:v.a})},1150:function(t,e,n){"use strict";n.r(e);var r={props:{text:{type:String,default:function(){}},tradename:{type:Boolean,default:function(){return!1}}},computed:{color:function(){return this.tradename?"teal darken-1":"blue darken-1"}}},o=(n(1146),n(4)),c=n(7),l=n.n(c),d=n(220),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("v-chip",{staticClass:"syn-tradename-chip",attrs:{small:"",outlined:"",label:"",color:t.color}},[t._v("\n "+t._s(t.text)+"\n ")])}),[],!1,null,"03f38e75",null);e.default=component.exports;l()(component,{VChip:d.a})},1151:function(t,e,n){"use strict";n(1124)},1152:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.btn-container[data-v-4f25e224]{padding:2px}',""]),t.exports=r},1158:function(t,e,n){"use strict";n.r(e);n(20);var r={props:{currentInterval:{type:Number,required:!0},minInterval:{type:Number,required:!0},maxInterval:{type:Number,required:!0},loadingHistogramData:{type:Boolean,required:!0},disableLessBars:{type:Boolean,required:!0},disableMoreBars:{type:Boolean,required:!0}},methods:{increaseInterval:function(){this.$emit("increase-interval")},decreaseInterval:function(){this.$emit("decrease-interval")},updateInterval:function(t){this.$emit("update-interval",t)}}},o=n(4),c=n(7),l=n.n(c),d=n(293),m=n(885),h=n(218),f=n(886),v=n(876),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._m(0),t._v(" "),n("br"),t._v(" "),n("v-row",{attrs:{dense:""}},[n("v-col",{attrs:{cols:"12",md:"6"}},[n("v-slider",{attrs:{value:t.currentInterval,label:"Interval Size ("+t.currentInterval+")",hint:"Set the interval size for the histogram.",max:t.maxInterval,min:t.minInterval,"thumb-label":"",loading:t.loadingHistogramData},on:{change:t.updateInterval}})],1),t._v(" "),n("v-col",{staticClass:"d-flex justify-space-around",attrs:{cols:"12",md:"6"}},[n("v-btn",{attrs:{small:"",outlined:"",tile:"",color:"primary",disabled:t.disableLessBars,loading:t.loadingHistogramData},on:{click:t.increaseInterval}},[n("v-icon",[t._v("mdi-minus")]),t._v(" Less bars\n ")],1),t._v(" "),n("v-btn",{attrs:{small:"",outlined:"",tile:"",color:"primary",disabled:t.disableMoreBars,loading:t.loadingHistogramData},on:{click:t.decreaseInterval}},[n("v-icon",[t._v("mdi-plus")]),t._v(" More bars\n ")],1)],1)],1)],1)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"text-center"},[n("b",[t._v("Histogram Settings")])])}],!1,null,null,null);e.default=component.exports;l()(component,{VBtn:d.a,VCol:m.a,VIcon:h.a,VRow:f.a,VSlider:v.a})},1161:function(t,e,n){var content=n(1261);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("53faf976",content,!0,{sourceMap:!1})},1162:function(t,e,n){var content=n(1263);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("b44509b8",content,!0,{sourceMap:!1})},1163:function(t,e,n){var content=n(1265);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("78d8f15a",content,!0,{sourceMap:!1})},1164:function(t,e,n){var content=n(1267);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("41305b6a",content,!0,{sourceMap:!1})},1165:function(t,e,n){var content=n(1269);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("0d2c5dbe",content,!0,{sourceMap:!1})},1166:function(t,e,n){var content=n(1271);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("47137581",content,!0,{sourceMap:!1})},1167:function(t,e,n){var content=n(1273);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("234cf73f",content,!0,{sourceMap:!1})},1168:function(t,e,n){"use strict";n.r(e);n(24);var r={props:{items:{type:Array,default:function(){return[]}},odd:{type:Boolean,default:function(){return!1}}},data:function(){return{page:1}},computed:{numColsPerItem:function(){return{xs:12,sm:this.odd?6:4,md:this.odd?4:3,xl:2}},numAlternativeForms:function(){return this.items.length},numberOfPages:function(){return Math.ceil(this.items.length/this.itemsPerPage)},itemsInCurrentPage:function(){var t=this.page<this.numberOfPages?this.itemsPerPage:this.items.length;return t},itemsPerPage:function(){switch(this.$vuetify.breakpoint.name){case"xs":return 1;case"sm":return this.odd?2:3;case"md":case"lg":return this.odd?3:4;default:return 6}},currentFirstItem:function(){return this.itemsPerPage*(this.page-1)+1},currentLastItem:function(){return this.currentFirstItem+this.itemsInCurrentPage-1},disableFormerPageButton:function(){return this.page<=1},disableNextPageButton:function(){return this.page>=this.numberOfPages},paginationText:function(){return 1===this.itemsInCurrentPage?"".concat(this.currentFirstItem," out of ").concat(this.items.length):"".concat(this.currentFirstItem," - ").concat(this.currentLastItem," out of ").concat(this.items.length)}},methods:{nextPage:function(){this.page+1<=this.numberOfPages&&(this.page+=1)},formerPage:function(){this.page-1>=1&&(this.page-=1)}}},o=n(4),c=n(7),l=n.n(c),d=n(293),m=n(885),h=n(1787),f=n(218),v=n(886),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-data-iterator",{attrs:{items:t.items,"items-per-page":t.itemsPerPage,page:t.page,"hide-default-footer":""},scopedSlots:t._u([{key:"default",fn:function(e){return[n("v-row",[t._l(e.items,(function(e,r){return[n("v-col",{key:r,attrs:{cols:t.numColsPerItem.xs,sm:t.numColsPerItem.sm,md:t.numColsPerItem.md,xl:t.numColsPerItem.xl}},[n("div",{staticClass:"d-flex flex-column justify-center align-center"},[t._t("carouselItem",null,{item:e}),t._v("\n\n "+t._s(t.currentFirstItem+r)+"\n ")],2)])]}))],2)]}},{key:"footer",fn:function(){return[n("div",{staticClass:"d-flex justify-space-between align-center"},[n("v-btn",{attrs:{color:"primary",disabled:t.disableFormerPageButton},on:{click:t.formerPage}},[n("v-icon",[t._v("mdi-chevron-left")])],1),t._v(" "),n("div",[t._v(t._s(t.paginationText))]),t._v(" "),n("v-btn",{attrs:{color:"primary",disabled:t.disableNextPageButton},on:{click:t.nextPage}},[n("v-icon",[t._v("mdi-chevron-right")])],1)],1)]},proxy:!0}],null,!0)})}),[],!1,null,null,null);e.default=component.exports;l()(component,{VBtn:d.a,VCol:m.a,VDataIterator:h.a,VIcon:f.a,VRow:v.a})},1169:function(t,e,n){"use strict";n.r(e);var r=n(88),o=n(933),c=n(16),l=n(102),d=n(58),m=n(54),h=n(307),f={components:{MoleculeImage:o.a},props:{chemblID:{type:String,default:function(){}},queriedChemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,prefName:void 0}},computed:{linkToReportCard:function(){var t=c.a.Compound.entityID,e=l.a[t],n=this.chemblID;return e.getLinkToReportCard(n)},color:function(){if(this.chemblID===this.queriedChemblID)return"accent"}},mounted:function(){var t=this,e=d.a.getIndexNameFromEntityID(c.a.Compound.entityID);m.a.getESDocument(e,this.chemblID,["pref_name"]).then((function(e){var n=e.data._source,r=h.a.getPropertyPalue(n,"pref_name","---");t.prefName=r,t.loading=!1})).catch((function(e){r.a.dispatchRequestErrorNotification(e,t.$store.dispatch,"There was an error while loading the alternative forms hierarchy for ".concat(t.chemblID))}))}},v=n(4),y=n(7),_=n.n(y),w=n(301),k=n(25),x=n(294),T=n(899),component=Object(v.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",{attrs:{outlined:"",tile:""}},[n("MoleculeImage",{attrs:{"molecule-chembl-id":t.chemblID}}),t._v(" "),n("v-divider"),t._v(" "),n("v-card-title",[n("div",{class:t.color+" lighten-5"},[n("a",{attrs:{href:t.linkToReportCard,target:"_parent"}},[t._v(" "+t._s(t.chemblID))])])]),t._v(" "),n("v-card-text",[t.loading?n("v-skeleton-loader",{attrs:{type:"text"}}):[t._v(t._s(t.prefName))]],2)],1)}),[],!1,null,null,null);e.default=component.exports;_()(component,{VCard:w.a,VCardText:k.c,VCardTitle:k.d,VDivider:x.a,VSkeletonLoader:T.a})},1170:function(t,e,n){"use strict";n.r(e);n(33);var r={components:{SynonymOrTradeNameChip:n(1150).default},props:{texts:{type:Array,default:function(){return[]}},tradename:{type:Boolean,default:function(){return!1}}},data:function(){return{currentAmount:5}},computed:{showControls:function(){return this.texts.length>5},shownTexts:function(){return this.texts.slice(0,this.currentAmount)},disableShowLess:function(){return this.currentAmount<=5},disableShowMore:function(){return this.currentAmount>=this.texts.length},disableShowAll:function(){return this.currentAmount===this.texts.length},numItemsLeft:function(){return this.texts.length-this.currentAmount}},methods:{showLess:function(){this.currentAmount-=5},showAll:function(){this.currentAmount=this.texts.length},showMore:function(){this.currentAmount+=5}}},o=(n(1151),n(4)),c=n(7),l=n.n(c),d=n(293),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex flex-column align-center justify-space-around"},[n("div",t._l(t.shownTexts,(function(text){return n("SynonymOrTradeNameChip",{key:text,attrs:{text:text,tradename:t.tradename}})})),1),t._v(" "),t.showControls?n("div",{staticClass:"d-flex"},[n("div",{staticClass:"btn-container"},[n("v-btn",{attrs:{color:"primary",small:"",text:"",disabled:t.disableShowLess},on:{click:t.showLess}},[t._v("-")])],1),t._v(" "),n("div",{staticClass:"btn-container"},[n("v-btn",{attrs:{color:"primary",small:"",text:"",disabled:t.disableShowAll},on:{click:t.showAll}},[t._v("All ("+t._s(t.numItemsLeft)+" more)")])],1),t._v(" "),n("div",{staticClass:"btn-container"},[n("v-btn",{attrs:{color:"primary",small:"",text:"",disabled:t.disableShowMore},on:{click:t.showMore}},[t._v("+")])],1)]):t._e()])}),[],!1,null,"4f25e224",null);e.default=component.exports;l()(component,{VBtn:d.a})},1171:function(t,e,n){"use strict";n(1130)},1172:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.leyend-item[data-v-23bd57b1]{padding:1px 3px;cursor:pointer}.leyend-item.highlighted[data-v-23bd57b1]{background-color:#e0e0e0}.pie-chart-container[data-v-23bd57b1]{width:100%;min-height:400px}.pie-chart-container.in-mobile[data-v-23bd57b1]{min-height:230px}',""]),t.exports=r},1175:function(t,e,n){"use strict";n(1132)},1176:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.pinned[data-v-15c53008]{position:fixed;z-index:5}',""]),t.exports=r},1177:function(t,e,n){"use strict";n(1133)},1178:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}',""]),t.exports=r},1179:function(t,e,n){"use strict";n(1134)},1180:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.menu-list[data-v-cec9659a]{height:calc(100vh - 280px)}.menu-list.fixed-menu[data-v-cec9659a]{height:calc(100vh - 70px)}',""]),t.exports=r},1181:function(t,e,n){var content=n(1182);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("c82bbd6a",content,!0,{sourceMap:!1})},1182:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.theme--light.v-navigation-drawer{background-color:#fff}.theme--light.v-navigation-drawer:not(.v-navigation-drawer--floating) .v-navigation-drawer__border{background-color:rgba(0,0,0,.12)}.theme--light.v-navigation-drawer .v-divider{border-color:rgba(0,0,0,.12)}.theme--dark.v-navigation-drawer{background-color:#363636}.theme--dark.v-navigation-drawer:not(.v-navigation-drawer--floating) .v-navigation-drawer__border{background-color:hsla(0,0%,100%,.12)}.theme--dark.v-navigation-drawer .v-divider{border-color:hsla(0,0%,100%,.12)}.v-navigation-drawer{-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;left:0;max-width:100%;overflow:hidden;pointer-events:auto;top:0;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);will-change:transform;transition-property:transform,visibility,width}.v-navigation-drawer:not([data-booted=true]){transition:none!important}.v-navigation-drawer.v-navigation-drawer--right:after{left:0;right:auto}.v-navigation-drawer .v-list:not(.v-select-list){background:inherit}.v-navigation-drawer__border{position:absolute;right:0;top:0;height:100%;width:1px}.v-navigation-drawer__content{height:100%;overflow-y:auto;overflow-x:hidden}.v-navigation-drawer__image{border-radius:inherit;height:100%;position:absolute;top:0;bottom:0;z-index:-1;contain:strict;width:100%}.v-navigation-drawer__image .v-image{border-radius:inherit}.v-navigation-drawer--bottom.v-navigation-drawer--is-mobile{max-height:50%;top:auto;bottom:0;min-width:100%}.v-navigation-drawer--right{left:auto;right:0}.v-navigation-drawer--right>.v-navigation-drawer__border{right:auto;left:0}.v-navigation-drawer--absolute{z-index:1}.v-navigation-drawer--fixed{z-index:6}.v-navigation-drawer--absolute{position:absolute}.v-navigation-drawer--clipped:not(.v-navigation-drawer--temporary):not(.v-navigation-drawer--is-mobile){z-index:4}.v-navigation-drawer--fixed{position:fixed}.v-navigation-drawer--floating:after{display:none}.v-navigation-drawer--mini-variant{overflow:hidden}.v-navigation-drawer--mini-variant .v-list-item>:first-child{margin-left:0;margin-right:0}.v-navigation-drawer--mini-variant .v-list-item>:not(:first-child){position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;display:inline;display:initial}.v-navigation-drawer--mini-variant .v-list-group--no-action .v-list-group__items,.v-navigation-drawer--mini-variant .v-list-group--sub-group{display:none}.v-navigation-drawer--mini-variant.v-navigation-drawer--custom-mini-variant .v-list-item{justify-content:center}.v-navigation-drawer--temporary{z-index:7}.v-navigation-drawer--mobile{z-index:6}.v-navigation-drawer--close{visibility:hidden}.v-navigation-drawer--is-mobile:not(.v-navigation-drawer--close),.v-navigation-drawer--temporary:not(.v-navigation-drawer--close){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}',""]),t.exports=r},1183:function(t,e){t.exports=function(component,t){var e="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(e.directives=component.exports.options.directives),e.directives=e.directives||{},t)e.directives[i]=e.directives[i]||t[i]}},1184:function(t,e,n){"use strict";n(1135)},1185:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.navigator-container{height:calc(100vh - 70px)}',""]),t.exports=r},1186:function(t,e,n){"use strict";n(1136)},1187:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.report-card-section .section-title-link{text-decoration:none}.report-card-section:before{display:block;content:" ";margin-top:-68px;height:68px;visibility:hidden;pointer-events:none}',""]),t.exports=r},1188:function(t,e,n){"use strict";n(1137)},1189:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.report-card-container .report-card-title[data-v-20ddaa38]{padding:10px}.report-card-container .report-card-content[data-v-20ddaa38]{padding:0 20px}.report-card-container .report-card-content.full-width[data-v-20ddaa38]{width:100%}.report-card-container .report-card-content.make-space-for-navigator[data-v-20ddaa38]{width:calc(100% - 260px);padding-left:20px}.report-card-container .report-card-content .section-container[data-v-20ddaa38]{padding:10px 0;margin-bottom:10px}',""]),t.exports=r},1191:function(t,e,n){"use strict";n.r(e);n(15),n(11),n(12),n(13),n(44),n(55),n(36),n(480),n(33);var r=n(1),o=(n(8),n(6),n(235),n(38),n(45)),c=n(1123);function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={props:{histogramData:{type:Object,default:function(){}},histogramHeight:{type:String,default:function(){return"60vh"}},legendOnTop:{type:Boolean,default:function(){return!1}},percentageScale:{type:Boolean,default:function(){return!1}}},data:function(){return{viewBoxMaxX:160,viewBoxMaxY:90,paddingX:10,paddingY:15,interBarPadding:5,baseStrokeWidth:.2,numTicksY:6,tickProtusion:2,yTickTextPadding:2,xTickTextPadding:5,shownCategoriesOffset:0,allPossibleColors:{BLUE1:"#02355C",BLUE2:"#0F77C9",BLUE3:"#4EB1FF",BLUE4:"#94D0FF",BLUE5:"#C0E3FF",RED1:"#65323E",RED2:"#D33C60",RED3:"#FE7F9D",RED4:"#FFC0CB",RED5:"#F1D6DB",TEAL1:"#0D343A",TEAL2:"#025C5E",TEAL3:"#09979B",TEAL4:"#75D8D5",TEAL5:"#C4E6E5",TEAL6:"#D4FAF7",ORANGE1:"#A0221D",ORANGE2:"#EE4F4F",ORANGE3:"#FF855A",ORANGE4:"#FFB89E",ORANGE5:"#FFD5C5",YELLOW2:"#FDA420",YELLOW3:"#FFC107",YELLOW4:"#FFDE7C",YELLOW5:"#FCECBE",PURPLE1:"#3A49A2",PURPLE2:"#8795E8",GREY1:"#bbbbbb",GREY2:"#e4e4e4",GREY3:"#f1f1f1",WHITE:"#fff",LIGHT_GREEN5:"#f1f8e9"},highlightedSubcategory:{active:!1,index:0,label:"",count:0,liknk:"",percentage:void 0},highlightedCategory:{active:!1,index:0,label:"",count:0,liknk:""}}},computed:{maxYValue:function(){return this.percentageScale?100:Math.max.apply(Math,Object(o.a)(this.histogramData.categories.map((function(t){return t.count}))))},legendWithColors:function(){var t=Object.values(this.allPossibleColors),e=Object.values(this.histogramData.legend).map((function(e,i){return d(d({},e),{},{color:t[i]})}));return e.sort((function(a,b){var t=a.sort||a.count;return(b.sort||b.count)-t})),e},legendDict:function(){return this.legendWithColors.reduce((function(t,e){return t[e.label]=e,t}),{})},total:function(){return this.histogramData.categories.reduce((function(t,e){return t+e.count}),0)},categories:function(){var t=this.histogramData.categories.slice(this.shownCategoriesOffset,this.numCategoriesShown+this.shownCategoriesOffset);return this.percentageScale&&t.forEach((function(t){var e=t.categories.reduce((function(t,e){return t+e.count}),0);t.categories.forEach((function(t){t.percentage=t.count/e*100}))})),t},xAxisLineLength:function(){return this.viewBoxMaxX-2*this.paddingX},fullBarWidth:function(){return this.xAxisLineLength/this.categories.length},maxBarWidth:function(){return 5*this.interBarPadding},barWidth:function(){return Math.min(this.fullBarWidth-this.interBarPadding,this.maxBarWidth)},numCategoriesShown:function(){return Math.floor(this.xAxisLineLength/(2*this.interBarPadding))},categoriesOverflow:function(){return this.histogramData.categories.length>this.categories.length},containerClasses:function(){return{"mobile-chart-container":this.$vuetify.breakpoint.smAndDown}},tickTextFontSize:function(){return this.$vuetify.breakpoint.xs?5:this.$vuetify.breakpoint.sm?4:2},estimatedCharWidth:function(){return this.$vuetify.breakpoint.smAndDown?3:2},disableOffsetAdvance:function(){return this.shownCategoriesOffset+this.numCategoriesShown>this.histogramData.categories.length-1},disableOffsetRetreat:function(){return 0===this.shownCategoriesOffset},numCategoriesHiddenToTheRight:function(){return this.histogramData.categories.length-this.numCategoriesShown-this.shownCategoriesOffset}},methods:{getTickValue:function(t){var e=t*this.maxYValue/this.numTicksY;return this.percentageScale?"".concat(e.toFixed(0)):(new Intl.NumberFormat).format(e.toFixed(2))},getXTickTransformation:function(label){var t="translate(".concat(this.barWidth/2,", 0)rotate(0)");return null==label?t:label.length*this.estimatedCharWidth>this.barWidth+this.interBarPadding?"translate(0, 0)rotate(15)":t},getTextAnchor:function(label){return null==label||label.length*this.estimatedCharWidth>this.barWidth+this.interBarPadding?null:"middle"},highlightSubcategory:function(t){this.highlightedSubcategory={active:!0,index:t,label:this.legendWithColors[t].label,count:this.legendWithColors[t].count,link:this.legendWithColors[t].link}},resetSubcategoryHighlight:function(){this.highlightedSubcategory.active=!1},openSubCategoryLink:function(){this.highlightedSubcategory.link&&window.open(this.highlightedSubcategory.link,"_parent")},openCategoryLink:function(){this.highlightedCategory.link&&window.open(this.highlightedCategory.link,"_parent")},checkIfHighlightedSubcategory:function(t){return this.highlightedSubcategory.active&&t===this.highlightedSubcategory.index},checkIfHighlightedSubcategoryByLabel:function(label){return this.highlightedSubcategory.active&&label===this.highlightedSubcategory.label},checkIfHighlightedCategoryByLabel:function(label){return this.highlightedCategory.active&&label===this.highlightedCategory.label},highlightCategory:function(t){this.highlightedCategory={active:!0,index:t,label:this.categories[t].label,count:this.categories[t].count,link:this.categories[t].link}},resetCategoryHighlight:function(){this.highlightedCategory.active=!1},highlightCategoryAndSubcategory:function(t,e){var n=this.categories[t],r=n.categories[e];this.highlightedCategory={active:!0,index:t,label:n.label,count:n.count,link:r.link},this.highlightedSubcategory={active:!0,index:e,label:r.label,count:r.count,link:r.link,percentage:r.percentage}},getBarHeight:function(t,e){if(this.percentageScale){var n=this.categories[t].categories[e],r=this.viewBoxMaxY-2*this.paddingY;return n.percentage/100*r}var o=this.categories[t].categories[e],c=this.viewBoxMaxY-2*this.paddingY;return o.count/this.maxYValue*c},getBarX:function(t){var e=this.categories.length,n=this.xAxisLineLength*(t/e);return this.interBarPadding/2+n+this.paddingX},getHighestContrastColor:function(t){t=t.replace("#","");var e=parseInt(t.substring(0,2),16),g=parseInt(t.substring(2,4),16),b=parseInt(t.substring(4,6),16),n="rgb(".concat(e,", ").concat(g,", ").concat(b,")");return c.a.getBlackOrWhiteForBackround(n)},getBarY:function(t,e){var n=this;return this.viewBoxMaxY-this.paddingY-Array.from({length:e+1},(function(t,i){return e-i})).reduce((function(e,r){return e+n.getBarHeight(t,r)}),0)},getBarColor:function(t){return this.legendDict[t].color},retreatCategoriesOffset:function(){this.disableOffsetRetreat||(this.shownCategoriesOffset-=1)},advanceCategoriesOffset:function(){this.disableOffsetAdvance||(this.shownCategoriesOffset+=1)}}},h=(n(1298),n(4)),f=n(7),v=n.n(f),y=n(293),_=n(294),w=n(218),k=n(174),x=n(22),component=Object(h.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.legendOnTop?[n("b",[t._v(t._s(t.histogramData.subcategoriesLabel)+":")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"d-flex flex-wrap"},t._l(t.legendWithColors,(function(e,r){return n("div",{key:e.name,staticClass:"legend-item",class:t.checkIfHighlightedSubcategory(r)?"highlighted":null,on:{mouseover:function(e){return t.highlightSubcategory(r)},mouseleave:t.resetSubcategoryHighlight,click:t.openSubCategoryLink}},[n("v-icon",{attrs:{small:"",color:e.color}},[t._v(" mdi-square ")]),t._v("\n "+t._s(e.label)+"\n ")],1)})),0)]:t._e(),t._v(" "),n("div",{ref:"chartContainer",staticClass:"chart-container",class:t.containerClasses,style:{height:t.histogramHeight}},[n("svg",{attrs:{width:"100%",height:"100%",viewBox:"0 0 "+t.viewBoxMaxX+" "+t.viewBoxMaxY,preserveAspectRatio:"xMidYMid meet"}},[n("line",{attrs:{x1:t.paddingX,y1:t.viewBoxMaxY-t.paddingY,x2:t.paddingX,y2:t.paddingY,stroke:"black","stroke-width":t.baseStrokeWidth}}),t._v(" "),t._l(t.numTicksY,(function(e){return[n("line",{key:"y-axis-tick-protrusion-"+e,attrs:{x1:t.paddingX-t.tickProtusion,y1:t.viewBoxMaxY-t.paddingY-e*(t.viewBoxMaxY-2*t.paddingY)/t.numTicksY,x2:t.paddingX,y2:t.viewBoxMaxY-t.paddingY-e*(t.viewBoxMaxY-2*t.paddingY)/t.numTicksY,stroke:"black","stroke-width":t.baseStrokeWidth/3}}),t._v(" "),n("line",{key:"y-axis-tick-"+e,attrs:{x1:t.paddingX,y1:t.viewBoxMaxY-t.paddingY-e*(t.viewBoxMaxY-2*t.paddingY)/t.numTicksY,x2:t.viewBoxMaxX-t.paddingX,y2:t.viewBoxMaxY-t.paddingY-e*(t.viewBoxMaxY-2*t.paddingY)/t.numTicksY,stroke:"black","stroke-dasharray":"1,2","stroke-width":t.baseStrokeWidth/3}}),t._v(" "),n("text",{key:"y-axis-tick-label-"+e,attrs:{x:t.paddingX-t.tickProtusion-t.yTickTextPadding,y:t.viewBoxMaxY-t.paddingY-e*(t.viewBoxMaxY-2*t.paddingY)/t.numTicksY,"font-size":t.tickTextFontSize,"text-anchor":"end","dominant-baseline":"middle"}},[t._v("\n "+t._s(t.getTickValue(e))+t._s(t.percentageScale?"%":"")+"\n ")])]})),t._v(" "),t._l(t.categories,(function(e,r){return n("g",{key:r,attrs:{transform:"translate("+t.getBarX(r)+", 0)"}},t._l(e.categories,(function(e,o){return n("g",{key:o,attrs:{transform:"translate(0, "+t.getBarY(r,o)+")"}},[n("rect",{staticStyle:{cursor:"pointer"},attrs:{width:t.barWidth,height:t.getBarHeight(r,o),fill:t.getBarColor(e.label),stroke:t.checkIfHighlightedSubcategoryByLabel(e.label)?"black":t.getBarColor(e.label),"stroke-width":t.checkIfHighlightedSubcategoryByLabel(e.label)?3*t.baseStrokeWidth:t.baseStrokeWidth,opacity:t.checkIfHighlightedSubcategoryByLabel(e.label)?.5:1},on:{mouseover:function(e){return t.highlightCategoryAndSubcategory(r,o)},mouseleave:t.resetSubcategoryHighlight,click:t.openSubCategoryLink}})])})),0)})),t._v(" "),n("line",{attrs:{x1:t.paddingX,y1:t.viewBoxMaxY-t.paddingY,x2:t.viewBoxMaxX-t.paddingX,y2:t.viewBoxMaxY-t.paddingY,stroke:"black","stroke-width":t.baseStrokeWidth}}),t._v(" "),t._l(t.categories,(function(e,r){return[n("line",{key:"x-axis-tick-protrusion-"+r,attrs:{x1:t.getBarX(r)+t.barWidth/2,y1:t.viewBoxMaxY-t.paddingY+t.tickProtusion,x2:t.getBarX(r)+t.barWidth/2,y2:t.viewBoxMaxY-t.paddingY,stroke:"black","stroke-width":t.baseStrokeWidth/3}}),t._v(" "),n("g",{key:e.label+"-x-label",attrs:{transform:"translate("+t.getBarX(r)+","+(t.viewBoxMaxY-t.paddingY+t.xTickTextPadding)+")"}},[n("text",{staticStyle:{cursor:"pointer"},attrs:{"font-size":t.tickTextFontSize,transform:t.getXTickTransformation(e.label),"text-anchor":t.getTextAnchor(e.label),"font-weight":t.checkIfHighlightedCategoryByLabel(e.label)?"bold":"normal"},on:{mouseover:function(e){return t.highlightCategory(r)},mouseleave:t.resetCategoryHighlight,click:t.openCategoryLink}},[t._v("\n "+t._s(e.label)+"\n ")])])]})),t._v(" "),t.categoriesOverflow&&t.shownCategoriesOffset>0?n("text",{attrs:{x:t.paddingX-2,y:t.viewBoxMaxY-t.paddingY,"font-size":t.tickTextFontSize,"text-anchor":"end"}},[t._v("\n ..."+t._s(t.shownCategoriesOffset)+"\n ")]):t._e(),t._v(" "),t.categoriesOverflow&&t.numCategoriesHiddenToTheRight>0?n("text",{attrs:{x:t.viewBoxMaxX-t.paddingX+2,y:t.viewBoxMaxY-t.paddingY,"font-size":t.tickTextFontSize}},[t._v("\n "+t._s(t.numCategoriesHiddenToTheRight)+"...\n ")]):t._e(),t._v(" "),n("text",{attrs:{x:t.paddingX,y:t.viewBoxMaxY-t.paddingY/2,"font-size":1.2*t.tickTextFontSize,"text-anchor":"end"}},[t._v("\n "+t._s(t.histogramData.xPropertyLabel)+"→\n ")])],2)]),t._v(" "),t.categoriesOverflow?n("div",{staticClass:"d-flex justify-center"},[n("v-btn",{attrs:{"x-small":"",outlined:"",tile:"",color:"primary",disabled:t.disableOffsetRetreat},on:{click:t.retreatCategoriesOffset}},[n("v-icon",{attrs:{small:""}},[t._v("mdi-chevron-left")])],1),t._v("\n |\n "),n("v-btn",{attrs:{"x-small":"",outlined:"",tile:"",color:"primary",disabled:t.disableOffsetAdvance},on:{click:t.advanceCategoriesOffset}},[n("v-icon",{attrs:{small:""}},[t._v("mdi-chevron-right")])],1)],1):t._e(),t._v(" "),n("v-list-item",{attrs:{dense:"","three-line":""}},[t.highlightedSubcategory.active&!t.highlightedCategory.active?n("v-list-item-content",{staticClass:"text-center"},[n("v-list-item-title",[t._v(t._s(t.highlightedSubcategory.label))]),t._v(" "),n("v-list-item-subtitle",[t._v("\n "+t._s(t.highlightedSubcategory.count))]),t._v(" "),n("v-list-item-subtitle",[t._v("\n Click to see the data related to this category.\n ")])],1):t.highlightedSubcategory.active&t.highlightedCategory.active?n("v-list-item-content",{staticClass:"text-center"},[n("v-list-item-title",[t._v("\n "+t._s(t.highlightedSubcategory.label)+" |\n "+t._s(t.highlightedCategory.label))]),t._v(" "),n("v-list-item-subtitle",[t._v("\n "+t._s(t.highlightedSubcategory.count)+"\n "),t.percentageScale&&null!=t.highlightedSubcategory.percentage?[t._v("\n ("+t._s(t.highlightedSubcategory.percentage.toFixed(2))+"%)\n ")]:t._e()],2),t._v(" "),n("v-list-item-subtitle",[t._v("\n Click to see the data related to this category in this range.\n ")])],1):!t.highlightedSubcategory.active&t.highlightedCategory.active?n("v-list-item-content",{staticClass:"text-center"},[n("v-list-item-title",[t._v(t._s(t.highlightedCategory.label))]),t._v(" "),n("v-list-item-subtitle",[t._v("\n "+t._s(t.highlightedCategory.count))]),t._v(" "),t.highlightedCategory.count>0?n("v-list-item-subtitle",[t._v("\n Click to see the data related to this range.\n ")]):t._e()],1):n("v-list-item-content",{staticClass:"text-center"},[n("v-list-item-title",[t._v("Total")]),t._v(" "),n("v-list-item-subtitle",[t._v(" "+t._s(t.total))])],1)],1),t._v(" "),n("v-divider"),t._v(" "),t.legendOnTop?t._e():[n("b",[t._v(t._s(t.histogramData.subcategoriesLabel)+":")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"d-flex flex-wrap"},t._l(t.legendWithColors,(function(e,r){return n("div",{key:e.name,staticClass:"legend-item",class:t.checkIfHighlightedSubcategory(r)?"highlighted":null,on:{mouseover:function(e){return t.highlightSubcategory(r)},mouseleave:t.resetSubcategoryHighlight,click:t.openSubCategoryLink}},[n("v-icon",{attrs:{small:"",color:e.color}},[t._v(" mdi-square ")]),t._v("\n "+t._s(e.label)+"\n ")],1)})),0)]],2)}),[],!1,null,"056927e2",null);e.default=component.exports;v()(component,{VBtn:y.a,VDivider:_.a,VIcon:w.a,VListItem:k.a,VListItemContent:x.a,VListItemSubtitle:x.b,VListItemTitle:x.c})},1192:function(t,e,n){"use strict";n.r(e);n(36),n(24),n(33),n(480),n(38),n(8),n(6),n(235);var r=n(1123),o={props:{config:{type:Object,default:function(){}}},data:function(){return{highlightedSection:null,tooltip:{visible:!1,name:"",count:"",percentage:""},containerWidth:0,containerHeight:0,showPieChart:!0,allPossibleColors:{BLUE1:"#02355C",BLUE2:"#0F77C9",BLUE3:"#4EB1FF",BLUE4:"#94D0FF",BLUE5:"#C0E3FF",RED1:"#65323E",RED2:"#D33C60",RED3:"#FE7F9D",RED4:"#FFC0CB",RED5:"#F1D6DB",TEAL1:"#0D343A",TEAL2:"#025C5E",TEAL3:"#09979B",TEAL4:"#75D8D5",TEAL5:"#C4E6E5",TEAL6:"#D4FAF7",ORANGE1:"#A0221D",ORANGE2:"#EE4F4F",ORANGE3:"#FF855A",ORANGE4:"#FFB89E",ORANGE5:"#FFD5C5",YELLOW2:"#FDA420",YELLOW3:"#FFC107",YELLOW4:"#FFDE7C",YELLOW5:"#FCECBE",PURPLE1:"#3A49A2",PURPLE2:"#8795E8",GREY1:"#bbbbbb",GREY2:"#e4e4e4",GREY3:"#f1f1f1",WHITE:"#fff",LIGHT_GREEN5:"#f1f8e9"},noDataMsg:"No Data Available"}},computed:{parsedCategories:function(){var i=0,t=Object.values(this.allPossibleColors);return(null==this.config.categories?[]:this.config.categories).map((function(e){var n={name:e.key,color:t[i],count:e.doc_count,link:e.link};return i++,n}))},total:function(){return this.parsedCategories.reduce((function(t,e){return t+e.count}),0)},pieData:function(){var t=this;return this.parsedCategories.map((function(e){return e.count/t.total*2*Math.PI}))},pieRadius:function(){return.4*this.svgSideLength},svgSideLength:function(){return Math.min(this.containerWidth,this.containerHeight)},isMobile:function(){return this.$vuetify.breakpoint.mobile}},watch:{parsedCategories:function(){this.thereAreNoCategories&&(this.showPieChart=!1)}},mounted:function(){this.handleResize(),window.addEventListener("resize",this.handleResize)},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize)},methods:{pieArc:function(t){var e=Math.PI/2,n=1===this.pieData.length?0:this.pieData.slice(0,t).reduce((function(t,e){return t+e}),0)-e,r=n+this.pieData[t],o=Math.cos(n)*this.pieRadius,c=Math.sin(n)*this.pieRadius,l=Math.cos(r)*this.pieRadius,d=Math.sin(r)*this.pieRadius,m=this.pieData[t]>Math.PI?1:0;return"M0,0 L".concat(o,",").concat(c," A").concat(this.pieRadius,",").concat(this.pieRadius," 0 ").concat(m,",1 ").concat(l,",").concat(d," Z")},pieTextTransform:function(t){var e=Math.PI/2,n=this.pieData.slice(0,t).reduce((function(t,e){return t+e}),0),r=this.pieData[t],o=n+r/2-e,c=.6*this.pieRadius,l=Math.cos(o)*c,d=Math.sin(o)*c,m=r<e?o*(180/Math.PI):0;return"translate(".concat(l,",").concat(d,") rotate(").concat(m,")")},showText:function(t){return this.pieData[t]>Math.PI/12},truncateText:function(text){var t=this.pieRadius-15;return 7*text.length>t?"".concat(text.slice(0,t/7-3),"..."):text},highlightSection:function(t){this.highlightedSection=t,this.showTooltip(t)},resetHighlight:function(){this.highlightedSection=null,this.hideTooltip()},openLink:function(){window.parent.location.href=this.parsedCategories[this.highlightedSection].link},showTooltip:function(t){this.tooltip={visible:!0,name:this.parsedCategories[t].name,count:this.parsedCategories[t].count,percentage:"".concat((this.parsedCategories[t].count/this.total*100).toFixed(2),"%")}},hideTooltip:function(){this.tooltip.visible=!1},getHighestContrastColor:function(t){t=t.replace("#","");var e=parseInt(t.substring(0,2),16),g=parseInt(t.substring(2,4),16),b=parseInt(t.substring(4,6),16),n="rgb(".concat(e,", ").concat(g,", ").concat(b,")");return r.a.getBlackOrWhiteForBackround(n)},handleResize:function(){null!=this.$refs.piecontainer&&(this.containerWidth=this.$refs.piecontainer.clientWidth,this.containerHeight=this.$refs.piecontainer.clientHeight)}}},c=(n(1171),n(4)),l=n(7),d=n.n(l),m=n(904),h=n(218),f=n(174),v=n(22),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-container",{attrs:{fluid:""}},[n("div",{ref:"piecontainer",staticClass:"pie-chart-container d-flex justify-center",class:t.isMobile?"in-mobile":null},[n("svg",{attrs:{width:t.svgSideLength,height:t.svgSideLength}},[n("g",{attrs:{transform:"translate("+t.svgSideLength/2+","+t.svgSideLength/2+")"}},[t._l(t.parsedCategories,(function(e,r){return[n("path",{key:e.name+"-arc",staticStyle:{cursor:"pointer"},attrs:{d:t.pieArc(r),fill:e.color,opacity:r===t.highlightedSection?.5:1},on:{mouseover:function(e){return t.highlightSection(r)},mouseleave:t.resetHighlight,click:t.openLink}}),t._v(" "),t.showText(r)?n("text",{key:e.name+"-text",staticStyle:{cursor:"pointer"},attrs:{transform:t.pieTextTransform(r),fill:t.getHighestContrastColor(e.color),"font-size":"12","text-anchor":"middle","dominant-baseline":"middle"},on:{mouseover:function(e){return t.highlightSection(r)},mouseleave:t.resetHighlight,click:t.openLink}},[t._v("\n "+t._s(t.truncateText(e.name))+"\n ")]):t._e()]}))],2)])]),t._v(" "),n("v-list-item",{attrs:{dense:"","three-line":""}},[t.tooltip.visible?n("v-list-item-content",{staticClass:"text-center"},[n("v-list-item-title",[t._v(t._s(t.tooltip.name))]),t._v(" "),n("v-list-item-subtitle",[t._v("\n Count: "+t._s(t.tooltip.count)+" ("+t._s(t.tooltip.percentage)+")")]),t._v(" "),n("v-list-item-subtitle",[t._v("\n Click to see the data related to this category.\n ")])],1):n("v-list-item-content",{staticClass:"text-center"},[n("v-list-item-title",[t._v("Total")]),t._v(" "),n("v-list-item-subtitle",[t._v(t._s(t.total))])],1)],1),t._v(" "),n("div",{staticClass:"d-flex flex-wrap"},t._l(t.parsedCategories,(function(e,r){return n("div",{key:e.name,staticClass:"leyend-item",class:r===t.highlightedSection?"highlighted":null,on:{mouseover:function(e){return t.highlightSection(r)},mouseleave:t.resetHighlight,click:t.openLink}},[n("v-icon",{attrs:{small:"",color:e.color}},[t._v(" mdi-square ")]),t._v("\n "+t._s(e.name)+"\n ")],1)})),0)],1)}),[],!1,null,"23bd57b1",null);e.default=component.exports;d()(component,{VContainer:m.a,VIcon:h.a,VListItem:f.a,VListItemContent:v.a,VListItemSubtitle:v.b,VListItemTitle:v.c})},1199:function(t,e,n){var content=n(1299);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("4170a334",content,!0,{sourceMap:!1})},1203:function(t,e,n){"use strict";n(1144)},1204:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.pie-container[data-v-a8832f28]{width:100%}',""]),t.exports=r},1213:function(t,e,n){var content=n(1323);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("2de5f7ca",content,!0,{sourceMap:!1})},1214:function(t,e,n){var content=n(1325);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("a4d6765a",content,!0,{sourceMap:!1})},1215:function(t,e,n){var content=n(1327);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("23e0b792",content,!0,{sourceMap:!1})},1216:function(t,e,n){var content=n(1329);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("ab270ee2",content,!0,{sourceMap:!1})},1217:function(t,e,n){var content=n(1331);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("385f5ee1",content,!0,{sourceMap:!1})},1218:function(t,e,n){var content=n(1333);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("4b906d2e",content,!0,{sourceMap:!1})},1219:function(t,e,n){var content=n(1337);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("3c60d62a",content,!0,{sourceMap:!1})},1220:function(t,e,n){"use strict";n(1145)},1221:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.withdrawn-img[data-v-5f52b07a]{width:25px;height:25px;vertical-align:middle}',""]),t.exports=r},1222:function(t,e,n){var content=n(1339);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("64c93129",content,!0,{sourceMap:!1})},1223:function(t,e,n){var content=n(1341);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("2504f0fe",content,!0,{sourceMap:!1})},1224:function(t,e,n){var content=n(1343);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("595cba9b",content,!0,{sourceMap:!1})},1225:function(t,e,n){var content=n(1345);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("f1197428",content,!0,{sourceMap:!1})},1226:function(t,e,n){var content=n(1347);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("12656419",content,!0,{sourceMap:!1})},1227:function(t,e,n){"use strict";var r=n(244),o=n(94);e.a={getPredictions:function(t){return r.a.get("/target_predictions/".concat(encodeURIComponent(o.a.sanitiseTextForEscaping(t))))}}},1228:function(t,e,n){var content=n(1349);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("4c21cae0",content,!0,{sourceMap:!1})},1229:function(t,e,n){var content=n(1351);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("33f26cdf",content,!0,{sourceMap:!1})},1230:function(t,e,n){var content=n(1353);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("42fd8bef",content,!0,{sourceMap:!1})},1231:function(t,e,n){var content=n(1355);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("fa35d8fc",content,!0,{sourceMap:!1})},1251:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n(33);var r=n(16),o={computed:{chemblID:function(){return this.$route.params.chembl_id},titleText:function(){var t="".concat(r.a[this.entityID].singularEntityName,": ").concat(this.idText);return t.length>149?t.slice(0,149)+"...":t},canonicalURL:function(){return"https://".concat("www.ebi.ac.uk")+this.$route.path}},head:function(){var head={title:this.titleText,meta:[{hid:"description",name:"description",content:this.descriptionText},{hid:"og:title",name:"og:title",content:this.titleText},{hid:"og:description",name:"og:description",content:this.descriptionText},{hid:"og:type",name:"og:type",content:"object"},{hid:"og:url",name:"og:url",content:this.canonicalURL}],link:[{rel:"canonical",href:this.canonicalURL}]};return null!=this.bioschemasMetadata&&(null==head.script&&(head.script=[]),head.script.push({id:"JSON_LD",type:"application/ld+json",json:this.bioschemasMetadata})),head}}},1255:function(t,e,n){"use strict";n.r(e);var r={},o=(n(1220),n(4)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"withdrawn-img",attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",viewBox:"0 0 1024 1024"}},[n("title"),t._v(" "),n("g",{attrs:{id:"icomoon-ignore"}}),t._v(" "),n("path",{attrs:{fill:"#FF8F00",d:"M703.147 186.027h194.56c13.653 0 25.6 11.947 25.6 25.6v114.347c0 13.653-11.947 25.6-25.6 25.6h-194.56c-13.653 0-25.6-11.947-25.6-25.6v-114.347c0-13.653 11.947-25.6 25.6-25.6zM964.267 472.747c0-1.707 0-5.12-1.707-8.533 0-5.12-1.707-11.947-3.413-17.067-1.707-6.827-5.12-13.653-10.24-20.48-6.827-10.24-18.773-20.48-34.133-27.307-3.413-1.707-6.827-3.413-8.533-5.12-5.12-3.413-10.24-10.24-11.947-15.36-1.707-3.413-1.707-6.827-3.413-10.24h-180.907c0 3.413-1.707 6.827-3.413 10.24-3.413 6.827-6.827 11.947-11.947 15.36-3.413 1.707-5.12 3.413-8.533 5.12-51.2 22.187-49.493 80.213-49.493 80.213v390.827c0 3.413 0 6.827 1.707 10.24l1.707 5.12c1.707 1.707 3.413 3.413 5.12 5.12s3.413 3.413 6.827 3.413c3.413 1.707 6.827 1.707 10.24 1.707h276.48c13.653 0 25.6-11.947 25.6-25.6v-392.533c0 0 0-1.707 0-5.12zM674.133 817.493v-296.96h254.293v296.96h-254.293zM438.613 64.853c-5.12-10.24-18.773-13.653-29.013-8.533-3.413 1.707-6.827 5.12-8.533 8.533l-358.4 641.707c-5.12 10.24-1.707 23.893 8.533 29.013 3.413 1.707 6.827 3.413 10.24 3.413h523.947v-259.413c0-23.893 6.827-63.147 32.427-93.867l-179.2-320.853zM462.507 641.707c0 5.12-5.12 10.24-10.24 10.24h-64.853c-5.12 0-10.24-5.12-10.24-10.24v-64.853c0-5.12 5.12-10.24 10.24-10.24h64.853c5.12 0 10.24 5.12 10.24 10.24v64.853zM462.507 513.707c0 5.12-5.12 10.24-10.24 10.24h-64.853c-5.12 0-10.24-5.12-10.24-10.24v-257.707c0-5.12 5.12-10.24 10.24-10.24h64.853c5.12 0 10.24 5.12 10.24 10.24v257.707z"}})])}),[],!1,null,"5f52b07a",null);e.default=component.exports},1256:function(t,e,n){"use strict";n.r(e);var r=n(933),o=n(1149),c={components:{MoleculeImage:r.a,LinkToCompound:o.default},props:{chemblID:{type:String,default:function(){}}}},l=n(4),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex flex-column justify-center align-center"},[n("div",[n("MoleculeImage",{attrs:{"molecule-chembl-id":t.chemblID,"max-width":"100px","show-options":!1}}),t._v(" "),n("LinkToCompound",{attrs:{"chembl-i-d":t.chemblID}})],1)])}),[],!1,null,null,null);e.default=component.exports},1257:function(t,e,n){"use strict";n.r(e);var r=n(933),o=n(16),c=n(102),l={components:{MoleculeImage:r.a},props:{chemblID:{type:String,default:function(){}},prefName:{type:String,default:function(){}},similarity:{type:String,default:function(){}}},computed:{linkToReportCard:function(){var t=o.a.Compound.entityID,e=c.a[t],n=this.chemblID;return e.getLinkToReportCard(n)}}},d=n(4),m=n(7),h=n.n(m),f=n(301),v=n(25),y=n(294),component=Object(d.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",{attrs:{outlined:"",tile:""}},[n("MoleculeImage",{attrs:{"molecule-chembl-id":t.chemblID}}),t._v(" "),n("v-divider"),t._v(" "),n("v-card-title",[n("div",[n("a",{attrs:{href:t.linkToReportCard,target:"_parent"}},[t._v(" "+t._s(t.chemblID))])])]),t._v(" "),n("v-card-text",[t._v("\n "+t._s(t.prefName)+" "),n("br"),t._v(" "),n("b",[t._v("Similarity:")]),t._v(" "+t._s(t.similarity)+"\n ")])],1)}),[],!1,null,null,null);e.default=component.exports;h()(component,{VCard:f.a,VCardText:v.c,VCardTitle:v.d,VDivider:y.a})},1260:function(t,e,n){"use strict";n(1161)},1261:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.node-image[data-v-490fd269],.node-label[data-v-490fd269]{cursor:pointer}.node-tooltip[data-v-490fd269]{z-index:20}',""]),t.exports=r},1262:function(t,e,n){"use strict";n(1162)},1263:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.link-label[data-v-4e9a62c9],.link-path[data-v-4e9a62c9]{cursor:pointer}',""]),t.exports=r},1264:function(t,e,n){"use strict";n(1163)},1265:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.node-tooltip{background-color:#fff}.tooltip-container{padding:10px}',""]),t.exports=r},1266:function(t,e,n){"use strict";n(1164)},1267:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.node-tooltip{background-color:#fff}.tooltip-container{padding:10px}',""]),t.exports=r},1268:function(t,e,n){"use strict";n(1165)},1269:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.phase-chip[data-v-3319deae]{padding:5px;border-radius:5px;margin-left:5px}.phase-early-phase-1[data-v-3319deae]{background-color:#9e9e9e;color:#fff}.phase-1[data-v-3319deae]{background-color:#f44336;color:#fff}.phase-2[data-v-3319deae]{background-color:#ff9800;color:#fff}.phase-3[data-v-3319deae]{background-color:#ffeb3b}.phase-approved[data-v-3319deae]{background-color:#43a047;color:#fff}',""]),t.exports=r},1270:function(t,e,n){"use strict";n(1166)},1271:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.card-container[data-v-7915c1b0]{height:100%}',""]),t.exports=r},1272:function(t,e,n){"use strict";n(1167)},1273:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.img-container[data-v-4a3681b6]{position:relative;width:100%}.btn-container[data-v-4a3681b6]{position:absolute;bottom:0;left:0}',""]),t.exports=r},1276:function(t,e,n){var content=n(1466);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("7b19df6b",content,!0,{sourceMap:!1})},1277:function(t,e,n){var content=n(1468);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("4c336970",content,!0,{sourceMap:!1})},1278:function(t,e,n){var content=n(1470);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("33ec5d31",content,!0,{sourceMap:!1})},1279:function(t,e,n){var content=n(1472);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("1e5440a1",content,!0,{sourceMap:!1})},1282:function(t,e,n){"use strict";n.r(e);n(33),n(20);var r={components:{SimpleMoleculeImage:n(314).a},props:{x:{type:Number,default:0},y:{type:Number,default:0},node:{type:Object,default:function(){return{}}},baseFontSize:{type:Number,default:12},reservedNodeWidth:{type:Number,default:200},reservedNodeHeight:{type:Number,default:200},nodeRectToAreaRectRatio:{type:Number,default:.5}},data:function(){return{maxLabelLength:20,selected:!1}},computed:{labelToDisplay:function(){var label=this.node.label||"---";return label.length>this.maxLabelLength?"".concat(label.slice(0,this.maxLabelLength),"..."):label},rectStrokeColor:function(){return this.node.highlight?"red":"#009688"},rectStrokeWidth:function(){return this.selected?3:2},textFontWeight:function(){return this.selected?"bold":"normal"}},methods:{handleClick:function(){this.$emit("node-clicked",this.node)}}},o=(n(1260),n(4)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",{attrs:{transform:"translate("+t.x+", "+t.y+")"}},[n("text",{staticClass:"node-label",attrs:{x:t.reservedNodeWidth*t.nodeRectToAreaRectRatio,y:t.reservedNodeHeight*(t.nodeRectToAreaRectRatio/2)-t.baseFontSize,"text-anchor":"middle","font-size":t.baseFontSize,"font-weight":t.textFontWeight},on:{mouseenter:function(e){t.selected=!0},mouseleave:function(e){t.selected=!1},click:t.handleClick}},[t._v(t._s(t.labelToDisplay))]),t._v(" "),n("rect",{staticClass:"node-image-rect",attrs:{width:t.reservedNodeWidth*t.nodeRectToAreaRectRatio,height:t.reservedNodeHeight*t.nodeRectToAreaRectRatio,x:t.reservedNodeWidth*(t.nodeRectToAreaRectRatio/2),y:t.reservedNodeHeight*(t.nodeRectToAreaRectRatio/2),fill:"white",stroke:t.rectStrokeColor,"stroke-width":t.rectStrokeWidth},on:{click:t.handleClick}}),t._v(" "),n("foreignObject",{staticClass:"node-image",attrs:{width:t.reservedNodeWidth*t.nodeRectToAreaRectRatio,height:t.reservedNodeHeight*t.nodeRectToAreaRectRatio,x:t.reservedNodeWidth*(t.nodeRectToAreaRectRatio/2),y:t.reservedNodeHeight*(t.nodeRectToAreaRectRatio/2)},on:{mouseenter:function(e){t.selected=!0},mouseleave:function(e){t.selected=!1},click:t.handleClick}},[n("SimpleMoleculeImage",{attrs:{"molecule-chembl-id":t.node.id}})],1)])}),[],!1,null,"490fd269",null);e.default=component.exports},1283:function(t,e,n){"use strict";n.r(e);n(33),n(20);var r={props:{linkID:{type:String,default:""},source:{type:Object,default:function(){return{}}},destination:{type:Object,default:function(){return{}}},label:{type:String,default:""},index:{type:Number,default:0},numlinksWithSameSourceAndDestination:{type:Number,default:1},reservedNodeWidth:{type:Number,default:200},reservedNodeHeight:{type:Number,default:200},nodeRectToAreaRectRatio:{type:Number,default:.5},baseFontSize:{type:Number,default:12},curvatureMultiplier:{type:Number,default:40}},data:function(){return{maxLabelLength:20,selected:!1}},computed:{labelToDisplay:function(){return this.label.length>this.maxLabelLength?this.label.slice(0,this.maxLabelLength)+"...":this.label},sourceX:function(){return this.source.coordinates.x+this.reservedNodeWidth/2},sourceY:function(){return this.source.coordinates.y+this.reservedNodeHeight/2},destinationXCenter:function(){return this.destination.coordinates.x+this.reservedNodeWidth/2},destinationYCenter:function(){return this.destination.coordinates.y+this.reservedNodeHeight/2},linkLineSlope:function(){var t=this.destinationXCenter-this.sourceX,e=(this.destinationYCenter-this.sourceY)/t;return e},destinationPoint:function(){var t=(this.linkLineSlope>=1||this.linkLineSlope<=-1)&&this.sourceY<this.destinationYCenter,e=(this.linkLineSlope>=1||this.linkLineSlope<=-1)&&this.sourceY>this.destinationYCenter,n=this.linkLineSlope<1&&this.linkLineSlope>-1&&this.sourceX<this.destinationXCenter,r=this.linkLineSlope<1&&this.linkLineSlope>-1&&this.sourceX>this.destinationXCenter,o=0,c=0,l=0,d=0;return t?(o=this.destinationXCenter-this.reservedNodeWidth*(this.nodeRectToAreaRectRatio/2),l=this.destinationXCenter+this.reservedNodeWidth*(this.nodeRectToAreaRectRatio/2),d=c=this.destinationYCenter-this.reservedNodeHeight*(this.nodeRectToAreaRectRatio/2)):e?(o=this.destinationXCenter-this.reservedNodeWidth*(this.nodeRectToAreaRectRatio/2),l=this.destinationXCenter+this.reservedNodeWidth*(this.nodeRectToAreaRectRatio/2),d=c=this.destinationYCenter+this.reservedNodeHeight*(this.nodeRectToAreaRectRatio/2)):n?(l=o=this.destinationXCenter-this.reservedNodeWidth*(this.nodeRectToAreaRectRatio/2),c=this.destinationYCenter-this.reservedNodeHeight*(this.nodeRectToAreaRectRatio/2),d=this.destinationYCenter+this.reservedNodeHeight*(this.nodeRectToAreaRectRatio/2)):r&&(l=o=this.destinationXCenter+this.reservedNodeWidth*(this.nodeRectToAreaRectRatio/2),c=this.destinationYCenter-this.reservedNodeHeight*(this.nodeRectToAreaRectRatio/2),d=this.destinationYCenter+this.reservedNodeHeight*(this.nodeRectToAreaRectRatio/2)),this.calculateIntersection(this.sourceX,this.sourceY,this.destinationXCenter,this.destinationYCenter,o,c,l,d)},destinationX:function(){return this.destinationPoint.x},destinationY:function(){return this.destinationPoint.y},midX:function(){return(this.sourceX+this.destinationX)/2},midY:function(){return(this.sourceY+this.destinationY)/2},curvature:function(){return(this.index-(this.numlinksWithSameSourceAndDestination-1)/2)*this.curvatureMultiplier},controlX:function(){return this.midX+this.curvature},controlY:function(){return this.midY-this.curvature},path:function(){return"M ".concat(this.sourceX," ").concat(this.sourceY," Q ").concat(this.controlX," ").concat(this.controlY," ").concat(this.destinationX," ").concat(this.destinationY)},pathStrokeWidth:function(){return this.selected?2:1.5},textFontWeight:function(){return this.selected?"bold":"normal"}},methods:{handleClick:function(){this.$emit("link-clicked",this.linkID)},calculateIntersection:function(t,e,n,r,o,c,l,d){var m,h,f,v;if(t===n?(m=1/0,h=t):h=e-(m=(r-e)/(n-t))*t,o===l?(f=1/0,v=o):v=c-(f=(d-c)/(l-o))*o,m===f)return h===v?{x:l,y:d}:null;if(m===1/0){return{x:h,y:f*h+v}}if(f===1/0){return{x:v,y:m*v+h}}var y=(v-h)/(m-f);return{x:y,y:m*y+h}}}},o=(n(1262),n(4)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",[n("path",{staticClass:"link-path",attrs:{d:t.path,fill:"transparent","marker-end":"url(#arrowhead)",stroke:"#00BFA5","stroke-width":t.pathStrokeWidth},on:{mouseenter:function(e){t.selected=!0},mouseleave:function(e){t.selected=!1},click:t.handleClick}}),t._v(" "),n("text",{staticClass:"link-label",attrs:{x:t.controlX,y:t.controlY,"text-anchor":"middle","font-size":.85*t.baseFontSize,"font-weight":t.textFontWeight},on:{mouseenter:function(e){t.selected=!0},mouseleave:function(e){t.selected=!1},click:t.handleClick}},[t._v(t._s(t.labelToDisplay))])])}),[],!1,null,"4e9a62c9",null);e.default=component.exports},1284:function(t,e,n){"use strict";n.r(e);var r={components:{SimpleMoleculeImage:n(314).a},props:{node:{type:Object,default:function(){return{}}}},methods:{closeTooltip:function(){this.$emit("close")}}},o=(n(1264),n(4)),c=n(7),l=n.n(c),d=n(293),m=n(301),h=n(25),f=n(294),v=n(218),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tooltip-container"},[n("v-card",{attrs:{elevation:"10",width:"100%"}},[n("div",{staticClass:"d-flex justify-end"},[n("v-btn",{attrs:{small:"",outlined:"",color:"primary"},on:{click:t.closeTooltip}},[n("v-icon",{attrs:{small:""}},[t._v("mdi-close")])],1)],1),t._v(" "),n("SimpleMoleculeImage",{attrs:{"molecule-chembl-id":t.node.id}}),t._v(" "),n("v-card-title",[t._v(t._s(t.node.label))]),t._v(" "),n("v-divider"),t._v(" "),n("v-card-text",[n("b",[t._v("Chembl ID:")]),t._v(" "),n("a",{attrs:{href:t.node.link}},[t._v(t._s(t.node.id))])])],1)],1)}),[],!1,null,null,null);e.default=component.exports;l()(component,{VBtn:d.a,VCard:m.a,VCardText:h.c,VCardTitle:h.d,VDivider:f.a,VIcon:v.a})},1285:function(t,e,n){"use strict";n.r(e);n(480);var r=n(102),o=n(16),c={props:{link:{type:Object,default:function(){return{}}}},computed:{linkToTarget:function(){var t=r.a[o.a.Target.entityID],e=this.link.details.target_chembl_id;return t.getLinkToReportCard(e)},hasLink:function(){return null!==this.link.details.target_chembl_id}},methods:{closeTooltip:function(){this.$emit("close")}}},l=(n(1266),n(4)),d=n(7),m=n.n(d),h=n(293),f=n(301),v=n(25),y=n(294),_=n(218),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tooltip-container"},[n("v-card",{attrs:{elevation:"10",width:"100%"}},[n("div",{staticClass:"d-flex justify-end"},[n("v-btn",{attrs:{small:"",outlined:"",color:"primary"},on:{click:t.closeTooltip}},[n("v-icon",{attrs:{small:""}},[t._v("mdi-close")])],1)],1),t._v(" "),n("v-card-title",[t._v(t._s(t.link.label))]),t._v(" "),n("v-divider"),t._v(" "),n("v-card-text",[n("b",[t._v("Enzyme:")]),t._v(" "),t.hasLink?n("a",{attrs:{href:t.linkToTarget}},[t._v("\n "+t._s(t.link.details.enzyme_name))]):n("span",[t._v(t._s(null!=t.link.details.enzyme_name?t.link.details.enzyme_name:"---"))]),t._v(" "),n("br"),t._v(" "),n("b",[t._v("Conversion: ")]),t._v("\n "+t._s(null!=t.link.details.met_conversion?t.link.details.met_conversion:"---")+"\n "),n("br"),t._v(" "),n("b",[t._v("Organism: ")]),t._v("\n "+t._s(null!=t.link.details.organism?t.link.details.organism:"---")+"\n "),n("br"),t._v(" "),n("b",[t._v("Comment: ")]),t._v("\n "+t._s(null!=t.link.details.met_comment?t.link.details.met_comment:"---")+"\n "),n("br"),t._v(" "),n("b",[t._v("References: ")]),t._v(" "),t._l(t.link.details.metabolism_refs,(function(e,r){return n("a",{key:e.ref_id},[t._v("\n ["+t._s(r+1)+"]")])}))],2)],1)],1)}),[],!1,null,null,null);e.default=component.exports;m()(component,{VBtn:h.a,VCard:f.a,VCardText:v.c,VCardTitle:v.d,VDivider:y.a,VIcon:_.a})},1286:function(t,e,n){"use strict";n.r(e);var r=n(16),o=n(58),c=n(54),l={components:{WithdrawnIcon:n(1255).default},props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,maxPhaseLabel:void 0,withdrawn:void 0}},computed:{chipClass:function(){switch(this.maxPhaseLabel){case"Unknown":return"phase-unknown";case"Preclinical":return"phase-preclinical";case"Early Phase 1":return"phase-early-phase-1";case"Phase 1":return"phase-1";case"Phase 2":return"phase-2";case"Phase 3":return"phase-3";case"Approved":return"phase-approved";default:return}}},mounted:function(){var t=this,e=r.a.Compound.entityID,n=o.a.getIndexNameFromEntityID(e);c.a.getESDocument(n,this.chemblID,["_metadata.compound_generated.max_phase_label","withdrawn_flag"]).then((function(e){var n=e.data._source;t.maxPhaseLabel=n._metadata.compound_generated.max_phase_label,t.withdrawn=n.withdrawn_flag,t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e}))}},d=(n(1268),n(4)),m=n(7),h=n.n(m),f=n(899),v=n(900),component=Object(d.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("v-skeleton-loader",{attrs:{type:"text"}}):t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):t._e(),t._v(" "),n("div",[n("span",{staticClass:"phase-chip",class:t.chipClass},[t._v(t._s(t.maxPhaseLabel))]),t._v(" "),t.withdrawn?n("span",[n("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,o=e.attrs;return[n("span",t._g(t._b({},"span",o,!1),r),[n("WithdrawnIcon")],1)]}}],null,!1,3434833008)},[t._v(" "),n("span",[t._v("The compound has been withdrawn in some countries.")])])],1):t._e(),t._v(" "),n("a",{attrs:{target:"_blank",href:"https://chembl.gitbook.io/chembl-interface-documentation/frequently-asked-questions/chembl-drug-data-questions#what-is-max-phase"}},[t._v("\n Learn more\n ")])])],1)}),[],!1,null,"3319deae",null);e.default=component.exports;h()(component,{VSkeletonLoader:f.a,VTooltip:v.a})},1287:function(t,e,n){"use strict";n.r(e);n(24),n(20);var r=n(88),o=n(919),c={components:{SimilaritylItemCard:n(1257).default},props:{chemblID:{type:String,default:function(){}},similarity:{type:Number,default:function(){return 85}}},data:function(){return{page:1,pageLoaded:!1,currentItems:[],totalItems:0}},computed:{itemsPerPage:function(){switch(this.$vuetify.breakpoint.name){case"xs":return 1;case"sm":return 3;case"md":case"lg":return 4;default:return 6}},numColsPerItem:function(){return{xs:12,sm:4,md:3,lg:3,xl:2}},currentFirstItem:function(){return 0===this.totalItems?0:this.itemsPerPage*(this.page-1)+1},currentLastItem:function(){return this.currentFirstItem+this.itemsInCurrentPage-1},numberOfPages:function(){return Math.ceil(this.totalItems/this.itemsPerPage)},itemsInCurrentPage:function(){var t=this.page<this.numberOfPages?this.itemsPerPage:this.totalItems%this.itemsPerPage;return t>0?t:1},disableFormerPageButton:function(){return this.page<=1},disableNextPageButton:function(){return this.page>=this.numberOfPages},paginationText:function(){return 1===this.itemsInCurrentPage?"".concat(this.currentFirstItem," out of ").concat(this.totalItems):"".concat(this.currentFirstItem," - ").concat(this.currentLastItem," out of ").concat(this.totalItems)}},watch:{itemsPerPage:function(){1===this.page&&this.loadCurrentPage(),this.page=1},page:function(){this.loadCurrentPage()}},mounted:function(){this.loadCurrentPage()},methods:{loadCurrentPage:function(){var t=this,e=this.itemsPerPage*(this.page-1),n=this.itemsPerPage;this.pageLoaded=!1,o.a.getSimilarityPage(this.chemblID,this.similarity,e,n,"molecule_chembl_id,pref_name,similarity").then((function(e){var data=e.data;t.currentItems=data.molecules,t.totalItems=data.page_meta.total_count,t.pageLoaded=!0})).catch((function(e){r.a.dispatchRequestErrorNotification(e,t.$store.dispatch,"There was an error while loading the compounds similar to ".concat(t.chemblID))}))},getStandardisedSimilarity:function(t){return parseFloat(t).toFixed(2)},nextPage:function(){this.page+1<=this.numberOfPages&&(this.page+=1)},formerPage:function(){this.page-1>=1&&(this.page-=1)}}},l=(n(1270),n(4)),d=n(7),m=n.n(d),h=n(293),f=n(885),v=n(218),y=n(886),_=n(899),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.pageLoaded?[n("v-row",[t._l(t.currentItems,(function(e,r){return[n("v-col",{key:e.molecule_chembl_id,attrs:{cols:t.numColsPerItem.xs,sm:t.numColsPerItem.sm,md:t.numColsPerItem.md,lg:t.numColsPerItem.lg,xl:t.numColsPerItem.xl}},[n("div",{staticClass:"d-flex flex-column justify-space-between align-center card-container"},[n("SimilaritylItemCard",{attrs:{"chembl-i-d":e.molecule_chembl_id,"pref-name":e.pref_name,similarity:t.getStandardisedSimilarity(e.similarity)}}),t._v("\n "+t._s(t.currentFirstItem+r)+"\n ")],1)])]}))],2),t._v(" "),n("div",{staticClass:"d-flex justify-space-between align-center"},[n("v-btn",{attrs:{color:"primary",disabled:t.disableFormerPageButton||!t.pageLoaded},on:{click:t.formerPage}},[n("v-icon",[t._v("mdi-chevron-left")])],1),t._v(" "),n("div",[t._v(t._s(t.paginationText))]),t._v(" "),n("v-btn",{attrs:{color:"primary",disabled:t.disableNextPageButton||!t.pageLoaded},on:{click:t.nextPage}},[n("v-icon",[t._v("mdi-chevron-right")])],1)],1)]:n("v-row",[t._l(t.itemsPerPage,(function(e){return[n("v-col",{key:e,attrs:{cols:t.numColsPerItem.xs,sm:t.numColsPerItem.sm,md:t.numColsPerItem.md,lg:t.numColsPerItem.lg,xl:t.numColsPerItem.xl}},[n("v-skeleton-loader",{attrs:{type:"card"}})],1)]}))],2)],2)}),[],!1,null,"7915c1b0",null);e.default=component.exports;m()(component,{VBtn:h.a,VCol:f.a,VIcon:v.a,VRow:y.a,VSkeletonLoader:_.a})},1288:function(t,e,n){"use strict";n.r(e);var r={props:{alert:{type:Object,default:function(){}}},computed:{imgURL:function(){return"".concat("https://www.ebi.ac.uk/chembl/api/data","/compound_structural_alert/").concat(this.alert.alertId,".svg")}}},o=(n(1272),n(4)),c=n(7),l=n.n(c),d=n(293),m=n(301),h=n(25),f=n(294),v=n(218),y=n(319),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",{attrs:{outlined:"",tile:""}},[n("div",{staticClass:"d-flex flex-column justify-center align-center"},[n("div",{staticClass:"img-container"},[n("v-img",{attrs:{src:t.imgURL}}),t._v(" "),n("div",{staticClass:"btn-container"},[n("v-btn",{attrs:{small:"",color:"primary",tile:"",text:"",href:t.imgURL,target:"_parent"}},[n("v-icon",{attrs:{small:"",color:"primary"}},[t._v(" mdi-link ")])],1)],1)],1)]),t._v(" "),n("v-divider"),t._v(" "),n("v-card-text",[n("div",{staticClass:"text-caption"},[n("b",[t._v("Alert ID:")]),t._v(" "+t._s(t.alert.alertId)+"\n "),n("v-divider"),t._v(" "),n("b",[t._v("Alert Name:")]),t._v(" "+t._s(t.alert.alertName)+"\n ")],1)])],1)}),[],!1,null,"4a3681b6",null);e.default=component.exports;l()(component,{VBtn:d.a,VCard:m.a,VCardText:h.c,VDivider:f.a,VIcon:v.a,VImg:y.a})},1292:function(t,e,n){"use strict";n.r(e);var r=n(1138).a,o=n(4),c=n(7),l=n.n(c),d=n(1872),m=n(294),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):t._e(),t._v(" "),n("v-data-table",{attrs:{headers:t.headers,items:t.predictions,loading:t.loading,options:t.options},scopedSlots:t._u([{key:"item.target_chemblid",fn:function(e){var r=e.item;return[n("a",{attrs:{href:t.getLinkToReportCard(r.target_chemblid),target:"_parent"}},[t._v(t._s(r.target_chemblid))])]}}],null,!0)}),t._v(" "),n("v-divider")],1)}),[],!1,null,null,null);e.default=component.exports;l()(component,{VDataTable:d.a,VDivider:m.a})},1298:function(t,e,n){"use strict";n(1199)},1299:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.chart-container[data-v-056927e2]{height:60vh}.chart-container.mobile-chart-container[data-v-056927e2]{height:35vh}.legend-item[data-v-056927e2]{padding:1px 3px;cursor:pointer}.legend-item.highlighted[data-v-056927e2]{background-color:#e0e0e0}',""]),t.exports=r},1322:function(t,e,n){"use strict";n(1213)},1323:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-a2d791e6]{position:relative}',""]),t.exports=r},1324:function(t,e,n){"use strict";n(1214)},1325:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-row[data-v-046dc9c8]{width:100%}',""]),t.exports=r},1326:function(t,e,n){"use strict";n(1215)},1327:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-e204d59e]{position:relative}',""]),t.exports=r},1328:function(t,e,n){"use strict";n(1216)},1329:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.inline-span[data-v-4967821a]{display:inline-block}',""]),t.exports=r},1330:function(t,e,n){"use strict";n(1217)},1331:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-01d7ca65]{position:relative}',""]),t.exports=r},1332:function(t,e,n){"use strict";n(1218)},1333:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-1b00f5fd]{position:relative}.histogram-container[data-v-1b00f5fd]{width:100%}',""]),t.exports=r},1334:function(t,e,n){"use strict";var r=n(28),o=n(1335),c=n(105),l=n(86),d=n(130),m=n(483);r(r.P,"Array",{flatMap:function(t){var e,n,r=c(this);return d(t),e=l(r.length),n=m(r,0),o(n,r,r,e,0,1,t,arguments[1]),n}}),n(156)("flatMap")},1335:function(t,e,n){"use strict";var r=n(321),o=n(56),c=n(86),l=n(104),d=n(41)("isConcatSpreadable");t.exports=function t(e,n,source,m,h,f,v,y){for(var element,_,w=h,k=0,x=!!v&&l(v,y,3);k<m;){if(k in source){if(element=x?x(source[k],k,n):source[k],_=!1,o(element)&&(_=void 0!==(_=element[d])?!!_:r(element)),_&&f>0)w=t(e,n,element,c(element.length),w,f-1)-1;else{if(w>=9007199254740991)throw TypeError();e[w]=element}w++}k++}return w}},1336:function(t,e,n){"use strict";n(1219)},1337:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.graph-canvas[data-v-773f3496]{border:1px solid #009688}.graph-canvas.can-grab[data-v-773f3496]{cursor:-webkit-grab;cursor:grab}.graph-canvas.grabbing[data-v-773f3496]{cursor:-webkit-grabbing;cursor:grabbing}.link-tooltip-container[data-v-773f3496],.node-tooltip-container[data-v-773f3496]{position:fixed;width:300px;height:300px}',""]),t.exports=r},1338:function(t,e,n){"use strict";n(1222)},1339:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-73c5c28c]{position:relative}.molecule-img-container[data-v-73c5c28c]{padding-right:10px}',""]),t.exports=r},1340:function(t,e,n){"use strict";n(1223)},1341:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.info-item[data-v-fbb409be]{width:100%}',""]),t.exports=r},1342:function(t,e,n){"use strict";n(1224)},1343:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-ee33f6f8]{position:relative}',""]),t.exports=r},1344:function(t,e,n){"use strict";n(1225)},1345:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.buttons-container[data-v-0b87a39c]{width:100%}',""]),t.exports=r},1346:function(t,e,n){"use strict";n(1226)},1347:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.source-chip[data-v-11351c79]{margin:2px}',""]),t.exports=r},1348:function(t,e,n){"use strict";n(1228)},1349:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-9d1e38e4]{position:relative}',""]),t.exports=r},1350:function(t,e,n){"use strict";n(1229)},1351:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.dialog-content[data-v-22fd0562]{height:100%}.dialog-content .dialog-actions[data-v-22fd0562]{padding:10px}',""]),t.exports=r},1352:function(t,e,n){"use strict";n(1230)},1353:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-d7d0eab6]{position:relative}',""]),t.exports=r},1354:function(t,e,n){"use strict";n(1231)},1355:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-5f761401]{position:relative}',""]),t.exports=r},1396:function(t,e,n){"use strict";n.r(e);var r=n(311),o=n(309),c=(n(8),n(63),n(12),n(44),n(55),n(24),n(34),n(35),n(6),n(33),n(11),n(88)),l=(n(62),n(38),n(58)),d=n(54),m=n(307),h={getItemProperties:function(t,e,n){return new Promise((function(r,o){var c=l.a.getIndexNameFromEntityID(t);d.a.getPopertyGroupConfiguration(c,n).then((function(t){var n=null!=t.data.properties.default?t.data.properties.default:[],l=null!=t.data.properties.sticky?t.data.properties.sticky:[],h=n.concat(l).map((function(t){return{label:t.label,prop_id:t.prop_id}})),f=h.map((function(t){return t.prop_id}));d.a.getESDocument(c,e,f).then((function(t){var e=t.data._source,o=h.map((function(t){var r=null!=n.find((function(e){return e.prop_id===t.prop_id}));return{propID:t.prop_id,label:t.label,value:m.a.getPropertyPalue(e,t.prop_id,"--"),show:r}}));r(o)})).catch((function(t){o(t)}))})).catch((function(t){o(t)}))}))}},f=n(180);function v(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var _={props:{itemID:{type:String,default:function(){}},entityID:{type:String,default:function(){}},propertiesGroup:{type:String,default:function(){}},useDefaultPropertySlot:{type:Boolean,default:function(){return!0}}},data:function(){return{dataLoaded:!1,loadedProperties:[]}},computed:{shownProperties:function(){return this.loadedProperties.filter((function(t){return t.show}))},item:function(){var t,e={id:this.itemID,data:{},highlight:{}},n=v(this.loadedProperties);try{for(n.s();!(t=n.n()).done;){var r=t.value;e.data[r.propID]=r.value}}catch(t){n.e(t)}finally{n.f()}return e}},mounted:function(){this.loadData()},methods:{loadData:function(){var t=this;h.getItemProperties(this.entityID,this.itemID,this.propertiesGroup).then((function(e){t.loadedProperties=e,t.dataLoaded=!0})).catch((function(e){f.a.trackError(e,t),c.a.dispatchRequestErrorNotification(e,t.$store.dispatch,"There was an error while fetching the list of properties for the calculated properties!")}))}}},w=n(4),k=n(7),x=n.n(k),T=n(885),C=n(294),S=n(295),I=n(174),E=n(22),D=n(886),M=n(899),component=Object(w.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.dataLoaded?n("v-row",{attrs:{dense:"","no-gutters":""}},t._l(t.shownProperties,(function(e){return n("v-col",{key:e.propLabel,attrs:{cols:"12",sm:"6",lg:"4",xl:"3"}},[n("v-list",{attrs:{dense:""}},[n("v-list-item",{key:e.propLabel},[n("v-list-item-content",[n("v-list-item-title",[n("div",{staticClass:"d-flex justify-space-between"},[n("div",[n("b",[t._v(t._s(e.label)+":")])]),t._v(" "),n("div",[t._v("\n "+t._s(e.value)+"\n ")])])])],1)],1),t._v(" "),n("v-divider",{key:e.propLabel+"-divider"})],1)],1)})),1):n("v-skeleton-loader",{attrs:{type:"text@6"}})],1)}),[],!1,null,null,null),N=component.exports;x()(component,{VCol:T.a,VDivider:C.a,VList:S.a,VListItem:I.a,VListItemContent:E.a,VListItemTitle:E.c,VRow:D.a,VSkeletonLoader:M.a});var L=n(16),P={components:{PropertiesValuesInColumns:N,LinkToCompound:n(1149).default},mixins:[r.a,o.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{entityID:L.a.Compound.entityID,loading:!0,showError:!1,errorMsg:void 0,isParent:void 0,parentChemblID:void 0}},mounted:function(){var t=this,e=L.a.Compound.entityID,n=l.a.getIndexNameFromEntityID(e);d.a.getESDocument(n,this.chemblID,["_metadata.hierarchy.parent.chembl_id"]).then((function(e){var n=e.data._source,r=m.a.getPropertyPalue(n,"_metadata.hierarchy.parent.chembl_id",null,!0);t.parentChemblID=null==r?t.chemblID:r,t.isParent=t.parentChemblID===t.chemblID,t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e.message}))}},O=(n(1328),n(301)),A=n(25),V=Object(w.a)(P,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[n("v-card-text",[t.loading?n("div",[n("v-skeleton-loader",{attrs:{type:"paragraph, paragraph, paragraph"}})],1):t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):n("div",[t.isParent?t._e():n("div",[t._v("\n Calculated properties from parent\n "),n("span",{staticClass:"inline-span"},[n("LinkToCompound",{attrs:{"chembl-i-d":t.parentChemblID}})],1),t._v(":\n ")]),t._v(" "),n("PropertiesValuesInColumns",{attrs:{"entity-i-d":t.entityID,"item-i-d":t.chemblID,"properties-group":"calculated_properties"}})],1)])],1)],1)}),[],!1,null,"4967821a",null);e.default=V.exports;x()(V,{VCard:O.a,VCardText:A.c,VSkeletonLoader:M.a})},1397:function(t,e,n){"use strict";n.r(e);n(63),n(44),n(55),n(24),n(34),n(35),n(33),n(15),n(12),n(13),n(8),n(6),n(235),n(38);var r=n(1),o=n(21),c=(n(29),n(31),n(11),n(88)),l=n(1436),d=n(1437),m=n(85),h=n.n(m).a.create({baseURL:"https://www.ebi.ac.uk/unichem/api/v1",withCredentials:!1,headers:{Accept:"application/json","Content-Type":"application/json"}}),f=function(t){var e={type:"inchikey",compound:t,searchComponents:!0,componentConnLimit:300};return h.post("/connectivity",e)},v=n(911);function y(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function k(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?w(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):w(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var x={components:{ShowRestServiceCall:d.default,MatchBooleanField:l.default,TextToClipboard:v.a},props:{inchi:{type:String,default:function(){}},inchiKey:{type:String,default:function(){}}},data:function(){return{loading:!0,noSources:!1,disableAlternativeSaltsAndMixtures:!1,showAlternativeSaltsAndMixtures:!1,matchedGroups:{},possibleColors:[{background:"#F44336",text:"#000000"},{background:"#3F51B5",text:"#FFFFFF"},{background:"#673AB7",text:"#FFFFFF"},{background:"#3F51B5",text:"#FFFFFF"},{background:"#2196F3",text:"#000000"},{background:"#009688",text:"#000000"},{background:"#4CAF50",text:"#000000"},{background:"#FF9800",text:"#000000"},{background:"#795548",text:"#FFFFFF"},{background:"#607D8B",text:"#000000"}],headers:[{text:"Match",value:"compoundId",sortable:!1},{text:"Source",value:"sourceID",sortable:!1},{text:"Identical Component",value:"identicalMatch",align:"center",sortable:!1},{text:"S",value:"stereochemicalDifference",align:"center",sortable:!1},{text:"I",value:"isotopicDifference",align:"center",sortable:!1},{text:"P",value:"protonationDifference",align:"center",sortable:!1}],refs:[],availableSources:[],selectedSources:[],sortBy:[],sortDirection:[],options:{}}},computed:{webSearchURL:function(){return"".concat("https://www.ebi.ac.uk/unichem","/search/connectivity?type=inchikey&compound=").concat(encodeURIComponent(this.inchiKey))},shownRefs:function(){var t=this,e=this.refs.filter((function(t){return t.show}));return 0===this.selectedSources.length?e:e.filter((function(e){return t.selectedSources.includes(e.sourceID)}))},altFormsMixturesBtnText:function(){return this.showAlternativeSaltsAndMixtures?"Exclude Alternative Salts and Mixtures":"Include Alternative Salts and Mixtures"}},mounted:function(){var t=this;f(this.inchiKey).then((function(e){var n=e.data;if("Not found"===n.response)return t.noSources=!0,void(t.loading=!1);t.totalSourcesDeclared=n.totalSources,t.totalSourcesReceived=n.sources.length;var r=n.sources,c=t.parseSources(r),l=Object(o.a)(c,2),d=l[0],m=l[1];if(t.refs=d,t.availableSources=m,t.disableAlternativeSaltsAndMixtures=null==e.data.inchis,null!=e.data.inchis){var h=0;e.data.inchis.forEach((function(e){h++,t.matchedGroups[e.id]=k(k({},e),{},{groupNumber:h,color:t.possibleColors[(h-1)%t.possibleColors.length].background,textColor:t.possibleColors[(h-1)%t.possibleColors.length].text})}))}t.loading=!1})).catch((function(e){c.a.dispatchRequestErrorNotification(e,t.$store.dispatch,"There was an error while loading the unichem connectivity cross references for ".concat(t.inchiKey))}))},methods:{parseSources:function(t){var e,n=[],r=y(t);try{for(r.s();!(e=r.n()).done;){var o=e.value,c=o.id,l=o.longName,d=!(o.comparison.stereoDbond&&o.comparison.stereoSp3&&o.comparison.stereoSp3Inverted&&o.comparison.stereoType),m=!o.comparison.isotope,h=!o.comparison.protonation,f="match"===o.typeOfSearch,v={compoundId:o.compoundId,url:o.url,sourceName:l,sourceID:c,sourceURL:"",identicalMatch:!d&&!m&&!h,stereochemicalDifference:d,isotopicDifference:m,protonationDifference:h,typeOfSearch:o.typeOfSearch,searchedInchiPos:o.searchedInchiPos,exactMatch:f,show:f||this.showAlternativeSaltsAndMixtures};n.push(v)}}catch(t){r.e(t)}finally{r.f()}return[n,this.getSourcesList(n)]},getSourcesList:function(t){var e={};return t.forEach((function(t){if(t.show){var n=t.sourceID,r=t.sourceName;null==e[n]?e[n]={sourceID:n,sourceName:r,numRefs:1}:e[n].numRefs++}})),Object.values(e).map((function(t){return k(k({},t),{},{label:"".concat(t.sourceName," (").concat(t.numRefs," reference").concat(1===t.numRefs?"":"s",")")})}))},setSortBy:function(t){this.sortBy=t},setsortDirection:function(t){this.sortDirection=t},toggleAlternativeSaltsAndMixtures:function(){var t=this;this.showAlternativeSaltsAndMixtures=!this.showAlternativeSaltsAndMixtures,this.$nextTick().then((function(){t.$set(t.options,"page",1)})),this.refs.forEach((function(e){e.show=e.exactMatch||t.showAlternativeSaltsAndMixtures})),this.selectedSources=[];var e=this.getSourcesList(this.refs);this.availableSources=e},getItemMatchGroupNumber:function(t){return"match"===t.typeOfSearch?"":this.matchedGroups[t.searchedInchiPos].groupNumber},getItemMatchGroupColor:function(t){if("match"!==t.typeOfSearch)return this.matchedGroups[t.searchedInchiPos].color},getItemMatchGroupTextColor:function(t){if("match"!==t.typeOfSearch)return this.matchedGroups[t.searchedInchiPos].textColor},getItemMatchGroupExplanation:function(t){switch(t.typeOfSearch){case"match":return this.showAlternativeSaltsAndMixtures?"(Full query match)":"";case"searchedComponent":return"(match)";case"searchedComponentInComponents":return"(In mixture)";default:return""}}}},T=(n(1471),n(4)),C=n(7),S=n.n(C),I=n(889),E=n(298),D=n(293),M=n(885),N=n(1872),L=n(48),P=n(218),O=n(295),A=n(174),V=n(22),j=n(148),B=n(886),R=n(899),component=Object(T.a)(x,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("v-skeleton-loader",{attrs:{type:"table"}}):n("v-row",[t.noSources?n("v-col",{attrs:{cols:"12"}},[t._v("No sources were found for "+t._s(t.inchiKey)+" in UniChem.\n ")]):[n("v-col",{attrs:{cols:"12"}},[n("b",[t._v("Columns Legend:")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("ul",[n("li",[n("b",[t._v("S:")]),t._v(" stereochemical difference.")]),t._v(" "),n("li",[n("b",[t._v("I:")]),t._v(" isotopic difference.")]),t._v(" "),n("li",[n("b",[t._v("P:")]),t._v(" protonation differences identified.")])]),t._v(" "),n("br"),t._v(" "),t.disableAlternativeSaltsAndMixtures?t._e():n("v-btn",{attrs:{depressed:"",outlined:"",color:"primary"},on:{click:t.toggleAlternativeSaltsAndMixtures}},[t._v("\n "+t._s(t.altFormsMixturesBtnText)+"\n ")]),t._v(" "),n("br"),t._v(" "),n("v-expand-transition",[t.showAlternativeSaltsAndMixtures?n("div",[n("br"),t._v(" "),n("b",[t._v("Additional Matches:")]),t._v(" "),n("v-list",t._l(t.matchedGroups,(function(e){return n("v-list-item",{key:e.id},[n("v-list-item-icon",[n("v-avatar",{attrs:{tile:"",color:e.color}},[n("span",{style:{color:e.textColor,"caret-color":e.textColor}},[t._v(t._s(e.groupNumber))])])],1),t._v(" "),n("v-list-item-content",[n("v-list-item-title",[n("TextToClipboard",{attrs:{title:"InChI",text:e.inchi}})],1)],1)],1)})),1)],1):t._e()])],1),t._v(" "),n("v-col",{attrs:{cols:"12"}},[n("v-autocomplete",{attrs:{items:t.availableSources,label:"Filter by source ("+t.availableSources.length+" sources) ","item-text":"label","item-value":"sourceID",multiple:"",clearable:"",chips:"","deletable-chips":""},model:{value:t.selectedSources,callback:function(e){t.selectedSources=e},expression:"selectedSources"}})],1),t._v(" "),n("v-col",{attrs:{cols:"12"}},[n("v-data-table",{attrs:{headers:t.headers,items:t.shownRefs,"items-per-page":5,"group-by":"sourceID",options:t.options},on:{"update:options":function(e){t.options=e}},scopedSlots:t._u([{key:"group.header",fn:function(e){var r=e.items;return[n("div",{staticClass:"source-header"},[t._v("\n "+t._s(r[0].sourceName)+"\n ")])]}},{key:"item.compoundId",fn:function(e){var r=e.item;return[n("a",{attrs:{href:r.url,target:"_parent"}},[t._v(t._s(r.compoundId))]),t._v(" "),"match"!==r.typeOfSearch?n("span",{staticClass:"match-group",style:{"background-color":t.getItemMatchGroupColor(r),color:t.getItemMatchGroupTextColor(r),"caret-color":t.getItemMatchGroupTextColor(r)}},[t._v(t._s(t.getItemMatchGroupNumber(r)))]):t._e(),t._v("\n\n "+t._s(t.getItemMatchGroupExplanation(r))+"\n ")]}},{key:"item.identicalMatch",fn:function(t){var e=t.item;return[n("MatchBooleanField",{attrs:{value:e.identicalMatch}})]}},{key:"item.stereochemicalDifference",fn:function(t){var e=t.item;return[n("MatchBooleanField",{attrs:{value:e.stereochemicalDifference}})]}},{key:"item.isotopicDifference",fn:function(t){var e=t.item;return[n("MatchBooleanField",{attrs:{value:e.isotopicDifference}})]}},{key:"item.protonationDifference",fn:function(t){var e=t.item;return[n("MatchBooleanField",{attrs:{value:e.protonationDifference}})]}}],null,!0)})],1)],t._v(" "),n("v-col",{staticClass:"d-flex justify-space-around",attrs:{cols:"12"}},[n("ShowRestServiceCall",{attrs:{inchi:t.inchi,"inchi-key":t.inchiKey}}),t._v(" "),n("v-btn",{attrs:{depressed:"",color:"primary",target:"_parent",href:t.webSearchURL}},[n("v-icon",{attrs:{left:""}},[t._v("mdi-web")]),t._v("\n Web Search\n ")],1)],1)],2)],1)}),[],!1,null,"43ac61de",null);e.default=component.exports;S()(component,{VAutocomplete:I.a,VAvatar:E.a,VBtn:D.a,VCol:M.a,VDataTable:N.a,VExpandTransition:L.a,VIcon:P.a,VList:O.a,VListItem:A.a,VListItemContent:V.a,VListItemIcon:j.a,VListItemTitle:V.c,VRow:B.a,VSkeletonLoader:R.a})},1418:function(t,e,n){"use strict";n.r(e);n(77);var r=n(30),o=(n(38),n(311)),c=n(309),l=n(1116),d=n(58),m=n(16),h=n(54),f=n(307),v={components:{ActivityChart:l.default},mixins:[o.a,c.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,isParent:!1,prefName:void 0,parentChemblID:void 0,allFamilyIDs:[],includeAlternativeForms:[!0,!0,!0]}},computed:{charts:function(){return[{title:"Bioactivity Summary",querystring:"molecule_chembl_id:(".concat(this.idsForQueries[0].map((function(t){return'"'.concat(t,'"')})).join(" OR "),")"),browseAllButonText:this.thereAreAltForms?"Explore all related Activities".concat(this.includeAlternativeForms[0]?" (Including alt. forms)":" (Excluding alt. forms)"):"Explore all related Activities",entityID:m.a.Activity.entityID,datasetDescriptionText:"Activities ".concat(this.genericDatasetDescriptionTexts[0]),esAggField:"standard_type"},{title:"Assay Summary",querystring:"_metadata.related_compounds.all_chembl_ids:(".concat(this.idsForQueries[1].map((function(t){return'"'.concat(t,'"')})).join(" OR "),")"),browseAllButonText:this.thereAreAltForms?"Explore all related Assays".concat(this.includeAlternativeForms[1]?" (Including alt. forms)":" (Excluding alt. forms)"):"Explore all related Assays",entityID:m.a.Assay.entityID,datasetDescriptionText:"Assays ".concat(this.genericDatasetDescriptionTexts[1]),esAggField:"_metadata.assay_generated.type_label"},{title:"Target Summary",querystring:"_metadata.related_compounds.all_chembl_ids:(".concat(this.idsForQueries[2].map((function(t){return'"'.concat(t,'"')})).join(" OR "),")"),browseAllButonText:this.thereAreAltForms?"Explore all related Targets".concat(this.includeAlternativeForms[2]?" (Including alt. forms)":" (Excluding alt. forms)"):"Explore all related Targets",entityID:m.a.Target.entityID,datasetDescriptionText:"Targets ".concat(this.genericDatasetDescriptionTexts[2]),esAggField:"_metadata.protein_classification.l1"}]},numAltForms:function(){return this.allFamilyIDs.length-1},thereAreAltForms:function(){return this.numAltForms>0},prefNameText:function(){return null!=this.prefName?" (".concat(this.prefName,")"):""},idsForQueries:function(){var t=this;return this.includeAlternativeForms.map((function(e){return e?t.isParent?t.allFamilyIDs:[t.chemblID,t.parentChemblID]:[t.chemblID]}))},genericDatasetDescriptionTexts:function(){var t=this;return this.includeAlternativeForms.map((function(e){return t.thereAreAltForms?e?t.isParent?"related to compound ".concat(t.chemblID).concat(t.prefNameText," and its ").concat(t.allFamilyIDs.length-1," alternative forms."):"related to compound ".concat(t.chemblID).concat(t.prefNameText," and its parent (").concat(t.parentChemblID,")."):"related to compound ".concat(t.chemblID).concat(t.prefNameText,"."):""}))},altFormsDataTexts:function(){var t=this;return this.includeAlternativeForms.map((function(e){return e?t.isParent?"Showing data from ".concat(t.chemblID).concat(t.prefNameText," and its ").concat(t.allFamilyIDs.length-1," alternative forms."):"Showing data from ".concat(t.chemblID).concat(t.prefNameText," and its parent (").concat(t.parentChemblID,")."):"Showing data from ".concat(t.chemblID).concat(null!=t.prefName?" (".concat(t.prefName,")"):""," only.")}))},customNoDataTexts:function(){var t=this,e=this.includeAlternativeForms.map((function(e){return"No data available for compound ".concat(t.chemblID).concat(t.prefNameText," ").concat(e?"(including alternative forms)":"",".")}));return e[2]="No target classification data available for compound ".concat(this.chemblID," (all may be non-protein targets)"),e}},mounted:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=d.a.getIndexNameFromEntityID(m.a.Compound.entityID),r=["pref_name","molecule_hierarchy.parent_chembl_id","_metadata.hierarchy.all_family"],e.next=5,h.a.getESDocument(n,t.chemblID,r);case 5:o=e.sent,c=o.data._source,t.prefName=f.a.getPropertyPalue(c,"pref_name",void 0,!0),t.parentChemblID=f.a.getPropertyPalue(c,"molecule_hierarchy.parent_chembl_id",void 0,!0),t.isParent=t.parentChemblID===t.chemblID||null==t.parentChemblID,l=f.a.getPropertyPalue(c,"_metadata.hierarchy.all_family",[]),t.allFamilyIDs=l.map((function(t){return t.chembl_id})),t.allFamilyIDs=null==t.allFamilyIDs?[]:t.allFamilyIDs,t.loading=!1,e.next=21;break;case 16:e.prev=16,e.t0=e.catch(0),t.loading=!1,t.showError=!0,t.errorMsg=e.t0;case 21:case"end":return e.stop()}}),e,null,[[0,16]])})))()}},y=(n(1322),n(4)),_=n(7),w=n.n(_),k=n(301),x=n(25),T=n(885),C=n(886),S=n(899),I=n(1128),component=Object(y.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[t.showError?n("v-card-text",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):n("v-card-text",[n("v-row",{attrs:{dense:""}},t._l(t.charts,(function(e,r){return n("v-col",{key:e.title,attrs:{cols:"12",sm:"6",md:"4"}},[t.loading?n("v-skeleton-loader",{attrs:{type:"card"}}):[t.thereAreAltForms?n("div",[n("v-switch",{attrs:{label:"Include data from Alt. Forms",dense:""},model:{value:t.includeAlternativeForms[r],callback:function(e){t.$set(t.includeAlternativeForms,r,e)},expression:"includeAlternativeForms[index]"}}),t._v(" "),n("div",{staticClass:"text-caption"},[t._v("\n "+t._s(t.altFormsDataTexts[r])+"\n ")])],1):t._e(),t._v(" "),n("ActivityChart",{attrs:{"chembl-i-d":t.chemblID,title:e.title,querystring:e.querystring,"browse-all-buton-text":e.browseAllButonText,"entity-i-d":e.entityID,"dataset-description-text":e.datasetDescriptionText,"es-agg-field":e.esAggField,"custom-no-data-text":t.customNoDataTexts[r]}})]],2)})),1)],1)],1)],1)}),[],!1,null,"a2d791e6",null);e.default=component.exports;w()(component,{VCard:k.a,VCardText:x.c,VCol:T.a,VRow:C.a,VSkeletonLoader:S.a,VSwitch:I.a})},1419:function(t,e,n){"use strict";n.r(e);n(8),n(63),n(12),n(44),n(55),n(24),n(34),n(35),n(6),n(33);var r=n(88),o=n(311),c=n(309),l=n(58),d=n(16),m=n(54),h=n(307),f=n(1168),v=n(906),y=n(1169);function _(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var k={components:{ItemsCarousel:f.default,AlternativeFormCard:y.default},mixins:[o.a,c.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,parentChemblID:void 0,childrenChemblIDs:[]}},computed:{thereAreChildren:function(){return this.childrenChemblIDs.length>0},browseAllURL:function(){var t='molecule_hierarchy.parent_chembl_id:("'.concat(this.parentChemblID,'") OR molecule_chembl_id:("').concat(this.parentChemblID,'")^100');return v.a.buildURLForEntityBrowser(d.a.Compound.entityID,t,"filter")}},mounted:function(){var t=this,e=l.a.getIndexNameFromEntityID(d.a.Compound.entityID);m.a.getESDocument(e,this.chemblID,["molecule_hierarchy.parent_chembl_id","_metadata.hierarchy.all_family"]).then((function(e){var n=e.data._source,r=h.a.getPropertyPalue(n,"molecule_hierarchy.parent_chembl_id",void 0,!0);null==r&&(r=t.chemblID);var o,c=[],l=_(h.a.getPropertyPalue(n,"_metadata.hierarchy.all_family",[]));try{for(l.s();!(o=l.n()).done;){var d=o.value.chembl_id;d!==r&&c.push(d)}}catch(t){l.e(t)}finally{l.f()}var m=t.chemblID;c.sort((function(t,e){return t===m?-1:0})),t.childrenChemblIDs=c,t.parentChemblID=r,t.loading=!1})).catch((function(e){r.a.dispatchRequestErrorNotification(e,t.$store.dispatch,"There was an error while loading the alternative forms hierarchy for ".concat(t.chemblID))}))}},x=(n(1324),n(4)),T=n(7),C=n.n(T),S=n(293),I=n(301),E=n(25),D=n(885),M=n(294),N=n(886),L=n(899),component=Object(x.a)(k,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-row",{staticClass:"main-row"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-col",{attrs:{cols:"12"}},[t.loading?n("v-skeleton-loader",{attrs:{type:"card"}}):[n("v-card",[n("v-card-title",[t._v("Alternative forms of compound "+t._s(t.chemblID))]),t._v(" "),n("v-card-text",[n("div",{staticClass:"d-flex flex-column align-center"},[n("div",{staticClass:"text-caption"},[t._v("\n Click the button below to see the parent and its alternative\n forms in a new page.\n "),n("br"),t._v(" "),n("br")]),t._v(" "),n("v-btn",{attrs:{small:"",depressed:"",color:"primary",href:t.browseAllURL,target:"_parent"}},[t._v("\n Browse All\n ")]),t._v(" "),n("br")],1),t._v(" "),n("v-divider")],1),t._v(" "),n("v-card-text",[n("v-row",[n("v-col",{attrs:{cols:"12",sm:"4",md:"3",xl:"2"}},[n("b",[t._v("Parent:")]),t._v(" "),n("br"),n("br"),t._v(" "),n("AlternativeFormCard",{attrs:{"chembl-i-d":t.parentChemblID,"queried-chembl-i-d":t.chemblID}})],1),t._v(" "),t.thereAreChildren?n("v-col",{attrs:{cols:"12",sm:"8",md:"9",xl:"10"}},[n("b",[t._v("Alternative Forms:")]),t._v(" "),n("br"),n("br"),t._v(" "),n("ItemsCarousel",{attrs:{items:t.childrenChemblIDs,odd:""},scopedSlots:t._u([{key:"carouselItem",fn:function(e){var r=e.item;return[n("AlternativeFormCard",{attrs:{"chembl-i-d":r,"queried-chembl-i-d":t.chemblID}})]}}],null,!1,3068398470)})],1):t._e()],1)],1)],1)]],2)],1)}),[],!1,null,"046dc9c8",null);e.default=component.exports;C()(component,{VBtn:S.a,VCard:I.a,VCardText:E.c,VCardTitle:E.d,VCol:D.a,VDivider:M.a,VRow:N.a,VSkeletonLoader:L.a})},1420:function(t,e,n){"use strict";n.r(e);var r=n(16),o=n(58),c=n(54),l=n(307),d=n(911),m=n(311),h=n(309),f=n(907),v={components:{TextToClipboard:d.a},mixins:[m.a,h.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,biocomponents:void 0,headers:[{text:"Description",value:"description"},{text:"Organism",value:"organism"},{text:"Type",value:"component_type"},{text:"Sequence",value:"sequence"}],options:{itemsPerPage:5,sortBy:["priority"],sortDesc:[!0]}}},computed:{chemblFTPBaseURL:function(){return"https://ftp.ebi.ac.uk/pub/databases/chembl/ChEMBLdb/latest"},defaultNullTextValue:function(){return f.a.DefaultNullTextValue}},mounted:function(){var t=this,e=r.a.Compound.entityID,n=o.a.getIndexNameFromEntityID(e);c.a.getESDocument(n,this.chemblID,["biotherapeutic.biocomponents"]).then((function(e){var n=e.data._source;t.biocomponents=l.a.getPropertyPalue(n,"biotherapeutic.biocomponents",[]),t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e.message}))}},y=(n(1326),n(4)),_=n(7),w=n.n(_),k=n(301),x=n(25),T=n(1872),component=Object(y.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[n("v-card-text",[t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):t._e(),t._v(" "),n("v-data-table",{attrs:{headers:t.headers,items:t.biocomponents,loading:t.loading,options:t.options},scopedSlots:t._u([{key:"item.description",fn:function(e){var n=e.item;return[t._v("\n "+t._s(null==n.description?t.defaultNullTextValue:n.description)+"\n ")]}},{key:"item.organism",fn:function(e){var n=e.item;return[t._v("\n "+t._s(null==n.organism?t.defaultNullTextValue:n.organism)+"\n ")]}},{key:"item.component_type",fn:function(e){var n=e.item;return[t._v("\n "+t._s(null==n.component_type?t.defaultNullTextValue:n.component_type)+"\n ")]}},{key:"item.sequence",fn:function(t){var e=t.item;return[n("TextToClipboard",{attrs:{text:e.sequence}})]}}],null,!0)})],1)],1)],1)}),[],!1,null,"e204d59e",null);e.default=component.exports;w()(component,{VCard:k.a,VCardText:x.c,VDataTable:T.a})},1421:function(t,e,n){"use strict";n.r(e);var r=n(58),o=n(311),c=n(309),l=n(947),d=n(943),m=n(16),h={components:{ChEMBLDataTable:d.a},mixins:[o.a,c.a,l.a],props:{chemblID:{type:String,default:function(){}},storeModuleName:{type:String,default:function(){return"drug_indications_info"}}},data:function(){return{propertiesGroups:{1:{id:"report_card_table",selected:!0,allHeaders:[]}},entityID:m.a.DrugIndication.entityID,customDataRepresentationParams:{possiblePageSizes:[5,10,20],itemsPerPage:5},subsetHumanDescription:"Indications for compound ".concat(this.chemblID)}},computed:{starterParams:function(){var t={query:{bool:{must:[{terms:{"drug_indication._metadata.all_molecule_chembl_ids":[this.chemblID]}}]}}},e={chemblID:this.chemblID,propertiesGroups:this.propertiesGroups,initialQuery:t,indexName:r.a.getIndexNameFromEntityID(m.a.DrugIndication.entityID),initialSort:["drug_indication.max_phase_for_ind"],initialSortDesc:[!0]};return e}}},f=n(4),v=n(7),y=n.n(v),_=n(885),w=n(886),component=Object(f.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-row",[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-col",{attrs:{cols:"12"}},[n("ChEMBLDataTable",{attrs:{"dataset-state":t.datasetState,"store-module-name":t.storeModuleName,"in-report-card":!0}})],1)],1)}),[],!1,null,null,null);e.default=component.exports;y()(component,{VCol:_.a,VRow:w.a})},1422:function(t,e,n){"use strict";n.r(e);var r=n(58),o=n(311),c=n(309),l=n(947),d=n(943),m=n(16),h={components:{ChEMBLDataTable:d.a},mixins:[o.a,c.a,l.a],props:{chemblID:{type:String,default:function(){}},storeModuleName:{type:String,default:function(){return"drug_mechanisms_info"}}},data:function(){return{propertiesGroups:{1:{id:"report_card_table",selected:!0,allHeaders:[]}},entityID:m.a.DrugMechanism.entityID,customDataRepresentationParams:{possiblePageSizes:[5,10,20],itemsPerPage:5},subsetHumanDescription:"Drug Mechanisms for compound ".concat(this.chemblID)}},computed:{starterParams:function(){var t={query:{bool:{must:[{terms:{"mechanism_of_action._metadata.all_molecule_chembl_ids":[this.chemblID]}}]}}},e={chemblID:this.chemblID,propertiesGroups:this.propertiesGroups,initialQuery:t,indexName:r.a.getIndexNameFromEntityID(m.a.DrugMechanism.entityID),initialSort:["mechanism_of_action.max_phase"],initialSortDesc:[!0]};return e}}},f=n(4),v=n(7),y=n.n(v),_=n(885),w=n(886),component=Object(f.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-row",[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-col",{attrs:{cols:"12"}},[n("ChEMBLDataTable",{attrs:{"dataset-state":t.datasetState,"store-module-name":t.storeModuleName,"in-report-card":!0}})],1)],1)}),[],!1,null,null,null);e.default=component.exports;y()(component,{VCol:_.a,VRow:w.a})},1423:function(t,e,n){"use strict";n.r(e);var r=n(58),o=n(311),c=n(309),l=n(947),d=n(943),m=n(16),h={components:{ChEMBLDataTable:d.a},mixins:[o.a,c.a,l.a],props:{chemblID:{type:String,default:function(){}},storeModuleName:{type:String,default:function(){return"drug_warning_info"}}},data:function(){return{propertiesGroups:{1:{id:"report_card_table",selected:!0,allHeaders:[]}},entityID:m.a.DrugWarning.entityID,customDataRepresentationParams:{possiblePageSizes:[5,10,20],itemsPerPage:5},subsetHumanDescription:"Warnings for compound ".concat(this.chemblID)}},computed:{starterParams:function(){var t={query:{bool:{must:[{terms:{"drug_warning._metadata.all_molecule_chembl_ids":[this.chemblID]}}]}}},e={chemblID:this.chemblID,propertiesGroups:this.propertiesGroups,initialQuery:t,indexName:r.a.getIndexNameFromEntityID(m.a.DrugWarning.entityID)};return e}}},f=n(4),v=n(7),y=n.n(v),_=n(885),w=n(886),component=Object(f.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-row",[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-col",{attrs:{cols:"12"}},[n("ChEMBLDataTable",{attrs:{"dataset-state":t.datasetState,"store-module-name":t.storeModuleName,"in-report-card":!0}})],1)],1)}),[],!1,null,null,null);e.default=component.exports;y()(component,{VCol:_.a,VRow:w.a})},1424:function(t,e,n){"use strict";n.r(e);var r=n(16),o=n(58),c=n(54),l=n(307),d=n(911),m=n(311),h=n(309),f={components:{TextToClipboard:d.a},mixins:[m.a,h.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,helmNotation:void 0}},computed:{chemblFTPBaseURL:function(){return"https://ftp.ebi.ac.uk/pub/databases/chembl/ChEMBLdb/latest"}},mounted:function(){var t=this,e=r.a.Compound.entityID,n=o.a.getIndexNameFromEntityID(e);c.a.getESDocument(n,this.chemblID,["helm_notation"]).then((function(e){var n=e.data._source;t.helmNotation=l.a.getPropertyPalue(n,"helm_notation"),t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e.message}))}},v=(n(1330),n(4)),y=n(7),_=n.n(y),w=n(301),k=n(25),x=n(294),T=n(899),component=Object(v.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[t.loading?n("v-card-text",[n("v-skeleton-loader",{attrs:{type:"paragraph"}})],1):t.showError?n("v-card-text",[n("div",{staticClass:"text-caption error--text"},[t._v("Error: "+t._s(t.errorMsg)+".")])]):n("v-card-text",[n("TextToClipboard",{attrs:{text:t.helmNotation,title:"HELM Notation:"}}),t._v(" "),n("v-divider"),t._v(" "),n("p",[t._v("\n The ChEMBL HELM monomer library is available to download\n "),n("a",{attrs:{target:"_parent",href:t.chemblFTPBaseURL}},[t._v("here")]),t._v(".\n ")]),t._v(" "),n("p",[t._v("\n For more details about HELM Notation, please visit the\n "),n("a",{attrs:{target:"_parent",href:"https://helmmonomer.org/scilligence/monomers/Home.aspx"}},[t._v("HELM Homepage")]),t._v(".\n ")])],1)],1)],1)}),[],!1,null,"01d7ca65",null);e.default=component.exports;_()(component,{VCard:w.a,VCardText:k.c,VDivider:x.a,VSkeletonLoader:T.a})},1425:function(t,e,n){"use strict";n.r(e);n(15),n(12),n(8),n(6),n(13),n(11),n(38);var r=n(1),o=(n(77),n(30)),c=n(311),l=n(309),d=n(1117),m=n(58),h=n(16),f=n(54),v=n(307),y=n(906),_=n(1191),w=n(1158);function k(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function x(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?k(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):k(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var T={components:{StackedHistogram:_.default,HistogramSettings:w.default},mixins:[c.a,l.a,d.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{prefName:void 0,entityID:h.a.Document.entityID,categoriesField:"year",xPropertyLabel:"Year",subcategoriesLabel:"Journal",minInterval:1,currentInterval:1,intervalStep:1}},computed:{allDataQuerystring:function(){return"_metadata.related_compounds.all_chembl_ids:".concat(this.chemblID)},aggQuery:function(){return{size:0,query:{query_string:{query:this.allDataQuerystring}},aggs:{years:{histogram:{field:this.categoriesField,interval:this.currentInterval},aggs:{journals:{terms:{field:"journal",size:10,missing:this.missingLabel}}}}}}},linkToAllText:function(){return"Documents related to ".concat(this.idText," (").concat(this.numItems," items)")},datasetDescriptionText:function(){return"Documents related to ".concat(this.idText)},idText:function(){return null!=this.prefName?"".concat(this.chemblID," (").concat(this.prefName,")"):this.chemblID},linkToAllData:function(){return y.a.buildURLForEntityBrowser(h.a.Document.entityID,this.allDataQuerystring,"querystring",this.datasetDescriptionText)},showHistogramSettings:function(){return!this.isMobile&&this.maxInterval>1}},methods:{calculateInitialInterval:function(){var t=this.maxXValue-this.minXValue;if(this.maxInterval=Math.max(Math.ceil(t/2),1),this.$vuetify.breakpoint.lg||this.$vuetify.breakpoint.xl)this.currentInterval=1;else{var e;e=this.$vuetify.breakpoint.md?10:this.$vuetify.breakpoint.sm?5:3;var n=Math.ceil(t/e);this.currentInterval=Math.max(Math.min(this.maxInterval,n),this.minInterval)}},loadInitialDetails:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=m.a.getIndexNameFromEntityID(h.a.Compound.entityID),e.next=4,f.a.getESDocument(n,t.chemblID,["pref_name"]);case 4:return r=e.sent,o=r.data._source,t.prefName=v.a.getPropertyPalue(o,"pref_name",void 0,!0),c=m.a.getIndexNameFromEntityID(h.a.Document.entityID),e.next=10,f.a.getESData(c,t.countQuery);case 10:return l=e.sent,t.numItems=l.data.es_response.hits.total.value,e.next=14,f.a.getESData(c,t.minMaxQuery);case 14:d=e.sent,t.minXValue=d.data.es_response.aggregations[t.minAggName].value,t.maxXValue=d.data.es_response.aggregations[t.maxAggName].value,t.calculateInitialInterval(),t.initialLoad=!1,t.loadHistogramData(),e.next=27;break;case 22:e.prev=22,e.t0=e.catch(0),t.initialLoad=!1,t.showError=!0,t.errorMsg=e.t0;case 27:case"end":return e.stop()}}),e,null,[[0,22]])})))()},loadHistogramData:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,r,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loadingHistogramData=!0,n=m.a.getIndexNameFromEntityID(h.a.Document.entityID),e.prev=2,e.next=5,f.a.getESData(n,t.aggQuery);case 5:return r=e.sent,o=r.data.es_response.aggregations.years.buckets,t.histogramData=x(x({},t.parseStackedHistogramData(o)),{},{xPropertyLabel:t.xPropertyLabel,subcategoriesLabel:t.subcategoriesLabel}),e.next=10,f.a.getESData(n,t.noCategoryQuery);case 10:c=e.sent,t.numItemsWithNoCategory=c.data.es_response.hits.total.value,t.loadingHistogramData=!1,e.next=20;break;case 15:e.prev=15,e.t0=e.catch(2),t.loadingHistogramData=!1,t.showHistogramDataError=!0,t.histogramErrorMsg=e.t0;case 20:case"end":return e.stop()}}),e,null,[[2,15]])})))()},parseStackedHistogramData:function(t){for(var e=this,n=[],i=0;i<t.length;i++){var r=t[i],o=r.key,label=void 0,c=void 0,l=void 0;if(1===this.currentInterval)label=o,c="_metadata.related_compounds.all_chembl_ids:(".concat(this.chemblID,") AND year:(").concat(o,")"),l="Documents related to ".concat(this.idText," in ").concat(o);else{var d=i+1<t.length?t[i+1].key:this.maxXValue;label=i+1<t.length?"[".concat(o,", ").concat(d,")"):"[".concat(o,", ").concat(d,"]");var m=i+1<t.length?"[".concat(o," TO ").concat(d,"}"):"[".concat(o," TO ").concat(d,"]");c="_metadata.related_compounds.all_chembl_ids:(".concat(this.chemblID,") AND year:").concat(m),l="Documents related to ".concat(this.idText," from ").concat(o," to before ").concat(d)}var link=y.a.buildURLForEntityBrowser(h.a.Document.entityID,c,"querystring",l),f={label:label,position:i,count:r.doc_count,querystring:c,datasetDescriptionText:l,link:link,categories:this.parseSubCategories(r.journals.buckets,c,l,r.journals.sum_other_doc_count)};n.push(f)}var v=n.map((function(t){return t.categories})).flat(),_=v.some((function(t){return t.label===e.missingLabel}));return{categories:n,legend:v.reduce((function(t,n){var r,o,label=n.label,c=n.count;if(null!=t[label])return t[label].count+=c,t;label===e.missingLabel?(r="Documents related to ".concat(e.idText," with no journal"),o="_metadata.related_compounds.all_chembl_ids:(".concat(e.chemblID,") AND NOT _exists_:journal")):(r="Documents related to ".concat(e.idText," from the journal ").concat(label),o="_metadata.related_compounds.all_chembl_ids:(".concat(e.chemblID,') AND journal:"').concat(label,'"')),label===e.otherLabel&&(o="_metadata.related_compounds.all_chembl_ids:(".concat(e.chemblID,") AND NOT journal:(").concat(v.filter((function(t){return t.label!==e.missingLabel})).map((function(t){return'"'.concat(t.label,'"')})).join(" OR "),")"),_&&(o="".concat(o," AND _exists_:journal")));var link=y.a.buildURLForEntityBrowser(h.a.Document.entityID,o,"querystring",r);return t[label]={label:label,link:link,count:c},t}),{})}},parseSubCategories:function(t,e,n,r){for(var o=this,c=[],i=0;i<t.length;i++){var l=t[i],d=void 0,m=void 0;l.key===this.missingLabel?(d="".concat(n," with no journal"),m="".concat(e," AND NOT _exists_:journal")):(d="".concat(n," from the journal ").concat(l.key),m="".concat(e,' AND journal:"').concat(l.key,'"'));var link=y.a.buildURLForEntityBrowser(h.a.Document.entityID,m,"querystring",d),f={label:l.key,count:l.doc_count,querystring:m,datasetDescriptionText:d,link:link};c.push(f)}if(r>0){var v="".concat(n," from other journals"),_="".concat(e," AND NOT journal:(").concat(t.filter((function(b){return b.key!==o.missingLabel})).map((function(b){return'"'.concat(b.key,'"')})).join(" OR "),")");t.some((function(b){return b.key===o.missingLabel}))&&(_="".concat(_," AND _exists_:journal"));var w=y.a.buildURLForEntityBrowser(h.a.Document.entityID,_,"querystring",v),k={label:this.otherLabel,count:r,querystring:_,datasetDescriptionText:v,link:w};c.push(k)}return c.sort((function(a,b){return b.count-a.count})),c}}},C=(n(1332),n(4)),S=n(7),I=n.n(S),E=n(301),D=n(25),M=n(885),N=n(294),L=n(240),P=n(886),O=n(899),component=Object(C.a)(T,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[t.initialLoad?n("v-card-text",[n("v-skeleton-loader",{attrs:{type:"card"}})],1):t.showError?n("v-card-text",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):t.noDataAvailable?n("v-card-text",[n("div",{staticClass:"d-flex justify-center"},[t._v("\n No data available. (Documents related to "+t._s(t.idText)+")\n ")]),t._v(" "),t.numItemsWithNoCategory>0?n("div",[n("br"),t._v(" "),n("a",{attrs:{href:t.linkToItemsWithNoCategory,target:"_parent"}},[t._v("\n "+t._s(t.itemsWithNoCategoryLinkText)+"\n ")])]):t._e()]):n("v-card-text",[t.showHistogramSettings?[n("HistogramSettings",{attrs:{"current-interval":t.currentInterval,"min-interval":t.minInterval,"max-interval":t.maxInterval,"loading-histogram-data":t.loadingHistogramData,"disable-less-bars":t.disableLessBars,"disable-more-bars":t.disableMoreBars},on:{"increase-interval":t.increaseInterval,"decrease-interval":t.decreaseInterval,"update-interval":t.updateInterval}}),t._v(" "),n("br"),t._v(" "),n("v-divider")]:t._e(),t._v(" "),n("div",[n("v-row",{attrs:{dense:""}},[n("v-col",{attrs:{cols:"12"}},[n("div",{staticClass:"d-flex justify-center"},[n("a",{attrs:{href:t.linkToAllData,target:"_parent"}},[t._v(t._s(t.linkToAllText))])])]),t._v(" "),n("v-col",{attrs:{cols:"12"}},[t.loadingHistogramData?n("div",{staticClass:"d-flex justify-center"},[n("v-progress-circular",{attrs:{color:"primary",size:50,indeterminate:""}})],1):t.showHistogramDataError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.histogramErrorMsg)+".\n ")]):n("div",{staticClass:"histogram-container"},[n("StackedHistogram",{attrs:{"histogram-data":t.histogramData}})],1)])],1)],1),t._v(" "),t.numItemsWithNoCategory>0?n("div",[n("br"),t._v(" "),n("a",{attrs:{href:t.linkToItemsWithNoCategory,target:"_parent"}},[t._v("\n "+t._s(t.itemsWithNoCategoryLinkText)+"\n ")])]):t._e()],2)],1)],1)}),[],!1,null,"1b00f5fd",null);e.default=component.exports;I()(component,{VCard:E.a,VCardText:D.c,VCol:M.a,VDivider:N.a,VProgressCircular:L.a,VRow:P.a,VSkeletonLoader:O.a})},1426:function(t,e,n){"use strict";n.r(e);n(63),n(44),n(55),n(24),n(34),n(35),n(33),n(15),n(12),n(235);var r=n(45),o=(n(182),n(8),n(6),n(13),n(1334),n(1)),c=(n(29),n(31),n(11),n(38),n(1282)),l=n(1283),d=n(1284),m=n(1285);function h(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var _={components:{MetabolismNode:c.default,MetabolismLink:l.default,MetabolismNodeTooltip:d.default,MetabolismLinkTooltip:m.default},props:{graphData:{type:Object,default:function(){return{nodes:[],edges:[]}}}},data:function(){return{baseFontSize:12,nodeRectToAreaRectRatio:.5,zoomFactor:1.04,zoomDirection:1,currentWidthScale:1,currenteHeightScale:1,isPanning:!1,startX:0,startY:0,viewBoxX:0,viewBoxY:0,viewBoxWidth:100,viewBoxHeight:100,initialPinchDistance:null,initialViewBoxWidth:100,initialViewBoxHeight:100,selectedNode:null,linkCurvatureMultiplier:40,selectedLink:null,nodeTooltipWidth:300,nodeTooltipHeight:300,linkTooltipWidth:300,linkTooltipHeight:300}},computed:{viewBox:function(){return"".concat(this.viewBoxX," ").concat(this.viewBoxY," ").concat(this.viewBoxWidth," ").concat(this.viewBoxHeight)},nodesIndex:function(){return this.graphData.nodes.reduce((function(t,e){return t[e.id]=e,t}),{})},edgesIndex:function(){var t=this.graphData.edges.reduce((function(t,e){return null==t[e.source]&&(t[e.source]={}),null==t[e.source][e.destination]&&(t[e.source][e.destination]=[]),t[e.source][e.destination].push(e),t}),{});return t},rootID:function(){var t=this.graphData.edges.map((function(t){return t.destination}));return this.graphData.edges.map((function(t){return t.source})).filter((function(source){return!t.includes(source)}))[0]},nodesPerLevels:function(){for(var t=this,e=this.nodesIndex[this.rootID],n=0,r=Object(o.a)({},n,[e]),c=r[n];c.length>0;){var l=c.flatMap((function(e){return Object.keys(t.edgesIndex[e.id]||{}).map((function(e){return t.nodesIndex[e]}))}));if(0===l.length)break;l=l.filter((function(t,e,n){return e===n.findIndex((function(e){return e.id===t.id}))})),r[n+=1]=l,c=l}return r},treeRecursive:function(){var t=this,e=function e(n){var r=Object.keys(t.edgesIndex[n.id]||{}).map((function(r){var o=y({level:n.level+1},t.nodesIndex[r]);return e(o)}));return{id:n.id,label:n.label,children:r,level:n.level}}(y({level:0},this.nodesIndex[this.rootID]));return e},treeHeight:function(){return Object.keys(this.nodesPerLevels).length},treeWidth:function(){return Math.max.apply(Math,Object(r.a)(Object.values(this.nodesPerLevels).map((function(t){return t.length}))))},canvasWidth:function(){return"100%"},canvasHeight:function(){return this.isMobile?"500px":"700px"},isMobile:function(){return this.$vuetify.breakpoint.xs},reservedNodeWidth:function(){return this.isMobile?100:200},reservedNodeHeight:function(){return this.isMobile?100:200},preparedLinks:function(){var t=this,e={},n=this.graphData.edges.map((function(n){null==e[n.source]&&(e[n.source]={}),null==e[n.source][n.destination]&&(e[n.source][n.destination]=0);var r=e[n.source][n.destination];return e[n.source][n.destination]+=1,{id:"".concat(n.source,"-").concat(n.destination,"-").concat(r),source:{id:n.source,coordinates:{x:t.getNodeX(n.source),y:t.getNodeY(n.source)}},destination:{id:n.destination,coordinates:{x:t.getNodeX(n.destination),y:t.getNodeY(n.destination)}},label:n.label,index:r,numlinksWithSameSourceAndDestination:t.edgesIndex[n.source][n.destination].length,details:n.details}}));return n},nodesGridPositions:function(){var t=0;var e=this.treeRecursive;!function e(n){if(0===n.children.length)n.x=t,t+=1;else{n.children.sort((function(a,b){return b.children.length-a.children.length}));var r,o=h(n.children);try{for(o.s();!(r=o.n()).done;){e(r.value)}}catch(t){o.e(t)}finally{o.f()}var c=n.children[0],l=n.children[n.children.length-1];n.x=(c.x+l.x)/2}n.y=n.level}(e);var n={};return function t(e){n[e.id]={x:e.x,y:e.y};var r,o=h(e.children);try{for(o.s();!(r=o.n()).done;){t(r.value)}}catch(t){o.e(t)}finally{o.f()}}(e),n},treeBoundingBox:function(){var t=this,e=Object.values(this.nodesGridPositions).map((function(e){return e.x*t.reservedNodeWidth})),n=Object.values(this.nodesGridPositions).map((function(e){return e.y*t.reservedNodeHeight})),o=Math.min.apply(Math,Object(r.a)(e)),c=Math.max.apply(Math,Object(r.a)(e))+this.reservedNodeWidth,l=Math.min.apply(Math,Object(r.a)(n));return{x:o,y:l,width:c-o,height:Math.max.apply(Math,Object(r.a)(n))+this.reservedNodeHeight-l}},canvasClasses:function(){return{"can-grab":!this.isPanning,grabbing:this.isPanning}},currentAreaScale:function(){return this.currentWidthScale*this.currenteHeightScale},nodeTooltipLeft:function(){if(null==this.selectedNode)return"0px";var t=(this.getNodeX(this.selectedNode.id)+this.reservedNodeHeight-this.viewBoxX)/this.viewBoxWidth,e=this.$refs.svg.clientWidth,n=t*e,r=n+this.nodeTooltipWidth>e;return"".concat(r?n-this.nodeTooltipWidth:n,"px")},nodeTooltipTop:function(){if(null==this.selectedNode)return"0px";var t=(this.getNodeY(this.selectedNode.id)+this.reservedNodeHeight-this.viewBoxY)/this.viewBoxHeight,e=this.$refs.svg.clientHeight,n=t*e,r=n+this.nodeTooltipHeight>e;return"".concat(r?n-this.nodeTooltipHeight:n,"px")},linkTooltipTop:function(){if(null==this.selectedLink)return"0px";var t=(this.getLinkTooltipY(this.selectedLink)-this.viewBoxY)/this.viewBoxHeight,e=this.$refs.svg.clientHeight,n=t*e,r=n+this.linkTooltipHeight>e;return"".concat(r?n-this.linkTooltipHeight:n,"px")},linkTooltipLeft:function(){if(null==this.selectedLink)return"0px";var t=(this.getLinkTooltipX(this.selectedLink)-this.viewBoxX)/this.viewBoxWidth,e=this.$refs.svg.clientWidth,n=t*e,r=n+this.linkTooltipWidth>e;return"".concat(r?n-this.linkTooltipWidth:n,"px")}},mounted:function(){this.fitGraphToCanvas()},methods:{startTouchPan:function(t){1===t.touches.length?(this.isPanning=!0,this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY):2===t.touches.length&&(this.isPanning=!1,this.initialPinchDistance=this.getPinchDistance(t.touches),this.initialViewBoxWidth=this.viewBoxWidth,this.initialViewBoxHeight=this.viewBoxHeight)},pan:function(t){if(this.isPanning){var e=(t.clientX-this.startX)*(this.viewBoxWidth/this.$refs.svg.clientWidth),n=(t.clientY-this.startY)*(this.viewBoxHeight/this.$refs.svg.clientHeight);this.viewBoxX-=e,this.viewBoxY-=n,this.startX=t.clientX,this.startY=t.clientY}},touchPan:function(t){if(this.isPanning&&1===t.touches.length){var e=(t.touches[0].clientX-this.startX)*(this.viewBoxWidth/this.$refs.svg.clientWidth),n=(t.touches[0].clientY-this.startY)*(this.viewBoxHeight/this.$refs.svg.clientHeight);this.viewBoxX-=e,this.viewBoxY-=n,this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY}else if(2===t.touches.length){var r=this.getPinchDistance(t.touches)/this.initialPinchDistance,o=this.initialViewBoxWidth/r,c=this.initialViewBoxHeight/r,l=(t.touches[0].clientX+t.touches[1].clientX)/2,d=(t.touches[0].clientY+t.touches[1].clientY)/2,m=l/this.$refs.svg.clientWidth,h=d/this.$refs.svg.clientHeight;this.viewBoxX+=(this.viewBoxWidth-o)*m,this.viewBoxY+=(this.viewBoxHeight-c)*h,this.viewBoxWidth=o,this.viewBoxHeight=c}},getPinchDistance:function(t){var e=t[0].clientX-t[1].clientX,n=t[0].clientY-t[1].clientY;return Math.sqrt(e*e+n*n)},getNodeX:function(t){return this.nodesGridPositions[t].x*this.reservedNodeWidth},getNodeY:function(t){return this.nodesGridPositions[t].y*this.reservedNodeHeight},getNodeTooltipX:function(t){return this.getNodeX(t)},getNodeTooltipY:function(t){return this.getNodeY(t)+3*this.reservedNodeHeight/4+10},getLinkTooltipX:function(link){var t=link.numlinksWithSameSourceAndDestination,e=(link.index-(t-1)/2)*this.linkCurvatureMultiplier;return(link.source.coordinates.x+this.reservedNodeWidth/2+(link.destination.coordinates.x+this.reservedNodeWidth/2))/2+e+10},getLinkTooltipY:function(link){var t=link.numlinksWithSameSourceAndDestination,e=(link.index-(t-1)/2)*this.linkCurvatureMultiplier;return(link.source.coordinates.y+this.reservedNodeHeight/2+(link.destination.coordinates.y+this.reservedNodeHeight/2))/2+e+10},handleWheel:function(t){t.preventDefault();var e=t.offsetX,n=t.offsetY,r=t.deltaY;this.zoomDirection=r>0?1/this.zoomFactor:this.zoomFactor;var o=this.$refs.svg.clientWidth,c=this.$refs.svg.clientHeight,l=e/o,d=n/c,m=this.viewBoxWidth*this.zoomDirection,h=this.viewBoxHeight*this.zoomDirection;this.viewBoxX+=(this.viewBoxWidth-m)*l,this.viewBoxY+=(this.viewBoxHeight-h)*d,this.viewBoxWidth=m,this.viewBoxHeight=h,this.currentWidthScale=this.viewBoxWidth/o,this.currenteHeightScale=this.viewBoxHeight/c},startPan:function(t){this.isPanning=!0,this.startX=t.clientX,this.startY=t.clientY},endPan:function(){this.isPanning=!1},fitGraphToCanvas:function(){var t=this.treeBoundingBox,e=t.x,n=t.y,r=t.width,o=t.height,c=this.$refs.svg,l=c.clientWidth,d=c.clientHeight,m=l/d;if(d<l&!(r>l)){this.viewBoxHeight=o,this.viewBoxWidth=o*m;var h=r-this.viewBoxWidth;this.viewBoxX=e+h/2,this.viewBoxY=n}else{this.viewBoxWidth=r,this.viewBoxHeight=r/m;var f=o-this.viewBoxHeight;this.viewBoxX=e,this.viewBoxY=n+f/2}this.currentWidthScale=this.viewBoxWidth/l,this.currenteHeightScale=this.viewBoxHeight/d},resetTooltips:function(){this.selectedNode=null,this.selectedLink=null},showNodeTooltip:function(t){this.selectedNode=t,this.selectedLink=null},showLinkTooltip:function(link){this.selectedLink=link,this.selectedNode=null}}},w=(n(1336),n(4)),k=n(7),x=n.n(k),T=n(293),component=Object(w.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._m(0),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"d-flex justify-center"},[n("v-btn",{attrs:{small:"",outlined:"",color:"primary"},on:{click:t.fitGraphToCanvas}},[t._v("Reset")])],1),t._v(" "),n("br"),t._v(" "),n("div",{on:{wheel:t.handleWheel,mousedown:t.startPan,mousemove:t.pan,mouseup:t.endPan,touchstart:t.startTouchPan,touchmove:t.touchPan,touchend:t.endPan}},[null!=t.selectedNode?n("div",{staticClass:"node-tooltip-container",style:{left:t.nodeTooltipLeft,top:t.nodeTooltipTop}},[n("MetabolismNodeTooltip",{attrs:{node:t.selectedNode},on:{close:t.resetTooltips}})],1):t._e(),t._v(" "),null!=t.selectedLink?n("div",{staticClass:"link-tooltip-container",style:{left:t.linkTooltipLeft,top:t.linkTooltipTop}},[n("MetabolismLinkTooltip",{attrs:{link:t.selectedLink},on:{close:t.resetTooltips}})],1):t._e(),t._v(" "),n("svg",{ref:"svg",staticClass:"graph-canvas",class:t.canvasClasses,attrs:{viewBox:t.viewBox,width:t.canvasWidth,height:t.canvasHeight}},[n("defs",[n("marker",{attrs:{id:"arrowhead",markerWidth:"10",markerHeight:"7",refX:"10",refY:"3.5",orient:"auto",markerUnits:"strokeWidth"}},[n("path",{attrs:{d:"M0,0 L10,3.5 L0,7 Z",stroke:"#00BFA5",fill:"#00BFA5"}})])]),t._v(" "),t._l(t.preparedLinks,(function(link){return n("MetabolismLink",{key:link.id,attrs:{linkID:link.id,source:link.source,destination:link.destination,label:link.label,index:link.index,numlinksWithSameSourceAndDestination:link.numlinksWithSameSourceAndDestination,reservedNodeWidth:t.reservedNodeWidth,reservedNodeHeight:t.reservedNodeHeight,nodeRectToAreaRectRatio:t.nodeRectToAreaRectRatio,baseFontSize:t.baseFontSize,curvatureMultiplier:t.linkCurvatureMultiplier},on:{"link-clicked":function(e){return t.showLinkTooltip(link)}}})})),t._v(" "),t._l(t.graphData.nodes,(function(e){return n("MetabolismNode",{key:e.id,attrs:{x:t.getNodeX(e.id),y:t.getNodeY(e.id),node:e,baseFontSize:t.baseFontSize,reservedNodeWidth:t.reservedNodeWidth,reservedNodeHeight:t.reservedNodeHeight,nodeRectToAreaRectRatio:t.nodeRectToAreaRectRatio},on:{"node-clicked":function(n){return t.showNodeTooltip(e)}}})}))],2)])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",[n("li",[n("b",[t._v("Drag")]),t._v(" to move around the visualization, and "),n("b",[t._v("scroll")]),t._v(" to zoom\n in and out.\n ")]),t._v(" "),n("li",[t._v("Click the "),n("b",[t._v("Reset")]),t._v(" button to return to the initial view.")]),t._v(" "),n("li",[t._v("Click on a "),n("b",[t._v("node")]),t._v(" to view details about the compound.")]),t._v(" "),n("li",[t._v("\n Click on a "),n("b",[t._v("link")]),t._v(" to see details of the metabolism conversion\n between compounds.\n ")])])}],!1,null,"773f3496",null);e.default=component.exports;x()(component,{VBtn:T.a})},1427:function(t,e,n){"use strict";n.r(e);var r=n(311),o=n(309),c=n(933),l=n(16),d=n(58),m=n(54),h=n(1286),f=n(307),v=n(1428),y={components:{MoleculeImage:c.a,MaxPhase:h.default,SynonymsOrTradenames:v.default},mixins:[r.a,o.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,prefName:void 0,molFormula:void 0,molWeight:void 0,molType:void 0,firstApproval:void 0}},computed:{hasPrefName:function(){return null!=this.prefName},hasMolformula:function(){return null!=this.molFormula},hasMolWeight:function(){return null!=this.molWeight},hasFirstApproval:function(){return null!=this.firstApproval}},mounted:function(){var t=this,e=l.a.Compound.entityID,n=d.a.getIndexNameFromEntityID(e);m.a.getESDocument(n,this.chemblID,["pref_name","molecule_properties.full_molformula","molecule_properties.full_mwt","molecule_type","first_approval"]).then((function(e){var n=e.data._source;t.prefName=n.pref_name,t.molFormula=f.a.getPropertyPalue(n,"molecule_properties.full_molformula",void 0,!0),t.molWeight=f.a.getPropertyPalue(n,"molecule_properties.full_mwt",void 0,!0),t.molType=f.a.getPropertyPalue(n,"molecule_type"),t.firstApproval=f.a.getPropertyPalue(n,"first_approval",void 0,!0),t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e}))}},_=(n(1338),n(4)),w=n(7),k=n.n(w),x=n(301),T=n(25),C=n(885),S=n(294),I=n(886),E=n(899),D=n(888),component=Object(_.a)(y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-row",{staticClass:"main-row",attrs:{dense:"","align-content":"start"}},[n("v-spacer"),t._v(" "),n("v-col",{staticClass:"column-1",attrs:{cols:"12",sm:"8",md:"5",lg:"4"}},[n("div",{staticClass:"molecule-img-container"},[n("MoleculeImage",{attrs:{"molecule-chembl-id":t.chemblID,bordered:"","enable-structure-search":"","show-options":!1}})],1)]),t._v(" "),n("v-spacer"),t._v(" "),n("v-col",{staticClass:"column-2",attrs:{cols:"12",md:"7",lg:"8"}},[n("v-card",{attrs:{flat:""}},[t.loading?n("v-card-text",[n("v-skeleton-loader",{attrs:{type:"paragraph, paragraph"}})],1):t.showError?n("v-card-text",[n("div",{staticClass:"text-caption error--text"},[t._v("Error: "+t._s(t.errorMsg)+".")])]):n("v-card-text",[n("v-row",{attrs:{dense:""}},[n("v-col",{attrs:{cols:"12"}},[n("div",[n("b",[t._v("ID:")]),t._v(" "+t._s(t.chemblID)),n("v-divider")],1)]),t._v(" "),n("v-col",{attrs:{cols:"12"}},[n("div",[n("b",[t._v("Name:")]),t._v(" "),t.hasPrefName?n("span",[t._v(t._s(t.prefName))]):n("span",{staticClass:"font-italic"},[t._v("Undefined")]),n("v-divider")],1)]),t._v(" "),n("v-col",{attrs:{cols:"12"}},[n("div",{staticClass:"d-flex"},[n("b",[t._v("Max Phase:")]),t._v(" "),n("span",[n("MaxPhase",{attrs:{"chembl-i-d":t.chemblID}})],1)]),t._v(" "),n("v-divider")],1),t._v(" "),t.hasFirstApproval?n("v-col",{attrs:{cols:"12"}},[n("div",[n("b",[t._v("First Approval: ")]),t._v(" "),n("span",[t._v(" "+t._s(t.firstApproval))]),t._v(" "),n("v-divider")],1)]):t._e(),t._v(" "),t.hasMolformula?n("v-col",{attrs:{cols:"12"}},[n("div",[n("b",[t._v("Molecular Formula: ")]),t._v(" "),n("span",[t._v(" "+t._s(t.molFormula))]),t._v(" "),n("v-divider")],1)]):t._e(),t._v(" "),t.hasMolWeight?n("v-col",{attrs:{cols:"12"}},[n("div",[n("b",[t._v("Molecular Weight: ")]),t._v(" "),n("span",[t._v(" "+t._s(t.molWeight))]),t._v(" "),n("v-divider")],1)]):t._e(),t._v(" "),n("v-col",{attrs:{cols:"12"}},[n("div",[n("b",[t._v("Molecule Type: ")]),t._v(" "),n("span",[t._v(" "+t._s(t.molType))]),t._v(" "),n("v-divider")],1)]),t._v(" "),n("v-col",{attrs:{cols:"12"}},[n("div",[n("SynonymsOrTradenames",{attrs:{"chembl-i-d":t.chemblID}})],1)])],1)],1)],1)],1)],1)],1)}),[],!1,null,"73c5c28c",null);e.default=component.exports;k()(component,{VCard:x.a,VCardText:T.c,VCol:C.a,VDivider:S.a,VRow:I.a,VSkeletonLoader:E.a,VSpacer:D.a})},1428:function(t,e,n){"use strict";n.r(e);n(63),n(12),n(24),n(34),n(35),n(33),n(55),n(11),n(38),n(13),n(8),n(6),n(44),n(912);var r=n(58),o=n(16),c=n(54),l=n(307),d=n(1170),m=n(1256);function h(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var v={components:{SynonymsOrTradeNameList:d.default,CompoundMicroCard:m.default},props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,ownSynonyms:new Set,ownTradeNames:new Set,synonymsFromFamily:{},tradeNamesFromFamily:{},isParent:void 0,parentChemblID:void 0,panel:[0]}},computed:{hasOwnSynonyms:function(){return this.ownSynonyms.size>0},hasOwnTradenames:function(){return this.ownTradeNames.size>0},hasSynonymsFromFamily:function(){return Object.keys(this.synonymsFromFamily).length>0},hasTradeNamesFromFamily:function(){return Object.keys(this.tradeNamesFromFamily).length>0},altFormOrParentLabel:function(){return this.isParent?"Alternative Forms":"Parent"},numOwnSynonyms:function(){return this.ownSynonyms.size},hasNothingToShow:function(){return!(this.hasOwnSynonyms||this.hasOwnTradenames||this.hasSynonymsFromFamily||this.hasTradeNamesFromFamily)},numSynonymsFromFamily:function(){var t=this,e=0;return Object.keys(this.synonymsFromFamily).forEach((function(n){e+=t.synonymsFromFamily[n].length})),e},numOwnTradeNames:function(){return this.ownTradeNames.size},numTradenamesFromFamily:function(){var t=this,e=0;return Object.keys(this.tradeNamesFromFamily).forEach((function(n){e+=t.tradeNamesFromFamily[n].length})),e}},mounted:function(){var t=this,e=o.a.Compound.entityID,n=r.a.getIndexNameFromEntityID(e);c.a.getESDocument(n,this.chemblID,["molecule_synonyms","_metadata.hierarchy.parent.chembl_id","_metadata.hierarchy.children","_metadata.hierarchy.parent.synonyms"]).then((function(e){var n=e.data._source;t.ownSynonyms=new Set(n.molecule_synonyms.filter((function(t){return"TRADE_NAME"!==t.syn_type})).map((function(t){return t.synonyms}))),t.ownTradeNames=new Set(n.molecule_synonyms.filter((function(t){return"TRADE_NAME"===t.syn_type})).map((function(t){return t.synonyms})));var r=l.a.getPropertyPalue(n,"_metadata.hierarchy.parent.chembl_id",null,!0);if(t.parentChemblID=null==r?t.chemblID:r,t.isParent=t.parentChemblID===t.chemblID,t.isParent){var o,c=h(l.a.getPropertyPalue(n,"_metadata.hierarchy.children",[]));try{for(c.s();!(o=c.n()).done;){var d=o.value,m=d.chembl_id,f=new Set(d.synonyms.filter((function(t){return"TRADE_NAME"!==t.syn_type})).map((function(t){return t.synonyms}))),v=t.setDifference(f,t.ownSynonyms);v.size>0&&(t.synonymsFromFamily[m]=Array.from(v));var y=new Set(d.synonyms.filter((function(t){return"TRADE_NAME"===t.syn_type})).map((function(t){return t.synonyms}))),_=t.setDifference(y,t.ownTradeNames);_.size>0&&(t.tradeNamesFromFamily[m]=Array.from(_))}}catch(t){c.e(t)}finally{c.f()}}else{var w=l.a.getPropertyPalue(n,"_metadata.hierarchy.parent.synonyms",[],!0),k=new Set(w.filter((function(t){return"TRADE_NAME"!==t.syn_type})).map((function(t){return t.synonyms}))),x=t.setDifference(k,t.ownSynonyms);x.size>0&&(t.synonymsFromFamily[t.parentChemblID]=Array.from(x));var T=new Set(w.filter((function(t){return"TRADE_NAME"===t.syn_type})).map((function(t){return t.synonyms}))),C=t.setDifference(T,t.ownTradeNames);C.size>0&&(t.tradeNamesFromFamily[t.parentChemblID]=Array.from(C))}t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e}))},methods:{setDifference:function(t,e){var n,r=new Set(t),o=h(e);try{for(o.s();!(n=o.n()).done;){var c=n.value;r.delete(c)}}catch(t){o.e(t)}finally{o.f()}return r}}},y=n(4),_=n(7),w=n.n(_),k=n(294),x=n(895),T=n(896),C=n(897),S=n(898),I=n(878),E=n(899),component=Object(y.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("div",[n("v-skeleton-loader",{attrs:{type:"paragraph"}})],1):t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):t.hasNothingToShow?t._e():n("div",[t._m(0),t._v(" "),n("div",[n("v-expansion-panels",{attrs:{accordion:"",multiple:"",flat:""},model:{value:t.panel,callback:function(e){t.panel=e},expression:"panel"}},[t.hasOwnSynonyms?n("v-expansion-panel",[n("v-expansion-panel-header",[t._v("ChEMBL Synonyms ("+t._s(t.numOwnSynonyms)+"):")]),t._v(" "),n("v-expansion-panel-content",[n("SynonymsOrTradeNameList",{attrs:{texts:Array.from(t.ownSynonyms)}})],1)],1):t._e(),t._v(" "),n("v-expansion-panel",[t.hasSynonymsFromFamily?n("v-expansion-panel-header",[t._v("Synonyms from "+t._s(t.altFormOrParentLabel)+" ("+t._s(t.numSynonymsFromFamily)+"):")]):t._e(),t._v(" "),n("v-expansion-panel-content",[n("v-simple-table",{attrs:{dense:""},scopedSlots:t._u([{key:"default",fn:function(){return[n("tbody",t._l(t.synonymsFromFamily,(function(e,r){return n("tr",{key:r},[n("td",[n("CompoundMicroCard",{attrs:{"chembl-i-d":r}})],1),t._v(" "),n("td",[n("SynonymsOrTradeNameList",{attrs:{texts:e}})],1)])})),0)]},proxy:!0}])})],1)],1),t._v(" "),t.hasOwnTradenames?n("v-expansion-panel",[n("v-expansion-panel-header",[t._v("Trade Names ("+t._s(t.numOwnTradeNames)+"):")]),t._v(" "),n("v-expansion-panel-content",[n("SynonymsOrTradeNameList",{attrs:{texts:Array.from(t.ownTradeNames),tradename:""}})],1)],1):t._e(),t._v(" "),t.hasTradeNamesFromFamily?n("v-expansion-panel",[n("v-expansion-panel-header",[t._v("Trade Names from "+t._s(t.altFormOrParentLabel)+" ("+t._s(t.numTradenamesFromFamily)+"):")]),t._v(" "),n("v-expansion-panel-content",[n("v-simple-table",{attrs:{dense:""},scopedSlots:t._u([{key:"default",fn:function(){return[n("tbody",t._l(t.tradeNamesFromFamily,(function(e,r){return n("tr",{key:r},[n("td",[n("CompoundMicroCard",{attrs:{"chembl-i-d":r,tradename:""}})],1),t._v(" "),n("td",[n("SynonymsOrTradeNameList",{attrs:{texts:e,tradename:""}})],1)])})),0)]},proxy:!0}],null,!1,2891446623)})],1)],1):t._e()],1)],1),t._v(" "),n("v-divider")],1)])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("b",[t._v("Synonyms and Trade Names:")])])}],!1,null,null,null);e.default=component.exports;w()(component,{VDivider:k.a,VExpansionPanel:x.a,VExpansionPanelContent:T.a,VExpansionPanelHeader:C.a,VExpansionPanels:S.a,VSimpleTable:I.a,VSkeletonLoader:E.a})},1429:function(t,e,n){"use strict";n.r(e);var r=n(88),o=n(311),c=n(309),l=n(1169),d=n(58),m=n(16),h=n(54),f=n(307),v={components:{AlternativeFormCard:l.default},mixins:[o.a,c.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,dosedIngredientID:void 0,activeIngredientID:void 0}},mounted:function(){var t=this,e=d.a.getIndexNameFromEntityID(m.a.Compound.entityID);h.a.getESDocument(e,this.chemblID,["molecule_hierarchy"]).then((function(e){var n=e.data._source;t.activeIngredientID=f.a.getPropertyPalue(n,"molecule_hierarchy.active_chembl_id",void 0,!0),t.dosedIngredientID=f.a.getPropertyPalue(n,"molecule_hierarchy.molecule_chembl_id",void 0,!0),t.loading=!1})).catch((function(e){r.a.dispatchRequestErrorNotification(e,t.$store.dispatch,"There was an error while loading the alternative forms hierarchy for ".concat(t.chemblID))}))}},y=(n(1340),n(4)),_=n(7),w=n.n(_),k=n(301),x=n(25),T=n(885),C=n(904),S=n(294),I=n(886),E=n(899),D=n(888),component=Object(y.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),t.loading?n("v-skeleton-loader",{attrs:{type:"card"}}):[n("v-card-title",[t._v("Prodrug Information for "+t._s(t.chemblID))]),t._v(" "),n("v-divider"),t._v(" "),n("v-container",[n("v-row",[n("v-spacer"),t._v(" "),n("v-col",{staticClass:"d-flex justify-center",attrs:{cols:"12",sm:"5",md:"4"}},[n("div",{staticClass:"info-item"},[n("b",[t._v("Dosed Ingredient:")]),t._v(" "),n("br"),n("br"),t._v(" "),n("AlternativeFormCard",{attrs:{"chembl-i-d":t.dosedIngredientID,"queried-chembl-i-d":t.chemblID}})],1)]),t._v(" "),n("v-spacer"),t._v(" "),n("v-col",{staticClass:"d-flex justify-center",attrs:{cols:"12",sm:"5",md:"4"}},[n("div",{staticClass:"info-item"},[n("b",[t._v("Active Ingredient:")]),t._v(" "),n("br"),n("br"),t._v(" "),n("AlternativeFormCard",{attrs:{"chembl-i-d":t.activeIngredientID,"queried-chembl-i-d":t.chemblID}})],1)]),t._v(" "),n("v-spacer")],1)],1)]],2)}),[],!1,null,"fbb409be",null);e.default=component.exports;w()(component,{VCard:k.a,VCardTitle:x.d,VCol:T.a,VContainer:C.a,VDivider:S.a,VRow:I.a,VSkeletonLoader:E.a,VSpacer:D.a})},1430:function(t,e,n){"use strict";n.r(e);var r=n(311),o=n(309),c=n(16),l=n(58),d=n(54),m=n(307),h=n(911),f=n(941),v={components:{TextToClipboard:h.a,CopyToClipboardButton:f.a},mixins:[r.a,o.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,molFile:void 0,smiles:void 0,standard_inchi:void 0,standard_inchi_key:void 0,showMolfile:!1}},computed:{showMolfileBtnText:function(){return this.showMolfile?"Hide":"Show"}},mounted:function(){var t=this,e=c.a.Compound.entityID,n=l.a.getIndexNameFromEntityID(e);d.a.getESDocument(n,this.chemblID,["molecule_structures.molfile","molecule_structures.canonical_smiles","molecule_structures.standard_inchi","molecule_structures.standard_inchi_key"]).then((function(e){var n=e.data._source;t.molFile=m.a.getPropertyPalue(n,"molecule_structures.molfile"),t.smiles=m.a.getPropertyPalue(n,"molecule_structures.canonical_smiles"),t.standard_inchi=m.a.getPropertyPalue(n,"molecule_structures.standard_inchi"),t.standard_inchi_key=m.a.getPropertyPalue(n,"molecule_structures.standard_inchi_key"),t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e.message}))},methods:{toggleMolfile:function(){this.showMolfile=!this.showMolfile}}},y=(n(1342),n(4)),_=n(7),w=n.n(_),k=n(293),x=n(301),T=n(25),C=n(294),S=n(48),I=n(899),E=n(890),component=Object(y.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[t.loading?n("v-card-text",[n("v-skeleton-loader",{attrs:{type:"paragraph, paragraph"}})],1):t.showError?n("v-card-text",[n("div",{staticClass:"text-caption error--text"},[t._v("Error: "+t._s(t.errorMsg)+".")])]):[n("v-card-text",[n("div",{staticClass:"d-flex justify-space-between align-center"},[n("b",[t._v("Molfile:")]),t._v(" "),n("v-btn",{attrs:{color:"primary",outlined:""},on:{click:t.toggleMolfile}},[t._v("\n "+t._s(t.showMolfileBtnText)+"\n ")]),t._v(" "),n("CopyToClipboardButton",{attrs:{text:t.molFile,large:""}})],1),t._v(" "),n("br"),t._v(" "),n("v-expand-transition",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showMolfile,expression:"showMolfile"}]},[n("v-textarea",{attrs:{"background-color":"grey lighten-5",value:t.molFile,readonly:""}})],1)]),t._v(" "),n("v-divider"),t._v(" "),n("b",[t._v("Canonical SMILES:")]),n("TextToClipboard",{attrs:{text:t.smiles}}),t._v(" "),n("v-divider"),t._v(" "),n("b",[t._v("Standard InChI:")]),n("TextToClipboard",{attrs:{text:t.standard_inchi}}),t._v(" "),n("v-divider"),t._v(" "),n("b",[t._v("Standard InChI Key:")]),n("TextToClipboard",{attrs:{text:t.standard_inchi_key}}),t._v(" "),n("v-divider")],1)]],2)],1)}),[],!1,null,"ee33f6f8",null);e.default=component.exports;w()(component,{VBtn:k.a,VCard:x.a,VCardText:T.c,VDivider:C.a,VExpandTransition:S.a,VSkeletonLoader:I.a,VTextarea:E.a})},1431:function(t,e,n){"use strict";n.r(e);var r=n(311),o=n(309),c=n(95),l=n(49),d={components:{SimilarCompoundsCarousel:n(1287).default},mixins:[r.a,o.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{similarity:85}},computed:{browseAllURL:function(){return c.a[l.a.ChemblSimilaritySearch.searchID].getLinkToSearch(this.chemblID,this.similarity)},apiURL:function(){return c.a[l.a.ChemblSimilaritySearch.searchID].getLinkToAPICall(this.chemblID,this.similarity)}}},m=(n(1344),n(4)),h=n(7),f=n.n(h),v=n(293),y=n(301),_=n(25),w=n(294),k=n(218),component=Object(m.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card-title",[t._v("Compounds similar to "+t._s(t.chemblID))]),t._v(" "),n("v-card-text",[n("div",{staticClass:"d-flex flex-column align-center"},[n("div",{staticClass:"text-caption"},[t._v("\n Compounds with at least "+t._s(t.similarity)+"% similarity.\n "),n("br"),t._v(" "),n("br")]),t._v(" "),n("div",{staticClass:"d-flex justify-space-around buttons-container"},[n("v-btn",{attrs:{small:"",depressed:"",color:"primary",href:t.browseAllURL,target:"_parent"}},[t._v("\n Browse All\n ")]),t._v(" "),n("v-btn",{attrs:{small:"",depressed:"",color:"primary",href:t.apiURL,target:"_parent"}},[n("v-icon",{attrs:{small:""}},[t._v(" mdi-code-tags ")]),t._v("\n REST Service Call\n ")],1)],1),t._v(" "),n("br")]),t._v(" "),n("v-divider")],1),t._v(" "),n("v-card-text",[n("SimilarCompoundsCarousel",{attrs:{"chembl-i-d":t.chemblID,similarity:t.similarity}})],1)],1)}),[],!1,null,"0b87a39c",null);e.default=component.exports;f()(component,{VBtn:v.a,VCard:y.a,VCardText:_.c,VCardTitle:_.d,VDivider:w.a,VIcon:k.a})},1432:function(t,e,n){"use strict";n.r(e);var r=n(906),o=n(16),c={props:{sources:{type:Array,default:function(){}}},methods:{getLinkToSource:function(t){var e='_metadata.compound_records.src_description:"'.concat(t,'"');return r.a.buildURLForEntityBrowser(o.a.Compound.entityID,e,"filter")}}},l=(n(1346),n(4)),d=n(7),m=n.n(d),h=n(220),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.sources,(function(source){return n("v-chip",{key:source,staticClass:"source-chip",attrs:{small:"",outlined:"",label:"",href:t.getLinkToSource(source),target:"_parent"}},[t._v("\n "+t._s(source)+"\n ")])})),1)}),[],!1,null,"11351c79",null);e.default=component.exports;m()(component,{VChip:h.a})},1433:function(t,e,n){"use strict";n.r(e);var r=n(1168),o=n(1288),c={components:{ItemsCarousel:r.default,AlertCard:o.default},props:{alerts:{type:Array,default:function(){return[]}}}},l=n(4),d=n(7),m=n.n(d),h=n(904),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-container",{attrs:{fluid:""}},[n("ItemsCarousel",{attrs:{items:t.alerts,odd:""},scopedSlots:t._u([{key:"carouselItem",fn:function(t){var e=t.item;return[n("AlertCard",{attrs:{alert:e}})]}}])})],1)}),[],!1,null,null,null);e.default=component.exports;m()(component,{VContainer:h.a})},1434:function(t,e,n){"use strict";n.r(e);var r=n(16),o=n(58),c=n(54),l=n(311),d=n(309),m={components:{TargetPredictionsTable:n(1292).default},mixins:[l.a,d.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,prefName:void 0}},computed:{compoundText:function(){return null==this.prefName?this.chemblID:"".concat(this.prefName," (").concat(this.chemblID,")")}},mounted:function(){var t=this,e=r.a.Compound.entityID,n=o.a.getIndexNameFromEntityID(e);c.a.getESDocument(n,this.chemblID,["pref_name"]).then((function(e){var n=e.data._source;t.prefName=n.pref_name,t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e}))}},h=(n(1348),n(4)),f=n(7),v=n.n(f),y=n(301),_=n(25),w=n(899),component=Object(h.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[n("v-card-text",[t.loading?n("v-card-text",[n("v-skeleton-loader",{attrs:{type:"paragraph"}})],1):t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):n("p",[t._v("\n The table below displays ChEMBL targets which are predicted to\n interact with\n "+t._s(t.compoundText)+". The target prediction returns four classes:\n ‘active’ or ‘inactive’ depending on whether or not\n "+t._s(t.compoundText)+" is predicted to interact or not with the target.\n The value returned can also be 'empty' if the model was not able to\n predict the compound or 'both' if it could not conclude. The\n predictions are given at three different confidence levels. More\n information on the methodology is available at:\n "),n("a",{attrs:{href:"https://jcheminf.biomedcentral.com/articles/10.1186/s13321-018-0325-4",target:"_parent"}},[t._v("https://jcheminf.biomedcentral.com/articles/10.1186/s13321-018-0325-4")])])],1),t._v(" "),n("TargetPredictionsTable",{attrs:{"chembl-i-d":t.chemblID}})],1)],1)}),[],!1,null,"9d1e38e4",null);e.default=component.exports;v()(component,{VCard:y.a,VCardText:_.c,VSkeletonLoader:w.a})},1435:function(t,e,n){"use strict";n.r(e);var r=n(88),o=n(311),c=n(309),l=n(54),d=n(58),m=n(16),h=n(307),f=n(911),v=n(1397),y={components:{TextToClipboard:f.a,CrossRefsTable:v.default},mixins:[o.a,c.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,noInchiKey:!1,inchi:void 0,inchiKey:void 0}},mounted:function(){var t=this,e=d.a.getIndexNameFromEntityID(m.a.Compound.entityID);l.a.getESDocument(e,this.chemblID,["molecule_structures.standard_inchi_key","molecule_structures.standard_inchi"]).then((function(e){var n=e.data._source,r=h.a.getPropertyPalue(n,"molecule_structures.standard_inchi_key",void 0,!0),o=h.a.getPropertyPalue(n,"molecule_structures.standard_inchi",void 0,!0);if(null==r||null==o)return t.noInchiKey=!0,void(t.loading=!1);t.inchi=o,t.inchiKey=r,t.noInchiKey=!1,t.loading=!1})).catch((function(e){r.a.dispatchRequestErrorNotification(e,t.$store.dispatch,"There was an error while loading the unichem cross references for ".concat(t.chemblID))}))}},_=n(4),w=n(7),k=n.n(w),x=n(905),T=n(301),C=n(25),S=n(885),I=n(294),E=n(886),D=n(899),component=Object(_.a)(y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-row",[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-col",{attrs:{cols:"12"}},[t.loading?n("v-skeleton-loader",{attrs:{type:"card"}}):[n("v-card",[n("v-card-title",[t._v("UniChem Connectivity Layer Cross References for\n "+t._s(t.chemblID))]),t._v(" "),n("v-divider"),t._v(" "),t.noInchiKey?n("v-card-text",[n("v-alert",{attrs:{type:"info",outlined:"",prominent:""}},[t._v("\n There is no data available for "+t._s(t.chemblID)+"\n ")])],1):[n("v-card-text",[void 0,t._v(" "),n("TextToClipboard",{attrs:{title:"InChI Key",text:t.inchiKey}}),t._v(" "),n("br"),t._v(" "),n("TextToClipboard",{attrs:{title:"InChI",text:t.inchi}})],2),t._v(" "),n("v-divider"),t._v(" "),n("v-card-text",[n("CrossRefsTable",{attrs:{"inchi-key":t.inchiKey,inchi:t.inchi}})],1)]],2)]],2)],1)}),[],!1,null,null,null);e.default=component.exports;k()(component,{VAlert:x.a,VCard:T.a,VCardText:C.c,VCardTitle:C.d,VCol:S.a,VDivider:I.a,VRow:E.a,VSkeletonLoader:D.a})},1436:function(t,e,n){"use strict";n.r(e);var r={props:{value:{type:Boolean,defaul:function(){}}}},o=n(4),c=n(7),l=n.n(c),d=n(218),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex justify-center"},[t.value?n("v-icon",[t._v(" mdi-checkbox-marked ")]):t._e()],1)}),[],!1,null,null,null);e.default=component.exports;l()(component,{VIcon:d.a})},1437:function(t,e,n){"use strict";n.r(e);var r={components:{TextToClipboard:n(911).a},props:{inchi:{type:String,default:function(){}},inchiKey:{type:String,default:function(){}}},data:function(){return{showDialog:!1}},computed:{curlCommand:function(){return"curl --request POST \\\n --url '".concat("https://www.ebi.ac.uk/unichem/api/v1",'/connectivity\' \\\n --header \'Content-Type: application/json\' \\\n --data \'{\n "type": "inchikey",\n "compound": "').concat(this.inchiKey,'",\n "searchComponents": true\n}\'')}}},o=(n(1350),n(4)),c=n(7),l=n.n(c),d=n(293),m=n(904),h=n(877),f=n(218),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-dialog",{scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,o=e.attrs;return[n("v-btn",t._g(t._b({attrs:{depressed:"",color:"primary"}},"v-btn",o,!1),r),[n("v-icon",{attrs:{left:""}},[t._v("mdi-code-tags")]),t._v("\n REST Service Call\n ")],1)]}}]),model:{value:t.showDialog,callback:function(e){t.showDialog=e},expression:"showDialog"}},[t._v(" "),n("v-container",{staticClass:"white dialog-content",attrs:{fluid:""}},[n("div",{staticClass:"headline"},[t._v("UniChem REST Service Call")]),t._v(" "),n("br"),t._v(" "),n("p",{staticClass:"text-justify"},[t._v("\n The following command shows the equivalent call to the UniChem API to\n obtain the data presented in the table:\n ")]),t._v(" "),n("TextToClipboard",{attrs:{text:t.curlCommand,large:""}}),t._v(" "),n("div",{staticClass:"d-flex justify-end dialog-actions"},[n("v-btn",{attrs:{color:"primary",text:""},on:{click:function(e){t.showDialog=!1}}},[t._v(" Close ")])],1)],1)],1)}),[],!1,null,"22fd0562",null);e.default=component.exports;l()(component,{VBtn:d.a,VContainer:m.a,VDialog:h.a,VIcon:f.a})},1438:function(t,e,n){"use strict";n.r(e);n(480);var r=n(311),o=n(309),c=n(16),l=n(58),d=n(54),m=n(307),h={components:{XRefs:n(1106).default},mixins:[r.a,o.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,refs:{}}},mounted:function(){var t=this,e=c.a.Compound.entityID,n=l.a.getIndexNameFromEntityID(e);d.a.getESDocument(n,this.chemblID,["_metadata.unichem"]).then((function(e){var n=e.data._source,r=m.a.getPropertyPalue(n,"_metadata.unichem",[]);t.refs=r.reduce((function(t,e){var n=e.src_name;return null==t[n]&&(t[n]={sourceKey:n,sourceURL:e.src_url,refs:[],count:0}),t[n].refs.push({xref_url:e.link,xref_id:e.id}),t[n].count+=1,t}),{}),t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e}))}},f=(n(1352),n(4)),v=n(7),y=n.n(v),_=n(301),w=n(25),k=n(899),component=Object(f.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[n("v-card-text",[t.loading?n("div",[n("v-skeleton-loader",{attrs:{type:"paragraph, paragraph, paragraph"}})],1):t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):n("XRefs",{attrs:{refs:t.refs}})],1)],1)],1)}),[],!1,null,"d7d0eab6",null);e.default=component.exports;y()(component,{VCard:_.a,VCardText:w.c,VSkeletonLoader:k.a})},1439:function(t,e,n){"use strict";n.r(e);n(8),n(63),n(12),n(44),n(55),n(24),n(34),n(35),n(6),n(33),n(40);var r=n(311),o=n(309),c=n(16),l=n(58),d=n(54),m=n(307);function h(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var v={components:{XRefs:n(1106).default},mixins:[r.a,o.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,refs:{}}},mounted:function(){var t=this,e=c.a.Compound.entityID,n=l.a.getIndexNameFromEntityID(e);d.a.getESDocument(n,this.chemblID,["cross_references","_metadata.atc_classifications","molecule_structures.standard_inchi_key"]).then((function(e){var n=e.data._source,r=null==n.cross_references?[]:n.cross_references;t.parseATCRefs(n,r),t.parseChemSpiderRefs(n,r),t.refs=r.reduce((function(t,e){var n=e.xref_src;return null==t[n]&&(t[n]={sourceKey:n,sourceURL:e.xref_src_url,refs:[],count:0}),t[n].refs.push(e),t[n].count+="ATC"===n?e.levels_refs.length:1,t}),{}),t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e}))},methods:{parseATCRefs:function(t,e){var n=m.a.getPropertyPalue(t,"_metadata.atc_classifications",[]);if(0!==n.length){var r,o=h(n);try{for(o.s();!(r=o.n()).done;){for(var c=r.value,l=[],i=1;i<=5;i++){var d=c["level".concat(i)],f="http://www.whocc.no/atc_ddd_index/?code=".concat(d,"&showdescription=yes"),v=void 0;if(5!==i)v=c["level".concat(i,"_description")].split(" - ")[1];else v=c.who_name;l.push({level:i,name:d,description:v,link:f})}if(0===l.length)return;e.push({xref_src:"ATC",xref_src_url:"https://www.whocc.no/atc_ddd_index/",xref_name:"One ATC Group",levels_refs:l})}}catch(t){o.e(t)}finally{o.f()}}},parseChemSpiderRefs:function(t,e){var n=m.a.getPropertyPalue(t,"molecule_structures.standard_inchi_key",void 0,!0);if(null!=n){var r="https://www.chemspider.com/Search.aspx?q=".concat(n),o="ChemSpider:".concat(n);e.push({xref_name:o,xref_src:"ChemSpider",xref_id:n,xref_url:r,xref_src_url:"https://www.chemspider.com/"})}}}},y=(n(1354),n(4)),_=n(7),w=n.n(_),k=n(301),x=n(25),T=n(899),component=Object(y.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[n("v-card-text",[t.loading?n("div",[n("v-skeleton-loader",{attrs:{type:"paragraph, paragraph, paragraph"}})],1):t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):n("XRefs",{attrs:{refs:t.refs}})],1)],1)],1)}),[],!1,null,"5f761401",null);e.default=component.exports;w()(component,{VCard:k.a,VCardText:x.c,VSkeletonLoader:T.a})},1465:function(t,e,n){"use strict";n(1276)},1466:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-27ead1e0]{position:relative}',""]),t.exports=r},1467:function(t,e,n){"use strict";n(1277)},1468:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-00581658]{position:relative}.molecule-img-container[data-v-00581658]{padding-right:10px}',""]),t.exports=r},1469:function(t,e,n){"use strict";n(1278)},1470:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.main-container[data-v-5e5adb41]{position:relative}',""]),t.exports=r},1471:function(t,e,n){"use strict";n(1279)},1472:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.source-header[data-v-43ac61de]{padding:10px}.match-group[data-v-43ac61de]{padding:2px 6px}',""]),t.exports=r},1499:function(t,e,n){"use strict";n.r(e);n(63),n(12),n(55),n(24),n(34),n(35),n(33),n(8),n(6),n(44),n(912),n(77);var r=n(30),o=n(311),c=n(309),l=n(102),d=n(16),m=n(54);function h(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var v={components:{MetabolismTree:n(1426).default},mixins:[o.a,c.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,prefName:void 0,metabolism:void 0}},mounted:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,f,v,y,_,w,k,x,T,C,S,I;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"chembl_metabolism",n={size:1e4,query:{bool:{must:[{term:{"_metadata.all_graph_chembl_ids":t.chemblID}}]}}},e.prev=2,e.next=5,m.a.getESData("chembl_metabolism",n);case 5:r=e.sent,o=r.data.es_response.hits.hits,c={nodes:[],edges:[]},f=new Set,v=h(o);try{for(v.s();!(y=v.n()).done;)_=y.value,w=_._source,k=w.substrate_chembl_id,f.has(k)||(f.add(k),x=null!=w.substrate_name?"".concat(w.substrate_name):k,c.nodes.push({id:k,label:x,highlight:k===t.chemblID,link:l.a[d.a.Compound.entityID].getLinkToReportCard(k)})),T=w.metabolite_chembl_id,f.has(T)||(f.add(T),C=null!=w.metabolite_name?"".concat(w.metabolite_name):T,c.nodes.push({id:T,label:C,highlight:T===t.chemblID,link:l.a[d.a.Compound.entityID].getLinkToReportCard(T)})),S=w.target_chembl_id,I=null!=w.enzyme_name?"".concat(w.enzyme_name):"",c.edges.push({source:k,destination:T,label:I,link:null!=S?l.a[d.a.Target.entityID].getLinkToReportCard(S):void 0,details:{target_chembl_id:S,met_conversion:w.met_conversion,met_comment:w.met_comment,organism:w.organism,metabolism_refs:w.metabolism_refs,enzyme_name:w.enzyme_name}})}catch(t){v.e(t)}finally{v.f()}t.metabolism=c,t.loading=!1,e.next=20;break;case 15:e.prev=15,e.t0=e.catch(2),t.loading=!1,t.showError=!0,t.errorMsg=e.t0;case 20:case"end":return e.stop()}}),e,null,[[2,15]])})))()}},y=(n(1465),n(4)),_=n(7),w=n.n(_),k=n(301),x=n(25),T=n(899),component=Object(y.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[t.loading?n("v-skeleton-loader",{attrs:{type:"card"}}):t.showError?n("v-card-text",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):n("v-card-text",[n("MetabolismTree",{attrs:{"graph-data":t.metabolism}})],1)],1)],1)}),[],!1,null,"27ead1e0",null);e.default=component.exports;w()(component,{VCard:k.a,VCardText:x.c,VSkeletonLoader:T.a})},1500:function(t,e,n){"use strict";n.r(e);n(63),n(12),n(55),n(24),n(34),n(35),n(33),n(11),n(38),n(235),n(13),n(8),n(6),n(44),n(912);var r=n(311),o=n(309),c=n(16),l=n(58),d=n(54),m=n(307),h=n(1432),f=n(1256);function v(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var _={components:{SourcesList:h.default,CompoundMicroCard:f.default},mixins:[r.a,o.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{loading:!0,showError:!1,errorMsg:void 0,ownSources:new Set,sourcesFromFamily:{},isParent:void 0,parentChemblID:void 0,panel:[0]}},computed:{hasPrefName:function(){return null!=this.prefName},hasMolformula:function(){return null!=this.molFormula},hasMolWeight:function(){return null!=this.molWeight},hasFirstApproval:function(){return null!=this.firstApproval},numSources:function(){return this.ownSources.size},altFormOrParentLabel:function(){return this.isParent?"Alternative Forms":"Parent"},hasSourcesFromFamily:function(){return Object.keys(this.sourcesFromFamily).length>0},numSourcesFromFamily:function(){for(var t=0,e=0,n=Object.values(this.sourcesFromFamily);e<n.length;e++){t+=n[e].size}return t}},mounted:function(){var t=this,e=c.a.Compound.entityID,n=l.a.getIndexNameFromEntityID(e);d.a.getESDocument(n,this.chemblID,["_metadata.compound_records","_metadata.hierarchy.parent.chembl_id","_metadata.hierarchy.children","_metadata.hierarchy.parent.sources"]).then((function(e){var n=e.data._source,r=m.a.getPropertyPalue(n,"_metadata.compound_records",[]);t.ownSources=new Set(r.map((function(t){return t.src_description})));var o=m.a.getPropertyPalue(n,"_metadata.hierarchy.parent.chembl_id",null,!0);if(t.parentChemblID=null==o?t.chemblID:o,t.isParent=t.parentChemblID===t.chemblID,t.isParent){var c,l=v(m.a.getPropertyPalue(n,"_metadata.hierarchy.children",[]));try{for(l.s();!(c=l.n()).done;){var d=c.value,h=d.chembl_id,f=new Set(d.sources.map((function(source){return source.src_description})).filter((function(source){return!t.ownSources.has(source)})));f.size>0&&(t.sourcesFromFamily[h]=f)}}catch(t){l.e(t)}finally{l.f()}}else{var y=m.a.getPropertyPalue(n,"_metadata.hierarchy.parent.sources",[],!0),_=new Set(y.map((function(source){return source.src_description})).filter((function(source){return!t.ownSources.has(source)})));_.size>0&&(t.sourcesFromFamily[t.parentChemblID]=_)}t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e}))}},w=(n(1467),n(4)),k=n(7),x=n.n(k),T=n(301),C=n(25),S=n(895),I=n(896),E=n(897),D=n(898),M=n(878),N=n(899),component=Object(w.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[t.loading?n("v-card-text",[n("v-skeleton-loader",{attrs:{type:"paragraph, paragraph"}})],1):t.showError?n("v-card-text",[n("div",{staticClass:"text-caption error--text"},[t._v("Error: "+t._s(t.errorMsg)+".")])]):n("v-card-text",[n("div",{staticClass:"text-center"},[t._v("\n Click on a chip to see all the compounds that belong to the\n corresponding source.\n ")]),t._v(" "),n("v-expansion-panels",{attrs:{accordion:"",multiple:"",flat:""},model:{value:t.panel,callback:function(e){t.panel=e},expression:"panel"}},[n("v-expansion-panel",[n("v-expansion-panel-header",[t._v("Sources ("+t._s(t.numSources)+"):")]),t._v(" "),n("v-expansion-panel-content",[n("SourcesList",{attrs:{sources:Array.from(t.ownSources)}})],1)],1),t._v(" "),t.hasSourcesFromFamily?n("v-expansion-panel",[n("v-expansion-panel-header",[t._v("Additional sources from "+t._s(t.altFormOrParentLabel)+" ("+t._s(t.numSourcesFromFamily)+"):")]),t._v(" "),n("v-expansion-panel-content",[n("v-simple-table",{attrs:{dense:""},scopedSlots:t._u([{key:"default",fn:function(){return[n("tbody",t._l(t.sourcesFromFamily,(function(e,r){return n("tr",{key:r},[n("td",[n("CompoundMicroCard",{attrs:{"chembl-i-d":r}})],1),t._v(" "),n("td",[n("SourcesList",{attrs:{sources:Array.from(e)}})],1)])})),0)]},proxy:!0}],null,!1,4048754895)})],1)],1):t._e()],1)],1)],1)],1)}),[],!1,null,"00581658",null);e.default=component.exports;x()(component,{VCard:T.a,VCardText:C.c,VExpansionPanel:S.a,VExpansionPanelContent:I.a,VExpansionPanelHeader:E.a,VExpansionPanels:D.a,VSimpleTable:M.a,VSkeletonLoader:N.a})},1501:function(t,e,n){"use strict";n.r(e);n(8),n(6),n(13),n(38);var r=n(311),o=n(309),c=n(919),l=n(1433),d=n(911),m={components:{AlertsCarousel:l.default,TextToClipboard:d.a},mixins:[r.a,o.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{headers:[{text:"Alert Set",value:"alert_set"},{text:"Priority",value:"priority"},{text:"Alerts",value:"alerts",sortable:!1}],structuralAlerts:[],options:{itemsPerPage:5,sortBy:["priority"],sortDesc:[!0]},loading:!0,showError:!1,errorMsg:void 0}},computed:{wsURL:function(){return"".concat("https://www.ebi.ac.uk/chembl/api/data","/compound_structural_alert.json?molecule_chembl_id=").concat(this.chemblID,"&limit=10000")}},mounted:function(){this.getDataFromApi()},methods:{getDataFromApi:function(){var t=this;this.loading=!0;c.a.getStructuralAlertsPage(this.chemblID,0,1e3).then((function(e){var n=e.data.compound_structural_alerts,r={};n.forEach((function(t){var e=t.alert.alert_set.set_name,n={alertId:t.cpd_str_alert_id,moleculeChemblId:t.molecule_chembl_id,alertName:t.alert.alert_name,smarts:t.alert.smarts};if(null==r[e]){var o={setName:e,alertsList:[n],priority:t.alert.alert_set.priority};r[e]=o}else r[e].alertsList.push(n)})),t.structuralAlerts=Object.keys(r).map((function(t){return{alert_set:r[t].setName,priority:r[t].priority,alerts:r[t].alertsList}})),t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMsg=e.message}))}}},h=(n(1469),n(4)),f=n(7),v=n.n(f),y=n(301),_=n(25),w=n(1872),k=n(294),component=Object(h.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-container"},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),n("v-card",{attrs:{flat:""}},[n("v-card-text",[t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):t._e(),t._v(" "),n("v-data-table",{attrs:{headers:t.headers,items:t.structuralAlerts,loading:t.loading,options:t.options},scopedSlots:t._u([{key:"item.alerts",fn:function(t){var e=t.item;return[n("AlertsCarousel",{attrs:{alerts:e.alerts}})]}}],null,!0)})],1),t._v(" "),n("v-divider"),t._v(" "),n("v-card-text",[n("TextToClipboard",{attrs:{text:t.wsURL,title:"ChEMBL Web Services URL"}})],1)],1)],1)}),[],!1,null,"5e5adb41",null);e.default=component.exports;v()(component,{VCard:y.a,VCardText:_.c,VDataTable:w.a,VDivider:k.a})},1632:function(t,e,n){"use strict";n.r(e);n(77);var r=n(30),o=n(1142),c=n(16),l=n(58),d=n(54),m=n(180),h=n(88),f=n(307),v=n(1427),y=n(1430),_=n(1500),w=n(1419),k=n(952),x=n(1429),T=n(1421),C=n(1422),S=n(1423),I=n(1431),E=n(1499),D=n(1420),M=n(1424),N=n(1418),L=n(1425),P=n(1434),O=n(1396),A=n(1501),V=n(1439),j=n(1438),B=n(1435),R=n(1143),F=n(919),H=n(1227),U={components:{EntityReportCard:R.a},mixins:[o.a],props:{chemblID:{type:String,default:function(){}}},data:function(){return{storeModuleName:"compoundReportCard",entityID:c.a.Compound.entityID}},mounted:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,R,F,H;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=l.a.getIndexNameFromEntityID(t.entityID),r=["pref_name","molecule_structures","_metadata.compound_records","prodrug","_metadata.generated_resources.has_drug_indications","_metadata.generated_resources.has_mechanisms","_metadata.generated_resources.has_drug_warnings","biotherapeutic.biocomponents","helm_notation","molecule_properties","_metadata.compound_structural_alerts.alerts","cross_references","_metadata.atc_classifications","unichem_cross_refs"],e.next=5,d.a.getESDocument(n,t.chemblID,r);case 5:return o=e.sent,c=o.data._source,R=f.a.getPropertyPalue(c,"pref_name",void 0,!0),F=R||t.chemblID,e.t0={id:"NameAndClassification",title:"Name and Classification",component:v.default,include:!0},e.t1={id:"Representations",title:"Representations",component:y.default,include:t.includeRepresentations(c)},e.t2={id:"Sources",title:"Sources",component:_.default,include:t.includeSources(c)},e.t3={id:"AlternativeForms",title:"Alternative Forms",component:w.default,include:!0},e.t4={id:"MoleculeFeatures",title:"Molecule Features",component:k.a,include:!0},e.t5={id:"ProdrugInfo",title:"Prodrug Info",component:x.default,include:t.includeProdrugInfo(c)},e.t6={id:"DrugIndications",title:"Drug Indications",component:T.default,include:t.includeDrugIndications(c)},e.t7={id:"DrugMechanisms",title:"Drug Mechanisms",component:C.default,include:t.includeDrugMechanisms(c)},e.t8={id:"DrugWarningInfo",title:"Drug Warning Information",component:S.default,include:t.includeDrugWarningInfo(c)},e.t9=I.default,e.next=21,t.includeSimilarCompounds(c);case 21:return e.t10=e.sent,e.t11={id:"SimilarCompounds",title:"Similar Compounds",component:e.t9,include:e.t10},e.t12=E.default,e.next=26,t.includeMetabolism();case 26:return e.t13=e.sent,e.t14={id:"Metabolism",title:"Metabolism",component:e.t12,include:e.t13},e.t15={id:"Biocomponents",title:"Biocomponents",component:D.default,include:t.includeBiocomponents(c)},e.t16={id:"HelmNotation",title:"HELM Notation",component:M.default,include:t.includeHelmNotation(c)},e.t17={id:"ActivityCharts",title:"Activity Charts",component:N.default,include:!0},e.t18={id:"Literature",title:"Literature",component:L.default,include:!0},e.t19=P.default,e.next=35,t.includeTargetPredictions(c);case 35:e.t20=e.sent,e.t21={id:"TargetPredictions",title:"Target Predictions",component:e.t19,include:e.t20},e.t22={id:"CalculatedProperties",title:"Calculated Properties",component:O.default,include:t.includeCalculatedProperties(c)},e.t23={id:"StructuralAlerts",title:"Structural Alerts",component:A.default,include:t.includeStructuralAlerts(c)},e.t24={id:"CompoundXRefs",title:"Cross References",component:V.default,include:t.includeXrefs(c)},e.t25={id:"CompoundUnichemXRefs",title:"UniChem Cross References",component:j.default,include:t.includeUnichemXrefs(c)},e.t26={id:"UnichemConnectivityCrossRefs",title:"UniChem Connectivity Cross References",component:B.default,include:!0},H=[e.t0,e.t1,e.t2,e.t3,e.t4,e.t5,e.t6,e.t7,e.t8,e.t11,e.t14,e.t15,e.t16,e.t17,e.t18,e.t21,e.t22,e.t23,e.t24,e.t25,e.t26],t.setFinalPageStructure(F,H),e.next=50;break;case 46:e.prev=46,e.t27=e.catch(0),m.a.trackError(e.t27,t),h.a.dispatchRequestErrorNotification(e.t27,t.$store.dispatch,"There was an error while loading the page structure");case 50:case"end":return e.stop()}}),e,null,[[0,46]])})))()},methods:{includeRepresentations:function(t){return null!=f.a.getPropertyPalue(t,"molecule_structures",void 0,!0)},includeSources:function(t){var e=f.a.getPropertyPalue(t,"_metadata.compound_records",void 0,!0);return null!=e&&e.length>0},includeProdrugInfo:function(t){return 1===f.a.getPropertyPalue(t,"prodrug",void 0,!0)},includeDrugIndications:function(t){return f.a.getPropertyPalue(t,"_metadata.generated_resources.has_drug_indications",!1)},includeDrugMechanisms:function(t){return f.a.getPropertyPalue(t,"_metadata.generated_resources.has_mechanisms",!1)},includeDrugWarningInfo:function(t){return f.a.getPropertyPalue(t,"_metadata.generated_resources.has_drug_warnings",!1)},includeSimilarCompounds:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(null!=f.a.getPropertyPalue(t,"molecule_structures",void 0,!0)){n.next=3;break}return n.abrupt("return",!1);case 3:return n.next=5,F.a.getSimilarityPage(e.chemblID,85);case 5:return r=n.sent,n.abrupt("return",r.data.page_meta.total_count>0);case 7:case"end":return n.stop()}}),n)})))()},includeTargetPredictions:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(n=f.a.getPropertyPalue(t,"molecule_structures",void 0,!0))){e.next=3;break}return e.abrupt("return",!1);case 3:if(null!=(r=f.a.getPropertyPalue(n,"canonical_smiles",void 0,!0))){e.next=6;break}return e.abrupt("return",!1);case 6:return e.next=8,H.a.getPredictions(r);case 8:return o=e.sent,c=o.data,e.abrupt("return",c.length>0);case 11:case"end":return e.stop()}}),e)})))()},includeBiocomponents:function(t){return f.a.getPropertyPalue(t,"biotherapeutic.biocomponents",[]).length>0},includeHelmNotation:function(t){return null!=f.a.getPropertyPalue(t,"helm_notation",void 0,!0)},includeCalculatedProperties:function(t){return null!=f.a.getPropertyPalue(t,"molecule_properties",void 0,!0)},includeStructuralAlerts:function(t){return f.a.getPropertyPalue(t,"_metadata.compound_structural_alerts.alerts",[]).length>0},includeXrefs:function(t){return null!=f.a.getPropertyPalue(t,"molecule_structures.standard_inchi_key",void 0,!0)||(f.a.getPropertyPalue(t,"_metadata.atc_classifications",[]).length>0||f.a.getPropertyPalue(t,"cross_references",[]).length>0)},includeUnichemXrefs:function(t){return f.a.getPropertyPalue(t,"unichem_cross_refs",[]).length>0},includeMetabolism:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"chembl_metabolism",n={size:0,query:{bool:{must:[{term:{"_metadata.all_graph_chembl_ids":t.chemblID}}]}}},e.next=4,d.a.getESData("chembl_metabolism",n);case 4:return r=e.sent,o=r.data.es_response.hits.total.value,e.abrupt("return",o>0);case 7:case"end":return e.stop()}}),e)})))()}}},z=n(4),component=Object(z.a)(U,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("EntityReportCard",{attrs:{"report-card-structure":t.reportCardStructure,"item-i-d":t.chemblID,"store-module-name":t.storeModuleName,"entity-i-d":t.entityID}})}),[],!1,null,null,null);e.default=component.exports},1804:function(t,e,n){"use strict";n.r(e);n(8),n(6),n(44),n(912),n(77);var r=n(30),o=n(1251),c=n(320),l=n(16),d=n(58),m=n(54),h=n(307),f=n(45),v=(n(38),n(102)),y={getMetadataForEntity:function(t,e,n){var r=d.a.getIndexNameFromEntityID(t);return m.a.getESDocument(r,e,n)},getSynonymsString:function(t){if(null==t)return"";var e=t.map((function(t){return t.synonyms}));return(e=Object(f.a)(new Set(e))).join(", ")},getImgURL:function(t,e,n){return null==h.a.getPropertyPalue(e,"_metadata.compound_generated.image_file",null,!0)?"".concat(n,"/").concat(t,".svg"):null},getMolecularFormula:function(t){return h.a.getPropertyPalue(t,"molecule_properties.full_molformula",null,!0)},getMolecularWeight:function(t){return h.a.getPropertyPalue(t,"molecule_properties.full_mwt",null,!0)},getMonoisotopicMolecularWeight:function(t){return h.a.getPropertyPalue(t,"molecule_properties.mw_monoisotopic",null,!0)},getSmiles:function(t){return h.a.getPropertyPalue(t,"molecule_structures.canonical_smiles",null,!0)},getBioschemasMetadataForCompound:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,h,f,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=l.a.Compound.entityID,r=v.a[n].getLinkToReportCard(t),o=d.a.getIndexNameFromEntityID(n),c=["pref_name","molecule_synonyms","_metadata.compound_generated.image_file","molecule_properties.full_molformula","molecule_properties.full_mwt","molecule_properties.mw_monoisotopic","molecule_structures.canonical_smiles"],e.next=6,m.a.getESDocument(o,t,c);case 6:return h=e.sent,f=h.data._source,"https://www.ebi.ac.uk/chembl/api/data/image",_={"@context":"http://schema.org","@type":"MolecularEntity",identifier:t,url:r,name:f.pref_name,alternateName:y.getSynonymsString(f.molecule_synonyms),image:y.getImgURL(t,f,"https://www.ebi.ac.uk/chembl/api/data/image"),molecularFormula:y.getMolecularFormula(f),molecularWeight:y.getMolecularWeight(f),smiles:y.getSmiles(f),monoisotopicMolecularWeight:y.getMonoisotopicMolecularWeight(f)},e.abrupt("return",_);case 11:case"end":return e.stop()}}),e)})))()}},_=y,w={components:{CompoundReportCard:n(1632).default},layout:"entityBrowser",mixins:[o.a],asyncData:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,f,v,y,w,k,x,T,C,S,I;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.$axios,n=t.error,r=t.params,o=t.redirect,f=t.route,v=f.fullPath,y=c.a.getEntityIDFromReportCardPath(v),w=r.chembl_id,c.a.redirectIfNonStandardID(w,y,o),e.prev=5,e.next=8,c.a.getIDDetails(w);case 8:return k=e.sent,c.a.redirectIfDowngraded(k,y,w,o,n),c.a.redirectIfWrongEntity(y,k,w,o),x=d.a.getIndexNameFromEntityID(y),T=["_id","pref_name","compound_generated.max_phase_label","molecule_properties.full_molformula","molecule_type","molecule_synonyms"],e.next=15,m.a.getESDocument(x,w,T);case 15:return C=e.sent,S={prefName:h.a.getPropertyPalue(C.data._source,"pref_name",void 0,!0),maxPhaseLabel:h.a.getPropertyPalue(C.data._source,"compound_generated.max_phase_label",void 0,!0),fullMolFormula:h.a.getPropertyPalue(C.data._source,"molecule_properties.full_molformula",void 0,!0),moleculeType:h.a.getPropertyPalue(C.data._source,"molecule_type",void 0,!0),moleculeSynonyms:h.a.getPropertyPalue(C.data._source,"molecule_synonyms",[])},e.next=19,_.getBioschemasMetadataForCompound(w);case 19:return I=e.sent,e.abrupt("return",{itemProperties:S,entityID:y,bioschemasMetadata:I});case 23:e.prev=23,e.t0=e.catch(5),n({statusCode:404,message:"No ".concat(l.a.Compound.singularEntityName," found with id ").concat(r.id)});case 26:case"end":return e.stop()}}),e,null,[[5,23]])})))()},computed:{idText:function(){return null!=this.itemProperties.prefName?"".concat(this.itemProperties.prefName," (").concat(this.chemblID,")"):this.chemblID},descriptionText:function(){for(var t=[],e=0,n=[this.itemProperties.maxPhaseLabel,this.itemProperties.fullMolFormula,this.itemProperties.moleculeType];e<n.length;e++){var r=n[e];null!=r&&t.push(r)}var o=this.itemProperties.moleculeSynonyms,c=new Set;o.forEach((function(t){return c.add(t.synonyms)})),c.forEach((function(e){return t.push(e)}));var d="Report card for ".concat(l.a[this.entityID].singularEntityName," ").concat(this.idText,". ").concat(t.join(", "),".");return d.length>160?"".concat(d.substring(0,160),"..."):d}}},k=n(4),component=Object(k.a)(w,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("CompoundReportCard",{attrs:{"chembl-i-d":t.chemblID}})}),[],!1,null,null,null);e.default=component.exports},906:function(t,e,n){"use strict";n(8),n(6),n(13),n(62),n(36),n(29),n(31);var r,o=n(1),c=n(16),l=n(94),d=(r={},Object(o.a)(r,c.a.DrugWarning.entityID,"drug_warnings"),Object(o.a)(r,c.a.DrugIndication.entityID,"drug_indications"),Object(o.a)(r,c.a.DrugMechanism.entityID,"drug_mechanisms"),Object(o.a)(r,c.a.EubopenTarget.entityID,"target"),Object(o.a)(r,c.a.EubopenCompound.entityID,"compound"),Object(o.a)(r,c.a.EubopenAssay.entityID,"assay"),Object(o.a)(r,c.a.Compound.entityID,"compounds"),Object(o.a)(r,c.a.Drug.entityID,"drugs"),Object(o.a)(r,c.a.Target.entityID,"targets"),Object(o.a)(r,c.a.Assay.entityID,"assays"),Object(o.a)(r,c.a.Document.entityID,"documents"),Object(o.a)(r,c.a.CellLine.entityID,"cell_lines"),Object(o.a)(r,c.a.Tissue.entityID,"tissues"),Object(o.a)(r,c.a.Activity.entityID,"activities"),r),m={entityJoinDestinationTemplate:"www.ebi.ac.uk/chembl/explore/<BROWSER_NAME>/full_state/<GENERATED_STATE>",buildURLForEntityBrowser:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"state_id",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=d[t],m=null==e?"":encodeURIComponent(l.a.sanitiseTextForEscaping(e));["filter","querystring"].includes(n)&&(m="QUERYSTRING:".concat(m)),"state_id"===n&&(m=""!==e&&null!=e?"STATE_ID:".concat(m):"");var h="https://www.ebi.ac.uk/chembl/explore/<BROWSER_NAME>/<GENERATED_STATE>".replace("<BROWSER_NAME>",c).replace("<GENERATED_STATE>",m),f=null!=r?"?description=".concat(encodeURIComponent(r)):"";if(h="".concat(h).concat(f),o){var v=window.location.protocol,y=window.location.host,_="/chembl",w="".concat(v,"//").concat(y).concat(_);return h.replace(w,"")}return h},buildURLForEntityBrowserStateIDAndRedirect:function(t,e,n){var r=m.buildURLForEntityBrowser(t,e);n?window.parent.location.href=r:window.location.href=r},getEntityIDFromBrowserName:function(t){return Object.keys(d).find((function(e){return d[e]===t}))},getBrowserNameFromEntityID:function(t){return d[t]}};e.a=m},907:function(t,e,n){"use strict";e.a={DefaultNullTextValue:"---"}},909:function(t,e,n){"use strict";e.a={histogram:"histogram",range:"range",findTerm:"find_term"}},910:function(t,e,n){"use strict";var r,o,c,l,d,m,h,f,v,y,_,w,k=n(21),x=(n(8),n(6),n(234),n(1)),T=n(16),C={from:(w={},Object(x.a)(w,T.a.Compound.entityID,{originParamName:"CHEMBL_COMPOUNDS",to:(r={},Object(x.a)(r,T.a.Activity.entityID,{destinationParamName:"CHEMBL_ACTIVITIES"}),Object(x.a)(r,T.a.Drug.entityID,{destinationParamName:"CHEMBL_DRUGS"}),Object(x.a)(r,T.a.DrugMechanism.entityID,{destinationParamName:"CHEMBL_DRUG_MECHANISMS"}),Object(x.a)(r,T.a.DrugIndication.entityID,{destinationParamName:"CHEMBL_DRUG_INDICATIONS"}),Object(x.a)(r,T.a.Target.entityID,{destinationParamName:"CHEMBL_TARGETS",hiddenFromGeneralJoin:!0}),r)}),Object(x.a)(w,T.a.Drug.entityID,{originParamName:"CHEMBL_DRUGS",to:(o={},Object(x.a)(o,T.a.Activity.entityID,{destinationParamName:"CHEMBL_ACTIVITIES"}),Object(x.a)(o,T.a.DrugMechanism.entityID,{destinationParamName:"CHEMBL_DRUG_MECHANISMS"}),Object(x.a)(o,T.a.DrugIndication.entityID,{destinationParamName:"CHEMBL_DRUG_INDICATIONS"}),Object(x.a)(o,T.a.Target.entityID,{destinationParamName:"CHEMBL_TARGETS",hiddenFromGeneralJoin:!0}),o)}),Object(x.a)(w,T.a.Target.entityID,{originParamName:"CHEMBL_TARGETS",to:(c={},Object(x.a)(c,T.a.Activity.entityID,{destinationParamName:"CHEMBL_ACTIVITIES"}),Object(x.a)(c,T.a.DrugMechanism.entityID,{destinationParamName:"CHEMBL_DRUG_MECHANISMS"}),Object(x.a)(c,T.a.Compound.entityID,{destinationParamName:"CHEMBL_COMPOUNDS",hiddenFromGeneralJoin:!0}),c)}),Object(x.a)(w,T.a.Assay.entityID,{originParamName:"CHEMBL_ASSAYS",to:(l={},Object(x.a)(l,T.a.Activity.entityID,{destinationParamName:"CHEMBL_ACTIVITIES"}),Object(x.a)(l,T.a.Compound.entityID,{destinationParamName:"CHEMBL_COMPOUNDS",hiddenFromGeneralJoin:!0}),l)}),Object(x.a)(w,T.a.Document.entityID,{originParamName:"CHEMBL_DOCUMENTS",to:(d={},Object(x.a)(d,T.a.Activity.entityID,{destinationParamName:"CHEMBL_ACTIVITIES"}),Object(x.a)(d,T.a.Compound.entityID,{destinationParamName:"CHEMBL_COMPOUNDS",hiddenFromGeneralJoin:!0}),Object(x.a)(d,T.a.Target.entityID,{destinationParamName:"CHEMBL_TARGETS",hiddenFromGeneralJoin:!0}),d)}),Object(x.a)(w,T.a.CellLine.entityID,{originParamName:"CHEMBL_CELL_LINES",to:(m={},Object(x.a)(m,T.a.Activity.entityID,{destinationParamName:"CHEMBL_ACTIVITIES"}),Object(x.a)(m,T.a.Compound.entityID,{destinationParamName:"CHEMBL_COMPOUNDS",hiddenFromGeneralJoin:!0}),m)}),Object(x.a)(w,T.a.Tissue.entityID,{originParamName:"CHEMBL_TISSUES",to:(h={},Object(x.a)(h,T.a.Activity.entityID,{destinationParamName:"CHEMBL_ACTIVITIES"}),Object(x.a)(h,T.a.Compound.entityID,{destinationParamName:"CHEMBL_COMPOUNDS",hiddenFromGeneralJoin:!0}),h)}),Object(x.a)(w,T.a.DrugWarning.entityID,{originParamName:"CHEMBL_DRUG_WARNINGS",to:(f={},Object(x.a)(f,T.a.Activity.entityID,{destinationParamName:"CHEMBL_ACTIVITIES"}),Object(x.a)(f,T.a.Compound.entityID,{destinationParamName:"CHEMBL_COMPOUNDS"}),Object(x.a)(f,T.a.Drug.entityID,{destinationParamName:"CHEMBL_DRUGS"}),Object(x.a)(f,T.a.Drug.entityID,{destinationParamName:"CHEMBL_DRUGS"}),Object(x.a)(f,T.a.DrugMechanism.entityID,{destinationParamName:"CHEMBL_DRUG_MECHANISMS"}),Object(x.a)(f,T.a.DrugIndication.entityID,{destinationParamName:"CHEMBL_DRUG_INDICATIONS"}),f)}),Object(x.a)(w,T.a.DrugIndication.entityID,{originParamName:"CHEMBL_DRUG_INDICATIONS",to:(v={},Object(x.a)(v,T.a.Drug.entityID,{destinationParamName:"CHEMBL_DRUGS"}),Object(x.a)(v,T.a.Compound.entityID,{destinationParamName:"CHEMBL_COMPOUNDS"}),v)}),Object(x.a)(w,T.a.DrugMechanism.entityID,{originParamName:"CHEMBL_DRUG_MECHANISMS",to:(y={},Object(x.a)(y,T.a.Drug.entityID,{destinationParamName:"CHEMBL_DRUGS"}),Object(x.a)(y,T.a.Compound.entityID,{destinationParamName:"CHEMBL_COMPOUNDS"}),Object(x.a)(y,T.a.Target.entityID,{destinationParamName:"CHEMBL_TARGETS"}),y)}),Object(x.a)(w,T.a.Activity.entityID,{originParamName:"CHEMBL_ACTIVITIES",to:(_={},Object(x.a)(_,T.a.Compound.entityID,{destinationParamName:"CHEMBL_COMPOUNDS"}),Object(x.a)(_,T.a.Target.entityID,{destinationParamName:"CHEMBL_TARGETS"}),Object(x.a)(_,T.a.Assay.entityID,{destinationParamName:"CHEMBL_ASSAYS"}),Object(x.a)(_,T.a.Document.entityID,{destinationParamName:"CHEMBL_DOCUMENTS"}),_)}),Object(x.a)(w,T.a.EubopenCompound.entityID,{originParamName:"EUBOPEN_COMPOUND",to:Object(x.a)({},T.a.EubopenAssay.entityID,{destinationParamName:"EUBOPEN_ASSAY",hiddenFromGeneralJoin:!0})}),Object(x.a)(w,T.a.EubopenTarget.entityID,{originParamName:"EUBOPEN_TARGET",to:{}}),Object(x.a)(w,T.a.EubopenAssay.entityID,{originParamName:"EUBOPEN_ASSAY",to:Object(x.a)({},T.a.EubopenCompound.entityID,{destinationParamName:"EUBOPEN_COMPOUND",hiddenFromGeneralJoin:!0})}),Object(x.a)(w,T.a.EubopenMechanismOfAction.entityID,{originParamName:"EUBOPEN_MECHANISM_OF_ACTION",to:{}}),Object(x.a)(w,T.a.EubopenActivity.entityID,{originParamName:"EUBOPEN_ACTIVITY",to:{}}),Object(x.a)(w,T.a.EubopenMainTarget.entityID,{originParamName:"EUBOPEN_MAIN_TARGET",to:{}}),w)};e.a={getPossibleDestinationEntityIDsAndNames:function(t){for(var e=[],n=0,r=Object.entries(C.from[t].to);n<r.length;n++){var o=Object(k.a)(r[n],2),c=o[0];o[1].hiddenFromGeneralJoin||e.push({entityID:c,pluralEntityName:T.a[c].pluralEntityName})}return e},getOriginParamName:function(t){return C.from[t].originParamName},getDestinationParamName:function(t,e){return C.from[t].to[e].destinationParamName},JoinModes:{selection:"selection",allItems:"all_items"},MAX_ITEMS_TO_JOIN:1024}},911:function(t,e,n){"use strict";var r=n(917),o=n.n(r),c={components:{CopyToClipboardButton:n(941).a},props:{title:{type:String,default:""},text:{type:String,default:""},propertyName:{type:String,default:""},large:{type:Boolean,default:!1},simple:{type:Boolean,default:!1},notificationsStoreModuleName:{type:String,default:"notification"}},data:function(){return{copySuccess:!1,successMessages:[]}},computed:{copyButtonColor:function(){return this.copySuccess?"success":"primary"}},methods:{copyText:function(){var t=this;o()(this.text),this.copySuccess=!0;var label=null==this.propertyName||""===this.propertyName?this.title:this.propertyName;this.successMessages=["".concat(label," copied to clipboard!")],setTimeout((function(){t.copySuccess=!1,t.successMessages=[]}),1e3)},textWasCopied:function(){var t=this;this.copySuccess=!0;var label=null==this.propertyName||""===this.propertyName?this.title:this.propertyName;this.successMessages=["".concat(label," copied to clipboard!")],setTimeout((function(){t.copySuccess=!1,t.successMessages=[]}),1e3)}}},l=n(4),d=n(7),m=n.n(d),h=n(885),f=n(886),v=n(53),y=n(890),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.large?t._e():n("v-row",{attrs:{justify:"space-between",align:"center","no-gutters":""}},[n("v-col",{staticClass:"text-truncate",attrs:{cols:"11"}},[t.simple?n("div",{staticClass:"text-truncate"},[t._v("\n "+t._s(t.text)+"\n ")]):n("v-text-field",{attrs:{label:t.title,value:t.text,readonly:"",success:t.copySuccess,"success-messages":t.successMessages},on:{focus:function(t){return t.target.select()}}})],1),t._v(" "),n("v-col",{attrs:{cols:"1"}},[n("CopyToClipboardButton",{attrs:{text:t.text},on:{COPY_SUCESS:t.textWasCopied}})],1)],1),t._v(" "),t.large?n("v-row",{attrs:{dense:""}},[n("v-col",{attrs:{cols:"12"}},[n("v-textarea",{attrs:{label:t.title,"background-color":"grey lighten-5",value:t.text,readonly:"",success:t.copySuccess,"success-messages":t.successMessages},on:{focus:function(t){return t.target.select()}}})],1),t._v(" "),n("v-col",{attrs:{cols:"12"}},[n("div",{staticClass:"d-flex justify-center"},[n("CopyToClipboardButton",{attrs:{text:t.text,large:""},on:{COPY_SUCESS:t.textWasCopied}})],1)])],1):t._e()],1)}),[],!1,null,null,null);e.a=component.exports;m()(component,{VCol:h.a,VRow:f.a,VTextField:v.a,VTextarea:y.a})},913:function(t,e,n){"use strict";e.a={allItemsExcept:"allItemsExcept",noItemsExcept:"noItemsExcept"}},915:function(t,e,n){"use strict";e.a={getDefaultComponentName:function(){return"Default"},getATCClassificationsComponentName:function(){return"ATCClassifications"},getPatentComponentName:function(){return"Patent"},getTargetComponentsComponentName:function(){return"TargetComponents"},getProteinClassificationsComponentName:function(){return"ProteinClassifications"},getChEMBLLinkName:function(){return"ChEMBL-Link"},getWarningWhereName:function(){return"WarningWhere"},getReferencesComponentName:function(){return"References"},getReferencesByParentComponentName:function(){return"ReferencesByParent"},getCompoundsResultsItemComponentName:function(){return"CompoundsSearchResultsItem"},getDocumentResultsItemComponentName:function(){return"DocumentSearchResultsItem"},getTargetResultsItemComponentName:function(){return"TargetSearchResultsItem"},getAssayResultsItemComponentName:function(){return"AssaySearchResultsItem"},getCellLineResultsItemComponentName:function(){return"CellLineSearchResultsItem"},getTissueResultsItemComponentName:function(){return"TissueSearchResultsItem"},getEubopenCompoundsResultsItemComponentName:function(){return"EubopenCompoundsSearchResultsItem"},getEubopenTargetsResultsItemComponentName:function(){return"EubopenTargetsSearchResultsItem"},getSynonymsName:function(){return"Synonyms"},getTextComponentName:function(){return"Text"},getExternalLinkComponentName:function(){return"ExternalLinkComponent"},getBooleanValueComponentName:function(){return"BooleanValue"},getEubopenChemicalStructureTextComponentName:function(){return"EubopenChemicalStructureText"},getEubopenMoleculeClassComponentName:function(){return"EubopenMoleculeClass"},getUniprotAcessionsComponentName:function(){return"UniprotAcessions"},getAssayParametersComponentName:function(){return"AssayParameters"},getActivityPropertiesComponentName:function(){return"ActivityProperties"},getSourcesComponentName:function(){return"Sources"},getRelatedEntitiesNumberComponentName:function(){return"RelatedEntitiesNumberComponent"},getAlternateFormsComponentName:function(){return"AlternateFormsComponent"},getTextsListComponentName:function(){return"TextsListComponent"},getOrganismTaxonomyComponentName:function(){return"OrganismTaxonomyComponent"},getMultipleOrganismTaxonomiesComponentName:function(){return"MultipleOrganismTaxonomies"},getMaxPhaseSlotComponentName:function(){return"MaxPhaseSlotComponent"},getEubopenAssaysForCompoundComponentName:function(){return"EubopenAssaysForCompoundComponent"},getEubopenCompoundACComponentName:function(){return"EubopenCompoundACComponent"},getDrugIconsComponentName:function(){return"DrugIconsComponent"}}},916:function(t,e,n){"use strict";n(15),n(12);var r,o=n(21),c=(n(234),n(235),n(11),n(8),n(6),n(13),n(1)),l=(n(38),n(16)),d=n(915),m=(r={},Object(c.a)(r,l.a.Compound.entityID,d.a.getCompoundsResultsItemComponentName()),Object(c.a)(r,l.a.Document.entityID,d.a.getDocumentResultsItemComponentName()),Object(c.a)(r,l.a.Target.entityID,d.a.getTargetResultsItemComponentName()),Object(c.a)(r,l.a.Assay.entityID,d.a.getAssayResultsItemComponentName()),Object(c.a)(r,l.a.CellLine.entityID,d.a.getCellLineResultsItemComponentName()),Object(c.a)(r,l.a.Tissue.entityID,d.a.getTissueResultsItemComponentName()),Object(c.a)(r,l.a.EubopenCompound.entityID,d.a.getEubopenCompoundsResultsItemComponentName()),Object(c.a)(r,l.a.EubopenTarget.entityID,d.a.getEubopenTargetsResultsItemComponentName()),r);function h(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var v={fireItUp:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;(n("SET_INDEX_NAME",e.indexName),n("SET_INITIAL_QUERY",e.initialQuery),n("SET_QUERY",e.initialQuery),n("SET_PROPERTIES_GROUPS",e.propertiesGroups),n("SET_CONTEXT_OBJ",e.contextObj),n("SET_SEARCH_RESULTS_ITEM",m[r.entityID]),null!=e.initialSort&&(n("SET_SORT_BY",e.initialSort),null!=e.initialSortDesc&&n("SET_SORT_DESC",e.initialSortDesc)),null!=e.customFiltering&&(n("SET_QUERYSTRING",e.customFiltering),n("SET_QUERYSTRING_TO_APPLY",e.customFiltering)),null!=e.subsetHumanDescription&&n("SET_SUBSET_HUMAN_DESCRIPTION",e.subsetHumanDescription),null!=e.initialFacetsState)?n("SET_INITIAL_FACETS_STATE",e.initialFacetsState.map((function(filter){return f(f({},filter),{},{consumed:!1,consumedForFirstPageLoad:!1})}))):n("SET_INITIAL_FACETS_STATE",[]);null!=e.quickSearchTerm&&n("SET_QUICK_SEARCH_TERM",e.quickSearchTerm),null!=e.exactTextFilters&&n("SET_EXACT_TEXT_FILTERS_FROM_STATE",e.exactTextFilters),o("loadPropertiesConfiguration");var c=e.facetsGroups;null!=c&&(n("SET_FACETS_GROUPS",c),o("loadfacetsGroups")),o("loadQuickSearchPriorities")},parsePropertiesConfiguration:function(t){var e={},n=t.properties.default||[];v.addRawHeadersToAllHeaders(e,n,"default");var r=t.properties.optional||[];v.addRawHeadersToAllHeaders(e,r,"optional");var o=t.properties.sticky||[];return v.addRawHeadersToAllHeaders(e,o,"sticky"),e},addRawHeadersToAllHeaders:function(t,e,n){for(var r="default"===n,o=Object.keys(t).length+1,i=0;i<e.length;i++){var c=e[i],l=c.prop_id;if(!(null!=t[l])){var d=f({id:l,text:c.label,sortable:c.sortable,value:c.prop_id,position:o,show:r,compulsoriness:n},c);t[d.id]=d,o+=1}}},setCurrentTableHeaders:function(t){var e=t.commit,n=t.state,r=(t.dispatch,n.propertiesGroups),o=v.getSelectedPropertyGroupKey(r),c=n.propertiesGroups[o].allHeaders,l=Object.values(c).filter((function(header){return header.show}));l.sort((function(t,e){return t.position>e.position?1:t.position<e.position?-1:0})),e("SET_CURRENT_HEADERS",v.sanitiseTableHeaders(l))},changeCurrentPropertyGroup:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;n("SET_CURRENT_PROPERTY_GROUP",e),v.setCurrentTableHeaders({commit:n,state:r,dispatch:o}),o("loadCurrentPage")},getSelectedPropertyGroupKey:function(t){for(var e=0,n=Object.entries(t);e<n.length;e++){var r=Object(o.a)(n[e],2),c=r[0];if(r[1].selected)return c}},sanitiseTableHeaders:function(t){for(var e=[],i=0;i<t.length;i++){var n=t[i],r={text:n.text,sortable:n.sortable,value:n.value};e.push(r)}return e}};e.a=v},918:function(t,e,n){"use strict";n(38),n(11),n(29),n(31),n(8),n(6),n(44),n(912);var r=n(45),o=(n(33),n(24),n(54)),c=n(58),l=n(307),d=n(180),m=n(308),h=n(16),f={components:{TextHighlighter:m.a},props:{type:{type:String,default:function(){}},itemID:{type:String,default:function(){}},entityID:{type:String,default:function(){return h.a.Compound.entityID}},truncate:{type:Boolean,default:function(){return!1}},scrollable:{type:Boolean,default:function(){return!1}},tradeNames:{type:Boolean,default:function(){return!1}},highlightText:{type:String,default:function(){return""}},textOnly:{type:Boolean,default:function(){return!1}},drugSynonyms:{type:Boolean,default:function(){return!1}},drugResearchCodes:{type:Boolean,default:function(){return!1}}},data:function(){return{synonyms:[],loading:!0,currentSize:0,breakpoint:this.$vuetify.breakpoint.name,showError:!1,errorMsg:void 0}},computed:{mustHighlightText:function(){return null!=this.highlightText&&""!==this.highlightText},showingAll:function(){return!this.truncate||this.currentSize>=this.synonyms.length},shownSynonyms:function(){if(!this.truncate)return this.synonyms;var t=this.synonyms.length,e=Math.min(t,this.currentSize);return this.synonyms.slice(0,e)},thereAreNoSynonyms:function(){return 0===this.synonyms.length},chunkSize:function(){switch(this.$vuetify.breakpoint.name){case"xs":return 4;default:return 8}},disableShowLess:function(){return this.currentSize-this.chunkSize<=0},numHidden:function(){return this.synonyms.length-this.currentSize},containerClasses:function(){return{"d-flex":!this.scrollable,"flex-wrap":!this.scrollable,scrollable:this.scrollable}}},mounted:function(){this.setInitialSize(),"target_synonyms"===this.type&&this.loadTargetSynonyms(),"molecule_synonyms"===this.type&&this.loadCompoundSynonyms()},methods:{setInitialSize:function(){switch(this.$vuetify.breakpoint.name){case"xs":this.currentSize=4;break;default:this.currentSize=8}},loadTargetSynonyms:function(){var t=this,e=c.a.getIndexNameFromEntityID(this.entityID);o.a.getESDocument(e,this.itemID,["target_components"]).then((function(e){var n=e.data._source,r=l.a.getPropertyPalue(n,"target_components",[],!1),o=t.parseTargetSynonyms(r);t.synonyms=o,t.loading=!1})).catch((function(e){d.a.trackError(e,t),t.showError=!0,t.errorMsg="There was an error while loading the synonyms for ".concat(t.itemID,": ").concat(e)}))},loadCompoundSynonyms:function(){var t=this,e=c.a.getIndexNameFromEntityID(this.entityID);o.a.getESDocument(e,this.itemID,["molecule_synonyms"]).then((function(e){var n=e.data._source,r=l.a.getPropertyPalue(n,"molecule_synonyms",[],!1),o=t.parseMoleculeSynonyms(r);t.synonyms=o,t.loading=!1})).catch((function(e){d.a.trackError(e,t),t.showError=!0,t.errorMsg="There was an error while loading the synonyms for ".concat(t.itemID,": ").concat(e)}))},parseTargetSynonyms:function(t){var e=[];return t.forEach((function(component){component.target_component_synonyms.forEach((function(t){var n=t.component_synonym;null!=n&&"EC_NUMBER"!==t.syn_type&&e.push(n)}))})),this.cleanUpSynonyms(Object(r.a)(new Set(e)))},parseMoleculeSynonyms:function(t){var e;e=this.tradeNames?function(t){return"TRADE_NAME"===t.syn_type}:this.drugSynonyms?function(t){return!["OTHER","TRADE_NAME","RESEARCH_CODE"].includes(t.syn_type)}:this.drugResearchCodes?function(t){return"RESEARCH_CODE"===t.syn_type}:function(t){return"TRADE_NAME"!==t.syn_type};var n=t.filter(e).map((function(t){return t.molecule_synonym}));return this.cleanUpSynonyms(Object(r.a)(new Set(n)))},cleanUpSynonyms:function(t){var e=new Set,n=[];return t.forEach((function(t){var r=t.toUpperCase();e.has(r)||(e.add(r),n.push(t))})),n},showMore:function(){this.currentSize+=this.chunkSize},showLess:function(){this.currentSize-=this.chunkSize},showAll:function(){this.currentSize=this.synonyms.length}}},v=(n(970),n(4)),y=n(7),_=n.n(y),w=n(293),k=n(220),x=n(218),T=n(899),component=Object(v.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"synonyms-row"},[t.loading?[n("v-skeleton-loader",{attrs:{type:"chip"}})]:[t.thereAreNoSynonyms?n("div",[t._v("---")]):[n("div",{staticClass:"chips-container",class:t.containerClasses},[t.textOnly?[t._l(t.shownSynonyms,(function(e,r){return[n("span",{key:e,staticClass:"synonym"},[t.mustHighlightText?n("TextHighlighter",{attrs:{"highlighted-text":t.highlightText,"full-text":e}}):[t._v("\n "+t._s(e)+"\n ")]],2),t._v(" "),r<t.shownSynonyms.length-1?n("span",{key:e+"-sep",staticClass:"text-separator"},[t._v("\n |\n ")]):t._e()]}))]:t._l(t.shownSynonyms,(function(e){return n("v-chip",{key:e,staticClass:"synonym-chip",attrs:{outlined:"",color:"secondary",label:""}},[n("span",{staticClass:"text-truncate"},[t.mustHighlightText?n("TextHighlighter",{attrs:{"highlighted-text":t.highlightText,"full-text":e}}):[t._v("\n "+t._s(e)+"\n ")]],2)])})),t._v(" "),t.showingAll?t._e():n("span",[t._v("... ("+t._s(t.numHidden)+" more)")])],2),t._v(" "),t.truncate&&!t.showingAll?n("div",{staticClass:"d-flex justify-space-around"},[n("v-btn",{attrs:{icon:"",depressed:"",color:"secondary",small:"",disabled:t.disableShowLess},on:{click:t.showLess}},[n("v-icon",[t._v("mdi-minus")])],1),t._v(" "),n("v-btn",{attrs:{icon:"",depressed:"",color:"primary",small:""},on:{click:t.showMore}},[n("v-icon",[t._v("mdi-plus")])],1)],1):t._e()]],t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showError,expression:"showError"}],staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")])],2)}),[],!1,null,"29d2765e",null);e.a=component.exports;_()(component,{VBtn:w.a,VChip:k.a,VIcon:x.a,VSkeletonLoader:T.a})},919:function(t,e,n){"use strict";var r=n(85),o=n.n(r).a.create({baseURL:"https://www.ebi.ac.uk/chembl/api/data",withCredentials:!1,headers:{Accept:"application/json"}});e.a={getStatus:function(){return o.get("/status.json")},getCompoundSDF:function(t){return o.get("/molecule/".concat(t,".sdf"))},getSimilarityPage:function(t,e,n,r,c){return o.get("/similarity/".concat(encodeURI(t),"/").concat(e,".json"),{params:{offset:n,limit:r,only:c}})},getStructuralAlertsPage:function(t,e,n){return o.get("/compound_structural_alert.json",{params:{molecule_chembl_id:t,offset:e,limit:n}})},getTargetRelationsPage:function(t,e,n){return o.get("/target_relation.json",{params:{related_target_chembl_id:t,offset:e,limit:n,order_by:"target_chembl_id"}})},getTargetsListPage:function(t,e,n,r){return o.get("/target.json",{params:{target_chembl_id__in:t.join(","),offset:e,limit:n,order_by:r}})}}},920:function(t,e,n){var content=n(955);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("26e8dfa0",content,!0,{sourceMap:!1})},921:function(t,e,n){var content=n(957);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("56563fb4",content,!0,{sourceMap:!1})},922:function(t,e,n){var content=n(959);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("01379e58",content,!0,{sourceMap:!1})},923:function(t,e,n){var content=n(961);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("50682be0",content,!0,{sourceMap:!1})},924:function(t,e,n){var content=n(963);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("4dbba727",content,!0,{sourceMap:!1})},925:function(t,e,n){"use strict";var r={components:{TextHighlighter:n(308).a},props:{linkLabel:{type:String,default:function(){return""}},linkHref:{type:String,default:function(){return""}},highlightText:{type:String,default:function(){return""}}},computed:{noValue:function(){return null==this.linkLabel||""===this.linkLabel},mustHighlightText:function(){return null!=this.highlightText&&""!==this.highlightText}}},o=n(4),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.noValue?n("span",[t._v(" --- ")]):n("a",{attrs:{href:t.linkHref}},[t.mustHighlightText?n("TextHighlighter",{attrs:{"highlighted-text":t.highlightText,"full-text":t.linkLabel}}):[t._v("\n "+t._s(t.linkLabel)+"\n ")]],2)])}),[],!1,null,null,null);e.a=component.exports},926:function(t,e,n){var content=n(969);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("06b54fcd",content,!0,{sourceMap:!1})},927:function(t,e,n){var content=n(971);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("be6801aa",content,!0,{sourceMap:!1})},928:function(t,e,n){var content=n(973);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("063e107a",content,!0,{sourceMap:!1})},929:function(t,e,n){var content=n(975);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("1774678c",content,!0,{sourceMap:!1})},930:function(t,e,n){var content=n(977);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("0d1f2eb0",content,!0,{sourceMap:!1})},931:function(t,e,n){var content=n(979);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("2807b9fc",content,!0,{sourceMap:!1})},932:function(t,e,n){var content=n(981);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("ef447d26",content,!0,{sourceMap:!1})},933:function(t,e,n){"use strict";n(36),n(316),n(77);var r=n(30),o=n(911),c=n(54),l=n(16),d=n(58),m=n(307),h=n(180),f=n(919),v={mixins:[n(309).a],props:{moleculeChemblId:{type:String,default:void 0},compact:{type:Boolean,default:function(){return!1}},fromSDF:{type:String,default:function(){}},btnText:{type:String,default:function(){return"Structure search"}}},data:function(){return{loading:!1,sdfReady:!1,showError:!1,errorMsg:void 0,sdf:void 0}},methods:{loadSDFAndOpenDialog:function(){var t=this;if(this.loading=!0,this.sdfReady)this.triggerOpenDialog();else{if(null!=this.fromSDF)return this.sdf=this.fromSDF,this.loading=!1,this.setDrawnMolecule(),void this.triggerOpenDialog();this.sdfReady||(this.loading=!0,f.a.getCompoundSDF(this.moleculeChemblId).then((function(e){t.sdf=e.data,t.loading=!1,t.setDrawnMolecule(),t.triggerOpenDialog()})).catch((function(e){t.showError=!0,t.errorMsg="There was an error while loading the SDF for ".concat(t.chemblID,". ").concat(e.message),t.loading=!1})))}},setDrawnMolecule:function(){this.$store.dispatch("advanced_search/main_dialog/setDrawnMolecule",this.sdf)},triggerOpenDialog:function(){this.isEmbedded?window.parent.postMessage({msg:"OPEN_STRUCTURE_SEARCH",data:{sdf:this.sdf}},"https://www.ebi.ac.uk"):this.$store.dispatch("advanced_search/main_dialog/updateOpenDialog",!0)}}},y=n(4),_=n(7),w=n.n(_),k=n(293),x=n(218),component=Object(y.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.compact?n("v-btn",{attrs:{color:"primary","x-small":"",outlined:"",loading:t.loading},on:{click:t.loadSDFAndOpenDialog}},[n("v-icon",{attrs:{"x-small":""}},[t._v(" mdi-magnify ")])],1):n("v-btn",{attrs:{color:"primary",small:"",loading:t.loading},on:{click:t.loadSDFAndOpenDialog}},[t._v("\n "+t._s(t.btnText)+"\n ")]),t._v(" "),t.showError?n("div",{staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]):t._e()],1)}),[],!1,null,null,null),T=component.exports;w()(component,{VBtn:k.a,VIcon:x.a});var C=n(315),S=n(935),I={components:{TextToClipboard:o.a,StructureSearchTrigger:T},mixins:[S.a],props:{moleculeChemblId:{type:String,default:void 0},bordered:{type:Boolean,default:function(){return!1}},contain:{type:Boolean,default:function(){return!1}},aspectRatio:{type:String,default:function(){}},maxWidth:{type:String,default:function(){}},maxHeight:{type:String,default:function(){}},showOptions:{type:Boolean,default:function(){return!0}},enableStructureSearch:{type:Boolean,default:function(){return!1}},compactStructureSearch:{type:Boolean,default:function(){return!1}},fromSmiles:{type:String,default:function(){}},structureSearchBtnText:{type:String,default:function(){}},similarityMapsReferenceStructure:{type:String,default:function(){}},showSimilarityMaps:{type:Boolean,default:function(){return!1}},showSubstructureHighlight:{type:Boolean,default:function(){return!1}},enableSimilarityMaps:{type:Boolean,default:function(){return!1}},enableSubstructureHighlight:{type:Boolean,default:function(){return!1}},substructureHighlightReferenceStructure:{type:String,default:function(){}}},data:function(){return{showImgDetails:!1,generatedImageFilePath:void 0,generatedImageCaption:void 0,loadingStructureDetails:!0,showError:!1,errorMsg:"",smiles:void 0,sdf:void 0,imgURL:void 0,inchiKey:void 0,molfile:void 0,forcedHeight:"200px",loadingSimilarityMap:!0,similarityMapImgURL:void 0,similarityMapReady:!1,loadingSubstructureHighlight:!0,substructureHighlightImgURL:void 0,substructureHighlightReady:!1}},computed:{shownImgURL:function(){return this.showSimilarityMaps&&this.similarityMapReady?this.similarityMapImgURL:this.showSubstructureHighlight&&this.substructureHighlightReady?this.substructureHighlightImgURL:this.imgURL},hasStructureImg:function(){return null==this.generatedImageFilePath},showOptionsMenu:function(){return this.showOptions&&!this.loadingStructureDetails&&!this.showError&&this.hasStructureImg},showStructureSearchBtn:function(){return this.enableStructureSearch&&!this.loadingStructureDetails&&!this.showError},altText:function(){return this.hasStructureImg?"Structure of ".concat(this.moleculeChemblId):"".concat(this.moleculeChemblId,": ").concat(this.captionText)},imgContainerClasses:function(){return{"no-structure-img-container":!this.hasStructureImg,"bordered-img-container":this.bordered}},imgClasses:function(){return{"full-width":!0,"no-structure-img":!this.hasStructureImg}}},watch:{showSimilarityMaps:{handler:"toggleSimilarityMap"},loadingStructureDetails:{handler:"toggleSimilarityMapOrSubstructureHighlight"},showSubstructureHighlight:{handler:"toggleSubstructureHighlight"}},mounted:function(){var t=null!=this.fromSmiles;this.loadingStructureDetails=!0,t?(this.smiles=this.fromSmiles,this.loadImgFromSmiles()):this.loadImgFromChemblID()},methods:{toggleSimilarityMapOrSubstructureHighlight:function(){this.enableSimilarityMaps?this.toggleSimilarityMap():this.enableSubstructureHighlight&&this.toggleSubstructureHighlight()},loadImgFromChemblID:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,f,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=l.a.Compound.entityID,r=d.a.getIndexNameFromEntityID(n),o=["_metadata.compound_generated.image_file","molecule_structures"],e.prev=3,e.next=6,c.a.getESDocument(r,t.moleculeChemblId,o);case 6:f=e.sent,v=f.data._source,null==m.a.getPropertyPalue(v,"molecule_structures",void 0,!0)?t.loadImgWhenNoStructure():t.imgURL="".concat("https://www.ebi.ac.uk/chembl/api/data","/image/").concat(t.moleculeChemblId,".svg"),t.forcedHeight=void 0,t.smiles=m.a.getPropertyPalue(v,"molecule_structures.canonical_smiles",void 0,!0),t.inchiKey=m.a.getPropertyPalue(v,"molecule_structures.standard_inchi_key",void 0,!0),t.molfile=m.a.getPropertyPalue(v,"molecule_structures.molfile",void 0,!0),t.loadingStructureDetails=!1,e.next=23;break;case 17:e.prev=17,e.t0=e.catch(3),h.a.trackError(e.t0,t),t.loadingStructureDetails=!1,t.errorMsg="There was an error when loading the structure details. ".concat(e.t0),t.showError=!0;case 23:case"end":return e.stop()}}),e,null,[[3,17]])})))()},loadImgWhenNoStructure:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var r,o,f,v,y,_,w;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=l.a.Compound.entityID,o=d.a.getIndexNameFromEntityID(r),f=["molecule_type","polymer_flag","inorganic_flag","molecule_properties.full_molformula"],e.prev=3,e.next=6,c.a.getESDocument(o,t.moleculeChemblId,f);case 6:if(v=e.sent,y=v.data._source,null==(_=m.a.getPropertyPalue(y,"molecule_properties.full_molformula",void 0,!0))){e.next=16;break}if(!t.molFormulaContainsMetals(_)){e.next=16;break}return w="metal_containing.svg",t.generatedImageFilePath=w,t.generatedImageCaption="Metal Containing",t.imgURL=n(1040)("./".concat(w)),e.abrupt("return");case 16:t.imgURL=t.getImagePathAsFeaturesIcon(y),e.next=25;break;case 19:e.prev=19,e.t0=e.catch(3),h.a.trackError(e.t0,t),t.loadingStructureDetails=!1,t.errorMsg="There was an error when loading the structure details. ".concat(e.t0),t.showError=!0;case 25:case"end":return e.stop()}}),e,null,[[3,19]])})))()},molFormulaContainsMetals:function(t){var e=new RegExp("(\\.|[0-9]|".concat(["H","C","N","O","P","S","F","Cl","Br","I"].join("|"),")"),"g");return t.replace(e,"").length>0},getImagePathAsFeaturesIcon:function(t){var e=this.allPossibleFeatures.row1.features.molecule_type,r=(0,e.valueGetter)(t),o=e.possible_values,c=null!=o[r]?o[r]:o.Unknown,l=c.iconFilename;return this.generatedImageFilePath=l,this.generatedImageCaption=c.label,n(936)("./".concat(this.generatedImageFilePath))},loadImgFromSmiles:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,svg;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,C.a.smiles2ctab(t.smiles);case 3:return n=e.sent,r=n.data,t.sdf=r,e.next=8,C.a.ctab2svg(r);case 8:o=e.sent,svg=o.data,t.imgURL="data:image/svg+xml;base64,".concat(btoa(svg)),t.loadingStructureDetails=!1,e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),t.showError=!0,t.errorMsg=e.t0;case 18:case"end":return e.stop()}}),e,null,[[0,14]])})))()},toggleSimilarityMap:function(){this.enableSimilarityMaps&&this.showSimilarityMaps&&this.showSimilarityMap()},toggleSubstructureHighlight:function(){this.enableSubstructureHighlight&&this.showSubstructureHighlight&&this.showTheSubstructureHighlight()},showSimilarityMap:function(){var t=this;this.loadingStructureDetails||this.similarityMapReady||(this.errorMsg=void 0,this.showError=!1,this.loadingSimilarityMap=!0,C.a.smiles2SimilarityMapSvg(this.smiles).then((function(e){var svg=e.data;t.similarityMapImgURL="data:image/svg+xml;base64,".concat(btoa(svg)),t.similarityMapReady=!0,t.loadingSimilarityMap=!1})).catch((function(e){t.loadingSimilarityMap=!1,t.errorMsg="There was an error when loading the similarity map. ".concat(e),t.showError=!0})))},hideSimilarityMap:function(){this.showError&&(this.errorMsg=void 0,this.showError=!1)},showTheSubstructureHighlight:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.loadingStructureDetails){e.next=2;break}return e.abrupt("return");case 2:if(t.substructureHighlightReady){e.next=23;break}return t.errorMsg=void 0,t.showError=!1,t.loadingSubstructureHighlight=!0,e.prev=6,e.next=9,f.a.getCompoundSDF(t.moleculeChemblId);case 9:return n=e.sent.data,e.next=12,C.a.highlightCtabFragmentSvg(n,t.substructureHighlightReferenceStructure);case 12:r=e.sent.data,t.substructureHighlightImgURL="data:image/svg+xml;base64,".concat(btoa(r)),t.substructureHighlightReady=!0,t.loadingSubstructureHighlight=!1,e.next=23;break;case 18:e.prev=18,e.t0=e.catch(6),t.loadingSubstructureHighlight=!1,t.errorMsg="There was an error when loading the substructure highlight. ".concat(e.t0),t.showError=!0;case 23:case"end":return e.stop()}}),e,null,[[6,18]])})))()}}},E=(n(1042),n(301)),D=n(25),M=n(877),N=n(294),L=n(319),P=n(240),O=n(302),A=n(886),V=n(888),j=Object(y.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex flex-column align-center image-container",class:t.imgContainerClasses},[t.showSimilarityMaps&&t.loadingSimilarityMap?n("div",{staticClass:"d-flex justify-center align-center flex-column"},[n("div",{staticClass:"text-caption"},[t._v("Loading Similarity Map")]),t._v(" "),n("v-progress-linear",{attrs:{indeterminate:"",color:"primary"}})],1):t._e(),t._v(" "),t.showSubstructureHighlight&&t.loadingSubstructureHighlight?n("div",{staticClass:"d-flex justify-center align-center flex-column"},[n("div",{staticClass:"text-caption"},[t._v("Loading Structure Highlight")]),t._v(" "),n("v-progress-linear",{attrs:{indeterminate:"",color:"primary"}})],1):t._e(),t._v(" "),n("v-img",{class:t.imgClasses,attrs:{src:t.shownImgURL,alt:t.altText,"aspect-ratio":t.aspectRatio,contain:t.contain,"max-width":t.maxWidth,height:t.forcedHeight,"max-height":t.maxHeight},scopedSlots:t._u([{key:"placeholder",fn:function(){return[n("v-row",{staticClass:"fill-height ma-0",attrs:{align:"center",justify:"center"}},[n("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1)]},proxy:!0}])}),t._v(" "),t.hasStructureImg?t._e():n("div",{staticClass:"text-caption"},[t._v("\n "+t._s(t.generatedImageCaption)+"\n ")]),t._v(" "),t.hasStructureImg?n("div",{staticClass:"structure-search-trigger-container"},[t.showStructureSearchBtn?n("StructureSearchTrigger",{attrs:{"molecule-chembl-id":t.moleculeChemblId,"from-s-d-f":t.sdf,compact:t.compactStructureSearch,"btn-text":t.structureSearchBtnText}}):t._e()],1):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showError,expression:"showError"}],staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")]),t._v(" "),t.showOptionsMenu?n("div",{staticClass:"options-button"},[n("v-dialog",{attrs:{"max-width":"800px"},scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,o=e.attrs;return[n("v-btn",t._g(t._b({attrs:{color:"secondary",icon:"",small:""}},"v-btn",o,!1),r),[n("v-icon",[t._v(" mdi-dots-vertical ")])],1)]}}],null,!1,3107909710),model:{value:t.showImgDetails,callback:function(e){t.showImgDetails=e},expression:"showImgDetails"}},[t._v(" "),n("v-card",[n("v-card-title",{staticClass:"text-h5 grey lighten-2"},[t._v("\n Structure Details\n ")]),t._v(" "),n("v-card-text",[n("TextToClipboard",{attrs:{text:t.imgURL,title:"Image URL"}})],1),t._v(" "),n("v-card-text",[n("TextToClipboard",{attrs:{text:t.similarityMapImgURL,title:"Similiarity Map Image URL"}})],1),t._v(" "),null!=t.smiles?n("v-card-text",[n("TextToClipboard",{attrs:{text:t.smiles,title:"Smiles"}})],1):t._e(),t._v(" "),null!=t.inchiKey?n("v-card-text",[n("TextToClipboard",{attrs:{text:t.inchiKey,title:"InChI Key"}})],1):t._e(),t._v(" "),null!=t.molfile?n("v-card-text",[n("TextToClipboard",{attrs:{text:t.molfile,title:"Molfile",large:""}})],1):t._e(),t._v(" "),n("v-divider"),t._v(" "),n("v-card-actions",[n("v-spacer"),t._v(" "),n("v-btn",{attrs:{color:"primary",text:""},on:{click:function(e){t.showImgDetails=!1}}},[t._v("\n Close\n ")])],1)],1)],1)],1):t._e()],1)}),[],!1,null,"3068f72a",null);e.a=j.exports;w()(j,{VBtn:k.a,VCard:E.a,VCardActions:D.a,VCardText:D.c,VCardTitle:D.d,VDialog:M.a,VDivider:N.a,VIcon:x.a,VImg:L.a,VProgressCircular:P.a,VProgressLinear:O.a,VRow:A.a,VSpacer:V.a})},935:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(307),o={data:function(){return{allPossibleFeatures:{row1:{features:{natural_product:{label:"Natural Product",position:2,possible_values:{1:{label:"Yes",iconFilename:"natural.svg",queryString:"natural_product:1",active:!0},0:{label:"No",iconFilename:"natural.svg",queryString:"natural_product:0",active:!1}},valueGetter:function(t){return r.a.getPropertyPalue(t,"natural_product",void 0,!0)}},chemical_probe:{label:"Chemical Probe",position:3,possible_values:{1:{label:"Yes",iconFilename:"chemical_probe.svg",queryString:"chemical_probe:1",active:!0},0:{label:"No",iconFilename:"chemical_probe.svg",queryString:"chemical_probe:1",active:!1}},valueGetter:function(t){return r.a.getPropertyPalue(t,"chemical_probe",void 0,!0)}},ro5:{label:"Rule Of Five",position:4,possible_values:{true:{label:"Yes",iconFilename:"rule_of_five.svg",queryString:"_exists_:molecule_properties.num_ro5_violations AND molecule_properties.num_ro5_violations:<=1",active:!0},false:{label:"No",iconFilename:"rule_of_five.svg",queryString:"(NOT _exists_:molecule_properties.num_ro5_violations) OR molecule_properties.num_ro5_violations:>1",active:!1}},valueGetter:function(t){var e=r.a.getPropertyPalue(t,"molecule_properties.num_ro5_violations",void 0,!0);return null!=e&&e<=1}},molecule_type:{label:"Molecule Type",position:1,possible_values:{"Small molecule":{label:"Small Molecule",iconFilename:"small-molecule.svg",queryString:'molecule_type:"Small molecule"',active:!0},"Small molecule polymer":{label:"Small Molecule Polymer",iconFilename:"polymer.svg",queryString:"polymer_flag:1",active:!0},Antibody:{label:"Antibody",iconFilename:"antibody.svg",queryString:'molecule_type:"Antibody"',active:!0},Enzyme:{label:"Enzyme",iconFilename:"enzyme.svg",queryString:'molecule_type:"Enzyme"',active:!0},Oligosaccharide:{label:"Oligosaccharide",iconFilename:"oligosaccharide.svg",queryString:'molecule_type:"Oligosaccharide"',active:!0},Protein:{label:"Oligopeptide",iconFilename:"protein.svg",queryString:'molecule_type:"Protein"',active:!0},Oligonucleotide:{label:"Oligonucleotide",iconFilename:"oligonucleotide.svg",queryString:'molecule_type:"Oligonucleotide"',active:!0},Cell:{label:"Cell Based",iconFilename:"cell.svg",queryString:'molecule_type:"Cell"',active:!0},Unknown:{label:"Unknown",iconFilename:"unknown.svg",queryString:'molecule_type:"Unknown"',active:!0},Inorganic:{label:"Inorganic",iconFilename:"inorganic.svg",queryString:"inorganic_flag:1",active:!0},Gene:{label:"Gene",iconFilename:"gene.svg",queryString:'molecule_type:"Gene"',active:!0},"Antibody drug conjugate":{label:"Antibody Drug Conjugate",iconFilename:"antibody_drug_conjugate.svg",queryString:'molecule_type:"Antibody drug conjugate"',active:!0}},valueGetter:function(t){var e=r.a.getPropertyPalue(t,"molecule_type",void 0,!0);return 1===r.a.getPropertyPalue(t,"polymer_flag",void 0,!0)?"Small molecule polymer":1===r.a.getPropertyPalue(t,"inorganic_flag",void 0,!0)?"Inorganic":e}},first_in_class:{label:"First in Class",position:5,possible_values:{1:{label:"Yes",iconFilename:"first_in_class.svg",queryString:"first_in_class:1",active:!0},0:{label:"No",iconFilename:"first_in_class.svg",queryString:"first_in_class:0",active:!1},"-1":{label:"Undefined",iconFilename:"first_in_class.svg",queryString:'first_in_class:"-1"',active:!1}},valueGetter:function(t){return r.a.getPropertyPalue(t,"first_in_class",void 0,!0)}},chirality:{label:"Chirality",position:6,possible_values:{"-1":{label:"Undefined",iconFilename:"racemic_mixture.svg",queryString:'chirality:"-1"',active:!1},0:{label:"Racemic Mixture",iconFilename:"racemic_mixture.svg",queryString:"chirality:0",active:!0},1:{label:"Single Stereoisomer",iconFilename:"chirally_pure.svg",queryString:"chirality:1",active:!0},2:{label:"Achiral Molecule",iconFilename:"chirally_pure.svg",queryString:"chirality:2",active:!1}},valueGetter:function(t){return r.a.getPropertyPalue(t,"chirality",void 0,!0)}},prodrug:{label:"Prodrug",position:7,possible_values:{"-1":{label:"Undefined",iconFilename:"prodrug.svg",queryString:'prodrug:"-1"',active:!1},0:{label:"No",iconFilename:"prodrug.svg",queryString:"prodrug:0",active:!1},1:{label:"Yes",iconFilename:"prodrug.svg",queryString:"prodrug:1",active:!0}},valueGetter:function(t){return r.a.getPropertyPalue(t,"prodrug",void 0,!0)}}}},row2:{features:{oral:{label:"Oral",position:1,possible_values:{true:{label:"Yes",iconFilename:"oral.svg",queryString:"oral:true",active:!0},false:{label:"No",iconFilename:"oral.svg",queryString:"oral:false",active:!1}},valueGetter:function(t){return r.a.getPropertyPalue(t,"oral",void 0,!0)}},parenteral:{label:"Parenteral",position:2,possible_values:{true:{label:"Yes",iconFilename:"parenteral.svg",queryString:"parenteral:true",active:!0},false:{label:"No",iconFilename:"parenteral.svg",queryString:"parenteral:false",active:!1}},valueGetter:function(t){return r.a.getPropertyPalue(t,"parenteral",void 0,!0)}},topical:{label:"Topical",position:3,possible_values:{true:{label:"Yes",iconFilename:"topical.svg",queryString:"topical:true",active:!0},false:{label:"No",iconFilename:"topical.svg",queryString:"topical:false",active:!1}},valueGetter:function(t){return r.a.getPropertyPalue(t,"topical",void 0,!0)}},black_box_warning:{label:"Black Box",position:4,possible_values:{0:{label:"No",iconFilename:"black_box.svg",queryString:"black_box:0",active:!1},1:{label:"Yes",iconFilename:"black_box.svg",queryString:"black_box:1",active:!0}},valueGetter:function(t){return r.a.getPropertyPalue(t,"black_box_warning",void 0,!0)}},availability_type:{label:"Availability",position:5,possible_values:{"-2":{label:"Withdrawn",iconFilename:"withdrawn.svg",queryString:'availability_type:"-2"',active:!0},"-1":{label:"Undefined",iconFilename:"prescription.svg",queryString:'availability_type:"-1"',active:!1},0:{label:"Discontinued",iconFilename:"discontinued.svg",queryString:"availability_type:0",active:!0},1:{label:"Prescription Only",iconFilename:"prescription.svg",queryString:"availability_type:1",active:!0},2:{label:"Over the Counter",iconFilename:"otc.svg",queryString:"availability_type:2",active:!0}},valueGetter:function(t){return r.a.getPropertyPalue(t,"availability_type",void 0,!0)}}}}}}}}},936:function(t,e,n){var map={"./antibody.svg":1012,"./antibody_drug_conjugate.svg":1013,"./black_box.svg":1014,"./cell.svg":1015,"./chemical_probe.svg":1016,"./chirally_pure.svg":1017,"./discontinued.svg":1018,"./enzyme.svg":1019,"./first_in_class.svg":1020,"./gene.svg":1021,"./inorganic.svg":1022,"./natural.svg":1023,"./oligonucleotide.svg":1024,"./oligosaccharide.svg":1025,"./oral.svg":1026,"./otc.svg":1027,"./parenteral.svg":1028,"./polymer.svg":1029,"./prescription.svg":1030,"./prodrug.svg":1031,"./protein.svg":1032,"./racemic_mixture.svg":1033,"./rule_of_five.svg":1034,"./small-molecule.svg":1035,"./topical.svg":1036,"./unknown.svg":1037,"./withdrawn.svg":1038};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(map,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return map[t]}r.keys=function(){return Object.keys(map)},r.resolve=o,t.exports=r,r.id=936},937:function(t,e,n){"use strict";e.a={DEFAULT_QUERYSTRING:"*"}},938:function(t,e,n){"use strict";var r={components:{TextHighlighter:n(308).a},props:{path:{type:Array,default:function(){return[]}},disableLinks:{type:Boolean,default:function(){return!1}},highlightText:{type:String,default:function(){}}}},o=n(4),c=n(7),l=n.n(c),d=n(1506),m=n(1197),h=n(900),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-breadcrumbs",{attrs:{items:t.path},scopedSlots:t._u([{key:"item",fn:function(e){var r=e.item;return[n("v-breadcrumbs-item",{attrs:{href:t.disableLinks?null:r.href,disabled:r.disabled,target:"_parent"}},[t.disableLinks?n("TextHighlighter",t._g(t._b({attrs:{"highlighted-text":t.highlightText,"full-text":r.text}},"TextHighlighter",t.attrs,!1),t.on)):n("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var o=e.on,c=e.attrs;return[n("TextHighlighter",t._g(t._b({attrs:{"highlighted-text":t.highlightText,"full-text":r.text}},"TextHighlighter",c,!1),o))]}}],null,!0)},[t._v(" "),n("span",[t._v("Click to explore all items of the class "+t._s(r.text)+".")])])],1)]}}])})}),[],!1,null,null,null);e.a=component.exports;l()(component,{VBreadcrumbs:d.a,VBreadcrumbsItem:m.a,VTooltip:h.a})},939:function(t,e,n){"use strict";var r={props:{allItems:{type:Array,default:function(){return[]}},disable:{type:Boolean,default:function(){return!1}}},data:function(){return{dragSourceKey:void 0,draggingOverKey:void 0}},methods:{draggingOverMe:function(t){return t===this.draggingOverKey&&this.dragSourceKey!==this.draggingOverKey},toggleFacet:function(t){this.$emit("TOGGLE_ITEM",t)},setDragStarted:function(t,e){e!==this.dragSourceKey&&(this.dragSourceKey=e)},setDraggingOver:function(t,e){e!==this.draggingOverKey&&(this.draggingOverKey=e)},getItemClasses:function(t){return{grey:t.key===this.dragSourceKey,"lighten-3":t.key===this.dragSourceKey}},handleDragend:function(){this.dragSourceKey=void 0,this.draggingOverKey=void 0},handleDrop:function(t){this.$emit("REARRANGE_ITEMS",{originKey:this.dragSourceKey,destinationKey:this.draggingOverKey})}}},o=(n(980),n(4)),c=n(7),l=n.n(c),d=n(1790),m=n(885),h=n(218),f=n(886),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-row",{attrs:{"no-gutters":""}},[t._l(t.allItems,(function(e,r){return[t.draggingOverMe(e.key)?n("v-col",{key:e.prop_id+"-drop-area",attrs:{cols:"1"}},[n("div",{staticClass:"d-flex flex-column justify-end align-center drop-area",on:{dragover:function(t){t.preventDefault()},dragenter:function(t){t.preventDefault()},drop:t.handleDrop}},[n("div",{staticClass:"text-caption"},[t._v("Drop Here")]),t._v(" "),n("v-icon",[t._v("mdi-arrow-expand-horizontal")])],1)]):t._e(),t._v(" "),n("v-col",{key:e.prop_id+"-selector",attrs:{cols:t.draggingOverMe(e.key)?5:6,lg:t.draggingOverMe(e.key)?3:4}},[n("div",{staticClass:"d-flex",class:t.getItemClasses(e),attrs:{draggable:!t.disable},on:{dragstart:function(n){return t.setDragStarted(n,e.key)},dragover:function(n){return t.setDraggingOver(n,e.key)},dragend:t.handleDragend}},[n("div",{staticClass:"d-flex align-end grabber"},[n("v-icon",[t._v("mdi-dots-vertical")])],1),t._v(" "),n("v-checkbox",{attrs:{label:r+1+". "+e.property_config.label,"input-value":e.show,"hide-details":"",disabled:t.disable},on:{change:function(n){return t.toggleFacet(e.key)}}})],1)])]}))],2)}),[],!1,null,"730eaae8",null);e.a=component.exports;l()(component,{VCheckbox:d.a,VCol:m.a,VIcon:h.a,VRow:f.a})},940:function(t,e,n){"use strict";var r=n(906),o={getURLForTargetsBelongingToClass:function(t,e,n,o){var c=n.length>1?" (".concat(n.join(" / "),")"):"",l="Item that belong to the class ".concat(e,".").concat(c);return r.a.buildURLForEntityBrowser(o,t,"filter",l)}};e.a=o},941:function(t,e,n){"use strict";var r=n(917),o=n.n(r),c={props:{large:{type:Boolean,default:!1},text:{type:String,default:""}},data:function(){return{copySuccess:!1,btnText:"Copy to clipboard"}},computed:{copyButtonColor:function(){return this.copySuccess?"success":"primary"}},methods:{copyText:function(){var t=this;o()(this.text),this.copySuccess=!0,this.btnText="Copied!",this.$emit("COPY_SUCESS"),setTimeout((function(){t.copySuccess=!1,t.btnText="Copy to clipboard"}),1e3)}}},l=n(4),d=n(7),m=n.n(d),h=n(293),f=n(218),v=n(900),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.large?n("v-btn",{attrs:{color:t.copyButtonColor,outlined:""},on:{click:t.copyText}},[t._v("\n "+t._s(t.btnText)+" "),n("v-icon",{attrs:{right:""}},[t._v(" mdi-content-copy ")])],1):n("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,o=e.attrs;return[n("v-btn",t._g(t._b({attrs:{icon:"",color:t.copyButtonColor},on:{click:t.copyText}},"v-btn",o,!1),r),[n("v-icon",[t._v("mdi-content-copy")])],1)]}}])},[t._v(" "),n("span",[t._v("Copy to clipboard")])])],1)}),[],!1,null,null,null);e.a=component.exports;m()(component,{VBtn:h.a,VIcon:f.a,VTooltip:v.a})},942:function(t,e,n){var content=n(1043);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("3c74e462",content,!0,{sourceMap:!1})},943:function(t,e,n){"use strict";var r=n(45),o=n(964),c=n(945),l=n(946),d=n(949),m=n(939),h=n(916),f={components:{PropertiesOrganiser:m.a},props:{datasetState:{type:Object,default:function(){}},storeModuleName:{type:String,default:function(){return""}}},data:function(){return{dialog:!1}},computed:{allColumns:function(){var t=h.a.getSelectedPropertyGroupKey(this.datasetState.propertiesGroups),e=this.datasetState.propertiesGroups[t].allHeaders,n=[];for(var r in e){var o=e[r];n.push({key:r,prop_id:o.id,property_config:{label:o.text},show:o.show,position:o.position})}return n.sort((function(t,e){return t.position-e.position})),n},disableConfig:function(){return this.datasetState.pageLoading}},methods:{toggleColumn:function(t){var e="".concat(this.storeModuleName,"/toggleColumn");this.$store.dispatch(e,t)},rearrangeColumns:function(t){var e="".concat(this.storeModuleName,"/moveColumns");this.$store.dispatch(e,{originKey:t.originKey,destinationKey:t.destinationKey})}}},v=n(4),y=n(7),_=n.n(y),w=n(293),k=n(301),x=n(25),T=n(877),C=n(294),S=n(218),I=n(76),E=n(153),D=n(900),component=Object(v.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-dialog",{scopedSlots:t._u([{key:"activator",fn:function(e){var menu=e.on,r=e.attrs;return[n("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var o=e.on;return[n("v-btn",t._g(t._b({attrs:{icon:"",disabled:t.disableConfig}},"v-btn",r,!1),Object.assign({},o,menu)),[n("v-icon",[t._v("mdi-cog-outline")])],1)]}}],null,!0)},[t._v("\n Show/hide/organise columns.\n ")])]}}]),model:{value:t.dialog,callback:function(e){t.dialog=e},expression:"dialog"}},[t._v(" "),n("v-card",[n("v-toolbar",{attrs:{flat:""}},[n("v-btn",{attrs:{icon:""},on:{click:function(e){t.dialog=!1}}},[n("v-icon",[t._v("mdi-close")])],1),t._v(" "),n("v-toolbar-title",[t._v(" Organise Columns")])],1),t._v(" "),n("v-divider"),t._v(" "),n("br"),t._v(" "),n("v-card-subtitle",[t._v("Click on the checkbox to show/hide columns. Drag and drop columns to\n change their order.\n ")]),t._v(" "),n("v-card-text",[n("PropertiesOrganiser",{attrs:{"all-items":t.allColumns,disable:t.disableConfig},on:{TOGGLE_ITEM:t.toggleColumn,REARRANGE_ITEMS:t.rearrangeColumns}})],1)],1)],1)}),[],!1,null,null,null),M=component.exports;_()(component,{VBtn:w.a,VCard:k.a,VCardSubtitle:x.b,VCardText:x.c,VDialog:T.a,VDivider:C.a,VIcon:S.a,VToolbar:I.a,VToolbarTitle:E.a,VTooltip:D.a});var N={components:{ChEMBLDataSlot:o.a,ChEMBLPaginator:c.a,ChEMBLItemsCounts:l.a,ChEMBLSelectItemsPerPage:d.a,TableConfig:M},props:{datasetState:{type:Object,default:function(){}},storeModuleName:{type:String,default:function(){return""}},outlinedCard:{type:Boolean,default:function(){return!1}},inReportCard:{type:Boolean,default:function(){return!1}},hideExtactTextFilterApplicator:{type:Boolean,default:function(){return!1}}},computed:{showSkeletonLoader:function(){return!this.datasetState.initialLoad},showTable:function(){return this.datasetState.initialLoad},slots:function(){return[]},thereAreItems:function(){return this.datasetState.totalItems>0},tableHeaders:function(){return[{text:"#",value:"itemNumber",sortable:!1}].concat(Object(r.a)(this.datasetState.currentHeaders))}},methods:{triggerSort:function(t){var e="".concat(this.storeModuleName,"/setSortBy");this.$store.dispatch(e,t)},triggerSortDirection:function(t){var e="".concat(this.storeModuleName,"/setSortDesc");this.$store.dispatch(e,t)},itemSelected:function(t,e){var n=t.item,r=t.value,o=n.id,c="".concat(this.storeModuleName,"/setItemSelected");this.$store.dispatch(c,{id:o,value:r})},allSelected:function(t){t.item;var e=t.value,n="".concat(this.storeModuleName,"/setAllSelected");this.$store.dispatch(n,e)},goToFullBrowser:function(){var t="".concat(this.storeModuleName,"/goToFullBrowser");this.$store.dispatch(t)}}},L=n(885),P=n(1872),O=n(1786),A=n(886),V=n(899),j=Object(v.a)(N,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",{attrs:{outlined:t.outlinedCard}},[n("v-card-text",[t.thereAreItems?n("v-row",{attrs:{dense:""}},[n("v-col",{attrs:{cols:"6",offset:"3","offset-sm":"0",sm:"2",order:"1"}},[n("ChEMBLSelectItemsPerPage",{attrs:{"dataset-state":t.datasetState,"store-module-name":t.storeModuleName}})],1),t._v(" "),n("v-col",{attrs:{cols:"12",sm:"6",order:"2","order-sm":"3","order-lg":"4",lg:"4"}},[n("ChEMBLPaginator",{attrs:{"dataset-state":t.datasetState,"store-module-name":t.storeModuleName}})],1),t._v(" "),n("v-col",{staticClass:"d-flex justify-center align-center",attrs:{cols:"12",order:"3","order-sm":"4","order-lg":"3",lg:"4"}},[n("ChEMBLItemsCounts",{attrs:{"dataset-state":t.datasetState}})],1),t._v(" "),n("v-col",{staticClass:"d-flex justify-center align-center",attrs:{cols:"12",sm:"4",lg:"2","order-sm":"2",order:"4"}},[t.inReportCard?n("v-btn",{attrs:{small:"",depressed:"",color:"primary",loading:t.datasetState.browseAll.processingLink},on:{click:t.goToFullBrowser}},[t._v("\n Browse All\n ")]):n("TableConfig",{attrs:{"dataset-state":t.datasetState,"store-module-name":t.storeModuleName}})],1)],1):t._e(),t._v(" "),n("v-row",[n("v-col",{attrs:{cols:"12"}},[t.showSkeletonLoader?n("v-skeleton-loader",{attrs:{type:"table-heading, table-tbody, actions"}}):t._e(),t._v(" "),t.showTable?n("v-data-table",{attrs:{value:t.datasetState.selection.selectedInPage,headers:t.tableHeaders,loading:t.datasetState.pageLoading,items:t.datasetState.currentItems,"items-per-page":t.datasetState.itemsPerPage,"page-count":t.datasetState.pageCount,"hide-default-footer":"","server-items-length":t.datasetState.totalItems,dense:"","multi-sort":t.datasetState.enableMultiSort,"show-select":t.datasetState.enableSelection,"hide-default-header":!0},on:{"update:sort-by":t.triggerSort,"update:sort-desc":t.triggerSortDirection,"item-selected":t.itemSelected,"toggle-select-all":t.allSelected},scopedSlots:t._u([{key:"header",fn:function(e){var r=e.on,o=e.props,c=e.isMobile;return[n("v-data-table-header",t._g(t._b({attrs:{"some-items":t.datasetState.selection.someItemsSelected,"is-mobile":c}},"v-data-table-header",o,!1),r))]}},t._l(t.datasetState.slots,(function(slot){return{key:slot.slotID,fn:function(e){var r=e.item;return[n("ChEMBLDataSlot",{key:slot.slotID,attrs:{"slot-description":slot,item:r,"store-module-name":t.storeModuleName,"dataset-state":t.datasetState,"in-report-card":t.inReportCard,"hide-extact-text-filter-applicator":t.hideExtactTextFilterApplicator}})]}}}))],null,!0)}):t._e()],1)],1),t._v(" "),t.thereAreItems?n("v-row",{attrs:{dense:""}},[n("v-col",{staticClass:"d-flex justify-center align-center",attrs:{cols:"12",sm:"4"}},[n("ChEMBLItemsCounts",{attrs:{"dataset-state":t.datasetState}})],1),t._v(" "),n("v-col",{attrs:{cols:"8"}},[n("ChEMBLPaginator",{attrs:{"dataset-state":t.datasetState,"store-module-name":t.storeModuleName}})],1)],1):t._e()],1)],1)}),[],!1,null,"7037766c",null);e.a=j.exports;_()(j,{VBtn:w.a,VCard:k.a,VCardText:x.c,VCol:L.a,VDataTable:P.a,VDataTableHeader:O.a,VRow:A.a,VSkeletonLoader:V.a})},945:function(t,e,n){"use strict";n(24);var r={props:{datasetState:{type:Object,default:function(){}},storeModuleName:{type:String,default:function(){return""}}},computed:{pageLoading:function(){return this.datasetState.pageLoading},showSkeletonLoader:function(){return!this.datasetState.initialLoad},showPaginator:function(){return this.datasetState.initialLoad},totalVisible:function(){switch(this.$vuetify.breakpoint.name){case"xs":return 5;case"sm":case"md":return 6;default:return 7}},layoutClasses:function(){switch(this.$vuetify.breakpoint.name){case"xs":return{"justify-center":!0};default:return{"justify-end":!0}}},availablePageCount:function(){var t=this.datasetState.pageCount,e=this.datasetState.itemsPerPage,n=Math.floor(1e4/e);return Math.min(t,n)}},methods:{triggerNextPage:function(){var t="".concat(this.storeModuleName,"/loadNextPage");this.$store.dispatch(t)},triggerPreviousPage:function(){var t="".concat(this.storeModuleName,"/loadPreviousPage");this.$store.dispatch(t)},triggerPage:function(t){var e="".concat(this.storeModuleName,"/setPage");this.$store.dispatch(e,t)}}},o=n(4),c=n(7),l=n.n(c),d=n(1789),m=n(899),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex",class:t.layoutClasses},[t.showSkeletonLoader?n("v-skeleton-loader",{attrs:{type:"list-item"}}):t._e(),t._v(" "),t.showPaginator?n("v-pagination",{attrs:{value:t.datasetState.page,length:t.availablePageCount,"total-visible":t.totalVisible,disabled:t.pageLoading},on:{next:t.triggerNextPage,previous:t.triggerPreviousPage,input:t.triggerPage}}):t._e()],1)}),[],!1,null,null,null);e.a=component.exports;l()(component,{VPagination:d.a,VSkeletonLoader:m.a})},946:function(t,e,n){"use strict";var r={props:{datasetState:{type:Object,default:function(){}}},computed:{showSkeletonLoader:function(){return!this.datasetState.initialLoad},show:function(){return this.datasetState.initialLoad}}},o=n(4),c=n(7),l=n.n(c),d=n(899),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.showSkeletonLoader?n("v-skeleton-loader",{attrs:{type:"list-item"}}):t._e(),t._v(" "),t.show?n("div",[t._v("\n Showing "+t._s(t.datasetState.currentPageStart)+"-"+t._s(t.datasetState.currentPageEnd)+"\n out of "+t._s(Intl.NumberFormat().format(t.datasetState.totalItems))+" records\n ")]):t._e()],1)}),[],!1,null,null,null);e.a=component.exports;l()(component,{VSkeletonLoader:d.a})},947:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return v}));n(15),n(11),n(12),n(8),n(13),n(38),n(34),n(35),n(6);var r=n(1),o=n(47),c=n(58),l=n(967),d=n(910),m=n(16);function h(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var v={created:function(){this.$store.hasModule(this.storeModuleName)&&this.$store.unregisterModule(this.storeModuleName);var t=l.a.generateDatasetStoreModule();this.$store.registerModule(this.storeModuleName,t)},props:{rawState:{type:String,default:function(){}},initialStateSavingParams:{type:Object,default:function(){}}},computed:f(f({},Object(o.b)({datasetState:function(t){return t[this.storeModuleName]}})),{},{parsedState:function(){if(null!=this.rawState){var e=t.from(this.rawState,"base64").toString("binary"),n=JSON.parse(e);return n}},starterParams:function(){var t=null==this.parsedState?null:this.parsedState.dataset;if(this.entityID===m.a.Drug.entityID&&null!=t){var e=t.initialQuery;null!=e&&(null==e.query&&(e.query={}),null==e.query.bool&&(e.query.bool={}),null==e.query.bool.must&&(e.query.bool.must=[]),e.query.bool.must.push({term:{"_metadata.drug.is_drug":!0}}))}for(var n={indexName:c.a.getIndexNameFromEntityID(this.entityID),propertiesGroups:this.propertiesGroups,facetsGroups:"browser_facets",contextObj:this.contextObj},r=0,o=["initialQuery","subsetHumanDescription","initialFacetsState","customFiltering","quickSearchTerm","exactTextFilters","initialSort","initialSortDesc"];r<o.length;r++){var l=o[r],d="initialFacetsState"===l?"facetsState":l;null==t||null==t[d]?null!=this[l]&&(n[l]=this[l]):n[l]=t[d]}return null==n.initialQuery&&(n.initialQuery={}),n}}),watch:{starterParams:{handler:function(t,e){var n=this.datasetState.initialLoad,r=JSON.stringify(e)!==JSON.stringify(t);n&&r&&this.triggerInitialLoad()},deep:!0}},mounted:function(){this.triggerInitialLoad()},methods:{triggerInitialLoad:function(){this.$store.dispatch("".concat(this.storeModuleName,"/setInitialDataNotLoaded"));for(var t=0,e=[{feature:"customDataRepresentationParams",setter:"setCustomRepresentationParams"},{feature:"querystringExamples",setter:"setQuerystringExamples"},{feature:"enableSelection",setter:"setEnableSelection"},{feature:"enableMultiSort",setter:"setEnableMultiSort"},{feature:"enableSimilarityMaps",setter:"setEnableSimilarityMaps"},{feature:"enableSubstructureHighlight",setter:"setEnableSubstructureHighlight"},{feature:"similarityMapsReferenceStructure",setter:"setSimilarityMapsReferenceStructure"},{feature:"substructureHighlightReferenceStructure",setter:"setSubstructureHighlightReferenceStructure"},{feature:"enableStateSaving",setter:"setEnableStateSaving"},{feature:"enableHeatmapGeneration",setter:"setEnableHeatmapGeneration"},{feature:"enableQuickTextSearch",setter:"setEnableQuickTextSearch"},{feature:"subsetHumanDescription",setter:"setSubsetHumanDescription"},{feature:"downloadPropertiesGroup",setter:"setDownloadPropertiesGroup"},{feature:"searchTerm",setter:"setSearchTerm"},{feature:"currentView",setter:"setCurrentView"}];t<e.length;t++){var n=e[t],r=n.feature,o=n.setter;null!=this[r]&&this.$store.dispatch("".concat(this.storeModuleName,"/").concat(o),this[r])}this.$store.dispatch("".concat(this.storeModuleName,"/setEntityID"),this.entityID);var c=d.a.getPossibleDestinationEntityIDsAndNames(this.entityID).map((function(t){return f(f({},t),{},{processing:!1})}));(this.$store.dispatch("".concat(this.storeModuleName,"/setPossibleJoinDestinations"),c),this.$store.dispatch("".concat(this.storeModuleName,"/setPluralEntityName"),this.pluralEntityName),this.$store.dispatch("".concat(this.storeModuleName,"/fireItUp"),this.starterParams),this.$store.dispatch("".concat(this.storeModuleName,"/setEmbeddingIDForParent"),this.idForParent),null!=this.initialStateSavingParams)&&(this.$store.dispatch("".concat(this.storeModuleName,"/setStateSavingParams"),this.initialStateSavingParams),this.initialStateSavingParams.useHashInURL&&null==this.initialStateSavingParams.sateHash&&this.$store.dispatch("".concat(this.storeModuleName,"/getHashForCurrentState")));this.entityID===m.a.Compound.entityID&&this.$store.dispatch("".concat(this.storeModuleName,"/addDownloadFormat"),"SDF")}}}}).call(this,n(479).Buffer)},948:function(t,e,n){"use strict";n(38),n(8),n(6),n(235);var r=n(88),o=n(940),c=n(938),l=n(58),d=n(54),m=n(307),h=n(180),f=n(16),v={components:{HierarchyBreadcrumbs:c.a},props:{itemID:{type:String,default:function(){}},entityID:{type:String,default:function(){}},disableLinks:{type:Boolean,default:function(){return!1}},highlightText:{type:String,default:function(){}}},data:function(){return{classifications:[],loading:!0}},computed:{thereAreClassifications:function(){return this.classifications.length>0}},mounted:function(){this.loadClassifications()},methods:{eliminateDuplicateClassifications:function(t){var e={};return t.forEach((function(t){e[t.protein_class_id]=t})),Object.values(e)},loadClassifications:function(){var t=this,e=l.a.getIndexNameFromEntityID(this.entityID);d.a.getESDocument(e,this.itemID,["_metadata.protein_classification"]).then((function(e){var n=e.data._source,r=m.a.getPropertyPalue(n,"_metadata.protein_classification",[]),o=t.eliminateDuplicateClassifications(r).map((function(e){return t.parseClassification(e)}));t.classifications=o,t.loading=!1})).catch((function(e){h.a.trackError(e,t),r.a.dispatchRequestErrorNotification(e,t.$store.dispatch,"There was an error while loading the name and classification for ".concat(t.itemID))}))},parseClassification:function(t){var e=[],n=[];console.log("classification",t);for(var i=1;i<=6;i++){var r="l".concat(i),c=t[r];if(console.log("levelClass",c),null!=c){n.push({levelKey:r,levelClass:c});var l=n.map((function(t){return t.levelClass})),d=this.getQuerystringForPath(n),m={text:c,disabled:!1,href:o.a.getURLForTargetsBelongingToClass(d,c,l,f.a.Target.entityID)};e.push(m)}}return e},getQuerystringForPath:function(t){return t.map((function(t){return"_metadata.protein_classification.".concat(t.levelKey,':("').concat(t.levelClass,'")')})).join(" AND ")}}},y=n(4),_=n(7),w=n.n(_),k=n(295),x=n(174),T=n(22),C=n(899),component=Object(y.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("v-skeleton-loader",{attrs:{type:"list-item-two-line@2"}}):[t.thereAreClassifications?n("v-list",{attrs:{dense:""}},t._l(t.classifications,(function(e,r){return n("v-list-item",{key:"classification-"+r},[n("v-list-item-content",[n("div",{staticClass:"d-flex align-center"},[n("div",[t._v(t._s(r+1)+".")]),t._v(" "),n("HierarchyBreadcrumbs",{attrs:{path:e,"disable-links":t.disableLinks,"highlight-text":t.highlightText}})],1)])],1)})),1):n("div",[t._v("No classifications found.")])]],2)}),[],!1,null,"91b79aea",null);e.a=component.exports;w()(component,{VList:k.a,VListItem:x.a,VListItemContent:T.a,VSkeletonLoader:C.a})},949:function(t,e,n){"use strict";var r={props:{datasetState:{type:Object,default:function(){}},storeModuleName:{type:String,default:function(){return""}}},computed:{pageLoading:function(){return this.datasetState.pageLoading}},methods:{setItemsPerPage:function(t){var e="".concat(this.storeModuleName,"/setPageSize");this.$store.dispatch(e,t)}}},o=n(4),c=n(7),l=n.n(c),d=n(72),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("v-select",{attrs:{items:t.datasetState.possiblePageSizes,value:t.datasetState.itemsPerPage,label:"Items per page",disabled:t.pageLoading},on:{change:t.setItemsPerPage}})],1)}),[],!1,null,null,null);e.a=component.exports;l()(component,{VSelect:d.a})},950:function(t,e,n){"use strict";var r,o=n(1),c=n(16),l=n(915),d=(r={},Object(o.a)(r,c.a.DrugWarning.entityID,{"drug_warning.warning_type":l.a.getTextComponentName(),"drug_warning.warning_class":l.a.getTextComponentName(),"drug_warning.warning_description":l.a.getTextComponentName(),"drug_warning.parent_molecule_chembl_id":l.a.getChEMBLLinkName(),"drug_warning.molecule_chembl_id":l.a.getChEMBLLinkName(),"parent_molecule.pref_name":l.a.getTextComponentName(),"drug_warning.where":l.a.getWarningWhereName(),"drug_warning.efo_id":l.a.getExternalLinkComponentName(),"drug_warning.efo_term":l.a.getTextComponentName(),"drug_warning.efo_id_for_warning_class":l.a.getExternalLinkComponentName(),"drug_warning.warning_refs_by_molecule":l.a.getReferencesByParentComponentName()}),Object(o.a)(r,c.a.EubopenCompound.entityID,{molecule_eubopen_id:l.a.getChEMBLLinkName(),molecule_synonyms:l.a.getSynonymsName(),pref_name:l.a.getTextComponentName(),"_metadata.eubopen.recommended_cell_concentration":l.a.getTextComponentName(),"_metadata.eubopen.in_vivo_use":l.a.getBooleanValueComponentName(),"_metadata.eubopen.is_probe":l.a.getBooleanValueComponentName(),"_metadata.eubopen.is_control":l.a.getBooleanValueComponentName(),"_metadata.eubopen.is_chemogenomic_probe":l.a.getBooleanValueComponentName(),molecule_class:l.a.getEubopenMoleculeClassComponentName(),"_metadata.related_assays.count":l.a.getEubopenAssaysForCompoundComponentName(),qt_data:l.a.getEubopenCompoundACComponentName(),ac_data:l.a.getEubopenCompoundACComponentName()}),Object(o.a)(r,c.a.EubopenTarget.entityID,{target_eubopen_id:l.a.getChEMBLLinkName(),target_synonyms:l.a.getSynonymsName(),pref_name:l.a.getTextComponentName(),target_type:l.a.getTextComponentName(),"_metadata.eubopen.protein_family.label":l.a.getTextComponentName(),organism:l.a.getTextComponentName(),target_components:l.a.getTargetComponentsComponentName(),"_metadata.protein_classification":l.a.getProteinClassificationsComponentName(),"_metadata.uniprot_synonyms":l.a.getTextComponentName(),"_metadata.gene_symbol":l.a.getTextComponentName(),"_metadata.other_synonyms":l.a.getTextComponentName()}),Object(o.a)(r,c.a.EubopenMechanismOfAction.entityID,{"mechanism_of_action.mechanism_of_action":l.a.getTextComponentName(),"mechanism_of_action.action_type":l.a.getTextComponentName(),"mechanism_of_action.mechanism_comment":l.a.getTextComponentName(),"mechanism_of_action.binding_site_comment":l.a.getTextComponentName(),"mechanism_of_action.ref_url":l.a.getExternalLinkComponentName(),"target.pref_name":l.a.getTextComponentName(),"target.target_type":l.a.getTextComponentName(),"target.organism":l.a.getTextComponentName(),"molecule.pref_name":l.a.getChEMBLLinkName()}),Object(o.a)(r,c.a.EubopenActivity.entityID,{standard_type:l.a.getTextComponentName(),standard_relation:l.a.getTextComponentName(),standard_value:l.a.getTextComponentName(),standard_units:l.a.getTextComponentName(),target_organism:l.a.getTextComponentName(),target_pref_name:l.a.getChEMBLLinkName(),"_metadata.target_data.target_type":l.a.getTextComponentName(),assay_chembl_id:l.a.getChEMBLLinkName(),assay_description:l.a.getTextComponentName(),molecule_pref_name:l.a.getChEMBLLinkName(),target_chembl_id:l.a.getChEMBLLinkName(),molecule_chembl_id:l.a.getChEMBLLinkName(),"_metadata.eubopen_assay_type.aidx":l.a.getTextComponentName(),"_metadata.eubopen_assay_type.aidx_prefix":l.a.getTextComponentName(),activity_properties:l.a.getActivityPropertiesComponentName()}),Object(o.a)(r,c.a.EubopenAssay.entityID,{assay_eubopen_id:l.a.getChEMBLLinkName(),target_chembl_id:l.a.getChEMBLLinkName(),assay_type:l.a.getTextComponentName(),description:l.a.getTextComponentName(),assay_organism:l.a.getTextComponentName(),document_chembl_id:l.a.getChEMBLLinkName(),"_metadata.document_data.title":l.a.getTextComponentName(),"_metadata.eubopen.assay_type.aidx":l.a.getTextComponentName(),"_metadata.eubopen.assay_type.type.description":l.a.getTextsListComponentName(),"_metadata.related_compounds.count":l.a.getRelatedEntitiesNumberComponentName()}),Object(o.a)(r,c.a.Compound.entityID,{molecule_chembl_id:l.a.getChEMBLLinkName(),pref_name:l.a.getTextComponentName(),molecule_synonyms:l.a.getSynonymsName(),trade_names:l.a.getSynonymsName(),max_phase:l.a.getTextComponentName(),"_metadata.related_targets.count":l.a.getRelatedEntitiesNumberComponentName(),"_metadata.related_activities.count":l.a.getRelatedEntitiesNumberComponentName(),"molecule_properties.alogp":l.a.getTextComponentName(),"molecule_properties.full_mwt":l.a.getTextComponentName(),"molecule_properties.full_molformula":l.a.getTextComponentName(),"molecule_properties.psa":l.a.getTextComponentName(),"molecule_properties.hba":l.a.getTextComponentName(),"molecule_properties.hbd":l.a.getTextComponentName(),"molecule_properties.num_ro5_violations":l.a.getTextComponentName(),"molecule_properties.rtb":l.a.getTextComponentName(),"molecule_properties.ro3_pass":l.a.getTextComponentName(),"molecule_properties.qed_weighted":l.a.getTextComponentName(),"molecule_properties.cx_most_apka":l.a.getTextComponentName(),"molecule_properties.cx_most_bpka":l.a.getTextComponentName(),"molecule_properties.cx_logp":l.a.getTextComponentName(),"molecule_properties.cx_logd":l.a.getTextComponentName(),"molecule_properties.aromatic_rings":l.a.getTextComponentName(),"molecule_properties.np_likeness_score":l.a.getTextComponentName(),structure_type:l.a.getTextComponentName(),inorganic_flag:l.a.getTextComponentName(),"molecule_properties.heavy_atoms":l.a.getTextComponentName(),"molecule_properties.hba_lipinski":l.a.getTextComponentName(),"molecule_properties.hbd_lipinski":l.a.getTextComponentName(),"molecule_properties.num_lipinski_ro5_violations":l.a.getTextComponentName(),"molecule_properties.mw_monoisotopic":l.a.getTextComponentName(),"molecule_structures.canonical_smiles":l.a.getTextComponentName(),"molecule_structures.standard_inchi_key":l.a.getTextComponentName(),"molecule_structures.standard_inchi":l.a.getTextComponentName(),orphan:l.a.getTextComponentName(),molecule_type:l.a.getTextComponentName(),"molecule_properties.molecular_species":l.a.getTextComponentName(),"_metadata.drug.drug_data.applicants":l.a.getTextComponentName(),usan_stem:l.a.getTextComponentName(),"_metadata.atc_classifications":l.a.getATCClassificationsComponentName(),indication_class:l.a.getTextComponentName(),"_metadata.drug.drug_data.sc_patent":l.a.getPatentComponentName(),"_metadata.compound_records.src_description":l.a.getTextComponentName(),"_metadata.hierarchy.all_family":l.a.getAlternateFormsComponentName(),"_metadata.drug_indications.efo_term":l.a.getTextsListComponentName(),"_metadata.drug_indications.efo_id":l.a.getTextsListComponentName(),"_metadata.drug_indications.mesh_id":l.a.getTextsListComponentName(),"_metadata.drug_indications.mesh_heading":l.a.getTextsListComponentName(),"_metadata.drug.drug_data.usan_stem_definition":l.a.getTextComponentName(),"_metadata.compound_generated.chirality_label":l.a.getTextComponentName(),"_metadata.compound_generated.availability_type_label":l.a.getTextComponentName(),"_metadata.compound_records.compound_name":l.a.getTextsListComponentName(),"_metadata.hierarchy.parent.synonyms.synonyms":l.a.getTextsListComponentName(),"_metadata.compound_records.compound_key":l.a.getTextsListComponentName(),"_metadata.hierarchy.children.synonyms.synonyms":l.a.getTextsListComponentName(),withdrawn_flag:l.a.getTextComponentName(),similarity:l.a.getTextComponentName()}),Object(o.a)(r,c.a.Drug.entityID,{drug_parent_molecule_chembl_id:l.a.getChEMBLLinkName(),pref_name:l.a.getTextComponentName(),molecule_synonyms:l.a.getSynonymsName(),research_codes:l.a.getSynonymsName(),drug_phase:l.a.getTextComponentName(),"_metadata.drug.drug_data.applicants":l.a.getTextsListComponentName(),usan_stem:l.a.getTextComponentName(),usan_year:l.a.getTextComponentName(),first_approval:l.a.getTextComponentName(),drug_atc_codes:l.a.getTextComponentName(),drug_icon:l.a.getDrugIconsComponentName(),usan_stem_definition:l.a.getTextComponentName(),"_metadata.drug.drug_data.usan_stem_substem":l.a.getTextComponentName(),drug_atc_codes_level_4:l.a.getTextComponentName(),drug_atc_codes_level_3:l.a.getTextComponentName(),drug_atc_codes_level_2:l.a.getTextComponentName(),drug_atc_codes_level_1:l.a.getTextComponentName(),indication_class:l.a.getTextComponentName(),"_metadata.drug.drug_data.sc_patent":l.a.getPatentComponentName(),"molecule_structures.canonical_smiles":l.a.getTextComponentName(),withdrawn_flag:l.a.getTextComponentName()}),Object(o.a)(r,c.a.Target.entityID,{target_chembl_id:l.a.getChEMBLLinkName(),pref_name:l.a.getTextComponentName(),target_synonyms:l.a.getSynonymsName(),target_type:l.a.getTextComponentName(),organism:l.a.getTextComponentName(),"_metadata.related_compounds.count":l.a.getRelatedEntitiesNumberComponentName(),"_metadata.related_activities.count":l.a.getRelatedEntitiesNumberComponentName(),uniprot_accessions:l.a.getUniprotAcessionsComponentName(),target_components:l.a.getTargetComponentsComponentName(),"_metadata.protein_classification":l.a.getProteinClassificationsComponentName(),tax_id:l.a.getExternalLinkComponentName(),species_group_flag:l.a.getBooleanValueComponentName(),"_metadata.organism_taxonomy":l.a.getOrganismTaxonomyComponentName(),best_expectation:l.a.getTextComponentName(),best_positives:l.a.getTextComponentName(),best_identities:l.a.getTextComponentName(),best_score_bits:l.a.getTextComponentName(),best_score:l.a.getTextComponentName(),length:l.a.getTextComponentName()}),Object(o.a)(r,c.a.Assay.entityID,{assay_chembl_id:l.a.getChEMBLLinkName(),assay_type:l.a.getTextComponentName(),description:l.a.getTextComponentName(),assay_organism:l.a.getTextComponentName(),"_metadata.related_compounds.count":l.a.getRelatedEntitiesNumberComponentName(),document_chembl_id:l.a.getChEMBLLinkName(),bao_label:l.a.getTextComponentName(),"_metadata.source.src_description":l.a.getTextComponentName(),"_metadata.related_activities.count":l.a.getRelatedEntitiesNumberComponentName(),bao_format:l.a.getTextComponentName(),confidence_score:l.a.getTextComponentName(),"_metadata.assay_generated.relationship_label":l.a.getTextComponentName(),"_metadata.assay_generated.confidence_label":l.a.getTextComponentName(),assay_strain:l.a.getTextComponentName(),assay_tax_id:l.a.getTextComponentName(),tissue_chembl_id:l.a.getChEMBLLinkName(),assay_tissue:l.a.getTextComponentName(),assay_cell_type:l.a.getTextComponentName(),assay_subcellular_fraction:l.a.getTextComponentName(),"_metadata.document_data.pubmed_id":l.a.getExternalLinkComponentName(),"_metadata.document_data.doi":l.a.getExternalLinkComponentName(),"_metadata.document_data.year":l.a.getTextComponentName(),"_metadata.document_data.journal":l.a.getTextComponentName(),"_metadata.document_data.volume":l.a.getTextComponentName(),"_metadata.document_data.first_page":l.a.getTextComponentName(),"_metadata.document_data.last_page":l.a.getTextComponentName(),assay_parameters:l.a.getAssayParametersComponentName(),assay_classifications_level1:l.a.getTextComponentName(),assay_classifications_level2:l.a.getTextComponentName(),assay_classifications_level3:l.a.getTextComponentName(),"assay_classifications.l1":l.a.getTextComponentName(),"assay_classifications.l2":l.a.getTextComponentName(),"assay_classifications.l3":l.a.getTextComponentName(),"variant_sequence.accession":l.a.getExternalLinkComponentName(),"variant_sequence.mutation":l.a.getTextComponentName(),assay_category:l.a.getTextComponentName()}),Object(o.a)(r,c.a.Document.entityID,{document_chembl_id:l.a.getChEMBLLinkName(),journal_full_title:l.a.getTextComponentName(),"_metadata.source":l.a.getSourcesComponentName(),title:l.a.getTextComponentName(),pubmed_id:l.a.getExternalLinkComponentName(),doi:l.a.getExternalLinkComponentName(),patent_id:l.a.getExternalLinkComponentName(),authors:l.a.getTextComponentName(),year:l.a.getTextComponentName(),volume:l.a.getTextComponentName(),issue:l.a.getTextComponentName(),first_page:l.a.getTextComponentName(),last_page:l.a.getTextComponentName(),"_metadata.related_activities.count":l.a.getRelatedEntitiesNumberComponentName(),src_id:l.a.getTextComponentName(),abstract:l.a.getTextComponentName(),"_metadata.related_compounds.count":l.a.getRelatedEntitiesNumberComponentName(),"_metadata.related_targets.count":l.a.getRelatedEntitiesNumberComponentName(),"_metadata.source.src_description":l.a.getTextComponentName(),"chembl_release.chembl_release":l.a.getTextComponentName(),"chembl_release.creation_date":l.a.getTextComponentName(),"_metadata.similar_documents.tid_tani":l.a.getTextComponentName(),"_metadata.similar_documents.mol_tani":l.a.getTextComponentName(),"_metadata.similar_documents.title":l.a.getTextComponentName(),"_metadata.similar_documents.journal":l.a.getTextComponentName(),"_metadata.similar_documents.pubmed_id":l.a.getExternalLinkComponentName(),"_metadata.similar_documents.doi":l.a.getExternalLinkComponentName()}),Object(o.a)(r,c.a.CellLine.entityID,{cell_chembl_id:l.a.getChEMBLLinkName(),cell_name:l.a.getTextComponentName(),cell_description:l.a.getTextComponentName(),cell_source_organism:l.a.getTextComponentName(),cell_source_tissue:l.a.getTextComponentName(),"_metadata.related_activities.count":l.a.getRelatedEntitiesNumberComponentName(),cell_source_tax_id:l.a.getExternalLinkComponentName(),clo_id:l.a.getExternalLinkComponentName(),efo_id:l.a.getExternalLinkComponentName(),cellosaurus_id:l.a.getExternalLinkComponentName(),cl_lincs_id:l.a.getExternalLinkComponentName(),"_metadata.related_compounds.count":l.a.getRelatedEntitiesNumberComponentName(),"_metadata.organism_taxonomy":l.a.getOrganismTaxonomyComponentName()}),Object(o.a)(r,c.a.Tissue.entityID,{tissue_chembl_id:l.a.getChEMBLLinkName(),pref_name:l.a.getTextComponentName(),uberon_id:l.a.getExternalLinkComponentName(),efo_id:l.a.getExternalLinkComponentName(),"_metadata.related_activities.count":l.a.getRelatedEntitiesNumberComponentName(),bto_id:l.a.getExternalLinkComponentName(),caloha_id:l.a.getExternalLinkComponentName(),"_metadata.related_compounds.count":l.a.getRelatedEntitiesNumberComponentName(),"_metadata.organism_taxonomy":l.a.getMultipleOrganismTaxonomiesComponentName()}),Object(o.a)(r,c.a.DrugIndication.entityID,{"parent_molecule.molecule_chembl_id":l.a.getChEMBLLinkName(),"parent_molecule.pref_name":l.a.getTextComponentName(),"parent_molecule.molecule_type":l.a.getTextComponentName(),"drug_indication.max_phase_for_ind":l.a.getMaxPhaseSlotComponentName(),"parent_molecule.first_approval":l.a.getTextComponentName(),"drug_indication.mesh_id":l.a.getExternalLinkComponentName(),"drug_indication.mesh_heading":l.a.getTextComponentName(),efo_ids:l.a.getTextsListComponentName(),efo_terms:l.a.getTextsListComponentName(),"drug_indication.efo":l.a.getTextsListComponentName(),"drug_indication.indication_refs_by_molecule":l.a.getReferencesByParentComponentName(),"parent_molecule._metadata.drug.drug_data.synonyms":l.a.getSynonymsName(),"parent_molecule._metadata.drug.drug_data.usan_stem":l.a.getTextComponentName(),"parent_molecule._metadata.drug.drug_data.usan_year":l.a.getTextComponentName(),"parent_molecule.molecule_properties.np_likeness_score":l.a.getTextComponentName()}),Object(o.a)(r,c.a.DrugMechanism.entityID,{"parent_molecule.molecule_chembl_id":l.a.getChEMBLLinkName(),"parent_molecule.pref_name":l.a.getTextComponentName(),"parent_molecule.molecule_type":l.a.getTextComponentName(),"mechanism_of_action.max_phase":l.a.getMaxPhaseSlotComponentName(),"mechanism_of_action.mechanism_of_action":l.a.getTextComponentName(),"parent_molecule.first_approval":l.a.getTextComponentName(),"parent_molecule.usan_stem":l.a.getTextComponentName(),"target.target_chembl_id":l.a.getChEMBLLinkName(),"target.pref_name":l.a.getTextComponentName(),"mechanism_of_action.action_type":l.a.getTextComponentName(),"target.target_type":l.a.getTextComponentName(),"target.organism":l.a.getTextComponentName(),"binding_site.site_name":l.a.getTextComponentName(),"mechanism_of_action.mechanism_refs_by_molecule":l.a.getReferencesByParentComponentName(),"mechanism_of_action.mechanism_comment":l.a.getTextComponentName(),"mechanism_of_action.selectivity_comment":l.a.getTextComponentName(),"mechanism_of_action.binding_site_comment":l.a.getTextComponentName(),"parent_molecule._metadata.drug.drug_data.synonyms":l.a.getTextsListComponentName(),drug_atc_codes:l.a.getTextsListComponentName(),drug_atc_codes_level_4:l.a.getTextsListComponentName(),drug_atc_codes_level_3:l.a.getTextsListComponentName(),drug_atc_codes_level_2:l.a.getTextsListComponentName(),drug_atc_codes_level_1:l.a.getTextsListComponentName(),"parent_molecule.molecule_properties.np_likeness_score":l.a.getTextComponentName()}),Object(o.a)(r,c.a.EubopenMainTarget.entityID,{"target._metadata.eubopen.protein_family.label":l.a.getTextComponentName(),"main_target.mode_of_action":l.a.getTextComponentName(),"target.pref_name":l.a.getChEMBLLinkName(),"molecule.pref_name":l.a.getChEMBLLinkName(),"molecule._metadata.eubopen.recommended_cell_concentration":l.a.getTextComponentName(),"molecule.molecule_eubopen_id":l.a.getChEMBLLinkName()}),Object(o.a)(r,c.a.Activity.entityID,{molecule_chembl_id:l.a.getChEMBLLinkName(),"_metadata.parent_molecule_data.compound_key":l.a.getTextComponentName(),standard_type:l.a.getTextComponentName(),standard_relation:l.a.getTextComponentName(),standard_value:l.a.getTextComponentName(),value:l.a.getTextComponentName(),standard_units:l.a.getTextComponentName(),pchembl_value:l.a.getTextComponentName(),activity_comment:l.a.getTextComponentName(),assay_chembl_id:l.a.getChEMBLLinkName(),assay_description:l.a.getTextComponentName(),bao_label:l.a.getTextComponentName(),"_metadata.assay_data.assay_organism":l.a.getTextComponentName(),target_chembl_id:l.a.getChEMBLLinkName(),target_pref_name:l.a.getTextComponentName(),target_organism:l.a.getTextComponentName(),"_metadata.target_data.target_type":l.a.getTextComponentName(),document_chembl_id:l.a.getChEMBLLinkName(),"_metadata.source.src_description":l.a.getTextComponentName(),"_metadata.assay_data.cell_chembl_id":l.a.getChEMBLLinkName(),molecule_pref_name:l.a.getTextComponentName(),"_metadata.parent_molecule_data.max_phase":l.a.getTextComponentName(),"_metadata.parent_molecule_data.full_mwt":l.a.getTextComponentName(),"_metadata.parent_molecule_data.num_ro5_violations":l.a.getTextComponentName(),"_metadata.parent_molecule_data.alogp":l.a.getTextComponentName(),canonical_smiles:l.a.getTextComponentName(),data_validity_comment:l.a.getTextComponentName(),uo_units:l.a.getTextComponentName(),"ligand_efficiency.bei":l.a.getTextComponentName(),"ligand_efficiency.le":l.a.getTextComponentName(),"ligand_efficiency.lle":l.a.getTextComponentName(),"ligand_efficiency.sei":l.a.getTextComponentName(),potential_duplicate:l.a.getTextComponentName(),assay_type:l.a.getTextComponentName(),bao_format:l.a.getTextComponentName(),"_metadata.assay_data.tissue_chembl_id":l.a.getChEMBLLinkName(),"_metadata.assay_data.assay_tissue":l.a.getTextComponentName(),"_metadata.assay_data.assay_cell_type":l.a.getTextComponentName(),"_metadata.assay_data.assay_subcellular_fraction":l.a.getTextComponentName(),"_metadata.assay_data.assay_parameters":l.a.getAssayParametersComponentName(),assay_variant_accession:l.a.getTextComponentName(),assay_variant_mutation:l.a.getTextComponentName(),src_id:l.a.getTextComponentName(),document_journal:l.a.getTextComponentName(),document_year:l.a.getTextComponentName(),activity_properties:l.a.getActivityPropertiesComponentName(),"action_type.action_type":l.a.getTextComponentName(),standard_text_value:l.a.getTextComponentName()}),r),m={getSlotForProperty:function(t,e){var n=d[t];if(null==n)return l.a.getDefaultComponentName();var r=n[e];return null==r?l.a.getDefaultComponentName():r}};e.a={config:d,methods:m}},951:function(t,e,n){"use strict";n(15),n(11),n(12),n(8),n(6),n(13);var r,o=n(1),c=(n(36),n(38),n(16)),l=n(907);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var h=(r={},Object(o.a)(r,c.a.DrugWarning.entityID,{"drug_warning.parent_molecule_chembl_id":function(t){return{entityID:c.a.Compound.entityID,itemIDProperty:"drug_warning.parent_molecule_chembl_id",linkTextProperty:"drug_warning.parent_molecule_chembl_id",showMoleculeStructure:!0,enableStructureSearch:!0,moleculeStructure:{showOptions:!0}}},"drug_warning.molecule_chembl_id":function(t){return{entityID:c.a.Compound.entityID,itemIDProperty:"drug_warning.molecule_chembl_id",linkTextProperty:"drug_warning.molecule_chembl_id",showMoleculeStructure:!0,enableStructureSearch:!0,moleculeStructure:{showOptions:!0}}},"drug_warning.where":function(t){return{valueAccessor:t.valueAccessor}},"drug_warning.efo_id":function(t){return{linkTextProperty:"drug_warning.efo_id",linkHrefProperty:"drug_warning.efo_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.ebi.ac.uk/ols/search?q=".concat(encodeURI(t))}}},"drug_warning.efo_id_for_warning_class":function(t){return{linkTextProperty:"drug_warning.efo_id_for_warning_class",linkHrefProperty:"drug_warning.efo_id_for_warning_class",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.ebi.ac.uk/ols/search?q=".concat(encodeURI(t))}}},"drug_warning.warning_refs_by_molecule":function(t){return{baseChemblIDProperty:"drug_warning.molecule_chembl_id",parentChemblIDProperty:"drug_warning.parent_molecule_chembl_id"}}}),Object(o.a)(r,c.a.EubopenCompound.entityID,{molecule_eubopen_id:function(t){return{entityID:c.a.EubopenCompound.entityID,itemIDProperty:"molecule_eubopen_id",linkTextProperty:"molecule_eubopen_id",secondaryIDProperty:"molecule_chembl_id",secondaryLinkTextProperty:"molecule_chembl_id",showMoleculeStructure:!0,structureIDProperty:"molecule_chembl_id",highlightText:t.highlightText,moleculeStructure:{showOptions:!0}}},molecule_synonyms:function(t){return{itemIDProperty:"molecule_eubopen_id",entityID:c.a.EubopenCompound.entityID,synonymsType:"molecule_synonyms",textOnly:!0,highlightText:t.highlightText}},"_metadata.related_assays.count":function(t){return{itemIDProperty:"molecule_eubopen_id",valueAccessor:"_metadata.related_assays.count",originEntityID:c.a.EubopenCompound.entityID,destinationEntityID:c.a.EubopenAssay.entityID}},qt_data:function(t){return{sectionKey:"QualityControl"}},ac_data:function(t){return{sectionKey:"ActivityProfile"}}}),Object(o.a)(r,c.a.EubopenTarget.entityID,{target_eubopen_id:function(t){return{entityID:c.a.EubopenTarget.entityID,itemIDProperty:"target_eubopen_id",linkTextProperty:"target_eubopen_id",highlightText:t.highlightText}},target_synonyms:function(t){return{itemIDProperty:"target_eubopen_id",entityID:c.a.EubopenTarget.entityID,valueAccessor:t.valueAccessor,synonymsType:"target_synonyms",textOnly:!0,highlightText:t.highlightText}}}),Object(o.a)(r,c.a.EubopenActivity.entityID,{target_pref_name:function(t){return{entityID:c.a.EubopenTarget.entityID,itemIDProperty:"target_chembl_id",linkTextProperty:"target_pref_name",fallbackLinkTextProperty:"target_chembl_id"}},molecule_chembl_id:function(t){return{entityID:c.a.EubopenCompound.entityID,itemIDProperty:"molecule_chembl_id",linkTextProperty:"molecule_chembl_id",showMoleculeStructure:!0,moleculeStructure:{showOptions:!0}}},assay_chembl_id:function(t){return{entityID:c.a.EubopenAssay.entityID,itemIDProperty:"assay_chembl_id",linkTextProperty:"assay_chembl_id"}},target_chembl_id:function(t){return{entityID:c.a.EubopenTarget.entityID,itemIDProperty:"target_chembl_id",linkTextProperty:"target_chembl_id"}},molecule_pref_name:function(t){return{entityID:c.a.EubopenCompound.entityID,itemIDProperty:"molecule_chembl_id",linkTextProperty:"molecule_pref_name",fallbackLinkTextProperty:"molecule_chembl_id"}}}),Object(o.a)(r,c.a.EubopenAssay.entityID,{assay_eubopen_id:function(t){return{entityID:c.a.EubopenAssay.entityID,itemIDProperty:"assay_eubopen_id",linkTextProperty:"assay_eubopen_id"}},target_chembl_id:function(t){return{entityID:c.a.EubopenTarget.entityID,itemIDProperty:"target_chembl_id",linkTextProperty:"target_chembl_id"}},document_chembl_id:function(t){return{entityID:c.a.Document.entityID,itemIDProperty:"document_chembl_id",linkTextProperty:"document_chembl_id"}},"_metadata.related_compounds.count":function(t){return{itemIDProperty:"assay_eubopen_id",valueAccessor:"_metadata.related_compounds.count",originEntityID:c.a.EubopenAssay.entityID,destinationEntityID:c.a.EubopenCompound.entityID}}}),Object(o.a)(r,c.a.EubopenMechanismOfAction.entityID,{"mechanism_of_action.ref_url":function(t){return{linkTextProperty:"mechanism_of_action.ref_url",linkHrefProperty:"mechanism_of_action.ref_url",fallbackLinkTextProperty:"mechanism_of_action.ref_url"}},"molecule.pref_name":function(t){return{entityID:c.a.EubopenCompound.entityID,itemIDProperty:"molecule.molecule_eubopen_id",linkTextProperty:"molecule.pref_name",fallbackLinkTextProperty:"molecule.molecule_eubopen_id"}}}),Object(o.a)(r,c.a.Compound.entityID,{molecule_chembl_id:function(t){return{entityID:c.a.Compound.entityID,linkTextProperty:"molecule_chembl_id",linkHrefProperty:"molecule_chembl_id",itemIDProperty:"molecule_chembl_id",showMoleculeStructure:!0,enableStructureSearch:!0,moleculeStructure:{showOptions:!0},highlightText:t.highlightText}},molecule_synonyms:function(t){return{itemIDProperty:"molecule_chembl_id",entityID:c.a.Compound.entityID,synonymsType:"molecule_synonyms",textOnly:!0,highlightText:t.highlightText}},"_metadata.related_targets.count":function(t){return{itemIDProperty:"molecule_chembl_id",valueAccessor:"_metadata.related_targets.count",originEntityID:c.a.Compound.entityID,destinationEntityID:c.a.Target.entityID}},"_metadata.related_activities.count":function(t){return{itemIDProperty:"molecule_chembl_id",valueAccessor:"_metadata.related_activities.count",originEntityID:c.a.Compound.entityID,destinationEntityID:c.a.Activity.entityID}},trade_names:function(t){return{itemIDProperty:"molecule_chembl_id",entityID:c.a.Compound.entityID,synonymsType:"molecule_synonyms",textOnly:!0,tradeNames:!0}},similarity:function(t){return{parseFunction:function(t){if(t!==l.a.DefaultNullTextValue){var e=parseFloat(t).toFixed(2);return"".concat(e,"%")}return l.a.DefaultNullTextValue}}}}),Object(o.a)(r,c.a.Drug.entityID,{drug_parent_molecule_chembl_id:function(t){return{entityID:c.a.Compound.entityID,linkTextProperty:"molecule_chembl_id",linkHrefProperty:"molecule_chembl_id",itemIDProperty:"molecule_chembl_id",showMoleculeStructure:!0,enableStructureSearch:!0,moleculeStructure:{showOptions:!0},highlightText:t.highlightText}},molecule_synonyms:function(t){return{itemIDProperty:"molecule_chembl_id",entityID:c.a.Compound.entityID,synonymsType:"molecule_synonyms",textOnly:!0,drugSynonyms:!0,highlightText:t.highlightText}},research_codes:function(t){return{itemIDProperty:"molecule_chembl_id",entityID:c.a.Compound.entityID,synonymsType:"molecule_synonyms",textOnly:!0,drugResearchCodes:!0,highlightText:t.highlightText}},drug_atc_codes:function(t){return{parseFunction:function(t){return t!==l.a.DefaultNullTextValue?t.map((function(data){return data.level5})).join(", "):l.a.DefaultNullTextValue}}},drug_atc_codes_level_4:function(t){return{parseFunction:function(t){return t!==l.a.DefaultNullTextValue?t.map((function(data){return data.level4_description})).join(", "):l.a.DefaultNullTextValue}}},drug_atc_codes_level_3:function(t){return{parseFunction:function(t){return t!==l.a.DefaultNullTextValue?t.map((function(data){return data.level3_description})).join(", "):l.a.DefaultNullTextValue}}},drug_atc_codes_level_2:function(t){return{parseFunction:function(t){return t!==l.a.DefaultNullTextValue?t.map((function(data){return data.level2_description})).join(", "):l.a.DefaultNullTextValue}}},drug_atc_codes_level_1:function(t){return{parseFunction:function(t){return t!==l.a.DefaultNullTextValue?t.map((function(data){return data.level1_description})).join(", "):l.a.DefaultNullTextValue}}}}),Object(o.a)(r,c.a.Target.entityID,{target_chembl_id:function(t){return{entityID:c.a.Target.entityID,linkTextProperty:"target_chembl_id",linkHrefProperty:"target_chembl_id",itemIDProperty:"target_chembl_id",highlightText:t.highlightText}},target_synonyms:function(t){return{itemIDProperty:"target_chembl_id",entityID:c.a.Target.entityID,synonymsType:"target_synonyms",textOnly:!0}},tax_id:function(t){return{linkTextProperty:"tax_id",linkHrefProperty:"tax_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=".concat(t)}}},"_metadata.related_compounds.count":function(t){return{itemIDProperty:"target_chembl_id",valueAccessor:"_metadata.related_compounds.count",originEntityID:c.a.Target.entityID,destinationEntityID:c.a.Compound.entityID}},"_metadata.related_activities.count":function(t){return{itemIDProperty:"target_chembl_id",valueAccessor:"_metadata.related_activities.count",originEntityID:c.a.Target.entityID,destinationEntityID:c.a.Activity.entityID}}}),Object(o.a)(r,c.a.Assay.entityID,{assay_chembl_id:function(t){return{entityID:c.a.Assay.entityID,linkTextProperty:"assay_chembl_id",linkHrefProperty:"assay_chembl_id",itemIDProperty:"assay_chembl_id",highlightText:t.highlightText}},document_chembl_id:function(t){return{entityID:c.a.Document.entityID,linkTextProperty:"document_chembl_id",linkHrefProperty:"document_chembl_id",itemIDProperty:"document_chembl_id"}},tissue_chembl_id:function(t){return{entityID:c.a.Tissue.entityID,linkTextProperty:"tissue_chembl_id",linkHrefProperty:"tissue_chembl_id",itemIDProperty:"tissue_chembl_id"}},"_metadata.document_data.pubmed_id":function(t){return{linkTextProperty:"_metadata.document_data.pubmed_id",linkHrefProperty:"_metadata.document_data.pubmed_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.ncbi.nlm.nih.gov/pubmed/".concat(t)}}},"_metadata.document_data.doi":function(t){return{linkTextProperty:"_metadata.document_data.doi",linkHrefProperty:"_metadata.document_data.doi",highlightText:t.highlightText,hrefGenerator:function(t){return"https://dx.doi.org/".concat(encodeURIComponent(t))}}},"variant_sequence.accession":function(t){return{linkTextProperty:"variant_sequence.accession",linkHrefProperty:"variant_sequence.accession",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.uniprot.org/uniprot/".concat(t)}}},"_metadata.related_compounds.count":function(t){return{itemIDProperty:"assay_chembl_id",valueAccessor:"_metadata.related_compounds.count",originEntityID:c.a.Assay.entityID,destinationEntityID:c.a.Compound.entityID}},"_metadata.related_activities.count":function(t){return{itemIDProperty:"assay_chembl_id",valueAccessor:"_metadata.related_activities.count",originEntityID:c.a.Assay.entityID,destinationEntityID:c.a.Activity.entityID}}}),Object(o.a)(r,c.a.Document.entityID,{document_chembl_id:function(t){return{entityID:c.a.Document.entityID,linkTextProperty:"document_chembl_id",linkHrefProperty:"document_chembl_id",itemIDProperty:"document_chembl_id",highlightText:t.highlightText}},pubmed_id:function(t){return{linkTextProperty:"pubmed_id",linkHrefProperty:"pubmed_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.ncbi.nlm.nih.gov/pubmed/".concat(t)}}},doi:function(t){return{linkTextProperty:"doi",linkHrefProperty:"doi",highlightText:t.highlightText,hrefGenerator:function(t){return"https://dx.doi.org/".concat(encodeURI(t))}}},patent_id:function(t){return{linkTextProperty:"patent_id",linkHrefProperty:"patent_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.surechembl.org/document/".concat(encodeURI(t))}}},"_metadata.related_activities.count":function(t){return{itemIDProperty:"document_chembl_id",valueAccessor:"_metadata.related_activities.count",originEntityID:c.a.Document.entityID,destinationEntityID:c.a.Activity.entityID}},"_metadata.related_compounds.count":function(t){return{itemIDProperty:"document_chembl_id",valueAccessor:"_metadata.related_compounds.count",originEntityID:c.a.Document.entityID,destinationEntityID:c.a.Compound.entityID}},"_metadata.related_targets.count":function(t){return{itemIDProperty:"document_chembl_id",valueAccessor:"_metadata.related_targets.count",originEntityID:c.a.Document.entityID,destinationEntityID:c.a.Target.entityID}},"_metadata.similar_documents.pubmed_id":function(t){return{linkTextProperty:"_metadata.similar_documents.pubmed_id",linkHrefProperty:"_metadata.similar_documents.pubmed_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.ncbi.nlm.nih.gov/pubmed/".concat(t)}}},"_metadata.similar_documents.doi":function(t){return{linkTextProperty:"_metadata.similar_documents.doi",linkHrefProperty:"_metadata.similar_documents.doi",highlightText:t.highlightText,hrefGenerator:function(t){return"https://dx.doi.org/".concat(encodeURIComponent(t))}}}}),Object(o.a)(r,c.a.CellLine.entityID,{cell_chembl_id:function(t){return{entityID:c.a.CellLine.entityID,linkTextProperty:"cell_chembl_id",linkHrefProperty:"cell_chembl_id",itemIDProperty:"cell_chembl_id",highlightText:t.highlightText}},cell_source_tax_id:function(t){return{linkTextProperty:"cell_source_tax_id",linkHrefProperty:"cell_source_tax_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=".concat(t)}}},clo_id:function(t){return{linkTextProperty:"clo_id",linkHrefProperty:"clo_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://purl.obolibrary.org/obo/".concat(t)}}},efo_id:function(t){return{linkTextProperty:"efo_id",linkHrefProperty:"efo_id",highlightText:t.highlightText,hrefGenerator:function(t){return"http://www.ebi.ac.uk/efo/".concat(encodeURI(t))}}},cellosaurus_id:function(t){return{linkTextProperty:"cellosaurus_id",linkHrefProperty:"cellosaurus_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://web.expasy.org/cellosaurus/".concat(encodeURI(t))}}},cl_lincs_id:function(t){return{linkTextProperty:"cl_lincs_id",linkHrefProperty:"cl_lincs_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://life.ccs.miami.edu/life/summary?mode=CellLine&source=LINCS&input=".concat(t)}}},"_metadata.related_activities.count":function(t){return{itemIDProperty:"cell_chembl_id",valueAccessor:"_metadata.related_activities.count",originEntityID:c.a.CellLine.entityID,destinationEntityID:c.a.Activity.entityID}},"_metadata.related_compounds.count":function(t){return{itemIDProperty:"cell_chembl_id",valueAccessor:"_metadata.related_compounds.count",originEntityID:c.a.CellLine.entityID,destinationEntityID:c.a.Compound.entityID}}}),Object(o.a)(r,c.a.Tissue.entityID,{tissue_chembl_id:function(t){return{entityID:c.a.Tissue.entityID,linkTextProperty:"tissue_chembl_id",linkHrefProperty:"tissue_chembl_id",itemIDProperty:"tissue_chembl_id",highlightText:t.highlightText}},uberon_id:function(t){return{linkTextProperty:"uberon_id",linkHrefProperty:"uberon_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.ebi.ac.uk/ols/search?q=".concat(encodeURI(t))}}},efo_id:function(t){return{linkTextProperty:"efo_id",linkHrefProperty:"efo_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.ebi.ac.uk/ols/search?q=".concat(encodeURI(t))}}},bto_id:function(t){return{linkTextProperty:"bto_id",linkHrefProperty:"bto_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.ebi.ac.uk/ols/search?q=".concat(encodeURI(t))}}},caloha_id:function(t){return{linkTextProperty:"caloha_id",linkHrefProperty:"caloha_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://www.nextprot.org/term/".concat(encodeURI(t))}}},"_metadata.related_activities.count":function(t){return{itemIDProperty:"tissue_chembl_id",valueAccessor:"_metadata.related_activities.count",originEntityID:c.a.Tissue.entityID,destinationEntityID:c.a.Activity.entityID}},"_metadata.related_compounds.count":function(t){return{itemIDProperty:"tissue_chembl_id",valueAccessor:"_metadata.related_compounds.count",originEntityID:c.a.Tissue.entityID,destinationEntityID:c.a.Compound.entityID}}}),Object(o.a)(r,c.a.DrugIndication.entityID,{"parent_molecule.molecule_chembl_id":function(t){return{entityID:c.a.Compound.entityID,itemIDProperty:"parent_molecule.molecule_chembl_id",linkTextProperty:"parent_molecule.molecule_chembl_id",showMoleculeStructure:!0,enableStructureSearch:!0,moleculeStructure:{showOptions:!0}}},"drug_indication.mesh_id":function(t){return{linkTextProperty:"drug_indication.mesh_id",linkHrefProperty:"drug_indication.mesh_id",highlightText:t.highlightText,hrefGenerator:function(t){return"https://id.nlm.nih.gov/mesh/".concat(t,".html")}}},efo_ids:function(t){return{valueAccessor:"drug_indication.efo",inArrayAccessor:"id",showOnlyHighlights:!1,hrefGenerator:function(t){return"http://www.ebi.ac.uk/efo/".concat(encodeURI(t.replace(":","_")))}}},efo_terms:function(t){return{valueAccessor:"drug_indication.efo",inArrayAccessor:"term",showOnlyHighlights:!1}},"drug_indication.efo":function(t){return{valueAccessor:"drug_indication.efo",inArrayAccessor:"term",showOnlyHighlights:!1}},"parent_molecule._metadata.drug.drug_data.synonyms":function(t){return{itemIDProperty:"parent_molecule.molecule_chembl_id",entityID:c.a.Compound.entityID,synonymsType:"molecule_synonyms",textOnly:!0,highlightText:t.highlightText}},"drug_indication.indication_refs_by_molecule":function(t){return{baseChemblIDProperty:"drug_indication.molecule_chembl_id",parentChemblIDProperty:"parent_molecule.molecule_chembl_id"}}}),Object(o.a)(r,c.a.DrugMechanism.entityID,{"parent_molecule.molecule_chembl_id":function(t){return{entityID:c.a.Compound.entityID,itemIDProperty:"parent_molecule.molecule_chembl_id",linkTextProperty:"parent_molecule.molecule_chembl_id",showMoleculeStructure:!0,enableStructureSearch:!0,moleculeStructure:{showOptions:!0}}},"target.target_chembl_id":function(t){return{entityID:c.a.Target.entityID,itemIDProperty:"target.target_chembl_id",linkTextProperty:"target.target_chembl_id"}},"mechanism_of_action.mechanism_refs_by_molecule":function(t){return{baseChemblIDProperty:"mechanism_of_action.molecule_chembl_id",parentChemblIDProperty:"parent_molecule.molecule_chembl_id"}},drug_atc_codes:function(t){return{inArrayAccessor:"level5",showAsUL:!0}},drug_atc_codes_level_4:function(t){return{inArrayAccessor:"level4_description",showAsUL:!0}},drug_atc_codes_level_3:function(t){return{inArrayAccessor:"level3_description",showAsUL:!0}},drug_atc_codes_level_2:function(t){return{inArrayAccessor:"level2_description",showAsUL:!0}},drug_atc_codes_level_1:function(t){return{inArrayAccessor:"level1_description",showAsUL:!0}}}),Object(o.a)(r,c.a.EubopenMainTarget.entityID,{"target.pref_name":function(t){return{entityID:c.a.EubopenTarget.entityID,itemIDProperty:"target.target_eubopen_id",linkTextProperty:"target.pref_name",fallbackLinkTextProperty:"target.target_eubopen_id"}},"molecule.pref_name":function(t){return{entityID:c.a.EubopenCompound.entityID,itemIDProperty:"molecule.molecule_eubopen_id",linkTextProperty:"molecule.pref_name",fallbackLinkTextProperty:"molecule.molecule_eubopen_id"}},"molecule.molecule_eubopen_id":function(t){return{entityID:c.a.EubopenCompound.entityID,itemIDProperty:"molecule.molecule_eubopen_id",structureIDProperty:"molecule.molecule_chembl_id",showMoleculeStructure:!0,moleculeStructure:{showOptions:!0}}}}),Object(o.a)(r,c.a.Activity.entityID,{molecule_chembl_id:function(t){return{entityID:c.a.Compound.entityID,linkTextProperty:"molecule_chembl_id",linkHrefProperty:"molecule_chembl_id",itemIDProperty:"molecule_chembl_id",showMoleculeStructure:!0,enableStructureSearch:!0,moleculeStructure:{showOptions:!0},highlightText:t.highlightText}},assay_chembl_id:function(t){return{entityID:c.a.Assay.entityID,itemIDProperty:"assay_chembl_id",linkTextProperty:"assay_chembl_id"}},target_chembl_id:function(t){return{entityID:c.a.Target.entityID,linkTextProperty:"target_chembl_id",linkHrefProperty:"target_chembl_id",itemIDProperty:"target_chembl_id",highlightText:t.highlightText}},document_chembl_id:function(t){return{entityID:c.a.Document.entityID,linkTextProperty:"document_chembl_id",linkHrefProperty:"document_chembl_id",itemIDProperty:"document_chembl_id"}},"_metadata.assay_data.cell_chembl_id":function(t){return{entityID:c.a.CellLine.entityID,linkTextProperty:"_metadata.assay_data.cell_chembl_id",linkHrefProperty:"_metadata.assay_data.cell_chembl_id",itemIDProperty:"_metadata.assay_data.cell_chembl_id",highlightText:t.highlightText}},"_metadata.assay_data.tissue_chembl_id":function(t){return{entityID:c.a.Tissue.entityID,linkTextProperty:"_metadata.assay_data.tissue_chembl_id",linkHrefProperty:"_metadata.assay_data.tissue_chembl_id",itemIDProperty:"_metadata.assay_data.tissue_chembl_id"}},"_metadata.assay_data.assay_parameters":function(t){return{assayParamsProperty:"_metadata.assay_data.assay_parameters"}}}),r),f=function(t){return t},v={getGeneratorFunctionForPoperty:function(t,e){var n=h[t];if(null==n)return f;var r=n[e];return null==r?f:function(t){var e=r(t);return m(m({},t),e)}}};e.a={config:h,methods:v}},952:function(t,e,n){"use strict";n(15),n(11),n(63),n(12),n(44),n(55),n(24),n(34),n(35),n(33);var r=n(1),o=(n(8),n(6),n(13),n(45)),c=n(311),l=n(309),d=n(58),m=n(16),h=n(54),f=n(906),v=(n(38),{props:{iconFilename:{type:String,default:function(){}},active:{type:Boolean,default:function(){return!0}},rowKey:{type:String,default:function(){return"row1"}}},computed:{iconClasses:function(){return{"disabled-icon":!this.active,"first-row-icon":this.active&&"row1"===this.rowKey,"second-row-icon":this.active&&"row2"===this.rowKey}}}}),y=(n(954),n(4)),_=n(7),w=n.n(_),k=n(319),component=Object(y.a)(v,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"feature-icon",class:t.iconClasses},[r("v-img",{attrs:{src:n(936)("./"+t.iconFilename)}})],1)}),[],!1,null,"d946a12a",null),x=component.exports;w()(component,{VImg:k.a});var T={components:{FeatureIcon:x},props:{rowFeatures:{type:Array,default:function(){return[]}},rowKey:{type:String,default:function(){return[]}}},methods:{getCompoundsURL:function(t){return f.a.buildURLForEntityBrowser(m.a.Compound.entityID,t,"filter")},getDrugsURL:function(t){return f.a.buildURLForEntityBrowser(m.a.Drug.entityID,t,"filter")}}},C=n(301),S=n(25),I=n(885),E=n(174),D=n(297),M=n(22),N=n(886),L=Object(y.a)(T,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",{attrs:{flat:""}},[n("v-card-text",[n("br"),t._v(" "),n("p",[t._t("default")],2),t._v(" "),t._l(t.rowFeatures,(function(e,r){return n("div",{key:r},[n("h3",[t._v(t._s(e.label))]),t._v(" "),n("br"),t._v(" "),n("v-row",{attrs:{dense:""}},t._l(e.possible_values,(function(e){return n("v-col",{key:e.label,attrs:{cols:"12",sm:"6",md:"4",lg:"3"}},[n("v-list-item",{attrs:{"three-line":""}},[n("v-list-item-avatar",{attrs:{tile:""}},[n("FeatureIcon",{attrs:{"icon-filename":e.iconFilename,active:e.active,"row-key":t.rowKey}})],1),t._v(" "),n("v-list-item-content",[n("v-list-item-title",[t._v(t._s(e.label))]),t._v(" "),n("v-list-item-subtitle",[t._v("Click to see all\n "),n("a",{attrs:{href:t.getCompoundsURL(e.queryString),target:"_parent"}},[t._v("Compounds")]),t._v("\n or\n "),n("a",{attrs:{target:"_parent",href:t.getDrugsURL(e.queryString)}},[t._v("Drugs")]),t._v("\n with this value.\n ")])],1)],1)],1)})),1)],1)}))],2)],1)}),[],!1,null,null,null),P=L.exports;w()(L,{VCard:C.a,VCardText:S.c,VCol:I.a,VListItem:E.a,VListItemAvatar:D.a,VListItemContent:M.a,VListItemSubtitle:M.b,VListItemTitle:M.c,VRow:N.a});var O={components:{RowExplanation:P},props:{allPossibleFeatures:{type:Array,default:function(){return[]}}},data:function(){return{tab:0}},computed:{featuresForAllCompounds:function(){var t=this;return["natural_product","chemical_probe","ro5"].map((function(e){return t.allPossibleFeatures.row1.features[e]}))},featuresForUSANCompounds:function(){var t=this;return["molecule_type","first_in_class","chirality","prodrug"].map((function(e){return t.allPossibleFeatures.row1.features[e]}))},featuresForApprovedDrugs:function(){return this.allPossibleFeatures.row2.features}},methods:{getCompoundsURL:function(t){return f.a.buildURLForEntityBrowser(m.a.Compound.entityID,t,"filter")},getDrugsURL:function(t){return f.a.buildURLForEntityBrowser(m.a.Drug.entityID,t,"filter")}}},A=(n(956),n(892)),V=n(893),j=n(903),B=n(453),R=Object(y.a)(O,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",{attrs:{flat:"",height:"100%"}},[n("v-card-text",{staticClass:"card-text"},[n("div",{staticClass:"fixed-tabs"},[n("v-tabs",{model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[n("v-tab",[t._v(" All Compounds ")]),t._v(" "),n("v-tab",[t._v(" Clinical Candidates")]),t._v(" "),n("v-tab",[t._v(" Approved Drugs")])],1)],1),t._v(" "),n("div",{staticClass:"row-explanation"},[n("v-tabs-items",{model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[n("v-tab-item",[n("RowExplanation",{attrs:{"row-features":t.featuresForAllCompounds,"row-key":"row1"}},[t._v("Features shown for all\n "),n("a",{attrs:{href:t.getCompoundsURL(),target:"_parent"}},[t._v("compounds")]),t._v(" and\n "),n("a",{attrs:{href:t.getDrugsURL(),target:"_parent"}},[t._v("drugs")]),t._v(".\n ")])],1),t._v(" "),n("v-tab-item",[n("RowExplanation",{attrs:{"row-features":t.featuresForUSANCompounds,"row-key":"row1"}},[t._v("\n Features shown for\n "),n("a",{attrs:{href:t.getCompoundsURL("_metadata.hierarchy.is_usan:true"),target:"_parent"}},[t._v("compounds")]),t._v("\n and\n "),n("a",{attrs:{href:t.getDrugsURL("_metadata.hierarchy.is_usan:true"),target:"_parent"}},[t._v("drugs")]),t._v("\n that are clinical candidates.\n ")])],1),t._v(" "),n("v-tab-item",[n("RowExplanation",{attrs:{"row-features":t.featuresForApprovedDrugs,"row-key":"row2"}},[t._v("\n Features shown for\n "),n("a",{attrs:{href:t.getCompoundsURL("_metadata.hierarchy.is_approved_drug:true"),target:"_parent"}},[t._v("compounds")]),t._v("\n and\n "),n("a",{attrs:{href:t.getDrugsURL("_metadata.hierarchy.is_approved_drug:true"),target:"_parent"}},[t._v("drugs")]),t._v("\n that are approved drugs.\n ")])],1)],1)],1)])],1)}),[],!1,null,"6757f450",null),F=R.exports;w()(R,{VCard:C.a,VCardText:S.c,VTab:A.a,VTabItem:V.a,VTabs:j.a,VTabsItems:B.a});var H={components:{FeaturesExplanation:F},props:{allPossibleFeatures:{type:Object,default:function(){}}},data:function(){return{showDialog:!1,tab:void 0}},watch:{showDialog:{handler:function(t){var e=t?"DIALOG_OPENED":"DIALOG_CLOSED";this.$emit(e)}}},methods:{getCompoundsURL:function(t){return f.a.buildURLForEntityBrowser(m.a.Compound.entityID,t,"filter")},getDrugsURL:function(t){return f.a.buildURLForEntityBrowser(m.a.Drug.entityID,t,"filter")}}},U=(n(958),n(293)),z=n(877),G=n(294),Y=n(218),W=n(76),Q=n(153),$=Object(y.a)(H,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-dialog",{scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,o=e.attrs;return[n("v-btn",t._g(t._b({attrs:{depressed:"",color:"primary"}},"v-btn",o,!1),r),[t._v("\n Learn More\n ")])]}}]),model:{value:t.showDialog,callback:function(e){t.showDialog=e},expression:"showDialog"}},[t._v(" "),n("v-card",{staticClass:"container-card",attrs:{flat:""}},[n("div",{staticClass:"fixed-title"},[n("v-toolbar",{attrs:{flat:""}},[n("v-btn",{attrs:{text:"",tile:""},on:{click:function(e){t.showDialog=!1}}},[n("v-icon",[t._v("mdi-close")])],1),t._v(" "),n("v-toolbar-title",[t._v("Learn More")])],1),t._v(" "),n("v-divider")],1),t._v(" "),n("v-card-text",{staticClass:"features"},[n("FeaturesExplanation",{attrs:{"all-possible-features":t.allPossibleFeatures}})],1)],1)],1)}),[],!1,null,"1988afc6",null),X=$.exports;w()($,{VBtn:U.a,VCard:C.a,VCardText:S.c,VDialog:z.a,VDivider:G.a,VIcon:Y.a,VToolbar:W.a,VToolbarTitle:Q.a});var K=n(307),Z={components:{FeatureIcon:x},props:{compoundFeatures:{type:Array,default:function(){return[]}},tableCell:{type:Boolean,default:function(){return!1}}},computed:{dense:function(){return!this.tableCell},noGutters:function(){return this.tableCell}}},J=(n(960),n(900)),tt=Object(y.a)(Z,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"rows-container"},t._l(t.compoundFeatures,(function(e,r){return n("v-row",{key:"row-"+r,attrs:{justify:"center",dense:t.dense,"no-gutters":t.noGutters}},t._l(e,(function(e){return n("v-col",{key:e.featureLabel+":"+e.label,attrs:{cols:"1"}},[n("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(o){var c=o.on,l=o.attrs;return[n("div",t._g(t._b({},"div",l,!1),c),[n("FeatureIcon",{attrs:{"icon-filename":e.iconFilename,active:e.active,"row-key":"row"+(r+1)}})],1)]}}],null,!0)},[t._v(" "),n("span",[t._v(" "+t._s(e.featureLabel)+": "+t._s(e.label))])])],1)})),1)})),1)}),[],!1,null,"c24a83fe",null),et=tt.exports;w()(tt,{VCol:I.a,VRow:N.a,VTooltip:J.a});var at=n(935);function nt(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function it(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?nt(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):nt(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function ot(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return st(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return st(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function st(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var ct={components:{AllFeaturesDialog:X,MoleculeFeaturesRows:et},mixins:[c.a,l.a,at.a],props:{chemblID:{type:String,default:function(){}},tableCell:{type:Boolean,default:function(){return!1}}},data:function(){return{loading:!0,showError:!1,errorMessage:void 0,compoundFeatures:void 0,allFeaturesDialogOpen:void 0,isUSAN:void 0,isApprovedDrug:void 0}},computed:{sizeClasses:function(){return{"give-space-for-dialog-when-embedded":this.allFeaturesDialogOpen}}},mounted:function(){var t=this,e=d.a.getIndexNameFromEntityID(m.a.Compound.entityID);h.a.getESDocument(e,this.chemblID,["_metadata.hierarchy","molecule_type","polymer_flag","inorganic_flag","natural_product","chemical_probe","molecule_properties.num_ro5_violations","first_in_class","chirality","prodrug","oral","parenteral","topical","black_box_warning","availability_type"]).then((function(e){var n=e.data._source;t.isUSAN=K.a.getPropertyPalue(n,"_metadata.hierarchy.is_usan"),t.isApprovedDrug=K.a.getPropertyPalue(n,"_metadata.hierarchy.is_approved_drug"),t.compoundFeatures=t.getCompoundFeatures(n),t.loading=!1})).catch((function(e){t.loading=!1,t.showError=!0,t.errorMessage=e}))},methods:{getCompoundFeatures:function(t){var e=[],n=this.getFeaturesForAllCompounds(t);if(this.isUSAN){var r=this.getFeaturesForUSAN(t);n.push.apply(n,Object(o.a)(r))}return e.push(n),this.isApprovedDrug&&e.push(this.getFeaturesForRow(t,"row2")),e},getFeaturesForRow:function(t,e){var n,r=this.allPossibleFeatures[e].features,o=[],c=ot(Object.keys(r).sort((function(a,b){return r[a].position-r[b].position})));try{for(c.s();!(n=c.n()).done;){var l=n.value,d=r[l],m=d.valueGetter;if(null!=m){var h=m(t),f=d.possible_values[h];o.push(it(it({},f),{},{featureLabel:d.label}))}}}catch(t){c.e(t)}finally{c.f()}return o},getFeaturesForAllCompounds:function(t){var e=this.allPossibleFeatures.row1.features;return this.getFeaturesValues(t,e,["natural_product","chemical_probe","ro5"])},getFeaturesForUSAN:function(t){var e=this.allPossibleFeatures.row1.features;return this.getFeaturesValues(t,e,["molecule_type","first_in_class","chirality","prodrug"])},getFeaturesValues:function(t,e,n){var r,o=[],c=ot(n);try{for(c.s();!(r=c.n()).done;){var l=e[r.value],d=l.valueGetter;if(null!=d){var m=d(t),h=l.possible_values[m];o.push(it(it({},h),{},{featureLabel:l.label}))}}}catch(t){c.e(t)}finally{c.f()}return o},handleDialogOpened:function(){this.allFeaturesDialogOpen=!0},handleDialogClosed:function(){this.allFeaturesDialogOpen=!1}}},lt=(n(962),n(905)),ut=n(899),mt=n(888),ht=Object(y.a)(ct,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tableCell?n("div",{staticClass:"in-table-cell"},[n("MoleculeFeaturesRows",{attrs:{"compound-features":t.compoundFeatures,"table-cell":t.tableCell}})],1):n("v-card",{class:t.sizeClasses},[t.isEmbedded?n("resize-observer",{on:{notify:t.handleResize}}):t._e(),t._v(" "),t.loading?n("v-skeleton-loader",{attrs:{type:"card"}}):t.showError?[n("v-card-text",[n("v-alert",{attrs:{outlined:"",type:"error"}},[t._v("\n "+t._s(t.errorMessage)+"\n ")])],1)]:[n("v-card-text",[n("v-row",[n("v-spacer"),t._v(" "),n("v-col",{staticClass:"d-flex justify-center",attrs:{cols:"12",sm:"10",md:"8",lg:"6"}},[n("MoleculeFeaturesRows",{attrs:{"compound-features":t.compoundFeatures}})],1),t._v(" "),n("v-spacer")],1)],1),t._v(" "),n("v-card-text",[n("div",{staticClass:"d-flex justify-center"},[n("AllFeaturesDialog",{attrs:{"all-possible-features":t.allPossibleFeatures},on:{DIALOG_OPENED:t.handleDialogOpened,DIALOG_CLOSED:t.handleDialogClosed}})],1)])]],2)],1)}),[],!1,null,"2b75753d",null);e.a=ht.exports;w()(ht,{VAlert:lt.a,VCard:C.a,VCardText:S.c,VCol:I.a,VRow:N.a,VSkeletonLoader:ut.a,VSpacer:mt.a})},953:function(t,e,n){"use strict";n(29),n(31);var r=n(154),o=n(180),c={getJobStatusUrl:function(t){return"".concat(r.a.defaults.baseURL,"/status/").concat(t)},checkJobUntilDoneGenerator:function(t,e,n){return function(){c.checkJobUntilDone(t,e,n)}},checkJobUntilDone:function(t,e,n,r){var l=this;c.getJobStatus(e).then((function(r){var o=r.data;n(t,o),!["ERROR","FINISHED"].includes(o.status)&&setTimeout(c.checkJobUntilDoneGenerator(t,e,n),2e3)})).catch((function(e){o.a.trackError(e,l),null==r?console.error("Error checking job status",e):r(t,e)}))},getJobStatus:function(t){return r.a.get("/status/".concat(t))}};e.a=c},954:function(t,e,n){"use strict";n(920)},955:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.feature-icon[data-v-d946a12a]{position:relative;padding:5px;border:1px solid #9e9e9e;width:100%}.disabled-icon[data-v-d946a12a]{opacity:.3;filter:grayscale(100%)}.first-row-icon[data-v-d946a12a]:before{background-color:rgba(127,219,177,.5)}.first-row-icon[data-v-d946a12a]:before,.second-row-icon[data-v-d946a12a]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;mix-blend-mode:multiply}.second-row-icon[data-v-d946a12a]:before{background-color:rgba(144,207,218,.5)}',""]),t.exports=r},956:function(t,e,n){"use strict";n(921)},957:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.card-text[data-v-6757f450]{position:relative;height:100%}.fixed-tabs[data-v-6757f450]{position:-webkit-sticky;position:sticky;top:0}.row-explanation[data-v-6757f450]{height:calc(100% - 64px);overflow-y:scroll}',""]),t.exports=r},958:function(t,e,n){"use strict";n(922)},959:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.container-card[data-v-1988afc6]{overflow:hidden;height:90vh}.container-card .fixed-title[data-v-1988afc6]{position:-webkit-sticky;position:sticky;top:0}.container-card .features[data-v-1988afc6]{height:calc(100% - 64px)}',""]),t.exports=r},960:function(t,e,n){"use strict";n(923)},961:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.rows-container[data-v-c24a83fe]{width:100%}',""]),t.exports=r},962:function(t,e,n){"use strict";n(924)},963:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.give-space-for-dialog-when-embedded[data-v-2b75753d]{height:600px}.in-table-cell[data-v-2b75753d]{width:400px}',""]),t.exports=r},964:function(t,e,n){"use strict";var r=n(965),o=n(307),c=n(308),l={props:{mouseIsOverText:{type:Boolean,default:function(){return!1}},textValue:{type:String,default:function(){return""}},valueAccessor:{type:String,default:function(){return""}},storeModuleName:{type:String,default:function(){return""}},datasetState:{type:Object,default:function(){}},propLabel:{type:String,default:function(){}},inReportCard:{type:Boolean,default:function(){return!1}}},computed:{showApplyExactTextFilterButton:function(){return this.mouseIsOverText&&!this.showDisableExactTextFilterButton},showDisableExactTextFilterButton:function(){return this.isApplyingExactTextFilter},tooltipTextApply:function(){return"Click to filter ".concat(this.propLabel," by this value.")},isApplyingExactTextFilter:function(){return null!=this.datasetState.exactTextFilters[this.valueAccessor]},allCurrentFiltersDataLoaded:function(){return this.datasetState.allCurrentFiltersDataLoaded},currentFacets:function(){return this.datasetState.currentFacets},propertiesIndex:function(){return this.datasetState.propertiesIndex},thereAreFacets:function(){return this.datasetState.currentFacets.length>0},activate:function(){if(null==this.datasetState)return!1;var t=(this.propertiesIndex[this.valueAccessor]||{}).is_contextual;return!this.inReportCard&&this.thereAreFacets&&!t}},methods:{applyExactTextFilter:function(){var t=this.textValue;this.$store.dispatch("".concat(this.storeModuleName,"/setExactTextFilter"),{valueAccessor:this.valueAccessor,filterValue:t})},disableExactTextFilter:function(){this.$store.dispatch("".concat(this.storeModuleName,"/unsetExactTextFilter"),this.valueAccessor)}}},d=n(4),m=n(7),h=n.n(m),f=n(293),v=n(218),y=n(900),_=Object(d.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.activate?[t.showApplyExactTextFilterButton?n("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,o=e.attrs;return[n("v-btn",t._g(t._b({attrs:{"x-small":"",color:"primary",outlined:"",icon:"",tile:"",loading:!t.allCurrentFiltersDataLoaded},on:{click:t.applyExactTextFilter}},"v-btn",o,!1),r),[n("v-icon",{attrs:{"x-small":""}},[t._v(" mdi-filter-plus-outline ")])],1)]}}],null,!1,230140360)},[t._v(" "),n("span",[t._v(t._s(t.tooltipTextApply))])]):t._e(),t._v(" "),t.showDisableExactTextFilterButton?n("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,o=e.attrs;return[n("v-btn",t._g(t._b({attrs:{"x-small":"",color:"primary",outlined:"",icon:"",tile:"",loading:!t.allCurrentFiltersDataLoaded},on:{click:t.disableExactTextFilter}},"v-btn",o,!1),r),[n("v-icon",{attrs:{"x-small":""}},[t._v(" mdi-filter-remove ")])],1)]}}],null,!1,207331865)},[t._v(" "),n("span",[t._v("Click to remove this filter")])]):t._e()]:t._e()],2)}),[],!1,null,null,null),w=_.exports;h()(_,{VBtn:f.a,VIcon:v.a,VTooltip:y.a});var k={components:{TextHighlighter:c.a,ExactTextFilterApplicator:w},props:{storeModuleName:{type:String,default:function(){return""}},datasetState:{type:Object,default:function(){}},slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}},flattenedProperties:{type:Boolean,default:function(){return!0}},inReportCard:{type:Boolean,default:function(){return!1}}},data:function(){return{mouseIsOverMe:!1}},computed:{textValue:function(){var t,e=this.slotDescription.slotParams.propConfig.is_virtual;t=this.slotDescription.slotParams.propConfig.is_contextual?"_context.".concat(this.slotDescription.slotParams.valueAccessor):e?this.slotDescription.slotParams.propConfig.based_on:this.slotDescription.slotParams.valueAccessor;var n,r=this.item.data;n=this.flattenedProperties?r[t]:o.a.getPropertyPalue(r,t);var c=this.slotDescription.slotParams.parseFunction;return null!=c&&(n=c(n)),n=String(n)},showApplyExactTextFilterButton:function(){return this.mouseIsOverMe},showDisableExactTextFilterButton:function(){return!0}},methods:{handleMouseEnter:function(){this.mouseIsOverMe=!0},handleMouseLeave:function(){this.mouseIsOverMe=!1}}},x=Object(d.a)(k,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex",on:{mouseenter:t.handleMouseEnter,mouseleave:t.handleMouseLeave}},[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":t.textValue}}),t._v(" "),n("ExactTextFilterApplicator",{attrs:{"mouse-is-over-text":t.mouseIsOverMe,"text-value":t.textValue,"value-accessor":t.slotDescription.slotParams.valueAccessor,"store-module-name":t.storeModuleName,"dataset-state":t.datasetState,"prop-label":t.slotDescription.slotParams.propConfig.label,"in-report-card":t.inReportCard}})],1)}),[],!1,null,null,null).exports,T=n(915),C=n(102),S=n(309),I={components:{TextHighlighter:c.a},mixins:[S.a],props:{href:{type:String,default:function(){}},text:{type:String,default:function(){}},highlightText:{type:String,default:function(){}},secondaryText:{type:String,default:function(){}},secondaryLinkHref:{type:String,default:function(){}}},computed:{target:function(){return this.isEmbedded?"_parent":"_self"},showSecondaryLink:function(){return null!=this.secondaryText&&null!=this.secondaryLinkHref}}},E=(n(968),Object(d.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex flex-column align-center justify-center"},[n("div",{staticClass:"img-container"},[t._t("image")],2),t._v(" "),n("div",{staticClass:"d-flex"},[n("a",{staticClass:"text-center",attrs:{href:t.href,target:t.target}},[n("TextHighlighter",{attrs:{"full-text":t.text,"highlighted-text":t.highlightText}})],1),t._v(" "),t._t("exact-filter")],2),t._v(" "),t.showSecondaryLink?n("div",{staticClass:"d-flex"},[n("a",{staticClass:"text-center",attrs:{href:t.secondaryLinkHref,target:t.target}},[t._v("\n "+t._s(t.secondaryText)+"\n ")]),t._v(" "),t._t("exact-filter-secondary")],2):t._e()])}),[],!1,null,"14e6ed83",null).exports),D=n(933),M=n(907),N={components:{ChEMBLLink:E,MoleculeImage:D.a,ExactTextFilterApplicator:w},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}},storeModuleName:{type:String,default:function(){return""}},datasetState:{type:Object,default:function(){}},inReportCard:{type:Boolean,default:function(){return!1}}},data:function(){return{mouseIsOverMe:!1}},computed:{linkText:function(){var t=this.getFallbackTextValue(!0),e=this.getTextValue(!0);return null!=e&&""!==e&&e!==M.a.DefaultNullTextValue||(e=t),e},showStructureImageOptions:function(){return!!this.slotDescription.slotParams.showMoleculeStructure&&(null!=this.slotDescription.slotParams.moleculeStructure&&!0===this.slotDescription.slotParams.moleculeStructure.showOptions)},secondaryText:function(){if(null==this.slotDescription.slotParams.secondaryLinkTextProperty)return null;var t=this.getFallbackTextValue(!1),e=this.getTextValue(!1);return null!=e&&""!==e&&e!==M.a.DefaultNullTextValue||(e=t),e},linkHref:function(){var t=this.slotDescription.slotParams.itemIDProperty,e=this.slotDescription.slotParams.entityID,n=C.a[e],r=this.item.data[t];if(r!==M.a.DefaultNullTextValue)return n.getLinkToReportCard(r)},secondaryLinkHref:function(){if(null==this.slotDescription.slotParams.secondaryLinkTextProperty)return null;var t=this.getIDProperty(!1),e=this.slotDescription.slotParams.entityID,n=C.a[e],r=this.item.data[t];return n.getLinkToReportCard(r)},idForStructure:function(){if(null!=this.slotDescription.slotParams.showMoleculeStructure&&this.slotDescription.slotParams.showMoleculeStructure){var t=null!=this.slotDescription.slotParams.structureIDProperty?this.slotDescription.slotParams.structureIDProperty:this.slotDescription.slotParams.itemIDProperty;return this.item.data[t]}}},methods:{getIDProperty:function(t){return t?this.slotDescription.slotParams.itemIDProperty:this.slotDescription.slotParams.secondaryIDProperty},getTextValue:function(t){var e=t?this.slotDescription.slotParams.linkTextProperty:this.slotDescription.slotParams.secondaryLinkTextProperty;return this.item.data[e]},getFallbackTextValue:function(t){var e=t?this.slotDescription.slotParams.fallbackLinkTextProperty:this.slotDescription.slotParams.secondaryLinkTextProperty;e=null==e?this.getIDProperty(t):e;var n=this.item.data[e];return null==n?M.a.DefaultNullTextValue:(""===(n=n.trim())&&(n=M.a.DefaultNullTextValue),n)},handleMouseEnter:function(){this.mouseIsOverMe=!0},handleMouseLeave:function(){this.mouseIsOverMe=!1}}},L=Object(d.a)(N,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex justify-center",on:{mouseenter:t.handleMouseEnter,mouseleave:t.handleMouseLeave}},[n("ChEMBLLink",{attrs:{href:t.linkHref,text:t.linkText,"secondary-link-href":t.secondaryLinkHref,"secondary-text":t.secondaryText,"highlight-text":t.slotDescription.slotParams.highlightText},scopedSlots:t._u([{key:"image",fn:function(){return[t.slotDescription.slotParams.showMoleculeStructure?n("MoleculeImage",{attrs:{"molecule-chembl-id":t.idForStructure,"aspect-ratio":String(16/9),"max-width":"250px",contain:"","show-options":t.showStructureImageOptions,"enable-structure-search":t.slotDescription.slotParams.enableStructureSearch,"compact-structure-search":""}}):t._e()]},proxy:!0},{key:"exact-filter",fn:function(){return[n("ExactTextFilterApplicator",{attrs:{"mouse-is-over-text":t.mouseIsOverMe,"text-value":t.linkText,"value-accessor":t.slotDescription.slotParams.linkTextProperty,"store-module-name":t.storeModuleName,"dataset-state":t.datasetState,"prop-label":t.slotDescription.slotParams.propConfig.label,"in-report-card":t.inReportCard}})]},proxy:!0},{key:"exact-filter-secondary",fn:function(){return[n("ExactTextFilterApplicator",{attrs:{"mouse-is-over-text":t.mouseIsOverMe,"text-value":t.secondaryText,"value-accessor":t.slotDescription.slotParams.secondaryLinkTextProperty,"store-module-name":t.storeModuleName,"dataset-state":t.datasetState,"prop-label":t.slotDescription.slotParams.propConfig.label,"in-report-card":t.inReportCard}})]},proxy:!0}])})],1)}),[],!1,null,null,null).exports,P={components:{Synonyms:n(918).a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{synonymsType:function(){return this.slotDescription.slotParams.synonymsType},entityID:function(){return this.slotDescription.slotParams.entityID},itemID:function(){var t=this.slotDescription.slotParams.itemIDProperty,e=this.item.data[t];return null!=e||(e=o.a.getPropertyPalue(this.item.data,t)),e},textOnly:function(){return this.slotDescription.slotParams.textOnly},tradeNames:function(){return this.slotDescription.slotParams.tradeNames},drugSynonyms:function(){return this.slotDescription.slotParams.drugSynonyms},drugResearchCodes:function(){return this.slotDescription.slotParams.drugResearchCodes}}},O=Object(d.a)(P,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("Synonyms",{attrs:{"item-i-d":t.itemID,type:t.synonymsType,"entity-i-d":t.entityID,"text-only":t.textOnly,"trade-names":t.tradeNames,"drug-synonyms":t.drugSynonyms,"drug-research-codes":t.drugResearchCodes,"highlight-text":t.slotDescription.slotParams.highlightText}})}),[],!1,null,null,null).exports,A={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{whereTexts:function(){var t=this.slotDescription.slotParams.valueAccessor,e=this.item.data[t];if(null==e)return"";if(0===e.length)return"";for(var n=[],i=0;i<e.length;i++){var r=e[i],o=null!=r.year?": ".concat(r.year):"",c="".concat(r.country).concat(o);n.push(c)}return n.join(", ")}}},V=Object(d.a)(A,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._v(t._s(t.whereTexts))])}),[],!1,null,null,null).exports,j={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{references:function(){var t=this.slotDescription.slotParams.valueAccessor,e=this.item.data[t];return null==e||0===e.length?[]:e}}},B=(n(972),Object(d.a)(j,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex"},t._l(t.references,(function(e){return n("span",{key:e.ref_id,staticClass:"link-container"},[n("a",{attrs:{href:e.ref_url,target:"_parent"}},[t._v("\n "+t._s(e.ref_type)+"\n ")])])})),0)}),[],!1,null,null,null).exports),R=(n(63),n(12),n(24),n(34),n(35),n(33),n(11),n(55),n(235),n(44),n(912),n(8),n(6),n(13),n(36),n(16)),F={mixins:[S.a],props:{refs:{type:Array,default:function(){}}},data:function(){return{start:0,size:5}},computed:{target:function(){return this.isEmbedded?"_parent":"_self"},showButtons:function(){return this.refs.length>this.size},shownRefs:function(){return this.refs.slice(this.start,this.start+this.size)},disableLeft:function(){return this.start<=0},disableRight:function(){return this.start+this.size>this.refs.length-1}},methods:{goLeft:function(){this.start-=1},goRight:function(){this.start+=1}}},H=Object(d.a)(F,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.showButtons?n("div",{staticClass:"text-caption text-center"},[t._v("\n ("+t._s(t.refs.length)+")\n ")]):t._e(),t._v(" "),n("div",{staticClass:"d-flex align-center"},[t.showButtons?n("v-btn",{attrs:{icon:"",disabled:t.disableLeft},on:{click:t.goLeft}},[n("v-icon",[t._v("mdi-menu-left")])],1):t._e(),t._v(" "),t._l(t.shownRefs,(function(e,r){return[n("a",{key:e.id,attrs:{target:t.target,href:e.ref_url}},[t._v("\n ["+t._s(t.start+r+1)+"]\n ")]),t._v(" "),t.start+r!==t.refs.length-1?n("span",{key:e.ref_url+"-comma"},[t._v(",")]):t._e()]})),t._v(" "),t.showButtons?n("v-btn",{attrs:{icon:"",disabled:t.disableRight},on:{click:t.goRight}},[n("v-icon",[t._v("mdi-menu-right")])],1):t._e()],2)])}),[],!1,null,"67b570e8",null),U=H.exports;function z(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return G(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}h()(H,{VBtn:f.a,VIcon:v.a});var Y={components:{ChEMBLLink:E,RefsIterator:U},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},data:function(){return{itemsPerPage:2}},computed:{refsByChemblID:function(){var t=null==this.slotDescription.slotParams.valueAccessor?this.slotDescription.slotID.replace("item.",""):this.slotDescription.slotParams.valueAccessor,e=this.item.data[t];return null==e||0===e.length?[]:e},thereAreRefs:function(){return Object.keys(this.refsByChemblID).length>0},baseChemblID:function(){return this.item.data[this.slotDescription.slotParams.baseChemblIDProperty]},parentChemblID:function(){return this.item.data[this.slotDescription.slotParams.parentChemblIDProperty]},isParent:function(){return this.parentChemblID===this.baseChemblID},allChEMBLIdDs:function(){var t=this,e=Object.keys(this.refsByChemblID);return e.sort((function(a,b){return a===t.parentChemblID?-1:b===t.parentChemblID?1:a===t.baseChemblID?-1:b===t.baseChemblID?1:0})),e},allRefTypes:function(){for(var t=new Set,e=0,n=Object.values(this.refsByChemblID);e<n.length;e++){var r,o=z(n[e]);try{for(o.s();!(r=o.n()).done;){var c=r.value.ref_type;t.add(c)}}catch(t){o.e(t)}finally{o.f()}}return Array.from(t)},tableHeaders:function(){var t,e=[{text:"From",value:"chemblID"}],n=z(this.allRefTypes);try{for(n.s();!(t=n.n()).done;){var r=t.value;e.push({text:r,value:r,sortable:!1})}}catch(t){n.e(t)}finally{n.f()}return e},tableItems:function(){var t,e=[],n=z(this.allChEMBLIdDs);try{for(n.s();!(t=n.n()).done;){var r,o=t.value,c={chemblID:o,isParent:o===this.parentChemblID},l=z(this.allRefTypes);try{for(l.s();!(r=l.n()).done;){var d=r.value;c[d]=this.getRefsForIDandType(o,d)}}catch(t){l.e(t)}finally{l.f()}e.push(c)}}catch(t){n.e(t)}finally{n.f()}return e},canSeeMoreItems:function(){return this.itemsPerPage<Object.keys(this.refsByChemblID).length},canSeeLessItems:function(){return this.itemsPerPage>2}},methods:{getLinkToCompoundReportCard:function(t){var e=R.a.Compound.entityID;return C.a[e].getLinkToReportCard(t)},isTheParent:function(t){return t===this.parentChemblID},getRefsForIDandType:function(t,e){return this.refsByChemblID[t].filter((function(t){return t.ref_type===e}))},seeMore:function(){this.itemsPerPage+=2},seeLess:function(){this.itemsPerPage-=2}}},W=n(1872),Q=n(294),$=Object(d.a)(Y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.thereAreRefs?n("div",[n("div",[n("v-data-table",{attrs:{headers:t.tableHeaders,items:t.tableItems,"items-per-page":t.itemsPerPage,"hide-default-footer":"",dense:""},scopedSlots:t._u([{key:"item.chemblID",fn:function(e){var r=e.item;return[n("ChEMBLLink",{attrs:{text:r.chemblID===t.parentChemblID?r.chemblID+" (Parent)":r.chemblID+" (Alt. Form)",href:t.getLinkToCompoundReportCard(r.chemblID)}})]}},t._l(t.allRefTypes,(function(t){return{key:"item."+t,fn:function(e){var r=e.item;return[n("RefsIterator",{key:t,attrs:{refs:r[t]}})]}}}))],null,!0)}),t._v(" "),n("v-divider"),t._v(" "),n("div",{staticClass:"d-flex justify-space-around align-center"},[t.canSeeLessItems?n("a",{on:{click:t.seeLess}},[t._v("Show Less")]):t._e(),t._v(" "),t.canSeeMoreItems?n("a",{on:{click:t.seeMore}},[t._v("Show More")]):t._e()])],1)]):t._e()])}),[],!1,null,null,null),X=$.exports;h()($,{VDataTable:W.a,VDivider:Q.a});var K={components:{TextHighlighter:c.a,ExactTextFilterApplicator:w},mixins:[S.a],props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}},storeModuleName:{type:String,default:function(){return""}},datasetState:{type:Object,default:function(){}},inReportCard:{type:Boolean,default:function(){return!1}}},data:function(){return{mouseIsOverMe:!1}},computed:{target:function(){return this.isEmbedded?"_parent":"_self"},linkText:function(){var t=this.slotDescription.slotParams.linkTextProperty,e=this.slotDescription.slotParams.fallbackLinkTextProperty;e=null==e?this.slotDescription.slotParams.linkHrefProperty:e;var n=this.item.data[e],r=this.item.data[t];return null==r&&(r=n),r},noLink:function(){return this.linkText===M.a.DefaultNullTextValue},linkHref:function(){var t=this.slotDescription.slotParams.linkHrefProperty,e=this.item.data[t],n=this.slotDescription.slotParams.hrefGenerator;return null!=n?n(e):e}},methods:{handleMouseEnter:function(){this.mouseIsOverMe=!0},handleMouseLeave:function(){this.mouseIsOverMe=!1}}},Z=Object(d.a)(K,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{on:{mouseenter:t.handleMouseEnter,mouseleave:t.handleMouseLeave}},[t.noLink?[n("div",{staticClass:"d-flex"},[t._v("\n "+t._s(t.linkText)+"\n\n "),n("ExactTextFilterApplicator",{attrs:{"mouse-is-over-text":t.mouseIsOverMe,"text-value":t.linkText,"value-accessor":t.slotDescription.slotParams.linkTextProperty,"store-module-name":t.storeModuleName,"dataset-state":t.datasetState,"prop-label":t.slotDescription.slotParams.propConfig.label}})],1)]:[n("div",{staticClass:"d-flex"},[n("a",{attrs:{href:t.linkHref,target:t.target}},[n("TextHighlighter",{attrs:{"full-text":t.linkText,"highlighted-text":t.slotDescription.slotParams.highlightText}})],1),t._v(" "),n("ExactTextFilterApplicator",{attrs:{"mouse-is-over-text":t.mouseIsOverMe,"text-value":t.linkText,"value-accessor":t.slotDescription.slotParams.linkTextProperty,"store-module-name":t.storeModuleName,"dataset-state":t.datasetState,"prop-label":t.slotDescription.slotParams.propConfig.label,"in-report-card":t.inReportCard}})],1)]],2)}),[],!1,null,null,null).exports,J={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{textValue:function(){var t=this.slotDescription.slotParams.valueAccessor;return this.item.data[t]?"Yes":"No"}}},tt=Object(d.a)(J,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._v("\n "+t._s(t.textValue)+"\n ")])}),[],!1,null,null,null).exports,et={components:{TextToClipboard:n(911).a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{structureText:function(){var t=this.slotDescription.slotParams.valueAccessor;return this.item.data[t]},thereIsStructure:function(){return null!=this.structureText}}},at=(n(974),Object(d.a)(et,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.thereIsStructure?[n("div",{staticClass:"structure-text-container"},[n("TextToClipboard",{attrs:{text:t.structureText}})],1)]:[t._v(" --- ")]],2)}),[],!1,null,"001c2130",null).exports),nt={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{isChemicalProbe:function(){return!0===this.item.data["_metadata.eubopen.is_probe"]},isNegativeControl:function(){return!0===this.item.data["_metadata.eubopen.is_control"]},isChemogenomicProbe:function(){return!0===this.item.data["_metadata.eubopen.is_chemogenomic_probe"]},allClassesText:function(){var t=[];return this.isChemicalProbe&&t.push("Chemical Probe"),this.isNegativeControl&&t.push("Negative Control"),this.isChemogenomicProbe&&t.push("Chemogenomic Compound"),t.join(", ")}}},it=Object(d.a)(nt,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._v("\n "+t._s(t.allClassesText)+"\n ")])}),[],!1,null,null,null).exports,ot={components:{TextHighlighter:c.a},props:{classification:{type:Object,default:function(){}},highlightText:{type:String,default:function(){return""}}},computed:{path:function(){for(var path=[],t=0,e=["level1_description","level2_description","level3_description","level4_description"];t<e.length;t++){var n=e[t],r=this.classification[n];path.push({text:r})}var o=this.classification.who_name;return null!=o&&path.push({text:"WHO Name: ".concat(o)}),path}}},st=n(878),ct=Object(d.a)(ot,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("v-simple-table",{attrs:{dense:""},scopedSlots:t._u([{key:"default",fn:function(){return[n("tbody",t._l(t.path,(function(e){return n("tr",{key:e.name},[n("td",[n("TextHighlighter",{attrs:{"highlighted-text":t.highlightText,"full-text":e.text}})],1)])})),0)]},proxy:!0}])})],1)}),[],!1,null,null,null),lt=ct.exports;h()(ct,{VSimpleTable:st.a});var ut={components:{ATCClassificationBreadcrumbs:lt},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}},flattenedProperties:{type:Boolean,default:function(){return!0}}},computed:{classifications:function(){var t=this.slotDescription.slotParams.valueAccessor,e=this.item.data;return(this.flattenedProperties?e[t]:o.a.getPropertyPalue(e,t)).slice(0,3)}}},mt=n(295),ht=n(174),ft=n(22),pt=Object(d.a)(ut,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-list",{attrs:{dense:""}},t._l(t.classifications,(function(e,r){return n("v-list-item",{key:"classification-"+r},[n("v-list-item-content",[n("div",{staticClass:"d-flex align-center"},[n("div",[t._v(t._s(r+1)+".")]),t._v(" "),n("ATCClassificationBreadcrumbs",{attrs:{classification:e,"highlight-text":t.slotDescription.slotParams.highlightText}})],1)])],1)})),1)}),[],!1,null,null,null),gt=pt.exports;h()(pt,{VList:mt.a,VListItem:ht.a,VListItemContent:ft.a});var vt=n(925),bt={components:{ExternalReferenceLink:vt.a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}},flattenedProperties:{type:Boolean,default:function(){return!0}}},computed:{patent:function(){var t=this.slotDescription.slotParams.valueAccessor,e=this.item.data;return this.flattenedProperties?e[t]:o.a.getPropertyPalue(e,t)},noPatent:function(){return null==this.patent||this.patent===M.a.DefaultNullTextValue},patentHref:function(){return null==this.patent||""===this.patent?void 0:"https://www.surechembl.org/patent/".concat(this.patent)}}},yt=Object(d.a)(bt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.noPatent?n("div",[t._v("---")]):n("ExternalReferenceLink",{attrs:{"link-label":t.patent,"link-href":t.patentHref,"highlight-text":t.slotDescription.slotParams.highlightText}})],1)}),[],!1,null,null,null).exports,_t={components:{TextHighlighter:c.a,ExternalReferenceLink:vt.a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}},flattenedProperties:{type:Boolean,default:function(){return!0}}},data:function(){return{tableHeaders:[{text:"Description",value:"component_description"},{text:"Relationship",value:"relationship"},{text:"Accession",value:"accession"}]}},computed:{components:function(){var t=this.slotDescription.slotParams.valueAccessor,e=this.item.data;return this.flattenedProperties?e[t]:o.a.getPropertyPalue(e,t)}}},wt=Object(d.a)(_t,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-data-table",{attrs:{dense:"",headers:t.tableHeaders,items:t.components,"items-per-page":5},scopedSlots:t._u([{key:"item.component_description",fn:function(e){var r=e.item;return[n("TextHighlighter",{attrs:{"full-text":r.component_description,"highlighted-text":t.slotDescription.slotParams.highlightText}})]}},{key:"item.relationship",fn:function(e){var r=e.item;return[n("TextHighlighter",{attrs:{"full-text":r.relationship,"highlighted-text":t.slotDescription.slotParams.highlightText}})]}},{key:"item.accession",fn:function(e){var r=e.item;return[n("ExternalReferenceLink",{attrs:{"link-label":r.accession,"link-href":"https://www.uniprot.org/uniprot/"+r.accession,"highlight-text":t.slotDescription.slotParams.highlightText}})]}}],null,!0)})}),[],!1,null,null,null),kt=wt.exports;h()(wt,{VDataTable:W.a});var xt={components:{ProteinTargetClassification:n(948).a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}},flattenedProperties:{type:Boolean,default:function(){return!0}}},computed:{itemID:function(){return this.item.id},entityID:function(){return this.slotDescription.slotParams.entityID},highlightText:function(){return this.slotDescription.slotParams.highlightText}}},Tt=Object(d.a)(xt,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("ProteinTargetClassification",{attrs:{"item-i-d":t.itemID,"entity-i-d":t.entityID,"disable-links":"","highlight-text":t.highlightText}})}),[],!1,null,null,null).exports;n(38);function Ct(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return St(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return St(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function St(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var It={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{accessions:function(){var t,e=[],n=Ct(o.a.getPropertyPalue(this.item.data,"target_components",[]));try{for(n.s();!(t=n.n()).done;){var r=t.value.accession;""!==r&&null!=r&&e.push(r)}}catch(t){n.e(t)}finally{n.f()}return e},accessionsText:function(){return this.accessions.join(", ")},uniProtLink:function(){return"http://www.uniprot.org/uniprot/?query=".concat(this.accessions.map((function(t){return"accession:".concat(t)})).join("+OR+"))},thereAreNoAccessions:function(){return 0===this.accessions.length}}},Et=Object(d.a)(It,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.thereAreNoAccessions?n("div",[t._v("---")]):n("div",[n("a",{attrs:{href:t.uniProtLink}},[t._v(t._s(t.accessionsText))])])])}),[],!1,null,null,null).exports,Dt={components:{TextHighlighter:c.a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{assayParameters:function(){var t=this.item.data[this.assayParamsProperty];return t=null!=t?t:[]},thereAreNoAssayParameters:function(){return 0===this.assayParameters.length},assayParamsProperty:function(){return null==this.slotDescription.slotParams.assayParamsProperty?"assay_parameters":this.slotDescription.slotParams.assayParamsProperty}},methods:{getParamText:function(param){var t=null!=param.standard_type?param.standard_type:"",e=null!=param.standard_relation?param.standard_relation:"",n=null!=param.standard_value?param.standard_value:param.standard_text_value,r=null!=param.standard_units?param.standard_units:"";return"".concat(t," ").concat(e," ").concat(n," ").concat(r).trim().replace(/\s+/g," ")}}},Mt=Object(d.a)(Dt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.thereAreNoAssayParameters?n("div",[t._v("---")]):n("div",[n("v-list",{attrs:{dense:""}},t._l(t.assayParameters,(function(param){return n("v-list-item",{key:param.standard_type+"-"+param.standard_value+"-"+param.standard_relation+"-"+param.standard_units},[n("v-list-item-content",[n("v-list-item-title",[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":t.getParamText(param)}})],1)],1)],1)})),1)],1)])}),[],!1,null,null,null),Nt=Mt.exports;h()(Mt,{VList:mt.a,VListItem:ht.a,VListItemContent:ft.a,VListItemTitle:ft.c});var Lt={components:{TextHighlighter:c.a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{sources:function(){return this.item.data["_metadata.source"]},thereAreNoSources:function(){return 0===this.sources.length||null==this.sources},sourcesText:function(){return this.sources.map((function(t){return t.src_description})).join(", ")}}},Pt=Object(d.a)(Lt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.thereAreNoAssayParameters?n("div",[t._v("---")]):n("div",[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":t.sourcesText}})],1)}),[],!1,null,null,null).exports,Ot=(n(29),n(31),n(906)),At=n(910),Vt=n(913),jt=n(54),Bt={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},data:function(){return{processing:!1,showError:!1,errorMsg:void 0}},computed:{numRelatedItems:function(){var t=this.slotDescription.slotParams.valueAccessor,e=this.item.data[t];return"string"==typeof e?["",M.a.DefaultNullTextValue].includes(e.trim())?0:parseInt(e):e},zeroRelatedItems:function(){return 0===this.numRelatedItems||null==this.numRelatedItems}},methods:{goToRelatedItemsPage:function(){var t=this,e=this.slotDescription.slotParams.originEntityID,n=this.slotDescription.slotParams.destinationEntityID,r=this.slotDescription.slotParams.itemIDProperty,o=this.item.data[r],c={selectionMode:Vt.a.noItemsExcept,exceptions:[o]},l={destinationEntityBrowserStateTemplate:Ot.a.entityJoinDestinationTemplate,previousHash:"N/A",entityFrom:At.a.getOriginParamName(e),entityTo:At.a.getDestinationParamName(e,n),query:{},selectionDescription:c};this.processing=!0,jt.a.getHashForESJoin(l).then((function(e){t.processing=!1;var r=e.data.tiny_hash;Ot.a.buildURLForEntityBrowserStateIDAndRedirect(n,r,t.isEmbedded)})).catch((function(e){t.errorMsg=e.message,t.showError=!0,t.processing=!1}))}}},Rt=(n(976),Object(d.a)(Bt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"number-container d-flex justify-end"},[n("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,o=e.attrs;return[n("v-btn",t._g(t._b({attrs:{label:"",outlined:"",color:"primary",loading:t.processing,disabled:t.zeroRelatedItems,small:""},on:{click:t.goToRelatedItemsPage}},"v-btn",o,!1),r),[t._v("\n "+t._s(Intl.NumberFormat().format(t.numRelatedItems))+"\n ")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showError,expression:"showError"}],staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+". Please try again.\n ")])]}}])},[t._v(" "),n("span",[t._v("Click to see all the items.")])])],1)}),[],!1,null,"5e782dd6",null)),Ft=Rt.exports;h()(Rt,{VBtn:f.a,VTooltip:y.a});var Ht=n(314),Ut={components:{TextHighlighter:c.a,SimpleMoleculeImage:Ht.a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{allFamily:function(){var t=this.slotDescription.slotParams.valueAccessor,e=this.item.data[t];return e}},methods:{getLinkToReportCard:function(t){var e=R.a.Document.entityID;return C.a[e].getLinkToReportCard(t)}}},zt=n(297),Gt=Object(d.a)(Ut,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-list",{attrs:{dense:""}},t._l(t.allFamily,(function(e){return n("v-list-item",{key:e.chembl_id},[n("v-list-item-avatar",[n("SimpleMoleculeImage",{attrs:{"molecule-chembl-id":e.chembl_id}})],1),t._v(" "),n("v-list-item-content",[n("v-list-item-title",[n("a",{attrs:{href:t.getLinkToReportCard(e.chembl_id)}},[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":e.chembl_id}})],1)]),t._v(" "),n("v-list-item-subtitle",[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":e.inchi_key}})],1)],1)],1)})),1)}),[],!1,null,null,null),Yt=Gt.exports;h()(Gt,{VList:mt.a,VListItem:ht.a,VListItemAvatar:zt.a,VListItemContent:ft.a,VListItemSubtitle:ft.b,VListItemTitle:ft.c});var Wt=n(312);function Qt(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return $t(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $t(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function $t(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var qt={components:{TextHighlighter:c.a},mixins:[S.a],props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{target:function(){return this.isEmbedded?"_parent":"_self"},textsWithHighlight:function(){var t=this.uniqueTexts,e=this.slotDescription.slotParams.highlightText;return t.filter((function(text){return Wt.a.textHasHighlight(e,text)}))},allTexts:function(){var t=this.slotDescription.slotParams.propConfig,e=t.is_virtual?t.based_on:this.slotDescription.slotParams.valueAccessor,n=this.item.data[e];if(n===M.a.DefaultNullTextValue)return[];var r=Array.from(n),o=this.slotDescription.slotParams.inArrayAccessor;return null!=o&&(r=r.map((function(t){return t[o]}))),r=r.filter((function(text){return null!=text})).filter((function(text){return""!==text.trim()})),r},uniqueTexts:function(){var t,e=[],n=[],r=Qt(this.allTexts);try{for(r.s();!(t=r.n()).done;){var o=t.value;e.includes(o.toLowerCase())||(n.push(o),e.push(o.toLowerCase()))}}catch(t){r.e(t)}finally{r.f()}return n},shownTexts:function(){return this.slotDescription.slotParams.showOnlyHighlights?this.textsWithHighlight.slice(0,3):this.allTexts},makeLinks:function(){return null!=this.slotDescription.slotParams.hrefGenerator},showAsUL:function(){return!0===this.slotDescription.slotParams.showAsUL}},methods:{makeLinkForTerm:function(t){return(0,this.slotDescription.slotParams.hrefGenerator)(t)}}},Xt=Object(d.a)(qt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex flex-wrap"},[t.showAsUL?[n("ul",[t._l(t.shownTexts,(function(text){return[n("li",{key:text+"-li"},[t.makeLinks?n("a",{attrs:{target:t.target,href:t.makeLinkForTerm(text)}},[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":text}})],1):[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":text}})]],2)]}))],2)]:[t._l(t.shownTexts,(function(text,e){return[n("span",{key:text+"-text"},[t.makeLinks?n("a",{attrs:{target:t.target,href:t.makeLinkForTerm(text)}},[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":text}})],1):[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":text}})]],2),t._v(" "),e<t.shownTexts.length-1?n("span",{key:text+"-divider"},[t._v("\n |\n ")]):t._e()]}))]],2)}),[],!1,null,null,null).exports,Kt={components:{TextHighlighter:c.a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{organismTaxonomy:function(){for(var t=this.slotDescription.slotParams.valueAccessor,e=this.item.data[t],n=[],r=0,o=0,c=["l1","l2","l3"];o<c.length;o++){r++;var l=e[c[o]];null!=l&&n.push({text:"".concat(r,". ").concat(l)})}return n}}},Zt=n(1506),Jt=Object(d.a)(Kt,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-breadcrumbs",{attrs:{items:t.organismTaxonomy},scopedSlots:t._u([{key:"item",fn:function(e){var r=e.item;return[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":r.text}})]}}])})}),[],!1,null,null,null),te=Jt.exports;h()(Jt,{VBreadcrumbs:Zt.a});var ee={components:{TextHighlighter:c.a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{organismTaxonomiesWithHighlight:function(){var t=this.slotDescription.slotParams.valueAccessor,e=this.item.data[t],n=this.slotDescription.slotParams.highlightText,r=new Set,o=e.filter((function(t){var e="".concat(t.l1,"-").concat(t.l2,"-").concat(t.l3);if(r.has(e))return!1;r.add(e);for(var o=0,c=["l1","l2","l3"];o<c.length;o++){var l=t[c[o]];if(Wt.a.textHasHighlight(n,l))return!0}return!1})).slice(0,3);return console.log("uniqueKeys: ",r),o.map((function(t){for(var e=[],n=0,r=0,o=["l1","l2","l3"];r<o.length;r++){n++;var c=t[o[r]];null!=c&&e.push({text:"".concat(n,". ").concat(c)})}return e}))}}},ae=Object(d.a)(ee,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-list",{attrs:{dense:""}},[t._l(t.organismTaxonomiesWithHighlight,(function(e,i){return[n("v-list-item",{key:i},[n("v-list-item-content",[n("v-list-item-title",[n("v-breadcrumbs",{attrs:{items:e},scopedSlots:t._u([{key:"item",fn:function(e){var r=e.item;return[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":r.text}})]}}],null,!0)})],1)],1)],1),t._v(" "),n("v-divider",{key:i+"-div"})]}))],2)}),[],!1,null,null,null),ne=ae.exports;h()(ae,{VBreadcrumbs:Zt.a,VDivider:Q.a,VList:mt.a,VListItem:ht.a,VListItemContent:ft.a,VListItemTitle:ft.c});var re={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}},flattenedProperties:{type:Boolean,default:function(){return!0}}},computed:{textValue:function(){var t,e=this.slotDescription.slotParams.valueAccessor,n=this.item.data;t=this.flattenedProperties?n[e]:o.a.getPropertyPalue(n,e);var r="".concat(t);return["-1.0","1.0","2.0","3.0","4.0"].includes(r)?"".concat(parseInt(r)):r}}},ie=Object(d.a)(re,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._v(t._s(t.textValue))])}),[],!1,null,null,null).exports;function oe(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return se(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return se(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function se(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var ce={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},data:function(){return{loading:!0,showError:!1,types:[],errorMsg:void 0}},computed:{itemID:function(){var t=this.slotDescription.slotParams.itemIDProperty,e=this.item.data[t];return e}},mounted:function(){var t=this,e=this.getAssayTypesQuery();jt.a.getESData("chembl_eubopen_assay",e).then((function(e){var n,r=e.data.es_response.aggregations.group_by_assay_type_description.buckets,o=oe(r);try{for(o.s();!(n=o.n()).done;){var c=n.value,l="_metadata.related_compounds.all_chembl_ids:(".concat(t.itemID,') AND _metadata.eubopen_assay_type.aidx_description:"').concat(c.key,'"'),d="Assays of type ".concat(c.key," for compound with id ").concat(t.itemID),m="QUERYSTRING:".concat(l,"?description='").concat(d,"'");c.href=Ot.a.buildURLForEntityBrowser(R.a.EubopenAssay.entityID,m,"filter")}}catch(t){o.e(t)}finally{o.f()}t.types=r,t.loading=!1}))},methods:{getAssayTypesQuery:function(){return{size:0,query:{query_string:{query:"_metadata.related_compounds.all_chembl_ids:(".concat(this.itemID,")")}},aggs:{group_by_assay_type_description:{terms:{field:"_metadata.eubopen_assay_type.aidx_description",size:20,order:{_key:"asc"}}}}}}}},le=(n(978),n(240)),ue=Object(d.a)(ce,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}}):n("div",[n("ul",t._l(t.types,(function(e){return n("li",{key:e.key,staticClass:"class-item"},[n("a",{attrs:{href:e.href}},[t._v("\n "+t._s(e.key)+"\n ")])])})),0)]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showError,expression:"showError"}],staticClass:"text-caption error--text"},[t._v("\n Error: "+t._s(t.errorMsg)+".\n ")])],1)}),[],!1,null,"29b57315",null),de=ue.exports;h()(ue,{VProgressCircular:le.a});var me=n(58),he={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},data:function(){return{loading:!0,error:!1,errorMessage:"",availableCategories:[]}},computed:{chemblID:function(){return this.item.data.molecule_chembl_id}},mounted:function(){var t=this,e=R.a.EubopenActivity.entityID,n=me.a.getIndexNameFromEntityID(e),r=this.getQuery();console.log("query: ",r),jt.a.getESData(n,r).then((function(e){console.log("HERE:",e);var n=e.data.es_response.aggregations.assay_types.buckets;console.log("buckets: ",n);var r=n.filter((function(t){return t.doc_count>0})).map((function(t){return t.key}));t.availableCategories=r,t.loading=!1})).catch((function(e){t.loading=!1,t.error=!0,t.errorMessage="There was an error when loading the categories. ".concat(e)}))},methods:{getQuery:function(){return"QualityControl"===this.slotDescription.slotParams.sectionKey?{size:0,query:{bool:{must:[{terms:{molecule_chembl_id:[this.chemblID]}},{terms:{"_metadata.eubopen.assay_type.type.description":["Cell Health Data","Incucyte cell viability","Thermal shift assay QC Liability"]}}]}},aggs:{assay_types:{terms:{field:"_metadata.eubopen.assay_type.type.description",size:100,order:{_count:"desc"}}}}}:{size:0,query:{bool:{must:[{terms:{molecule_chembl_id:[this.chemblID]}}],must_not:[{terms:{"_metadata.eubopen.assay_type.type.description":["Cell Health Data","Incucyte cell viability","Thermal shift assay QC Liability"]}}]}},aggs:{assay_types:{terms:{field:"_metadata.eubopen.assay_type.type.description",size:100,order:{_count:"desc"}}}}}}}},fe=n(905),pe=n(899),ge=Object(d.a)(he,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("v-skeleton-loader",{attrs:{type:"chip"}}):t.error?[n("v-alert",{attrs:{outlined:"",type:"error"}},[t._v("\n "+t._s(t.errorMessage)+"\n ")])]:[n("ol",t._l(t.availableCategories,(function(e,r){return n("li",{key:r},[t._v("\n "+t._s(e)+"\n ")])})),0)]],2)}),[],!1,null,null,null),ve=ge.exports;h()(ge,{VAlert:fe.a,VSkeletonLoader:pe.a});var be={components:{TextHighlighter:c.a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}},computed:{activityProperties:function(){var t=this.item.data.activity_properties;return t=null!=t?t:[]},thereAreNoActivityProperties:function(){return 0===this.activityProperties.length}},methods:{getPropsText:function(t){return null==t.standard_value||""===t.standard_value?"".concat(t.standard_type,": ").concat(t.standard_text_value):"".concat(t.standard_type,": ").concat(t.standard_relation||""," ").concat(t.standard_value," ").concat(t.standard_units||"")}}},ye=Object(d.a)(be,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.thereAreNoActivityProperties?n("div",[t._v("---")]):n("div",[n("v-list",{attrs:{dense:""}},t._l(t.activityProperties,(function(e){return n("v-list-item",{key:e.standard_type+"-"+e.standard_value+"-"+e.standard_relation+"-"+e.standard_units},[n("v-list-item-content",[n("v-list-item-title",[n("TextHighlighter",{attrs:{"highlighted-text":t.slotDescription.slotParams.highlightText,"full-text":t.getPropsText(e)}})],1)],1)],1)})),1)],1)])}),[],!1,null,null,null),_e=ye.exports;h()(ye,{VList:mt.a,VListItem:ht.a,VListItemContent:ft.a,VListItemTitle:ft.c});var we={components:{MoleculeFeatures:n(952).a},props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}}},ke=Object(d.a)(we,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("MoleculeFeatures",{attrs:{"chembl-i-d":t.item.id,"table-cell":""}})}),[],!1,null,null,null).exports,xe={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}},overrideComponentName:{type:String,default:function(){}},storeModuleName:{type:String,default:function(){return""}},datasetState:{type:Object,default:function(){}},inReportCard:{type:Boolean,default:function(){return!1}}},computed:{ChEMBLLinkName:function(){return T.a.getChEMBLLinkName()},WarningWhereName:function(){return T.a.getWarningWhereName()},ReferencesComponentName:function(){return T.a.getReferencesComponentName()},specificComponent:function(){switch(null!=this.overrideComponentName?this.overrideComponentName:this.slotDescription.componentName){case T.a.getChEMBLLinkName():return L;case T.a.getWarningWhereName():return V;case T.a.getReferencesComponentName():return B;case T.a.getSynonymsName():return O;case T.a.getTextComponentName():return x;case T.a.getReferencesByParentComponentName():return X;case T.a.getExternalLinkComponentName():return Z;case T.a.getBooleanValueComponentName():return tt;case T.a.getEubopenChemicalStructureTextComponentName():return at;case T.a.getEubopenMoleculeClassComponentName():return it;case T.a.getATCClassificationsComponentName():return gt;case T.a.getPatentComponentName():return yt;case T.a.getTargetComponentsComponentName():return kt;case T.a.getProteinClassificationsComponentName():return Tt;case T.a.getUniprotAcessionsComponentName():return Et;case T.a.getAssayParametersComponentName():return Nt;case T.a.getActivityPropertiesComponentName():return _e;case T.a.getSourcesComponentName():return Pt;case T.a.getRelatedEntitiesNumberComponentName():return Ft;case T.a.getAlternateFormsComponentName():return Yt;case T.a.getTextsListComponentName():return Xt;case T.a.getOrganismTaxonomyComponentName():return te;case T.a.getMultipleOrganismTaxonomiesComponentName():return ne;case T.a.getMaxPhaseSlotComponentName():return ie;case T.a.getEubopenAssaysForCompoundComponentName():return de;case T.a.getEubopenCompoundACComponentName():return ve;case T.a.getDrugIconsComponentName():return ke;default:return r.a}},isMobile:function(){return this.$vuetify.breakpoint.xs},mobilePropLabel:function(){return this.slotDescription.slotParams.propConfig.label}}},Te=Object(d.a)(xe,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-flex flex-column"},[t.isMobile?n("div",{staticClass:"text-left text-caption font-weight-bold"},[t._v("\n "+t._s(t.mobilePropLabel)+":\n ")]):t._e(),t._v(" "),n(t.specificComponent,{tag:"component",attrs:{"slot-description":t.slotDescription,item:t.item,"store-module-name":t.storeModuleName,"dataset-state":t.datasetState,"in-report-card":t.inReportCard}})],1)}),[],!1,null,null,null);e.a=Te.exports},965:function(t,e,n){"use strict";var r={props:{slotDescription:{type:Object,default:function(){}},item:{type:Object,default:function(){}}}},o=n(4),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("b",[t._v("Default Slot:")]),t._v("\n slotDescription:\n "+t._s(t.slotDescription)+"\n item: "+t._s(t.item)+"\n ")])}),[],!1,null,null,null);e.a=component.exports},967:function(t,e,n){"use strict";var r=n(913),o={allItems:"all_items",selection:"selection"},c=[5,10,20,50,100],l=function(){return{initialLoad:!1,propertiesLoaded:!1,facetsLoaded:!1,allCurrentFiltersDataLoaded:!1,contextualDataReady:!1,contextObj:void 0,indexName:void 0,entityID:void 0,possibleJoinDestinations:[],joinMode:o.allItems,searchTerm:void 0,query:{},initialQuery:{},initialFacetsState:[],propertiesGroups:{},propertiesIndex:{},currentView:0,stateSaving:{useHashInURL:!1,sateHash:void 0,loadingHash:!0,b64State:void 0,expires:void 0},facetsGroups:"",currentHeaders:[],currentFacets:[],pageLoading:!1,page:1,itemsPerPage:c[2],pageCount:0,currentItems:[],slots:[],searchResultsItemSlot:void 0,totalItems:0,currentPageStart:0,currentPageEnd:0,possiblePageSizes:c,sortBy:[],sortDesc:[],enableMultiSort:!0,enableSimilarityMaps:!1,similarityMaps:{show:!1,referenceStructure:void 0},enableSubstructureHighlight:!1,substructureHighlight:{show:!0,referenceStructure:void 0},sortObject:{},pluralEntityName:"",querystringWasApplied:!1,querystring:void 0,querystringToApply:"*",querystringExamples:[],loadedMappingsForQuerystring:!1,mappingsForQuerystring:[],exactTextFilters:{},datasetJobs:{downloads:[],linksToOtherEntities:[]},downloadFormats:{CSV:{id:"CSV",processing:!1},TSV:{id:"TSV",processing:!1}},downloadPropertiesGroup:"download",enableSelection:!1,enableStateSaving:!0,enableHeatmapGeneration:!1,enableQuickTextSearch:!1,quickSearchTerm:void 0,quickSearchPriorities:{priorities:{},prioritiesLoaded:!1,propertiesLoadError:!1,propertiesLoadMsg:""},heatmapGeneration:{generatingURL:!1,URL:void 0},selection:{allItemsSelected:!1,someItemsSelected:!1,selectionMode:r.a.noItemsExcept,exceptions:[],numItemsSelected:0,selectedInPage:[]},browseAll:{processingLink:!1},embedding:{idForParent:""},debug:!1}},d=(n(63),n(12),n(55),n(24),n(34),n(35),n(33),n(45)),m=(n(44),n(912),n(11),n(38),n(182),n(62),n(21)),h=(n(8),n(6),n(234),n(2)),f=n(916),v=n(909);function y(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var w=n(908),k=function(t){for(var e=t.currentFacets,i=0;i<e.length;i++){var n=e[i];if(n.show){var r=n.currentView;if(r===v.a.histogram)if(n.loadingHistogram)return!1;if(r===v.a.range)if(n.loadingRange)return!1}}return!0},x=function(){return{SET_INITIAL_DATA_LOADED:function(t){t.initialLoad=!0},SET_INITIAL_DATA_NOT_LOADED:function(t){t.initialLoad=!1},SET_PAGE_LOADING:function(t,e){t.pageLoading=e},SET_INDEX_NAME:function(t,e){t.indexName=e},SET_ENTITY_ID:function(t,e){t.entityID=e},SET_SEARCH_TERM:function(t,e){t.searchTerm=e},SET_CURRENT_VIEW:function(t,e){t.currentView=e},SET_SUBSET_HUMAN_DESCRIPTION:function(t,e){t.subsetHumanDescription=e},SET_DOWNLOAD_PROPERTIES_GROUP:function(t,e){t.downloadPropertiesGroup=e},SET_POSSIBLE_JOIN_DESTINATIONS:function(t,e){t.possibleJoinDestinations=e},SET_QUERY:function(t,e){t.query=Object.assign({},e)},SET_INITIAL_QUERY:function(t,e){t.initialQuery=Object.assign({},e)},SET_SLOTS:function(t,e){t.slots=e},SET_SEARCH_RESULTS_ITEM:function(t,e){t.searchResultsItemSlot=e},SET_TOTAL_ITEMS:function(t,e){t.totalItems=e},SET_PAGE:function(t,e){t.page=e},SET_ITEMS_PER_PAGE:function(t,e){t.itemsPerPage=e},SET_CURRENT_PAGE_START:function(t,e){t.currentPageStart=e},SET_CURRENT_PAGE_END:function(t,e){t.currentPageEnd=e},SET_PAGE_COUNT:function(t,e){t.pageCount=e},SET_PROPERTIES_GROUPS:function(t,e){t.propertiesGroups=e},SET_PROPERTIES_INDEX:function(t,e){t.propertiesIndex=e},SET_CONTEXT_OBJ:function(t,e){t.contextObj=e},SET_FACETS_GROUPS:function(t,e){t.facetsGroups=e},SET_FACETS_LOADED:function(t,e){t.facetsLoaded=e},SET_HEADERS_FOR_GROUP:function(t,e){var n=e.groupKey,r=e.allHeaders;t.propertiesGroups[n].allHeaders=r},SET_CURRENT_HEADERS:function(t,e){t.currentHeaders=e},SET_CURRENT_PROPERTY_GROUP:function(t,e){for(var n=0,r=Object.entries(t.propertiesGroups);n<r.length;n++){var o=Object(m.a)(r[n],2),c=o[0],l=o[1];e===c?h.a.set(l,"selected",!0):h.a.set(l,"selected",!1)}},SET_CURRENT_FACETS:function(t,e){t.currentFacets=e},SET_CURRENT_ITEMS:function(t,e){t.currentItems=e},SET_SORT_BY:function(t,e){t.sortBy=e},SET_SORT_DESC:function(t,e){t.sortDesc=e},SET_SORT_OBJECT:function(t,e){t.sortObject=e},SET_POSSIBLE_PAGE_SIZES:function(t,e){t.possiblePageSizes=e},SET_PLURAL_ENTITY_NAME:function(t,e){t.pluralEntityName=e},SET_QUERYSTRING_EXAMPLES:function(t,e){t.querystringExamples=e},SET_ENABLE_SELECTION:function(t,e){t.enableSelection=e},SET_ENABLE_MULTISORT:function(t,e){t.enableMultiSort=e},SET_ENABLE_SIMILARITY_MAPS:function(t,e){t.enableSimilarityMaps=e},SET_SHOW_SIMILARITY_MAPS:function(t,e){t.similarityMaps.show=e},SET_ENABLE_SUBSTRUCTURE_HIGHLIGHT:function(t,e){t.enableSubstructureHighlight=e},SET_SHOW_SUBSTRUCTURE_HIGHLIGHT:function(t,e){t.substructureHighlight.show=e},SET_SIMILARITY_MAPS_REFERENCE_STRUCTURE:function(t,e){t.similarityMaps.referenceStructure=e},SET_SUBSTRUCTURE_HIGHLIGHT_REFERENCE_STRUCTURE:function(t,e){t.substructureHighlight.referenceStructure=e},SET_ENABLE_STATE_SAVING:function(t,e){t.enableStateSaving=e},SET_ENABLE_QUICK_TEXT_SEARCH:function(t,e){t.enableQuickTextSearch=e},SET_ENABLE_HEATMAP_GENERATION:function(t,e){t.enableHeatmapGeneration=e},SET_GENERATING_HEATMAP_URL:function(t,e){t.heatmapGeneration.generatingURL=e},SET_QUERYSTRING:function(t,e){t.querystring=e},SET_QUERYSTRING_TO_APPLY:function(t,e){t.querystringToApply=e},SET_INITIAL_FACETS_STATE:function(t,e){t.initialFacetsState=e},SET_INITIAL_FACETS_STATE_WAS_CONSUMED:function(t,e){var n=e.filterKey,r=e.wasConsumed,o=t.initialFacetsState.find((function(filter){return filter.prop_id===n}));h.a.set(o,"consumed",r)},SET_INITIAL_FACETS_STATE_WAS_CONSUMED_FOR_INITIAL_PAGE_LOAD:function(t,e){var n=e.filterKey,r=e.wasConsumed,o=t.initialFacetsState.find((function(filter){return filter.prop_id===n}));h.a.set(o,"consumedForFirstPageLoad",r)},REPLACE_FACET_STATE:function(t,e){for(var n=e.filterKey,r=e.facetState,o=t.currentFacets,c=[],i=0;i<o.length;i++){var l=o[i];l.prop_id!==n?c.push(l):c.push(r)}h.a.set(t,"currentFacets",c)},SET_QUERYSTRING_WAS_APPLIED:function(t,e){t.querystringWasApplied=e},SET_MAPPINGS_FOR_QUERYSTRING:function(t,e){t.mappingsForQuerystring=e},SET_LOADED_MAPPINGS_FOR_QUERYSTRING:function(t,e){t.loadedMappingsForQuerystring=e},SET_DOWNLOAD_FORMAT_PROCESSING:function(t,e){var n=e.formatID,r=e.isProcessing;t.downloadFormats[n].processing=r},UPDATE_DATASET_DOWNLOAD_PROPS:function(t,e){var n=e.id,r=t.datasetJobs.downloads.findIndex((function(t){return t.id===n}));if(-1===r)t.datasetJobs.downloads.push(e);else{for(var o=t.datasetJobs.downloads[r],c=["status","progress","title","fileUrl"],i=0;i<c.length;i++){var l=c[i];o[l]!==e[l]&&(o[l]=e[l])}h.a.set(t.datasetJobs.downloads,r,o)}},SET_ENTITY_JOIN_PROCESSING:function(t,e){var n=e.entityID,r=e.isProcessing,o=t.possibleJoinDestinations.map((function(t){return t.entityID===n&&(t.processing=r),t}));h.a.set(t,"possibleJoinDestinations",o)},SET_JOIN_MODE:function(t,e){t.joinMode=e},UPDATE_FILTER_HISTOGRAM_PARAMS:function(t,e){var n=e.filterKey,r=e.histogramParams,o=t.currentFacets,c=w.find(o,{key:n});h.a.set(c,"histogramParams",r)},UPDATE_FILTER_CURRENT_VIEW:function(t,e){var n=e.filterKey,r=e.currentView,o=t.currentFacets,c=w.find(o,{key:n});h.a.set(c,"currentView",r)},UPDATE_FILTER_NUMERIC_VALUES_PARAMS:function(t,e){var n=e.filterKey,r=e.numericValuesData,o=t.currentFacets,c=w.find(o,{key:n});h.a.set(c,"numericValuesData",r)},UPDATE_SELECTED_RANGE_DATA:function(t,e){var n=e.filterKey,r=e.selectedRange,o=t.currentFacets,c=w.find(o,{key:n});h.a.set(c,"selectedRange",r)},UPDATE_FILTER_HISTOGRAM_DATA:function(t,e){var n=e.filterKey,r=e.histogramData,o=t.currentFacets,c=w.find(o,{key:n});h.a.set(c,"histogramData",r)},UPDATE_FILTER_HISTOGRAM_QUERY:function(t,e){var n=e.filterKey,r=e.histogramQuery,o=t.currentFacets,c=w.find(o,{key:n});h.a.set(c,"histogramQuery",r)},SET_LOADING_FILTER_HISTOGRAM_DATA:function(t,e){var n=e.filterKey,r=e.loadingHistogram,o=t.currentFacets,c=w.find(o,{key:n});h.a.set(c,"loadingHistogram",r),t.allCurrentFiltersDataLoaded=k(t)},SET_LOADING_FILTER_RANGE_DATA:function(t,e){var n=e.filterKey,r=e.loadingRange,o=t.currentFacets,c=w.find(o,{key:n});h.a.set(c,"loadingRange",r),t.allCurrentFiltersDataLoaded=k(t)},TOGGLE_FILTER_TERM:function(t,e){var n=e.filterKey,r=e.term,o=t.currentFacets,c=w.find(o,{key:n}),l=c.histogramData,d=w.find(l.buckets,(function(t){return String(t.key)===String(r)}));d.selected=!d.selected;var m=null!=w.find(l.buckets,(function(t){return t.selected}));h.a.set(c,"locked",m),h.a.set(c,"histogramData",c.histogramData)},TOGGLE_FILTER_RANGE:function(t,e){var n=e.filterKey,r=e.range,o=t.currentFacets,c=w.find(o,{key:n}),l=c.selectedRange;l.minSelection=r[0],l.maxSelection=r[1];var d=l.minSelection>c.numericValuesData.minValue||l.maxSelection<c.numericValuesData.maxValue;h.a.set(c,"locked",d),h.a.set(c,"selectedRange",l)},TOGGLE_FILTER:function(t,e){var n=t.currentFacets,r=w.find(n,{key:e});h.a.set(r,"show",!r.show)},SET_SHOW_FILTER:function(t,e){var n=e.filterKey,r=e.show,o=t.currentFacets,c=w.find(o,{key:n});h.a.set(c,"show",r)},MOVE_FILTERS:function(t,e){var n=e.originKey,r=e.destinationKey,o=t.currentFacets,c=w.find(o,(function(t){return t.key===n})),l=w.find(o,(function(t){return t.key===r})),d=c.server_initial_config.position,m=l.server_initial_config.position;if(d+1!==m){var f=m>d?1:-1,v=Math.min(d,m)+1,_=Math.max(d,m)-1;-1===f&&(v-=1);var k,x=y(t.currentFacets.filter((function(filter){return filter.server_initial_config.position>=v&&filter.server_initial_config.position<=_})));try{for(x.s();!(k=x.n()).done;){var T=k.value;h.a.set(T.server_initial_config,"position",T.server_initial_config.position-f)}}catch(t){x.e(t)}finally{x.f()}h.a.set(c.server_initial_config,"position",m)}},TOGGLE_COLUMN:function(t,e){var n=f.a.getSelectedPropertyGroupKey(t.propertiesGroups),r=t.propertiesGroups[n].allHeaders[e];h.a.set(r,"show",!r.show)},MOVE_COLUMNS:function(t,e){var n=e.originKey,r=e.destinationKey,o=f.a.getSelectedPropertyGroupKey(t.propertiesGroups),c=t.propertiesGroups[o].allHeaders,l=c[n],d=c[r],m=l.position,v=d.position;if(m+1!==v){var _=v>m?1:-1,w=Math.min(m,v)+1,k=Math.max(m,v)-1;-1===_&&(w-=1);var x,T=y(Object.entries(c).filter((function(t){return t.position>=w&&t.position<=k})));try{for(T.s();!(x=T.n()).done;){var C=x.value;h.a.set(C,"position",C.position-_)}}catch(t){T.e(t)}finally{T.f()}h.a.set(l,"position",v)}},SELECT_SPECIFIC_TERMS:function(t,e){var n=e.filterKey,r=e.terms,o=t.currentFacets,c=w.find(o,{key:n}),l=r.length>0;h.a.set(c,"locked",l),h.a.set(c,"specificTermsSelected",r)},CLEAR_FILTERS_SELECTION:function(t,e){var n=t.currentFacets,r=w.find(n,{key:e}),o=r.histogramData;null!=o.buckets&&(o.buckets.forEach((function(t){return t.selected=!1})),h.a.set(r,"specificTermsSelected",[]),h.a.set(r,"selectedRange",{}),h.a.set(r,"locked",!1))},UNLOCK_FILTER:function(t,e){var n=t.currentFacets,r=w.find(n,{key:e});h.a.set(r,"locked",!1)},SET_QUICK_SEARCH_TERM:function(t,e){t.quickSearchTerm=e},SET_EXACT_TEXT_FILTERS_FROM_STATE:function(t,e){t.exactTextFilters=e},SET_EXACT_TEXT_FILTER:function(t,e){var n=e.valueAccessor,r=e.filterValue;h.a.set(t.exactTextFilters,n,r)},UNSET_EXACT_TEXT_FILTER:function(t,e){h.a.set(t.exactTextFilters,e,null)},UNSET_ALL_EXACT_TEXT_FILTERS:function(t){t.exactTextFilters={}},ADD_ITEM_TO_SELECTION_EXCEPTIONS:function(t,e){var n=t.selection.exceptions,r=new Set(n);r.add(e),h.a.set(t.selection,"exceptions",Object(d.a)(r))},REMOVE_ITEM_FROM_SELECTION_EXCEPTIONS:function(t,e){var n=t.selection.exceptions,r=new Set(n);r.delete(e),h.a.set(t.selection,"exceptions",Object(d.a)(r))},SET_SELECTION_MODE:function(t,e){t.selection.selectionMode=e},RESET_SELECTION_EXCEPTIONS:function(t){h.a.set(t.selection,"exceptions",[])},SET_NUM_SELECTED_ITEMS:function(t,e){t.selection.numItemsSelected=e},SET_SOME_ITEMS_SELECTED:function(t,e){t.selection.someItemsSelected=e},SET_ALL_ITEMS_SELECTED:function(t,e){t.selection.allItemsSelected=e},SET_SELECTED_IN_PAGE:function(t,e){h.a.set(t.selection,"selectedInPage",e)},SET_PROCESSING_BROWSE_ALL_LINK:function(t,e){t.browseAll.processingLink=e},SET_EMBEDDING_ID_FOR_PARENT:function(t,e){t.embedding.idForParent=e},SET_STATE_SAVING:function(t,e){h.a.set(t,"stateSaving",e)},SET_USE_HASH_IN_URL:function(t,e){t.stateSaving.useHashInURL=e},SET_LOADING_STATE_HASH:function(t,e){t.stateSaving.loadingHash=e},SET_STATE_HASH:function(t,e){t.stateSaving.sateHash=e},SET_STATE_EXPIRES:function(t,e){t.stateSaving.expires=e},SET_B64_STATE:function(t,e){t.stateSaving.b64State=e},ADD_DOWNLOAD_FORMAT:function(t,e){t.downloadFormats[e]={id:e,processing:!1}},TOGGLE_DEBUG_MODE:function(t){t.debug=!t.debug},SET_QUICK_SEARCH_PRIORITIES:function(t,e){t.quickSearchPriorities.priorities=e},SET_QUICK_SEARCH_PRIORITIES_LOADED:function(t,e){t.quickSearchPriorities.prioritiesLoaded=e}}},T=(n(15),n(13),n(77),n(30)),C=n(1),S=n(54),I=n(88),E=(n(36),n(29),n(31),n(307)),D=n(950),M=n(951),N=n(180),L=n(907);function P(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return O(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function A(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function V(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?A(Object(source),!0).forEach((function(e){Object(C.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):A(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var j={loadCurrentPage:function(t){var e=this,n=t.commit,r=t.state,o=t.dispatch;n("SET_PAGE_LOADING",!0),n("SET_CURRENT_ITEMS",[]),o("buildSortObject");var c=j.prepareQuery(r,n);n("SET_QUERY",c);var l=r.sortObject,d=r.indexName,m=r.contextObj,h=j.getContextualSortData(l);S.a.getESData(d,c,m,h).then((function(t){var e=j.getAllPropertiesToLoadList(r),c=r.propertiesGroups,l=r.searchTerm,d=r.page,m=r.itemsPerPage,h=j.parseReceivedItems(t.data,e,c,l,d,m),f=j.getSlotsDescription(r,h);n("SET_SLOTS",f),n("SET_CURRENT_ITEMS",h),j.setItemsCounts({commit:n,state:r,dispatch:o},t.data),o("calculateSelectedInPage"),n("SET_PAGE_LOADING",!1)})).catch((function(t){N.a.trackError(t,e),I.a.dispatchRequestErrorNotification(t,o,"There was an error while loading the items! ")}))},getContextualSortData:function(t){if(!t.containsContextualProperties)return null;var e=t.sort[0],n=Object.keys(e)[0],r=e[n];return Object(C.a)({},"_context.".concat(n),r)},prepareQuery:function(t,e){var n={query:{bool:{filter:[],should:[],must_not:[],must:[]}}},r=JSON.parse(JSON.stringify(t.initialQuery));return n=V(V({},n),r),j.sanitizeQuery(n),j.addTotalHitsTrackingToQuery(n),j.addPaginationToQuery(n,t),j.addSourceToQuery(n,t),j.addSortingToQuery(n,t),j.addQuerystringToQuery(n,t,e),j.addFiltersToQuery(n,t,e),j.addQuickTextSearchToQuery(n,t,e),j.addExactTextFiltersToQuery(n,t,e),n},sanitizeQuery:function(t){null==t.query.bool&&(t.query.bool={}),null==t.query.bool.filter&&(t.query.bool.filter=[]),null==t.query.bool.should&&(t.query.bool.should=[]),null==t.query.bool.must_not&&(t.query.bool.must_not=[]),null==t.query.bool.must&&(t.query.bool.must=[])},addTotalHitsTrackingToQuery:function(t){t.track_total_hits=!0},addPaginationToQuery:function(t,e){var n=e.itemsPerPage;n<0&&(n=0);var r=(e.page-1)*e.itemsPerPage;r<0&&(r=0),t.size=n,t.from=r},getAllPropertiesToLoadList:function(t){var e=t.propertiesGroups,n=new Set;for(var r in e){var o=e[r];for(var c in o.allHeaders){var l=o.allHeaders[c],d=l.is_virtual?l.based_on:c;d=l.is_contextual?"_context.".concat(c):d,n.add(d)}}return Array.from(n)},addSourceToQuery:function(t,e){var n=j.getAllPropertiesToLoadList(e);t._source=n},addSortingToQuery:function(t,e){var n=e.sortObject;n.containsContextualProperties||(t.sort=n.sort)},addQuerystringToQuery:function(t,e,n){var r=e.querystring;[null,void 0,"","*"].includes(r)?n("SET_QUERYSTRING_WAS_APPLIED",!1):(n("SET_QUERYSTRING_WAS_APPLIED",!0),t.query.bool.filter.push({query_string:{analyze_wildcard:!0,query:r}}))},addQuickTextSearchToQuery:function(t,e,n){var r=e.quickSearchTerm;if(![null,void 0,"","*"].includes(r)){var o=e.propertiesGroups,c=new Set;for(var l in o){var d=o[l];for(var m in d.allHeaders){var h=d.allHeaders[m],f=h.type;if(h.is_virtual)c.add("".concat(h.based_on,".*.alphanumeric_lowercase_keyword")),c.add("".concat(h.based_on,".*.eng_analyzed")),c.add("".concat(h.based_on,".*.std_analyzed")),c.add("".concat(h.based_on,".*.ws_analyzed"));else if("object"===f)c.add("".concat(m,".*.alphanumeric_lowercase_keyword")),c.add("".concat(m,".*.eng_analyzed")),c.add("".concat(m,".*.std_analyzed")),c.add("".concat(m,".*.ws_analyzed"));else"string"===f&&c.add("".concat(m))}}var v=r.replace(/^\*+/,"").replace(/\*+$/,"");t.query.bool.filter.push({query_string:{fields:Array.from(c),query:"*".concat(v,"*")}})}},addExactTextFiltersToQuery:function(t,e,n){for(var r=e.exactTextFilters,o=0,c=Object.entries(r);o<c.length;o++){var l=Object(m.a)(c[o],2),d=l[0],h=l[1];null!==h&&(h===L.a.DefaultNullTextValue?t.query.bool.filter.push({bool:{should:[{bool:{must_not:{exists:{field:d}}}}]}}):t.query.bool.filter.push({term:Object(C.a)({},d,h)}))}},addFiltersToQuery:function(t,e,n){for(var r=j.getCurrentFacetsWithInitialState(e,n),i=0;i<r.length;i++){var o=r[i],c=o.prop_id,l=o.property_config.type,d=o.currentView,m=void 0;["string","boolean"].includes(l)&&(d===v.a.histogram?m=j.getTermsFacetQuery(o,c):d===v.a.findTerm&&(m=j.getSpecificTermsFacetQuery(o,c))),["integer","double"].includes(l)&&(d===v.a.histogram?m=j.getNumericHistogramFacetQuery(o,c):d===v.a.range&&(m=j.getNumericRangeFacetQuery(o,c))),null!=m&&t.query.bool.filter.push(m)}},getCurrentFacetsWithInitialState:function(t,e){var n,r=t.currentFacets,o=t.initialFacetsState.filter((function(filter){return!filter.consumedForFirstPageLoad})),c=o.map((function(filter){return filter.prop_id})).concat(r.map((function(filter){return filter.prop_id}))),l=[],d=P(c);try{var m=function(){var t=n.value,c=o.find((function(e){return e.prop_id===t}));if(null!=c)l.push(c),e("SET_INITIAL_FACETS_STATE_WAS_CONSUMED_FOR_INITIAL_PAGE_LOAD",{filterKey:t,wasConsumed:!0});else{var d=r.find((function(e){return e.prop_id===t}));l.push(d)}};for(d.s();!(n=d.n()).done;)m()}catch(t){d.e(t)}finally{d.f()}return l},getTermsFacetQuery:function(t,e){var n=t.histogramData.buckets;if(null!=n){var r={bool:{should:[]}},o=!1,c=n.filter((function(e){return"Other"!==e.key&&e.key!==t.histogramParams.nullValuesLabel})),l=n.find((function(e){return e.key===t.histogramParams.nullValuesLabel}));null!=l&&l.selected&&(r.bool.should.push({bool:{must_not:{exists:{field:e}}}}),o=!0);var d=n.find((function(t){return"Other"===t.key}))||{};if(d.selected){var m=c.filter((function(t){return!t.selected})).map((function(t){return t.key})),h={bool:{must_not:{terms:Object(C.a)({},e,m)}}};null!=l&&(l.selected||(h.bool.must=[],h.bool.must.push({exists:{field:e}}))),r.bool.should.push(h),o=!0}var f=c.filter((function(t){return t.selected}));if(f.length>0&&!d.selected){var v=f.map((function(t){return t.key}));"boolean"===t.property_config.type&&(v=v.map((function(t){return"1"===String(t)}))),r.bool.should.push({terms:Object(C.a)({},e,v)}),o=!0}if(o)return r}},getSpecificTermsFacetQuery:function(t,e){var n=t.specificTermsSelected;if(null!=n&&0!==n.length)return{terms:Object(C.a)({},e,n)}},getNumericRangeFacetQuery:function(t,e){var n=t.selectedRange,r=t.numericValuesData;if(n.minSelection>r.minValue||n.maxSelection<r.maxValue){var o=t.property_config.type;return j.getRangeQuery(n.minSelection,n.maxSelection,e,o)}},getNumericHistogramFacetQuery:function(t,e){var n=t.histogramData.buckets;if(null!=n){var r={bool:{should:[]}},o=t.histogramParams.nullValuesLabel,c=n.filter((function(t){return t.selected}));if(0!==c.length){for(var i=0;i<c.length;i++){var l=c[i],d=t.prop_id,m=void 0;if(l.key===o)m={bool:{must_not:{exists:{field:d}}}};else{var h=t.property_config.type;m=j.getRangeQuery(l.minRangeKey,l.maxRangeKey,d,h)}r.bool.should.push(m)}return r}}},getRangeQuery:function(t,e,n,r){return"integer"===r&&e-t==0?{term:Object(C.a)({},n,{value:e})}:{range:Object(C.a)({},n,{gte:t,lt:e})}},parseReceivedItems:function(t,e,n,r,o,c){for(var l=t.es_response.hits.hits,d=[],i=0;i<l.length;i++){var m=l[i],h=m.highlight;h=null==h?{}:h;for(var f=j.parseHighlight(h,n,r),v={id:m._id,data:{},highlight:f,itemNumber:"".concat(c*(o-1)+(i+1),".")},y=0;y<e.length;y++){var _=e[y],w=E.a.getPropertyPalue(m._source,_);v.data[_]=w}d.push(v)}return d},parseHighlight:function(t,e,n){for(var r={},o=0,c=Object.entries(t);o<c.length;o++){var l=Object(m.a)(c[o],2),d=l[0],h={highlights:l[1],propLabel:j.findPropertyLabel(e,d),searchTerm:n};r[d]=h}return r},findPropertyLabel:function(t,e){for(var n in t){var r=t[n].allHeaders[e];if(null!=r)return r.text}return e},getSlotsDescription:function(t,e){for(var n=t.currentHeaders,r=t.indexName,o=t.entityID,c=[],i=0;i<n.length;i++){var l=n[i].value,d=t.propertiesGroups[1].allHeaders[l],m=D.a.methods.getSlotForProperty(o,l),h=M.a.methods.getGeneratorFunctionForPoperty(o,l),f={componentName:m,slotID:"item.".concat(l),slotParams:h({indexName:r,valueAccessor:l,highlightText:t.searchTerm||t.quickSearchTerm,propConfig:d})};c.push(f)}return c},setItemsCounts:function(t,e){var n=t.commit,r=t.state,o=(t.dispatch,e.es_response.hits.total.value);n("SET_TOTAL_ITEMS",o);var c=(r.page-1)*r.itemsPerPage+1;n("SET_CURRENT_PAGE_START",c),n("SET_CURRENT_PAGE_END",c+e.es_response.hits.hits.length-1),n("SET_PAGE_COUNT",Math.ceil(o/r.itemsPerPage))},loadNextPage:function(t){var e=t.commit,n=t.state,r=t.dispatch;e("SET_PAGE",n.page),e("SET_CURRENT_ITEMS",[]),j.loadCurrentPage({commit:e,state:n,dispatch:r})},loadPreviousPage:function(t){var e=t.commit,n=t.state,r=t.dispatch;e("SET_PAGE",n.page),j.loadCurrentPage({commit:e,state:n,dispatch:r})},setPage:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;n("SET_PAGE",e),j.loadCurrentPage({commit:n,state:r,dispatch:o})},setPageSize:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;n("SET_ITEMS_PER_PAGE",e),n("SET_PAGE",1),j.loadCurrentPage({commit:n,state:r,dispatch:o})}},B=j,R=(n(1110),n(23)),F=n(154),H=function(t){var e=new FormData;return e.append("index_name",t.indexName),e.append("query",JSON.stringify(t.query)),e.append("format",t.format),e.append("download_columns_group",t.download_columns_group),null!=t.context_obj&&"object"===Object(R.a)(t.context_obj)&&Object.keys(t.context_obj).length>0&&e.append("context_obj",JSON.stringify(t.context_obj)),e.append("dl__ignore_cache",t.dl__ignore_cache),F.a.post("/submit/download_job",e)},U=n(953),z={startDownload:function(t,e){var n=this,r=t.commit,o=t.state,c=t.dispatch;r("SET_DOWNLOAD_FORMAT_PROCESSING",{formatID:e,isProcessing:!0});var l={indexName:o.indexName,query:o.query.query,format:e,download_columns_group:o.downloadPropertiesGroup,dl__ignore_cache:!1,context_obj:o.contextObj};H(l).then((function(t){var n=t.data.job_id,l={id:n,fileType:e,linkToRawDetails:U.a.getJobStatusUrl(n),title:"".concat(e," File Generation Job Submitted..."),status:"SUBMITTED",progress:"0"};r("UPDATE_DATASET_DOWNLOAD_PROPS",l),U.a.checkJobUntilDone({commit:r,state:o,dispatch:c},n,z.jobStatusCallback,z.jobErrorCallback)})).catch((function(t){r("SET_DOWNLOAD_FORMAT_PROCESSING",{formatID:e,isProcessing:!1}),N.a.trackError(t,n),I.a.dispatchRequestErrorNotification(t,c,"There was a problem submitting the download: ")}))},jobStatusCallback:function(t,e){var n,r=e.status,o=JSON.parse(e.raw_params).format,title="",c=new Date,l=String(c.getHours()).padStart(2,"0"),d=String(c.getMinutes()).padStart(2,"0"),m=String(c.getSeconds()).padStart(2,"0"),h="Last updated at ".concat(l,":").concat(d,":").concat(m);"FINISHED"!==r?title="Generating ".concat(o," file... ").concat(h):(title="".concat(o," Generated!"),n="https://".concat(e.output_files_urls[Object.keys(e.output_files_urls)[0]]));var f={id:e.id,title:title,status:r,fileUrl:n,progress:e.progress};t.commit("UPDATE_DATASET_DOWNLOAD_PROPS",f),"FINISHED"===r&&t.commit("SET_DOWNLOAD_FORMAT_PROCESSING",{formatID:o,isProcessing:!1})},jobErrorCallback:function(t,e){t.commit("SET_DOWNLOAD_FORMAT_PROCESSING",{formatID:t.formatID,isProcessing:!1})}},G=z,Y={loadMappingsForQuerystring:function(t){var e=this,n=t.commit,r=t.state,o=t.dispatch,c=r.indexName;S.a.getPopertyGroupConfiguration(c,"querystring").then((function(t){var e=t.data.properties.default;n("SET_MAPPINGS_FOR_QUERYSTRING",e),n("SET_LOADED_MAPPINGS_FOR_QUERYSTRING",!0)})).catch((function(t){N.a.trackError(t,e),I.a.dispatchRequestErrorNotification(t,o,"There was an error while fetching the index mapping: ")}))}};function W(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Q(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?W(Object(source),!0).forEach((function(e){Object(C.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):W(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var $,X=Q(Q(Q(Q({},f.a),B),G),Y),K=n(937),Z=n(239),J=(n(40),n(16)),tt=($={},Object(C.a)($,J.a.Document.entityID,{"chembl_release.chembl_release":{histogramParams:{maxBars:100,customBucketSortFunction:function(a,b){return parseInt(a.key.split("_")[1])-parseInt(b.key.split("_")[1])}}}}),Object(C.a)($,J.a.DrugIndication.entityID,{"drug_indication.max_phase_for_ind_label":{histogramParams:{customBucketSortFunction:function(a,b){var t=["Approved","Phase 3","Phase 2","Phase 1","Early Phase 1","Preclinical","Unknown"];return t.indexOf(a.key)-t.indexOf(b.key)}}}}),Object(C.a)($,J.a.DrugMechanism.entityID,{"mechanism_of_action.max_phase_label":{histogramParams:{customBucketSortFunction:function(a,b){var t=["Approved","Phase 3","Phase 2","Phase 1","Early Phase 1","Preclinical","Unknown"];return t.indexOf(a.key)-t.indexOf(b.key)}}}}),Object(C.a)($,J.a.Activity.entityID,{"_metadata.parent_molecule_data.max_phase_label":{histogramParams:{customBucketSortFunction:function(a,b){var t=["Approved","Phase 3","Phase 2","Phase 1","Early Phase 1","Preclinical","Unknown"];return t.indexOf(a.key)-t.indexOf(b.key)}}}}),Object(C.a)($,J.a.EubopenAssay.entityID,{"_metadata.eubopen.assay_type.type.description":{histogramParams:{defaultNumBars:20,numBars:20,hideNumbers:!0}}}),Object(C.a)($,J.a.EubopenTarget.entityID,{"_metadata.eubopen.protein_family.label":{histogramParams:{nullValuesLabel:"Unassigned"}}}),$),et={getInitialHistogramParamsForFilter:function(t,e){var n=tt[t];if(null==n)return{};var r=n[e];return null==r||null==r.histogramParams?{}:r.histogramParams}};function at(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function nt(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?at(Object(source),!0).forEach((function(e){Object(C.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):at(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var it=n(908),ot={minBars:2,defaultNumBars:10,numBars:10,maxBars:30,defaultSort:"desc",sort:"desc",defaultSortBy:"_count",sortBy:"_count",defaultNullValuesLabel:"N/A",nullValuesLabel:"N/A"},st={defaultNullValuesLabel:"N/A",nullValuesLabel:"N/A",mergeEmptyRanges:!0},ct=function(t,e,n){var r=ot.minBars,o=ot.maxBars,c=ot.defaultNumBars,l=e-t;if(["integer","double"].includes(n)){var d=Math.ceil(l/r),m=Math.ceil(l/o),h=Math.ceil(l/c);return{minInterval:m,maxInterval:d,defaultInterval:h,interval:h>0?h:1}}},lt=function(t,e,n){for(var r=[],i=0;i<t.length;i++){var o=t[i],c=void 0,l=void 0,d=void 0;if(i<t.length-1)l=o.key,d=t[i+1].key,c="integer"===n&&d-l==1?"".concat(l):"[".concat(l,",").concat(d,")");else c=(l=o.key)===(d=e)?"".concat(l):"[".concat(l,",").concat(d,"]");var m={key:"".concat(o.key),key_for_humans:c,doc_count:o.doc_count,selected:!1,minRangeKey:l,maxRangeKey:d};r.push(m)}return r},ut=function(t,e){return e.initialFacetsState.filter((function(filter){return!filter.consumed})).find((function(filter){return filter.prop_id===t}))},mt=function(t,e){var n=t.filterKey,r=t.initialState,o=(e.state,e.commit);o("REPLACE_FACET_STATE",{filterKey:n,facetState:r}),o("SET_INITIAL_FACETS_STATE_WAS_CONSUMED",{filterKey:n,wasConsumed:!0})},ht=function(t,e){var n=e.customBucketSortFunction;null!=n&&t.sort(n)},ft=function(t,e){e>0&&t.push({key:"Other",doc_count:e})},pt=function(t,e){t.forEach((function(t){t.selected=!1,t.key_for_humans="boolean"===e?1===t.key?"Yes":"No":t.key}))},gt=function(t){t.sort((function(a,b){return"Yes"===a.key_for_humans&&"No"===b.key_for_humans?-1:"No"===a.key_for_humans&&"Yes"===b.key_for_humans?1:0}))},vt={setFilterConfigAndLoad:function(t,e){var n=t.commit,r=t.state,o=t.dispatch,c=e.filterKey,l=e.customConfig;n("UPDATE_FILTER_CURRENT_VIEW",{filterKey:c,currentView:e.currentView});var d=it.find(r.currentFacets,{key:c}),m=d.property_config.type;if(["string","boolean"].includes(m)){var h=ot,f=et.getInitialHistogramParamsForFilter(r.entityID,d.prop_id),v=null==l?{}:l;n("UPDATE_FILTER_HISTOGRAM_PARAMS",{filterKey:c,histogramParams:nt(nt(nt({},h),f),v)}),o("loadFilter",{filterKey:c})}["integer","double"].includes(m)&&o("loadFilter",{filterKey:c,customConfig:l})},loadFilter:function(t,e){var n=t.commit,r=t.state,o=t.dispatch,c=e.filterKey,l=e.customConfig,d=ut(c,r);if(null!=d)mt({filterKey:c,initialState:d},{state:r,commit:n});else{var m=it.find(r.currentFacets,{key:c}),h=m.property_config.type;["string","boolean"].includes(h)?m.currentView===v.a.histogram&&o("loadTermsFilter",{filterKey:c,customConfig:l,propType:h}):["integer","double"].includes(h)&&(m.currentView===v.a.histogram?o("loadNumericFilter",{filterKey:c,customConfig:l}):m.currentView===v.a.range&&o("loadRangeFilter",{filterKey:c,customConfig:l}))}},loadNumericFilter:function(t,e){var n,r=this,o=t.commit,c=t.state,l=t.dispatch,d=e.filterKey,m=e.customConfig,h=it.find(c.currentFacets,{key:d}),f=c.query,v=h.property_config.prop_id,y="min..".concat(v),_="max..".concat(v),w={size:0,query:f.query,aggs:(n={},Object(C.a)(n,y,{min:{field:v}}),Object(C.a)(n,_,{max:{field:v}}),n)},k=c.indexName,x=c.contextObj;S.a.getESData(k,w,x).then((function(t){var e=t.data.es_response.aggregations[y].value,n=t.data.es_response.aggregations[_].value;o("UPDATE_FILTER_NUMERIC_VALUES_PARAMS",{filterKey:d,numericValuesData:{minValue:e,maxValue:n}});var r=h.property_config.type,c=ct(e,n,r),f=nt(nt(nt(nt({},h.histogramParams),st),c),m),v=E.a.getPropertyPalue(h,"server_initial_config.agg_params.merge_empty_ranges",void 0,!0);null!=v&&(f.mergeEmptyRanges=v),o("UPDATE_FILTER_HISTOGRAM_PARAMS",{filterKey:d,histogramParams:f}),l("loadNumericFilterData",d)})).catch((function(t){N.a.trackError(t,r),I.a.dispatchRequestErrorNotification(t,l,"There was a problem loading minimun and maximum values for ".concat(v))}))},loadNumericFilterData:function(t,e){var n=this,r=t.commit,o=t.state,c=t.dispatch,l=it.find(o.currentFacets,{key:e}),d=l.property_config.prop_id,m=o.query,h=l.property_config.prop_id,f=l.histogramParams.interval,v=l.histogramParams.mergeEmptyRanges?1:0,y={size:0,query:m.query,aggs:Object(C.a)({},d,{histogram:{field:h,interval:f,min_doc_count:v}})};r("SET_LOADING_FILTER_HISTOGRAM_DATA",{filterKey:e,loadingHistogram:!0}),r("UPDATE_FILTER_HISTOGRAM_QUERY",{filterKey:e,histogramQuery:y});var _=o.indexName,w=o.contextObj;S.a.getESData(_,y,w).then((function(t){var n=t.data.es_response.aggregations[d],o=l.property_config.type,m=lt(n.buckets,l.numericValuesData.maxValue,o);r("UPDATE_FILTER_HISTOGRAM_DATA",{filterKey:e,histogramData:{buckets:m}}),c("loadNumericFilterNullValues",e)})).catch((function(t){var e=l.property_config.prop_id;N.a.trackError(t,n),I.a.dispatchRequestErrorNotification(t,c,"There was an error while loading the histogram data for ".concat(e))}))},loadNumericFilterNullValues:function(t,e){var n=this,r=t.commit,o=t.state,c=t.dispatch,l=it.find(o.currentFacets,{key:e}),d=l.property_config.prop_id,m={size:0,track_total_hits:!0,query:nt({bool:{must_not:[]}},it.cloneDeep(o.query).query)};null==m.query.bool.must_not&&(m.query.bool.must_not=[]),m.query.bool.must_not.push({exists:{field:d}}),r("SET_LOADING_FILTER_HISTOGRAM_DATA",{filterKey:e,loadingHistogram:!0});var h=o.indexName,f=o.contextObj;S.a.getESData(h,m,f).then((function(t){var n=t.data.es_response.hits.total.value,o=l.histogramParams.nullValuesLabel,c=it.cloneDeep(l.histogramData);c.buckets.splice(0,0,{key:o,key_for_humans:o,doc_count:n,selected:!1}),r("UPDATE_FILTER_HISTOGRAM_DATA",{filterKey:e,histogramData:c}),r("SET_LOADING_FILTER_HISTOGRAM_DATA",{filterKey:e,loadingHistogram:!1})})).catch((function(t){var e=l.property_config.prop_id;N.a.trackError(t,n),I.a.dispatchRequestErrorNotification(t,c,"There was an error while loading the null values for ".concat(e))}))},loadTermsFilter:function(t,e){var n=this,r=t.commit,o=t.state,c=t.dispatch,l=e.filterKey,d=e.propType,m=it.find(o.currentFacets,{key:l}),h=m.property_config.prop_id,f=m.property_config.prop_id,v=m.histogramParams.numBars,y=m.histogramParams.nullValuesLabel,_=m.histogramParams.sortBy,w={size:0,query:o.query.query,aggs:Object(C.a)({},h,{terms:{field:f,size:v}})};if("boolean"!==d){var k=m.histogramParams.sort;w.aggs[h].terms.missing=y,w.aggs[h].terms.order=Object(C.a)({},_,k)}r("SET_LOADING_FILTER_HISTOGRAM_DATA",{filterKey:l,loadingHistogram:!0}),r("UPDATE_FILTER_HISTOGRAM_QUERY",{filterKey:l,histogramQuery:w});var x=o.indexName,T=o.contextObj;S.a.getESData(x,w,T).then((function(t){var e=t.data.es_response.aggregations[h];if("boolean"!==d){var n=t.data.es_response.aggregations[h].sum_other_doc_count;ft(e.buckets,n);var o=m.histogramParams;ht(e.buckets,o)}pt(e.buckets,d),"boolean"===d&>(e.buckets),r("UPDATE_FILTER_HISTOGRAM_DATA",{filterKey:l,histogramData:e}),r("SET_LOADING_FILTER_HISTOGRAM_DATA",{filterKey:l,loadingHistogram:!1})})).catch((function(t){var e=m.property_config.prop_id;N.a.trackError(t,n),I.a.dispatchRequestErrorNotification(t,c,"There was an error while loading the histogram data for ".concat(e))}))},loadRangeFilter:function(t,e){var n,r=this,o=t.commit,c=t.state,l=t.dispatch,d=e.filterKey,m=it.find(c.currentFacets,{key:d}),h=c.query,f=m.property_config.prop_id,v="min..".concat(f),y="max..".concat(f),_={size:0,query:h.query,aggs:(n={},Object(C.a)(n,v,{min:{field:f}}),Object(C.a)(n,y,{max:{field:f}}),n)},w=c.indexName;o("SET_LOADING_FILTER_RANGE_DATA",{filterKey:d,loadingRange:!0});var k=c.contextObj;S.a.getESData(w,_,k).then((function(t){var e=t.data.es_response.aggregations[v].value,n=t.data.es_response.aggregations[y].value;o("UPDATE_FILTER_NUMERIC_VALUES_PARAMS",{filterKey:d,numericValuesData:{minValue:e,maxValue:n}}),o("UPDATE_SELECTED_RANGE_DATA",{filterKey:d,selectedRange:{minSelection:e,maxSelection:n}}),o("SET_LOADING_FILTER_RANGE_DATA",{filterKey:d,loadingRange:!1})})).catch((function(t){N.a.trackError(t,r),I.a.dispatchRequestErrorNotification(t,l,"There was a problem loading range for ".concat(f))}))},toggleTerm:function(t,e){var n=t.commit,r=t.state,o=t.dispatch,c=e.filterKey,l=e.term;n("TOGGLE_FILTER_TERM",{filterKey:c,term:l}),n("SET_PAGE",1),o("loadCurrentPage"),o("clearAllselections"),o("reloadAllFilters"),o("getHashForCurrentState"),Z.a.trackDatasetTermFiltered(this,r.entityID,c,l)},toggleFilter:function(t,e){var n=t.commit;t.state,t.dispatch;n("TOGGLE_FILTER",e)},moveFilters:function(t,e){var n=t.commit;t.state,t.dispatch;n("MOVE_FILTERS",{originKey:e.originKey,destinationKey:e.destinationKey})},selectRange:function(t,e){var n=t.commit,r=t.state,o=t.dispatch,c=e.filterKey,l=e.range;n("TOGGLE_FILTER_RANGE",{filterKey:c,range:l}),n("SET_PAGE",1),o("loadCurrentPage"),o("clearAllselections"),o("reloadAllFilters"),o("getHashForCurrentState"),Z.a.trackDatasetSpecificTermFiltered(this,r.entityID,c,l)},selectSpecificTerms:function(t,e){var n=t.commit,r=t.state,o=t.dispatch,c=e.filterKey,l=e.terms;n("SELECT_SPECIFIC_TERMS",{filterKey:c,terms:l}),n("SET_PAGE",1),o("loadCurrentPage"),o("clearAllselections"),o("reloadAllFilters"),o("getHashForCurrentState"),Z.a.trackDatasetSpecificTermFiltered(this,r.entityID,c,l)},clearFiltersSelection:function(t,e){var n=t.commit,r=(t.state,t.dispatch);n("CLEAR_FILTERS_SELECTION",e),n("SET_PAGE",1),r("loadCurrentPage"),r("clearAllselections"),r("reloadAllFilters"),r("getHashForCurrentState")},reloadAllFilters:function(t){t.commit;for(var e=t.state,n=t.dispatch,r=e.currentFacets.filter((function(filter){return!filter.locked})).filter((function(filter){return filter.show})),i=0;i<r.length;i++){n("loadFilter",{filterKey:r[i].key})}},clearAllFilters:function(t){for(var e=t.commit,n=t.state,r=t.dispatch,i=0;i<n.currentFacets.length;i++){e("CLEAR_FILTERS_SELECTION",n.currentFacets[i].key)}e("SET_PAGE",1),r("loadCurrentPage"),r("clearAllselections"),r("reloadAllFilters"),r("getHashForCurrentState")},unlockAllFilters:function(t){for(var e=t.commit,n=t.state,r=(t.dispatch,n.currentFacets.filter((function(filter){return!filter.locked}))),i=0;i<r.length;i++){e("UNLOCK_FILTER",r[i].key)}},setQuickSearchTerm:function(t,e){var n=t.commit,r=(t.state,t.dispatch);n("SET_QUICK_SEARCH_TERM",e),n("SET_PAGE",1),r("loadCurrentPage"),r("clearAllselections"),r("reloadAllFilters"),r("getHashForCurrentState")},setAllExactTextFiltersFromState:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_EXACT_TEXT_FILTERS_FROM_STATE",e)},setExactTextFilter:function(t,e){var n=t.commit,r=(t.state,t.dispatch);n("SET_EXACT_TEXT_FILTER",{valueAccessor:e.valueAccessor,filterValue:e.filterValue}),n("SET_PAGE",1),r("loadCurrentPage"),r("clearAllselections"),r("reloadAllFilters"),r("getHashForCurrentState")},unsetExactTextFilter:function(t,e){var n=t.commit,r=(t.state,t.dispatch);n("UNSET_EXACT_TEXT_FILTER",e),n("SET_PAGE",1),r("loadCurrentPage"),r("clearAllselections"),r("reloadAllFilters"),r("getHashForCurrentState")},unsetAllExactTextFilters:function(t){var e=t.commit,n=(t.state,t.dispatch);e("UNSET_ALL_EXACT_TEXT_FILTERS"),e("SET_PAGE",1),n("loadCurrentPage"),n("clearAllselections"),n("reloadAllFilters"),n("getHashForCurrentState")}},bt=n(910),yt={setAllSelected:function(t,e){var n=t.commit,o=(t.state,t.dispatch);n("SET_SELECTION_MODE",e?r.a.allItemsExcept:r.a.noItemsExcept),n("RESET_SELECTION_EXCEPTIONS"),o("calculateNumSelected"),o("calculateSelectedInPage"),o("setJoinMode","all_items")},setItemSelected:function(t,e){var n=t.commit,o=t.state,c=t.dispatch,l=e.id;n(e.value!==(o.selection.selectionMode===r.a.allItemsExcept)?"ADD_ITEM_TO_SELECTION_EXCEPTIONS":"REMOVE_ITEM_FROM_SELECTION_EXCEPTIONS",l),c("calculateNumSelected"),c("calculateSelectedInPage"),c("setJoinMode",o.selection.someItemsSelected?bt.a.JoinModes.selection:bt.a.JoinModes.allItems)},calculateNumSelected:function(t){var e=t.commit,n=t.state,o=(t.dispatch,n.selection.selectionMode),c=n.totalItems,l=n.selection.exceptions,d=o===r.a.allItemsExcept?c-l.length:l.length;e("SET_NUM_SELECTED_ITEMS",d),e("SET_ALL_ITEMS_SELECTED",d===c),e("SET_SOME_ITEMS_SELECTED",d>0&&d<c)},calculateSelectedInPage:function(t){var e=t.commit,n=t.state,o=(t.dispatch,n.currentItems),c=n.selection.exceptions;e("SET_SELECTED_IN_PAGE",n.selection.selectionMode===r.a.allItemsExcept?o.filter((function(t){return!c.includes(t.id)})):o.filter((function(t){return c.includes(t.id)})))},clearAllselections:function(t){var e=t.commit,n=(t.state,t.dispatch);e("SET_SELECTION_MODE",r.a.noItemsExcept),e("RESET_SELECTION_EXCEPTIONS"),n("calculateNumSelected"),n("calculateSelectedInPage"),n("setJoinMode","all_items")}},_t=n(906),wt={triggerEntityJoin:function(t,e){var n,r=this,c=t.commit,l=t.state,d=t.dispatch;t.rootState;c("SET_ENTITY_JOIN_PROCESSING",{entityID:e,isProcessing:!0}),n=l.joinMode===o.allItems?{selectionMode:"allItemsExcept",exceptions:[]}:{selectionMode:l.selection.selectionMode,exceptions:l.selection.exceptions};var m=l.entityID,h=e,f={destinationEntityBrowserStateTemplate:_t.a.entityJoinDestinationTemplate,entityFrom:bt.a.getOriginParamName(m),entityTo:bt.a.getDestinationParamName(m,h),query:l.query,selectionDescription:n,context_obj:l.contextObj};S.a.getHashForESJoin(f).then((function(t){c("SET_ENTITY_JOIN_PROCESSING",{entityID:e,isProcessing:!1}),I.a.dispatchRequestInfoNotification(d,"Query created, redirecting...");var n=t.data.tiny_hash;_t.a.buildURLForEntityBrowserStateIDAndRedirect(h,n)})).catch((function(t){c("SET_ENTITY_JOIN_PROCESSING",{entityID:e,isProcessing:!1}),N.a.trackError(t,r),I.a.dispatchRequestErrorNotification(t,d,"There was a problem while performing the join: ")}))},setJoinMode:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_JOIN_MODE",e)}};function kt(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var xt={cleanUpBaseQuery:function(t){var e=function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?kt(Object(source),!0).forEach((function(e){Object(C.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):kt(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},t);return delete e.from,delete e.size,delete e._source,e},getAxisHeadersConfig:function(t){return t===J.a.Compound.entityID?{label_property:"pref_name",additional_properties:["molecule_chembl_id"],mini_report_card_properties:["molecule_chembl_id","pref_name","molecule_synonyms","molecule_type","max_phase","molecule_properties.full_mwt"]}:{label_property:"pref_name",additional_properties:["target_chembl_id"],mini_report_card_properties:["target_chembl_id","pref_name","target_synonyms","target_type","organism"]}},getAxisFootersConfig:function(t){return t===J.a.Compound.entityID?{label_properties:["molecule_type","molecule_properties.mw_freebase"]}:{label_properties:["organism","target_type"]}},generateHeatmapDescription:function(t){return{xAxis:{entityID:t.xAxis.entityID,initialQuery:xt.cleanUpBaseQuery(t.xAxis.query),headers:xt.getAxisHeadersConfig(t.xAxis.entityID),footers:xt.getAxisFootersConfig(t.xAxis.entityID)},yAxis:{entityID:t.yAxis.entityID,initialQuery:xt.cleanUpBaseQuery(t.yAxis.query),headers:xt.getAxisHeadersConfig(t.yAxis.entityID),footers:xt.getAxisFootersConfig(t.yAxis.entityID)},cells:{entityID:J.a.Activity.entityID,properties:["pchembl_value_avg","num_activities"],properties_links_types:{num_activities:"activities_from_compounds_and_targets"}}}}},Tt={buildURLForHeatmap:function(t){var e=xt.generateHeatmapDescription(t);return new Promise((function(t,n){S.a.Heatmap.getHeatmapID(e).then((function(e){var n=e.data.hash,r="https://www.ebi.ac.uk/chembl/heatmap/HEATMAP_ID:<HEATMAP_ID>".replace("<HEATMAP_ID>",n);t(r)})).catch((function(t){n(t)}))}))}},Ct={getYAxisQuery:function(t){t.commit;var e=t.state,n=(t.dispatch,JSON.parse(JSON.stringify(e.query))),o=e.selection;o.numItemsSelected>0&&(o.selectionMode===r.a.allItemsExcept?n.query.bool.must_not=[{ids:{values:o.exceptions}}]:n.query.bool.filter=[{ids:{values:o.exceptions}}]);return n},getXAxisQuery:function(t){var e,n=t.commit,r=t.state,c=t.dispatch;e=r.joinMode===o.allItems?{selectionMode:"allItemsExcept",exceptions:[]}:{selectionMode:r.selection.selectionMode,exceptions:r.selection.exceptions};var l=r.entityID,d=l===J.a.Target.entityID?J.a.Compound.entityID:J.a.Target.entityID,m=Ct.getYAxisQuery({commit:n,state:r,dispatch:c}),h={entityFrom:bt.a.getOriginParamName(l),entityTo:bt.a.getDestinationParamName(l,d),query:m,selectionDescription:e,context_obj:r.contextObj};return new Promise((function(t,e){S.a.getQueryForESJoin(h).then((function(e){var n=e.data.query;t(n)})).catch((function(t){e(t)}))}))}},St={triggerHeatmapGeneration:function(t){var e=t.commit,n=t.state,r=t.dispatch;t.rootState;e("SET_GENERATING_HEATMAP_URL",!0);var o=n.entityID===J.a.Drug.entityID?J.a.Compound.entityID:n.entityID,c=o===J.a.Target.entityID?J.a.Compound.entityID:J.a.Target.entityID,l=Ct.getYAxisQuery({commit:e,state:n,dispatch:r});Ct.getXAxisQuery({commit:e,state:n,dispatch:r}).then((function(t){var n={xAxis:{entityID:c,query:t},yAxis:{entityID:o,query:l}};Tt.buildURLForHeatmap(n).then((function(t){e("SET_GENERATING_HEATMAP_URL",!1),window.location.href=t})).catch((function(t){I.a.dispatchRequestErrorNotification(t,r,"There was an error while getting the heatmap ID. ".concat(t))}))})).catch((function(t){I.a.dispatchRequestErrorNotification(t,r,"There was an error while joining the items of ".concat(o," with ").concat(c," . ").concat(t))}))}},It=(n(235),{sendStateUpdateMessage:function(t,e){var n={idForParent:t,b64State:e};window.parent.postMessage({msg:"EMBEDDED_VUE_DATASET_STATE_UPDATED",data:n},"https://www.ebi.ac.uk")}}),Et={getExportableState:function(t){return{dataset:{entityID:t.entityID,initialQuery:t.initialQuery,facetsState:Et.getFacetsState(t),customFiltering:Et.getDatasetCustomFiltersState(t),subsetHumanDescription:t.subsetHumanDescription,searchTerm:t.searchTerm,quickSearchTerm:t.quickSearchTerm,exactTextFilters:t.exactTextFilters}}},getB64ExportableState:function(t){var e=Et.getExportableState(t),n=JSON.stringify(e);return btoa(n)},getFacetsState:function(t){return t.currentFacets.filter((function(filter){return filter.locked})).length>0?t.currentFacets.filter((function(filter){return filter.locked})):null},getFacetSelectedHistogramBuckets:function(t){if(null==t.histogramData)return null;var e=t.histogramData.buckets;return null==e||0===e.length?null:e.filter((function(t){return t.selected})).map((function(t){return t.key}))},getFacetSpecificSelectedTerms:function(t){return null==t.specificTermsSelected||0===t.specificTermsSelected.length?null:t.specificTermsSelected},getFacetSelectedRange:function(t){return null==t.selectedRange.minSelection||null==t.selectedRange.maxSelection?null:t.selectedRange},getDatasetCustomFiltersState:function(t){return null==t.querystring?null:t.querystring},stateIsExportable:function(t){var e=t.initialQuery,n=!0;null!=e&&(n=0===Object.keys(e).length);var r=!(t.currentFacets.filter((function(filter){return filter.locked})).length>0),o=null==t.querystring||"*"===t.querystring,c=null==t.quickSearchTerm||""===t.quickSearchTerm,l=!Object.values(t.exactTextFilters).some((function(t){return null!=t}));return!(n&&r&&o&&c&&l)}},Dt={getHashForCurrentState:function(t){var e=this,n=t.commit,r=t.state,o=t.dispatch,c=t.rootState;if(!!r.enableStateSaving){if(!Et.stateIsExportable(r)){n("SET_USE_HASH_IN_URL",!1);var l=_t.a.buildURLForEntityBrowser(r.entityID,"");return n("SET_B64_STATE",""),void window.history.pushState({},document.title,l)}var d=r.stateSaving.b64State,m=Et.getB64ExportableState(r),h=d!==m;if(null!=c.freeTextSearch&&c.freeTextSearch.currentlyInASearchPage){var f=Et.getExportableState(r),v=r.entityID;o("freeTextSearch/appendToSearchState",{datasetState:f,entityID:v,router:this.$router},{root:!0})}else{if(!h)return n("SET_LOADING_STATE_HASH",!1),void n("SET_USE_HASH_IN_URL",!0);n("SET_B64_STATE",m),n("SET_LOADING_STATE_HASH",!0),n("SET_USE_HASH_IN_URL",!0),S.a.getHashForLongURL(m).then((function(t){var e=t.data.hash,o=t.data.expires,c=_t.a.buildURLForEntityBrowser(r.entityID,e);n("SET_STATE_HASH",e),n("SET_STATE_EXPIRES",o),window.history.pushState({},document.title,c),n("SET_LOADING_STATE_HASH",!1)})).catch((function(t){N.a.trackError(t,e),I.a.dispatchRequestErrorNotification(t,o,"There was an error while processing the dataset state")}))}}},setStateSavingParams:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_STATE_SAVING",e)},goToFullBrowser:function(t){var e=this,n=t.commit,r=t.state,o=t.dispatch,c=t.rootState,l=Et.getB64ExportableState(r);n("SET_PROCESSING_BROWSE_ALL_LINK",!0),S.a.getHashForLongURL(l).then((function(t){var e=t.data.hash;n("SET_PROCESSING_BROWSE_ALL_LINK",!1),I.a.dispatchRequestInfoNotification(o,"Query created, redirecting...");var l=_t.a.buildURLForEntityBrowser(r.entityID,e);E.a.getPropertyPalue(c,"embedding.isEmbedded",!1)?window.parent.location.href=l:window.location.href=l})).catch((function(t){n("SET_PROCESSING_BROWSE_ALL_LINK",!1),N.a.trackError(t,e),I.a.dispatchRequestErrorNotification(t,o,"There was a problem with building the query: ")}))},exportUpdatedState:function(t){t.commit;var e=t.state,n=(t.dispatch,t.rootState),r=Et.getB64ExportableState(e);n.embedding.isEmbedded&&It.sendStateUpdateMessage(e.embedding.idForParent,r)}};function Mt(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Nt(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Mt(Object(source),!0).forEach((function(e){Object(C.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Mt(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var Lt=n(908),Pt=function(){return Nt(Nt(Nt(Nt(Nt({loadPropertiesConfiguration:function(t){var e=this;return Object(T.a)(regeneratorRuntime.mark((function n(){var r,o,c,l,d,h,f,v,y,_,w,data,k;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:r=t.commit,o=t.state,c=t.dispatch,l=o.indexName,d=o.propertiesGroups,h=0,f=Object.entries(d);case 4:if(!(h<f.length)){n.next=22;break}return v=Object(m.a)(f[h],2),y=v[0],_=v[1],n.prev=6,n.next=9,S.a.getPopertyGroupConfiguration(l,_.id);case 9:w=n.sent,data=w.data,k=X.parsePropertiesConfiguration(data),r("SET_HEADERS_FOR_GROUP",{groupKey:y,allHeaders:k}),n.next=19;break;case 15:n.prev=15,n.t0=n.catch(6),N.a.trackError(n.t0,e),I.a.dispatchRequestErrorNotification(n.t0,c,"There was a problem loading the properties configuration for ".concat(_.id," for index ").concat(l));case 19:h++,n.next=4;break;case 22:c("createPropertiesIndex"),X.setCurrentTableHeaders({commit:r,state:o,dispatch:c}),r("SET_INITIAL_DATA_LOADED"),c("loadCurrentPage");case 26:case"end":return n.stop()}}),n,null,[[6,15]])})))()},createPropertiesIndex:function(t){var e=t.commit,n=t.state,r=(t.dispatch,n.propertiesGroups),o={};for(var c in r)for(var l=r[c].allHeaders,d=0,h=Object.entries(l);d<h.length;d++){var f=Object(m.a)(h[d],2),v=f[0],y=f[1];o[v]=y}e("SET_PROPERTIES_INDEX",o)},setInitialDataLoaded:function(t){var e=t.commit;t.state,t.dispatch;e("SET_INITIAL_DATA_LOADED")},setInitialDataNotLoaded:function(t){var e=t.commit;t.state,t.dispatch;e("SET_INITIAL_DATA_NOT_LOADED")},loadfacetsGroups:function(t){var e=this,n=t.commit,r=t.state,o=t.dispatch,c=r.indexName,l=r.facetsGroups;S.a.getFacetsGroupConfiguration(c,l).then((function(t){var e=t.data.properties,o=[],c={histogramParams:{},histogramData:{},histogramQuery:{},loadingHistogram:!0,loadingRange:!0,selectedRange:{},numericValuesData:{},specificTermsSelected:[],currentView:v.a.histogram,locked:!1,open:!0};for(var l in e.default){var d=e.default[l],m=Nt(Nt({},d),{},{show:!0,key:d.prop_id},c);o.push(m)}var h=r.initialFacetsState,f=function(t){var n=e.optional[t],r=Lt.find(h,(function(t){return t.key===n.prop_id})),l=Nt(Nt({},e.optional[t]),{},{show:null!=r,key:n.prop_id},c);o.push(l)};for(var y in e.optional)f(y);o.sort((function(a,b){return a.position-b.position})),n("SET_CURRENT_FACETS",o),n("SET_FACETS_LOADED",!0)})).catch((function(t){N.a.trackError(t,e),I.a.dispatchRequestErrorNotification(t,o,"There was an error while loading the items! ")}))},loadQuickSearchPriorities:function(t){return Object(T.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.commit,t.state,t.dispatch;case 1:case"end":return e.stop()}}),e)})))()},fireItUp:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;X.fireItUp({commit:n,state:r,dispatch:o},e)},loadCurrentPage:function(t){var e=t.commit,n=t.state,r=t.dispatch;X.loadCurrentPage({commit:e,state:n,dispatch:r})},loadNextPage:function(t){var e=t.commit,n=t.state,r=t.dispatch;X.loadNextPage({commit:e,state:n,dispatch:r})},loadPreviousPage:function(t){var e=t.commit,n=t.state,r=t.dispatch;X.loadPreviousPage({commit:e,state:n,dispatch:r})},setPage:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;X.setPage({commit:n,state:r,dispatch:o},e)},setPageSize:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;X.setPageSize({commit:n,state:r,dispatch:o},e)},setSortBy:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;n("SET_SORT_BY",e),o("buildSortObject"),Z.a.trackDatasetSorted(this,r.entityID,e)},setSortDesc:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;n("SET_SORT_DESC",e),o("buildSortObject"),X.loadCurrentPage({commit:n,state:r,dispatch:o})},buildSortObject:function(t){for(var e=t.commit,n=t.state,r=(t.dispatch,n.propertiesIndex),o=n.sortBy,c=n.sortDesc,l=[],i=0;i<o.length;i++){var d=o[i],m=r[d],h=null==m?d:m.is_virtual?m.based_on:d,f=c[i]?"desc":"asc";l.push(Object(C.a)({},h,f))}e("SET_SORT_OBJECT",{sort:l,containsContextualProperties:o.some((function(t){return null!=r[t]&&r[t].is_contextual}))})},setCustomRepresentationParams:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_POSSIBLE_PAGE_SIZES",e.possiblePageSizes),n("SET_ITEMS_PER_PAGE",e.itemsPerPage)},setPluralEntityName:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_PLURAL_ENTITY_NAME",e)},setEmbeddingIDForParent:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_EMBEDDING_ID_FOR_PARENT",e)},addDownloadFormat:function(t,e){var n=t.commit;t.state,t.dispatch;n("ADD_DOWNLOAD_FORMAT",e)},setEntityID:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_ENTITY_ID",e)},setSearchTerm:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_SEARCH_TERM",e)},setCurrentView:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_CURRENT_VIEW",e)},setSubsetHumanDescription:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_SUBSET_HUMAN_DESCRIPTION",e)},setDownloadPropertiesGroup:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_DOWNLOAD_PROPERTIES_GROUP",e)},setPossibleJoinDestinations:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_POSSIBLE_JOIN_DESTINATIONS",e)},setQuerystringExamples:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_QUERYSTRING_EXAMPLES",e)},setEnableSelection:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_ENABLE_SELECTION",e)},setEnableMultiSort:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_ENABLE_MULTISORT",e)},setEnableSimilarityMaps:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_ENABLE_SIMILARITY_MAPS",e)},setShowSimilarityMaps:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_SHOW_SIMILARITY_MAPS",e)},setSimilarityMapsReferenceStructure:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_SIMILARITY_MAPS_REFERENCE_STRUCTURE",e)},setSubstructureHighlightReferenceStructure:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_SUBSTRUCTURE_HIGHLIGHT_REFERENCE_STRUCTURE",e)},setEnableSubstructureHighlight:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_ENABLE_SUBSTRUCTURE_HIGHLIGHT",e)},setShowSubstructureHighlight:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_SHOW_SUBSTRUCTURE_HIGHLIGHT",e)},setEnableStateSaving:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_ENABLE_STATE_SAVING",e)},setEnableHeatmapGeneration:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_ENABLE_HEATMAP_GENERATION",e)},setEnableQuickTextSearch:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_ENABLE_QUICK_TEXT_SEARCH",e)},submitDownload:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;X.startDownload({commit:n,state:r,dispatch:o},e)},setQuerystring:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_QUERYSTRING",e)},setQuerystringToApply:function(t,e){var n=t.commit;t.state,t.dispatch;n("SET_QUERYSTRING_TO_APPLY",e)},loadMappingsForQuerystring:function(t){var e=t.commit,n=t.state,r=t.dispatch;X.loadMappingsForQuerystring({commit:e,state:n,dispatch:r})},applyQuerystring:function(t){var e=t.commit,n=t.state,r=t.dispatch,o=n.querystringToApply;e("SET_QUERYSTRING",o),r("clearAllselections"),X.setPage({commit:e,state:n,dispatch:r},1),r("reloadAllFilters"),r("getHashForCurrentState"),Z.a.trackDatasetCustomFilterApplied(this,n.entityID,o)},resetQuerystring:function(t){var e=t.commit,n=t.state,r=t.dispatch;e("SET_QUERYSTRING",K.a.DEFAULT_QUERYSTRING),e("SET_QUERYSTRING_TO_APPLY",K.a.DEFAULT_QUERYSTRING),X.setPage({commit:e,state:n,dispatch:r},1),r("unlockAllFilters"),r("clearAllFilters"),r("reloadAllFilters")},toggleColumn:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;n("TOGGLE_COLUMN",e),X.setCurrentTableHeaders({commit:n,state:r,dispatch:o}),X.loadCurrentPage({commit:n,state:r,dispatch:o})},moveColumns:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;n("MOVE_COLUMNS",{originKey:e.originKey,destinationKey:e.destinationKey}),X.setCurrentTableHeaders({commit:n,state:r,dispatch:o}),X.loadCurrentPage({commit:n,state:r,dispatch:o})},changeCurrentPropertyGroup:function(t,e){var n=t.commit,r=t.state,o=t.dispatch;X.changeCurrentPropertyGroup({commit:n,state:r,dispatch:o},e)},toggleDebugModeAction:function(t){var e=t.commit;t.state,t.dispatch;e("TOGGLE_DEBUG_MODE")}},vt),yt),wt),Dt),St)},Ot=n(908),At={state:function(){return l()},mutations:x(),actions:Pt(),methods:X,namespaced:!0},Vt={generateDatasetStoreModule:function(){return Ot.cloneDeep(At)}};e.a=Vt},968:function(t,e,n){"use strict";n(926)},969:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.img-container[data-v-14e6ed83]{padding-bottom:5px}',""]),t.exports=r},970:function(t,e,n){"use strict";n(927)},971:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.synonyms-row[data-v-29d2765e]{width:100%;padding:5px}.synonyms-row .chips-container[data-v-29d2765e]{width:100%}.synonyms-row .chips-container.scrollable[data-v-29d2765e]{white-space:nowrap;overflow-y:scroll;padding-bottom:10px}.synonyms-row .chips-container.scrollable .synonym[data-v-29d2765e]{display:inline-block}.synonyms-row .chips-container .synonym-chip[data-v-29d2765e]{margin-right:5px;margin-bottom:5px}.synonyms-row .text-separator[data-v-29d2765e]{padding:0 5px}',""]),t.exports=r},972:function(t,e,n){"use strict";n(928)},973:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.link-container{margin-left:4px}',""]),t.exports=r},974:function(t,e,n){"use strict";n(929)},975:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.structure-text-container[data-v-001c2130]{min-width:250px}',""]),t.exports=r},976:function(t,e,n){"use strict";n(930)},977:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.number-container[data-v-5e782dd6]{width:100%}',""]),t.exports=r},978:function(t,e,n){"use strict";n(931)},979:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.class-item[data-v-29b57315]{text-wrap:nowrap}',""]),t.exports=r},980:function(t,e,n){"use strict";n(932)},981:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana.svg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:"ChEMBL_Verdana";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/verdana/Verdana-Bold.svg) format("svg");font-weight:700}@font-face{font-family:"ChEMBL_HelveticaNeueLTPRo";src:local(Verdana Bold),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot);src:url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.eot#iefix) format("embedded-opentype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.woff) format("woff"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.ttf) format("truetype"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.svg) format("svg"),url(https://www.ebi.ac.uk/chembl/k8s/static/chembl/font/helvetica/helveticaneueltprolt.otf) format("otf")}.grabber[data-v-730eaae8]{cursor:-webkit-grab;cursor:grab}.dummy[data-v-730eaae8]{height:100%}.drop-area[data-v-730eaae8]{border-right-style:solid;border-left-style:solid}',""]),t.exports=r}}]);