@abi-software/map-side-bar 2.17.0 → 2.17.1-demo.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/map-side-bar.js +1296 -315
- package/dist/map-side-bar.umd.cjs +65 -62
- package/dist/style.css +1 -1
- package/package.json +8 -2
- package/src/App.vue +12 -8
- package/src/assets/fonts.scss +3 -0
- package/src/assets/styles.scss +0 -2
- package/src/components/CellCard.vue +994 -0
- package/src/components/CellCardExplorer.vue +882 -0
- package/src/components/ConnectivityCard.vue +2 -2
- package/src/components/ConnectivityExplorer.vue +2 -2
- package/src/components/ConnectivityInfo.vue +3 -46
- package/src/components/SearchFilters.vue +10 -9
- package/src/components/SearchHistory.vue +3 -15
- package/src/components/SideBar.vue +108 -7
- package/src/components/Tabs.vue +15 -6
- package/src/components/icons/IconOpenExternal.vue +28 -0
- package/src/components/index.js +1 -0
- package/src/components.d.ts +3 -0
- package/src/main.js +1 -0
- package/src/utils/common.js +71 -0
- package/vite.config.js +6 -1
package/dist/map-side-bar.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Comment as e, Fragment as t, Teleport as n, Text as r, Transition as i, cloneVNode as a, computed as o, createApp as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createTextVNode as p, createVNode as m, defineComponent as h, getCurrentInstance as g, getCurrentScope as _, guardReactiveProps as v, h as y, hasInjectionContext as b, inject as x, isRef as S, isVNode as C, markRaw as w, mergeProps as T, nextTick as E, normalizeClass as D, normalizeProps as O, normalizeStyle as k, onActivated as A, onBeforeMount as j, onBeforeUnmount as M, onBeforeUpdate as N, onDeactivated as P, onMounted as F, onScopeDispose as ee, onUnmounted as te, onUpdated as I, openBlock as L, provide as R, reactive as ne, readonly as re, ref as z, render as ie, renderList as ae, renderSlot as B, resolveComponent as V, resolveDirective as oe, resolveDynamicComponent as se, shallowReactive as ce, shallowReadonly as le, shallowRef as ue, toDisplayString as H, toHandlerKey as de, toRaw as fe, toRef as pe, toRefs as me, toValue as he, unref as U, useAttrs as ge, useSlots as _e, vModelCheckbox as ve, vModelRadio as ye, vModelText as be, vShow as xe, warn as Se, watch as W, watchEffect as Ce, withCtx as G, withDirectives as we, withKeys as Te, withModifiers as Ee } from "vue";
|
|
2
2
|
import { ArrowDown as De, ArrowLeft as Oe, ArrowRight as ke, ArrowUp as Ae, Check as je, CircleCheck as Me, CircleClose as Ne, CircleCloseFilled as Pe, Close as Fe, DArrowLeft as Ie, DArrowRight as Le, Delete as Re, Hide as ze, InfoFilled as Be, Loading as Ve, Location as He, MoreFilled as Ue, Search as We, SuccessFilled as Ge, View as Ke, WarnTriangleFilled as qe, Warning as Je, WarningFilled as Ye } from "@element-plus/icons-vue";
|
|
3
3
|
import { AnnotationPopup as Xe, ConnectivityGraph as Ze, ConnectivityList as Qe, ConnectivityReconciliationList as $e, CopyToClipboard as et, CreateTooltipContent as tt, ExternalResourceCard as nt } from "@abi-software/map-utilities";
|
|
4
|
+
import "@abi-software/map-utilities/dist/style.css";
|
|
4
5
|
//#region \0rolldown/runtime.js
|
|
5
6
|
var rt = Object.create, it = Object.defineProperty, at = Object.getOwnPropertyDescriptor, ot = Object.getOwnPropertyNames, st = Object.getPrototypeOf, ct = Object.prototype.hasOwnProperty, lt = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), ut = (e, t) => {
|
|
6
7
|
let n = {};
|
|
@@ -8289,9 +8290,7 @@ var fv = () => {
|
|
|
8289
8290
|
case B_:
|
|
8290
8291
|
o = -r;
|
|
8291
8292
|
break;
|
|
8292
|
-
case H_:
|
|
8293
|
-
o = i - n - r;
|
|
8294
|
-
break;
|
|
8293
|
+
case H_: o = i - n - r;
|
|
8295
8294
|
}
|
|
8296
8295
|
ne(Math.min(o, i - n), {
|
|
8297
8296
|
isScrolling: !0,
|
|
@@ -22876,14 +22875,41 @@ function LU(e, t, n, r, i, a) {
|
|
|
22876
22875
|
d("div", IU, [m(h, { content: e.copyContent }, null, 8, ["content"])])
|
|
22877
22876
|
])])), [[g, e.loading]])], 512)], 512);
|
|
22878
22877
|
}
|
|
22879
|
-
var RU = /*#__PURE__*/ gS(EU, [["render", LU], ["__scopeId", "data-v-cd1e27d4"]])
|
|
22880
|
-
|
|
22878
|
+
var RU = /*#__PURE__*/ gS(EU, [["render", LU], ["__scopeId", "data-v-cd1e27d4"]]);
|
|
22879
|
+
//#endregion
|
|
22880
|
+
//#region src/utils/common.js
|
|
22881
|
+
function zU() {
|
|
22881
22882
|
let e = /* @__PURE__ */ new Uint8Array(16);
|
|
22882
22883
|
window.crypto.getRandomValues(e), e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;
|
|
22883
22884
|
let t = Array.from(e).map((e) => e.toString(16).padStart(2, "0")).join("");
|
|
22884
22885
|
return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;
|
|
22885
22886
|
}
|
|
22886
|
-
|
|
22887
|
+
function BU(e) {
|
|
22888
|
+
if (!e) return "";
|
|
22889
|
+
let t = String(e);
|
|
22890
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
22891
|
+
}
|
|
22892
|
+
function VU(e, { formatLines: t = !1 } = {}) {
|
|
22893
|
+
if (!e) return "";
|
|
22894
|
+
let n = String(e).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/(https?:\/\/[^\s"<>\[]+)/g, (e) => {
|
|
22895
|
+
let t = e.match(/^(.*?)([\].,;:!?]*)$/), n = t ? t[1] : e;
|
|
22896
|
+
return `<a href="${n}" target="_blank" rel="noopener noreferrer">${n}</a>${t ? t[2] : ""}`;
|
|
22897
|
+
}).replace(/\\n/g, "\n").replace(/\r\n/g, "\n").replace(/\r/g, "\n");
|
|
22898
|
+
return t ? n.split("\n").map((e) => `<div class="alert-line">${e.replace(/^\s*([A-Za-z][^:<]{0,120}:)/, "<strong>$1</strong>")}</div>`).join("\n") : n;
|
|
22899
|
+
}
|
|
22900
|
+
function HU(e, t) {
|
|
22901
|
+
e?.$nextTick(() => {
|
|
22902
|
+
let n = e?.$refs?.[t];
|
|
22903
|
+
n && n.scrollIntoView({
|
|
22904
|
+
behavior: "smooth",
|
|
22905
|
+
block: "start",
|
|
22906
|
+
inline: "nearest"
|
|
22907
|
+
});
|
|
22908
|
+
});
|
|
22909
|
+
}
|
|
22910
|
+
//#endregion
|
|
22911
|
+
//#region src/components/SearchHistory.vue
|
|
22912
|
+
var UU = 12, WU = {
|
|
22887
22913
|
name: "SearchHistory",
|
|
22888
22914
|
components: {
|
|
22889
22915
|
Tag: Ug,
|
|
@@ -22932,7 +22958,7 @@ var VU = {
|
|
|
22932
22958
|
saved: !1,
|
|
22933
22959
|
label: n,
|
|
22934
22960
|
longLabel: r,
|
|
22935
|
-
id:
|
|
22961
|
+
id: zU(),
|
|
22936
22962
|
updated: (/* @__PURE__ */ new Date()).getTime()
|
|
22937
22963
|
};
|
|
22938
22964
|
this.searchHistory.push(i), this.searchHistory = this.searchHistory.sort(this.sortSearchHistory), this.trimSearchHistory(), localStorage.setItem(this.localStorageKey, JSON.stringify(this.searchHistory));
|
|
@@ -22950,14 +22976,14 @@ var VU = {
|
|
|
22950
22976
|
}), t.length && (this.searchHistory = this.searchHistory.filter((e) => !t.includes(e.id)));
|
|
22951
22977
|
},
|
|
22952
22978
|
trimSearchHistory: function() {
|
|
22953
|
-
if (this.searchHistory.length >
|
|
22954
|
-
let e = this.searchHistory.filter((e) => e.saved), t = this.searchHistory.filter((e) => !e.saved), n =
|
|
22979
|
+
if (this.searchHistory.length > UU) {
|
|
22980
|
+
let e = this.searchHistory.filter((e) => e.saved), t = this.searchHistory.filter((e) => !e.saved), n = UU - this.searchHistory.length;
|
|
22955
22981
|
this.searchHistory = [...e, ...t.slice(0, n)];
|
|
22956
22982
|
}
|
|
22957
22983
|
},
|
|
22958
22984
|
updateSearchHistory: function() {
|
|
22959
22985
|
this.searchHistory.forEach((e) => {
|
|
22960
|
-
if (e.id ||=
|
|
22986
|
+
if (e.id ||= zU(), !e.label) {
|
|
22961
22987
|
let { label: t, longLabel: n } = this.searchHistoryItemLabel(e.search, e.filters);
|
|
22962
22988
|
e.label = t, e.longLabel = n;
|
|
22963
22989
|
}
|
|
@@ -22965,8 +22991,8 @@ var VU = {
|
|
|
22965
22991
|
}), this.searchHistory = this.searchHistory.sort(this.sortSearchHistory), this.removeDuplicateSearchHistory(), this.trimSearchHistory(), localStorage.setItem(this.localStorageKey, JSON.stringify(this.searchHistory));
|
|
22966
22992
|
},
|
|
22967
22993
|
getParentComponentName: function() {
|
|
22968
|
-
let e = this.localStorageKey?.indexOf("connectivity") !== -1, t = this.localStorageKey?.indexOf("dataset") !== -1;
|
|
22969
|
-
return e ? "connectivity" : t ? "dataset" : "";
|
|
22994
|
+
let e = this.localStorageKey?.indexOf("connectivity") !== -1, t = this.localStorageKey?.indexOf("dataset") !== -1, n = this.localStorageKey?.indexOf("cell-card") !== -1;
|
|
22995
|
+
return e ? "connectivity" : t ? "dataset" : n ? "cell_card" : "";
|
|
22970
22996
|
},
|
|
22971
22997
|
search: function(e) {
|
|
22972
22998
|
this.$emit("search", e);
|
|
@@ -23006,22 +23032,22 @@ var VU = {
|
|
|
23006
23032
|
});
|
|
23007
23033
|
}
|
|
23008
23034
|
}
|
|
23009
|
-
},
|
|
23035
|
+
}, GU = {
|
|
23010
23036
|
key: 0,
|
|
23011
23037
|
class: "history-container"
|
|
23012
|
-
},
|
|
23038
|
+
}, KU = {
|
|
23013
23039
|
key: 0,
|
|
23014
23040
|
class: "saved-search-history"
|
|
23015
|
-
},
|
|
23041
|
+
}, qU = { key: 1 }, JU = { class: "el-dropdown-select" }, YU = ["onClick"], XU = ["onClick"], ZU = {
|
|
23016
23042
|
key: 0,
|
|
23017
23043
|
viewBox: "0 0 24 24"
|
|
23018
|
-
},
|
|
23044
|
+
}, QU = {
|
|
23019
23045
|
key: 1,
|
|
23020
23046
|
viewBox: "0 0 24 24"
|
|
23021
|
-
},
|
|
23022
|
-
function
|
|
23047
|
+
}, $U = { key: 0 }, eW = { key: 1 }, tW = { key: 2 };
|
|
23048
|
+
function nW(e, n, r, i, a, o) {
|
|
23023
23049
|
let s = Fx, f = Ug, h = De, g = zp, _ = Rg, v = Re, y = Qb, b = $b, x = Zb;
|
|
23024
|
-
return a.searchHistory.length ? (L(), u("div",
|
|
23050
|
+
return a.searchHistory.length ? (L(), u("div", GU, [a.savedSearchHistory.length ? (L(), u("div", KU, [(L(!0), u(t, null, ae(a.savedSearchHistory, (e, n) => (L(), u(t, { key: e.id }, [n < 2 ? (L(), c(f, {
|
|
23025
23051
|
class: "search-tag",
|
|
23026
23052
|
key: n,
|
|
23027
23053
|
onClick: (t) => o.search(e),
|
|
@@ -23040,7 +23066,7 @@ function $U(e, n, r, i, a, o) {
|
|
|
23040
23066
|
_: 2
|
|
23041
23067
|
}, 1024)) : (L(), u(t, { key: 1 }, [p(H(e.label), 1)], 64))]),
|
|
23042
23068
|
_: 2
|
|
23043
|
-
}, 1032, ["onClick"])) : l("", !0)], 64))), 128))])) : (L(), u("div",
|
|
23069
|
+
}, 1032, ["onClick"])) : l("", !0)], 64))), 128))])) : (L(), u("div", qU, [...n[0] ||= [d("span", { class: "empty-saved-search" }, "No Saved Searches", -1)]])), m(x, {
|
|
23044
23070
|
trigger: "click",
|
|
23045
23071
|
"hide-on-click": !1
|
|
23046
23072
|
}, {
|
|
@@ -23057,14 +23083,14 @@ function $U(e, n, r, i, a, o) {
|
|
|
23057
23083
|
reference: G(() => [d("span", {
|
|
23058
23084
|
class: "dropdown-clickable-item",
|
|
23059
23085
|
onClick: (t) => o.search(e)
|
|
23060
|
-
}, H(e.label), 9,
|
|
23086
|
+
}, H(e.label), 9, YU)]),
|
|
23061
23087
|
default: G(() => [p(" " + H(e.longLabel), 1)]),
|
|
23062
23088
|
_: 2
|
|
23063
23089
|
}, 1024)) : (L(), u("span", {
|
|
23064
23090
|
key: 1,
|
|
23065
23091
|
class: "dropdown-clickable-item",
|
|
23066
23092
|
onClick: (t) => o.search(e)
|
|
23067
|
-
}, H(e.label), 9,
|
|
23093
|
+
}, H(e.label), 9, XU))]), d("div", null, [m(s, {
|
|
23068
23094
|
width: "auto",
|
|
23069
23095
|
trigger: "hover",
|
|
23070
23096
|
"show-after": 200,
|
|
@@ -23079,12 +23105,12 @@ function $U(e, n, r, i, a, o) {
|
|
|
23079
23105
|
disabled: a.savedSearchHistory.length > 1 && !e.saved
|
|
23080
23106
|
}, {
|
|
23081
23107
|
default: G(() => [m(g, { color: "#8300BF" }, {
|
|
23082
|
-
default: G(() => [e.saved ? (L(), u("svg",
|
|
23108
|
+
default: G(() => [e.saved ? (L(), u("svg", ZU, [...n[2] ||= [d("path", { d: "m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z" }, null, -1)]])) : (L(), u("svg", QU, [...n[3] ||= [d("path", { d: "M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3m-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05" }, null, -1)]]))]),
|
|
23083
23109
|
_: 2
|
|
23084
23110
|
}, 1024)]),
|
|
23085
23111
|
_: 2
|
|
23086
23112
|
}, 1032, ["onClick", "disabled"])]),
|
|
23087
|
-
default: G(() => [a.savedSearchHistory.length > 1 && !e.saved ? (L(), u("span",
|
|
23113
|
+
default: G(() => [a.savedSearchHistory.length > 1 && !e.saved ? (L(), u("span", $U, " Limit 2: Please remove a saved search before adding another. ")) : e.saved ? (L(), u("span", eW, " Remove from saved searches. ")) : (L(), u("span", tW, " Add up to two saved searches. "))]),
|
|
23088
23114
|
_: 2
|
|
23089
23115
|
}, 1024), m(s, {
|
|
23090
23116
|
width: "auto",
|
|
@@ -23112,18 +23138,18 @@ function $U(e, n, r, i, a, o) {
|
|
|
23112
23138
|
}, 1024))), 128))]),
|
|
23113
23139
|
_: 1
|
|
23114
23140
|
})]),
|
|
23115
|
-
default: G(() => [d("span",
|
|
23141
|
+
default: G(() => [d("span", JU, [n[1] ||= p(" Search history ", -1), m(g, { class: "el-icon--right" }, {
|
|
23116
23142
|
default: G(() => [m(h)]),
|
|
23117
23143
|
_: 1
|
|
23118
23144
|
})])]),
|
|
23119
23145
|
_: 1
|
|
23120
23146
|
})])) : l("", !0);
|
|
23121
23147
|
}
|
|
23122
|
-
var
|
|
23148
|
+
var rW = /*#__PURE__*/ gS(WU, [["render", nW], ["__scopeId", "data-v-a495c572"]]), iW = (e, t) => {
|
|
23123
23149
|
let n = e.__vccOpts || e;
|
|
23124
23150
|
for (let [e, r] of t) n[e] = r;
|
|
23125
23151
|
return n;
|
|
23126
|
-
},
|
|
23152
|
+
}, aW = ["xlink:href"], oW = /*#__PURE__*/ iW({
|
|
23127
23153
|
__name: "SvgIcon",
|
|
23128
23154
|
props: {
|
|
23129
23155
|
icon: {
|
|
@@ -23136,9 +23162,9 @@ var eW = /*#__PURE__*/ gS(VU, [["render", $U], ["__scopeId", "data-v-e1b89e20"]]
|
|
|
23136
23162
|
}
|
|
23137
23163
|
},
|
|
23138
23164
|
setup(e) {
|
|
23139
|
-
return (t, n) => (L(), u("svg", { class: D(["map-icon", { "map-icon-spin": e.spin }]) }, [d("use", { "xlink:href": `#${e.icon}` }, null, 8,
|
|
23165
|
+
return (t, n) => (L(), u("svg", { class: D(["map-icon", { "map-icon-spin": e.spin }]) }, [d("use", { "xlink:href": `#${e.icon}` }, null, 8, aW)], 2));
|
|
23140
23166
|
}
|
|
23141
|
-
}, [["__scopeId", "data-v-e172d5ff"]]), iW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>2horpanel</title>\n <g id=\"2horpanel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-4\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"18.5\" y1=\"12\" x2=\"5.5\" y2=\"12\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", aW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>2vertpanel</title>\n <g id=\"2vertpanel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-3\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"12\" y1=\"7.5\" x2=\"12\" y2=\"16.5\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", oW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>3panel</title>\n <g id=\"3panel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"11.5\" y1=\"7.5\" x2=\"11.5\" y2=\"16.5\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"18.5\" y1=\"11.5\" x2=\"11.5\" y2=\"11.5\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", sW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>4panel</title>\n <g id=\"4panel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-2\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"12\" y1=\"7.5\" x2=\"12\" y2=\"16.5\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"18.5\" y1=\"12\" x2=\"5.5\" y2=\"12\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", cW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>2horpanel</title>\n <g id=\"2horpanel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-4\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"18.5\" y1=\"12\" x2=\"5.5\" y2=\"12\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"12\" y1=\"12.5\" x2=\"12\" y2=\"16.5\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"14.5\" y1=\"12\" x2=\"14.5\" y2=\"7\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"9.5\" y1=\"12\" x2=\"9.5\" y2=\"7\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", lW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>2horpanel</title>\n <g id=\"2horpanel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-4\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"18.5\" y1=\"12\" x2=\"5.5\" y2=\"12\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"14.5\" y1=\"16\" x2=\"14.5\" y2=\"7\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"9.5\" y1=\"16\" x2=\"9.5\" y2=\"7\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", uW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>4panel</title>\n <g id=\"4panel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-2\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"12\" y1=\"7.5\" x2=\"12\" y2=\"16.5\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"18.5\" y1=\"10.5\" x2=\"5.5\" y2=\"10.5\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"18.5\" y1=\"13.8\" x2=\"5.5\" y2=\"13.8\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", dW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>changeBckgd</title>\n <g id=\"changeBckgd\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-5\">\n <circle id=\"Oval-Copy\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"7\" y=\"6\" width=\"10\" height=\"7\"></rect>\n <line x1=\"12\" y1=\"13.5\" x2=\"12\" y2=\"16.5\" id=\"Line-4\" stroke=\"#FFFFFF\" stroke-width=\"2\"></line>\n <line x1=\"7\" y1=\"16.5\" x2=\"17\" y2=\"16.5\" id=\"Line\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", fW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>close no bk</title>\n <g id=\"close-no-bk\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" stroke-linecap=\"square\">\n <g id=\"Group-13\" transform=\"translate(12.000000, 12.000000) rotate(-315.000000) translate(-12.000000, -12.000000) translate(5.000000, 5.000000)\" stroke=\"currentColor\" stroke-width=\"2\">\n <line x1=\"0\" y1=\"7\" x2=\"14\" y2=\"7\" id=\"Line-9\"></line>\n <line x1=\"7\" y1=\"0\" x2=\"7\" y2=\"14\" id=\"Line-9\"></line>\n </g>\n </g>\n</svg>\n", pW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>close</title>\n <g id=\"close\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-9\">\n <g id=\"Group-8\" fill=\"currentColor\">\n <circle id=\"Oval\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n </g>\n <g id=\"Group-13\" transform=\"translate(12.000000, 12.000000) rotate(-315.000000) translate(-12.000000, -12.000000) translate(5.000000, 5.000000)\" stroke=\"#FFFFFF\" stroke-linecap=\"square\" stroke-width=\"2\">\n <line x1=\"0\" y1=\"7\" x2=\"14\" y2=\"7\" id=\"Line-9\"></line>\n <line x1=\"7\" y1=\"0\" x2=\"7\" y2=\"14\" id=\"Line-9\"></line>\n </g>\n </g>\n </g>\n</svg>", mW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>closeFullScreen</title>\n <g id=\"closeFullScreen\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <polyline id=\"Line-5\" stroke=\"#FFFFFF\" stroke-width=\"1.5\" stroke-linecap=\"square\" transform=\"translate(6.750000, 7.750000) rotate(-180.000000) translate(-6.750000, -7.750000) \" points=\"5 9.5 5 6 8.5 6\"></polyline>\n <polyline id=\"Line-5\" stroke=\"#FFFFFF\" stroke-width=\"1.5\" stroke-linecap=\"square\" transform=\"translate(17.250000, 15.750000) rotate(-360.000000) translate(-17.250000, -15.750000) \" points=\"15.5 17.5 15.5 14 19 14\"></polyline>\n <polyline id=\"Line-5\" stroke=\"#FFFFFF\" stroke-width=\"1.5\" stroke-linecap=\"square\" transform=\"translate(6.750000, 15.750000) scale(1, -1) rotate(-180.000000) translate(-6.750000, -15.750000) \" points=\"5 17.5 5 14 8.5 14\"></polyline>\n <polyline id=\"Line-5\" stroke=\"#FFFFFF\" stroke-width=\"1.5\" stroke-linecap=\"square\" transform=\"translate(17.250000, 7.750000) scale(1, -1) rotate(-360.000000) translate(-17.250000, -7.750000) \" points=\"15.5 9.5 15.5 6 19 6\"></polyline>\n </g>\n </g>\n</svg>", hW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>Comment</title>\n <g id=\"Comment\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"512\" cy=\"512\" r=\"512\"></circle>\n <path fill=\"#FFFFFF\" transform=\"scale(0.75, 0.75) translate(165, 215)\"\n d=\"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z\" />\n </g>\n</svg>", gW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>Connection</title>\n <g id=\"Connection\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"512\" cy=\"512\" r=\"512\"></circle>\n <path fill=\"#FFFFFF\" transform=\"scale(0.75, 0.75) translate(175, 175)\"\n d=\"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z\" />\n <path fill=\"#FFFFFF\" transform=\"scale(0.75, 0.75) translate(175, 175)\"\n d=\"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z\" />\n </g>\n</svg>", _W = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>dock</title>\n <g id=\"dock\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-8-Copy-2\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-5\" transform=\"translate(2.972940, 3.512563)\" stroke=\"#FFFFFF\" stroke-linecap=\"square\" stroke-width=\"2\">\n <line x1=\"10.7289628\" y1=\"7.03553391\" x2=\"14.9716035\" y2=\"2.79289322\" id=\"Line\"></line>\n <g id=\"Group\" transform=\"translate(14.264497, 3.500000) rotate(-315.000000) translate(-14.264497, -3.500000) translate(11.264497, 2.000000)\">\n <line x1=\"2.27373675e-13\" y1=\"2.82842712\" x2=\"2.82842712\" y2=\"0\" id=\"Line\"></line>\n <line x1=\"3\" y1=\"0\" x2=\"5.82842712\" y2=\"2.82842712\" id=\"Line\"></line>\n </g>\n <line x1=\"7.53553391\" y1=\"10.1584369\" x2=\"3.29289322\" y2=\"14.4010776\" id=\"Line\"></line>\n <g id=\"Group\" transform=\"translate(4.000000, 13.693971) rotate(-135.000000) translate(-4.000000, -13.693971) translate(1.000000, 12.193971)\">\n <line x1=\"2.27373675e-13\" y1=\"2.82842712\" x2=\"2.82842712\" y2=\"0\" id=\"Line\"></line>\n <line x1=\"3\" y1=\"0\" x2=\"5.82842712\" y2=\"2.82842712\" id=\"Line\"></line>\n </g>\n </g>\n </g>\n </g>\n</svg>", vW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>drawLine</title>\n <g id=\"drawLine\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <path fill=\"#FFFFFF\" transform=\"translate(2 2.0625)\" d=\"m13.5 3.5c-1.4 0-2.5 1.1-2.5 2.5 0 .3 0 .6.2.9l-3.8 3.8c-.3-.1-.6-.2-.9-.2-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5c0-.3 0-.6-.2-.9l3.8-3.8c.3.1.6.2.9.2 1.4 0 2.5-1.1 2.5-2.5s-1.1-2.5-2.5-2.5z\" />\n </g>\n</svg>", yW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>drawPoint</title>\n <g id=\"drawPoint\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <path fill=\"#FFFFFF\" transform=\"translate(1.875 2.5)\" d=\"m10 2c-3.3 0-6 2.7-6 6s6 9 6 9 6-5.7 6-9-2.7-6-6-6zm0 2c2.1 0 3.8 1.7 3.8 3.8 0 1.5-1.8 3.9-2.9 5.2h-1.7c-1.1-1.4-2.9-3.8-2.9-5.2-.1-2.1 1.6-3.8 3.7-3.8z\" />\n </g>\n</svg>", bW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>drawPolygon</title>\n <g id=\"drawPolygon\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <path fill=\"#FFFFFF\" transform=\"translate(1.875 1.625)\" d=\"m15 12.3v-4.6c.6-.3 1-1 1-1.7 0-1.1-.9-2-2-2-.7 0-1.4.4-1.7 1h-4.6c-.3-.6-1-1-1.7-1-1.1 0-2 .9-2 2 0 .7.4 1.4 1 1.7v4.6c-.6.3-1 1-1 1.7 0 1.1.9 2 2 2 .7 0 1.4-.4 1.7-1h4.6c.3.6 1 1 1.7 1 1.1 0 2-.9 2-2 0-.7-.4-1.4-1-1.7zm-8-.3v-4l1-1h4l1 1v4l-1 1h-4z\" />\n </g>\n</svg>", xW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>drawTrash</title>\n <g id=\"drawTrash\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <path fill=\"#FFFFFF\" transform=\"translate(2 1.5)\" d=\"M10,3.4 c-0.8,0-1.5,0.5-1.8,1.2H5l-1,1v1h12v-1l-1-1h-3.2C11.5,3.9,10.8,3.4,10,3.4z M5,8v7c0,1,1,2,2,2h6c1,0,2-1,2-2V8h-2v5.5h-1.5V8h-3 v5.5H7V8H5z\" />\n </g>\n</svg>", SW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>fitWindow</title>\n <g id=\"fitWindow\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-3\">\n <g id=\"Group-8-Copy\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group\" transform=\"translate(5.000000, 6.000000)\" stroke=\"#FFFFFF\" stroke-linecap=\"square\" stroke-width=\"1.5\">\n <polyline id=\"Line-5\" points=\"0 3.5 0 0 4.80123862 0\"></polyline>\n <polyline id=\"Line-5\" transform=\"translate(2.400619, 9.750000) scale(1, -1) translate(-2.400619, -9.750000) \" points=\"0 11.5 0 8 4.80123862 8\"></polyline>\n <polyline id=\"Line-5\" transform=\"translate(11.600619, 1.750000) scale(1, -1) rotate(-180.000000) translate(-11.600619, -1.750000) \" points=\"9.2 3.5 9.2 0 14.0012386 0\"></polyline>\n </g>\n </g>\n <g id=\"Group-12\" transform=\"translate(9.000000, 8.500000)\" stroke=\"#FFFFFF\" stroke-width=\"2\">\n <circle id=\"Oval\" cx=\"3.5\" cy=\"3.5\" r=\"3.5\"></circle>\n <line x1=\"8.75\" y1=\"8.75\" x2=\"6.25\" y2=\"6.25\" id=\"Line-8\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n </g>\n</svg>", CW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>fullScreen</title>\n <g id=\"fullScreen\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-8-Copy\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group\" transform=\"translate(5.000000, 6.000000)\" stroke=\"#FFFFFF\" stroke-linecap=\"square\" stroke-width=\"1.5\">\n <polyline id=\"Line-5\" points=\"7.68274333e-14 3.5 7.68274333e-14 0 4.80123862 0\"></polyline>\n <polyline id=\"Line-5\" transform=\"translate(11.600619, 9.750000) rotate(-180.000000) translate(-11.600619, -9.750000) \" points=\"9.2 11.5 9.2 8 14.0012386 8\"></polyline>\n <polyline id=\"Line-5\" transform=\"translate(2.400619, 9.750000) scale(1, -1) translate(-2.400619, -9.750000) \" points=\"7.68274333e-14 11.5 7.68274333e-14 8 4.80123862 8\"></polyline>\n <polyline id=\"Line-5\" transform=\"translate(11.600619, 1.750000) scale(1, -1) rotate(-180.000000) translate(-11.600619, -1.750000) \" points=\"9.2 3.5 9.2 0 14.0012386 0\"></polyline>\n </g>\n </g>\n </g>\n</svg>", wW = "<svg id=\"icons\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><title>DataPortal-Icons</title><circle cx=\"12\" cy=\"15.824\" r=\"0.753\"/><path d=\"M12,14.256a.75.75,0,0,1-.75-.75v-1c0-.529.419-.818.862-1.124.623-.43,1.138-.83,1.138-1.376A1.209,1.209,0,0,0,12,8.756a1.252,1.252,0,0,0-1.25,1.25.75.75,0,0,1-1.5,0A2.753,2.753,0,0,1,12,7.256a2.721,2.721,0,0,1,2.75,2.75,3.3,3.3,0,0,1-1.786,2.61c-.079.055-.152.1-.214.147v.743A.75.75,0,0,1,12,14.256Z\"/><path d=\"M12,5a7,7,0,1,1-7,7,7.008,7.008,0,0,1,7-7m0-2a9,9,0,1,0,9,9,9,9,0,0,0-9-9Z\"/></svg>", TW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>magnifyingGlass</title>\n <g id=\"magnifyingGlass\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-19-Copy\">\n <g id=\"Group-13-Copy\">\n <circle id=\"Oval-Copy-2\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-12\" transform=\"translate(5.000000, 4.000000)\" stroke=\"#FFFFFF\" stroke-width=\"2\">\n <circle id=\"Oval\" cx=\"5.5\" cy=\"5.5\" r=\"5.5\"></circle>\n <line x1=\"13.5833333\" y1=\"13.5833333\" x2=\"9.41666667\" y2=\"9.41666667\" id=\"Line-8\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n </g>\n </g>\n</svg>", EW = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.0\" x=\"0px\" y=\"0px\" viewBox=\"0 0 960 1200\" enable-background=\"new 0 0 960 960\" xml:space=\"preserve\"><g><path fill=\"#000000\" d=\"M670,499.992c0,5.5-4.5,10-10,10H300c-5.516,0-10-4.5-10-10v-40c0-5.5,4.484-10,10-10h360 c5.5,0,10,4.5,10,10V499.992z\"/><path fill=\"#000000\" d=\"M530,649.992c0,5.5-4.5,10-10,10h-80c-5.516,0-10-4.5-10-10v-40c0-5.5,4.484-10,10-10h80 c5.5,0,10,4.5,10,10V649.992z\"/><path fill=\"#000000\" d=\"M780,350.008c0,5.5-4.5,10-10,10H190c-5.516,0-10-4.5-10-10v-40c0-5.516,4.484-10,10-10h580 c5.5,0,10,4.484,10,10V350.008z\"/></g><text x=\"0\" y=\"975\" fill=\"#000000\" font-size=\"5px\" font-weight=\"bold\" font-family=\"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif\">Created by Wahyu Prihantoro</text><text x=\"0\" y=\"980\" fill=\"#000000\" font-size=\"5px\" font-weight=\"bold\" font-family=\"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif\">from the Noun Project</text></svg>", DW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>openMap</title>\n <g id=\"openMap\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-5-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"10\" width=\"10\" height=\"7\"></rect>\n <rect id=\"Rectangle-Copy\" stroke=\"#FFFFFF\" x=\"9\" y=\"6\" width=\"10\" height=\"7\"></rect>\n </g>\n</svg>", OW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>Artboard Copy 6</title>\n <g id=\"Artboard-Copy-6\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-5-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n </g>\n <line x1=\"9\" y1=\"8\" x2=\"9\" y2=\"16\" id=\"Line-6-Copy-2\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\"></line>\n <line x1=\"15\" y1=\"8\" x2=\"15\" y2=\"16\" id=\"Line-6-Copy-3\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\"></line>\n </g>\n</svg>", kW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>permalink</title>\n <g id=\"permalink\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <line x1=\"12.5\" y1=\"9\" x2=\"12.5\" y2=\"15\" id=\"Line-6-Copy-2\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\" transform=\"translate(12.500000, 12.000000) rotate(45.000000) translate(-12.500000, -12.000000) \"></line>\n <path d=\"M17,13 L17,16.5 C17,18.9852814 14.9852814,21 12.5,21 C10.0147186,21 8,18.9852814 8,16.5 L8,13 L10,13 L10,16.5 C10,17.8807119 11.1192881,19 12.5,19 C13.8254834,19 14.9100387,17.9684641 14.9946823,16.6643757 L15,16.5 L15,13 L17,13 Z M12.5,3 C14.9852814,3 17,5.01471863 17,7.5 L17,11 L15,11 L15,7.5 C15,6.11928813 13.8807119,5 12.5,5 C11.1745166,5 10.0899613,6.03153594 10.0053177,7.33562431 L10,7.5 L10,11 L8,11 L8,7.5 C8,5.01471863 10.0147186,3 12.5,3 Z\" id=\"Combined-Shape\" fill=\"#FFFFFF\" transform=\"translate(12.500000, 12.000000) rotate(45.000000) translate(-12.500000, -12.000000) \"></path>\n </g>\n</svg>", AW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>play</title>\n <g id=\"play\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-9\">\n <g id=\"Group-5-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n </g>\n <polygon id=\"Triangle\" fill=\"#FFFFFF\" class=\"st0\" transform=\"translate(13.000000, 11.500000) rotate(-270.000000) translate(-13.000000, -11.500000) \" points=\"13 8 19 15 7 15\"></polygon>\n </g>\n </g>\n</svg>", jW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>resetZoom</title>\n <g id=\"resetZoom\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-13-Copy-2\">\n <circle id=\"Oval-Copy-2\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-12\" transform=\"translate(5.000000, 4.000000)\" stroke=\"#FFFFFF\" stroke-width=\"2\">\n <circle id=\"Oval\" cx=\"5.5\" cy=\"5.5\" r=\"5.5\"></circle>\n <line x1=\"13.5833333\" y1=\"13.5833333\" x2=\"9.41666667\" y2=\"9.41666667\" id=\"Line-8\" stroke-linecap=\"square\"></line>\n </g>\n <g id=\"Group-4\" transform=\"translate(7.500000, 7.000000)\">\n <path d=\"M3,5 C3.83613696,5 4.57640148,4.58952131 5.03027306,3.95908443 C5.19488093,3.73044075 5.32181864,3.47286529 5.40199763,3.19544657 C5.46580562,2.97467142 5.5,2.74132897 5.5,2.5 C5.5,2.26693547 5.46810753,2.04131982 5.40844867,1.82727914 C5.31560782,1.49418996 5.15552386,1.18913241 4.9437468,0.927656488 C4.48541251,0.361762414 3.78495332,0 3,0 C1.61928813,0 0.5,1.11928813 0.5,2.5 C0.5,3.88071187 1.61928813,5 3,5 Z\" id=\"Oval\" stroke=\"#FFFFFF\"></path>\n <rect id=\"Rectangle\" fill=\"currentColor\" x=\"2.5\" y=\"2\" width=\"4\" height=\"1\"></rect>\n <line x1=\"5.5\" y1=\"1.5\" x2=\"5.5\" y2=\"0.5\" id=\"Line-7\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"4.5\" y1=\"1.5\" x2=\"5.5\" y2=\"1.5\" id=\"Line-7\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n </g>\n</svg>", MW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>singlepanel</title>\n <g id=\"singlepanel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-5\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n </g>\n </g>\n</svg>", NW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>tooltips</title>\n <g id=\"tooltips\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-15\">\n <circle id=\"Oval-Copy\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <path d=\"M6,5 L18,5 C19.1045695,5 20,5.8954305 20,7 L20,15.5714286 C20,16.6759981 19.1045695,17.5714286 18,17.5714286 L15.4003471,17.5714286 L15.4003471,17.5714286 L12.8157442,20.271248 C12.4338253,20.6701921 11.8008107,20.6839938 11.4018666,20.3020749 C11.3997428,20.3000417 11.3976279,20.2979991 11.3955221,20.2959473 L8.59934577,17.5714286 L8.59934577,17.5714286 L6,17.5714286 C4.8954305,17.5714286 4,16.6759981 4,15.5714286 L4,7 C4,5.8954305 4.8954305,5 6,5 Z\" id=\"Rectangle\" fill=\"#FFFFFF\"></path>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\" fill=\"currentColor\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n </g>\n</svg>", PW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>undock</title>\n <g id=\"undock\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-9\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-5\" transform=\"translate(5.500000, 6.000000)\" stroke=\"#FFFFFF\" stroke-linecap=\"square\" stroke-width=\"2\">\n <line x1=\"0.728962778\" y1=\"12.0355339\" x2=\"4.97160346\" y2=\"7.79289322\" id=\"Line\"></line>\n <g id=\"Group\" transform=\"translate(4.264497, 8.500000) rotate(-315.000000) translate(-4.264497, -8.500000) translate(1.264497, 7.000000)\">\n <line x1=\"2.27373675e-13\" y1=\"2.82842712\" x2=\"2.82842712\" y2=\"0\" id=\"Line\"></line>\n <line x1=\"3\" y1=\"0\" x2=\"5.82842712\" y2=\"2.82842712\" id=\"Line\"></line>\n </g>\n <line x1=\"12.5355339\" y1=\"0.158436893\" x2=\"8.29289322\" y2=\"4.40107758\" id=\"Line\"></line>\n <g id=\"Group\" transform=\"translate(9.000000, 3.693971) rotate(-135.000000) translate(-9.000000, -3.693971) translate(6.000000, 2.193971)\">\n <line x1=\"2.27373675e-13\" y1=\"2.82842712\" x2=\"2.82842712\" y2=\"0\" id=\"Line\"></line>\n <line x1=\"3\" y1=\"0\" x2=\"5.82842712\" y2=\"2.82842712\" id=\"Line\"></line>\n </g>\n </g>\n </g>\n </g>\n</svg>", FW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>zoomIn</title>\n <g id=\"zoomIn\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-19-Copy\">\n <g id=\"Group-13-Copy\">\n <circle id=\"Oval-Copy-2\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-12\" transform=\"translate(5.000000, 4.000000)\" stroke=\"#FFFFFF\" stroke-width=\"2\">\n <circle id=\"Oval\" cx=\"5.5\" cy=\"5.5\" r=\"5.5\"></circle>\n <line x1=\"13.5833333\" y1=\"13.5833333\" x2=\"9.41666667\" y2=\"9.41666667\" id=\"Line-8\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n <line x1=\"9\" y1=\"9.5\" x2=\"12\" y2=\"9.5\" id=\"Line-6-Copy-2\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\"></line>\n <line x1=\"9\" y1=\"9.5\" x2=\"12\" y2=\"9.5\" id=\"Line-6-Copy-2\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\" transform=\"translate(10.500000, 9.500000) rotate(90.000000) translate(-10.500000, -9.500000) \"></line>\n </g>\n </g>\n</svg>", IW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>zoomOut</title>\n <g id=\"zoomOut\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-19-Copy-3\">\n <g id=\"Group-13-Copy\">\n <circle id=\"Oval-Copy-2\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-12\" transform=\"translate(5.000000, 4.000000)\" stroke=\"#FFFFFF\" stroke-width=\"2\">\n <circle id=\"Oval\" cx=\"5.5\" cy=\"5.5\" r=\"5.5\"></circle>\n <line x1=\"13.5833333\" y1=\"13.5833333\" x2=\"9.41666667\" y2=\"9.41666667\" id=\"Line-8\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n <line x1=\"9\" y1=\"9.5\" x2=\"12\" y2=\"9.5\" id=\"Line-6-Copy-2\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", LW = (e, t, n, r) => {
|
|
23167
|
+
}, [["__scopeId", "data-v-e172d5ff"]]), sW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>2horpanel</title>\n <g id=\"2horpanel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-4\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"18.5\" y1=\"12\" x2=\"5.5\" y2=\"12\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", cW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>2vertpanel</title>\n <g id=\"2vertpanel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-3\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"12\" y1=\"7.5\" x2=\"12\" y2=\"16.5\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", lW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>3panel</title>\n <g id=\"3panel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"11.5\" y1=\"7.5\" x2=\"11.5\" y2=\"16.5\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"18.5\" y1=\"11.5\" x2=\"11.5\" y2=\"11.5\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", uW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>4panel</title>\n <g id=\"4panel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-2\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"12\" y1=\"7.5\" x2=\"12\" y2=\"16.5\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"18.5\" y1=\"12\" x2=\"5.5\" y2=\"12\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", dW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>2horpanel</title>\n <g id=\"2horpanel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-4\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"18.5\" y1=\"12\" x2=\"5.5\" y2=\"12\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"12\" y1=\"12.5\" x2=\"12\" y2=\"16.5\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"14.5\" y1=\"12\" x2=\"14.5\" y2=\"7\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"9.5\" y1=\"12\" x2=\"9.5\" y2=\"7\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", fW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>2horpanel</title>\n <g id=\"2horpanel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-4\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"18.5\" y1=\"12\" x2=\"5.5\" y2=\"12\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"14.5\" y1=\"16\" x2=\"14.5\" y2=\"7\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"9.5\" y1=\"16\" x2=\"9.5\" y2=\"7\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", pW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>4panel</title>\n <g id=\"4panel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-2\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n <line x1=\"12\" y1=\"7.5\" x2=\"12\" y2=\"16.5\" id=\"Line-6\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"18.5\" y1=\"10.5\" x2=\"5.5\" y2=\"10.5\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"18.5\" y1=\"13.8\" x2=\"5.5\" y2=\"13.8\" id=\"Line-10\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", mW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>changeBckgd</title>\n <g id=\"changeBckgd\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-5\">\n <circle id=\"Oval-Copy\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"7\" y=\"6\" width=\"10\" height=\"7\"></rect>\n <line x1=\"12\" y1=\"13.5\" x2=\"12\" y2=\"16.5\" id=\"Line-4\" stroke=\"#FFFFFF\" stroke-width=\"2\"></line>\n <line x1=\"7\" y1=\"16.5\" x2=\"17\" y2=\"16.5\" id=\"Line\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", hW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>close no bk</title>\n <g id=\"close-no-bk\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" stroke-linecap=\"square\">\n <g id=\"Group-13\" transform=\"translate(12.000000, 12.000000) rotate(-315.000000) translate(-12.000000, -12.000000) translate(5.000000, 5.000000)\" stroke=\"currentColor\" stroke-width=\"2\">\n <line x1=\"0\" y1=\"7\" x2=\"14\" y2=\"7\" id=\"Line-9\"></line>\n <line x1=\"7\" y1=\"0\" x2=\"7\" y2=\"14\" id=\"Line-9\"></line>\n </g>\n </g>\n</svg>\n", gW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>close</title>\n <g id=\"close\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-9\">\n <g id=\"Group-8\" fill=\"currentColor\">\n <circle id=\"Oval\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n </g>\n <g id=\"Group-13\" transform=\"translate(12.000000, 12.000000) rotate(-315.000000) translate(-12.000000, -12.000000) translate(5.000000, 5.000000)\" stroke=\"#FFFFFF\" stroke-linecap=\"square\" stroke-width=\"2\">\n <line x1=\"0\" y1=\"7\" x2=\"14\" y2=\"7\" id=\"Line-9\"></line>\n <line x1=\"7\" y1=\"0\" x2=\"7\" y2=\"14\" id=\"Line-9\"></line>\n </g>\n </g>\n </g>\n</svg>", _W = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>closeFullScreen</title>\n <g id=\"closeFullScreen\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <polyline id=\"Line-5\" stroke=\"#FFFFFF\" stroke-width=\"1.5\" stroke-linecap=\"square\" transform=\"translate(6.750000, 7.750000) rotate(-180.000000) translate(-6.750000, -7.750000) \" points=\"5 9.5 5 6 8.5 6\"></polyline>\n <polyline id=\"Line-5\" stroke=\"#FFFFFF\" stroke-width=\"1.5\" stroke-linecap=\"square\" transform=\"translate(17.250000, 15.750000) rotate(-360.000000) translate(-17.250000, -15.750000) \" points=\"15.5 17.5 15.5 14 19 14\"></polyline>\n <polyline id=\"Line-5\" stroke=\"#FFFFFF\" stroke-width=\"1.5\" stroke-linecap=\"square\" transform=\"translate(6.750000, 15.750000) scale(1, -1) rotate(-180.000000) translate(-6.750000, -15.750000) \" points=\"5 17.5 5 14 8.5 14\"></polyline>\n <polyline id=\"Line-5\" stroke=\"#FFFFFF\" stroke-width=\"1.5\" stroke-linecap=\"square\" transform=\"translate(17.250000, 7.750000) scale(1, -1) rotate(-360.000000) translate(-17.250000, -7.750000) \" points=\"15.5 9.5 15.5 6 19 6\"></polyline>\n </g>\n </g>\n</svg>", vW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>Comment</title>\n <g id=\"Comment\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"512\" cy=\"512\" r=\"512\"></circle>\n <path fill=\"#FFFFFF\" transform=\"scale(0.75, 0.75) translate(165, 215)\"\n d=\"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z\" />\n </g>\n</svg>", yW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>Connection</title>\n <g id=\"Connection\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"512\" cy=\"512\" r=\"512\"></circle>\n <path fill=\"#FFFFFF\" transform=\"scale(0.75, 0.75) translate(175, 175)\"\n d=\"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z\" />\n <path fill=\"#FFFFFF\" transform=\"scale(0.75, 0.75) translate(175, 175)\"\n d=\"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z\" />\n </g>\n</svg>", bW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>dock</title>\n <g id=\"dock\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-8-Copy-2\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-5\" transform=\"translate(2.972940, 3.512563)\" stroke=\"#FFFFFF\" stroke-linecap=\"square\" stroke-width=\"2\">\n <line x1=\"10.7289628\" y1=\"7.03553391\" x2=\"14.9716035\" y2=\"2.79289322\" id=\"Line\"></line>\n <g id=\"Group\" transform=\"translate(14.264497, 3.500000) rotate(-315.000000) translate(-14.264497, -3.500000) translate(11.264497, 2.000000)\">\n <line x1=\"2.27373675e-13\" y1=\"2.82842712\" x2=\"2.82842712\" y2=\"0\" id=\"Line\"></line>\n <line x1=\"3\" y1=\"0\" x2=\"5.82842712\" y2=\"2.82842712\" id=\"Line\"></line>\n </g>\n <line x1=\"7.53553391\" y1=\"10.1584369\" x2=\"3.29289322\" y2=\"14.4010776\" id=\"Line\"></line>\n <g id=\"Group\" transform=\"translate(4.000000, 13.693971) rotate(-135.000000) translate(-4.000000, -13.693971) translate(1.000000, 12.193971)\">\n <line x1=\"2.27373675e-13\" y1=\"2.82842712\" x2=\"2.82842712\" y2=\"0\" id=\"Line\"></line>\n <line x1=\"3\" y1=\"0\" x2=\"5.82842712\" y2=\"2.82842712\" id=\"Line\"></line>\n </g>\n </g>\n </g>\n </g>\n</svg>", xW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>drawLine</title>\n <g id=\"drawLine\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <path fill=\"#FFFFFF\" transform=\"translate(2 2.0625)\" d=\"m13.5 3.5c-1.4 0-2.5 1.1-2.5 2.5 0 .3 0 .6.2.9l-3.8 3.8c-.3-.1-.6-.2-.9-.2-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5c0-.3 0-.6-.2-.9l3.8-3.8c.3.1.6.2.9.2 1.4 0 2.5-1.1 2.5-2.5s-1.1-2.5-2.5-2.5z\" />\n </g>\n</svg>", SW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>drawPoint</title>\n <g id=\"drawPoint\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <path fill=\"#FFFFFF\" transform=\"translate(1.875 2.5)\" d=\"m10 2c-3.3 0-6 2.7-6 6s6 9 6 9 6-5.7 6-9-2.7-6-6-6zm0 2c2.1 0 3.8 1.7 3.8 3.8 0 1.5-1.8 3.9-2.9 5.2h-1.7c-1.1-1.4-2.9-3.8-2.9-5.2-.1-2.1 1.6-3.8 3.7-3.8z\" />\n </g>\n</svg>", CW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>drawPolygon</title>\n <g id=\"drawPolygon\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <path fill=\"#FFFFFF\" transform=\"translate(1.875 1.625)\" d=\"m15 12.3v-4.6c.6-.3 1-1 1-1.7 0-1.1-.9-2-2-2-.7 0-1.4.4-1.7 1h-4.6c-.3-.6-1-1-1.7-1-1.1 0-2 .9-2 2 0 .7.4 1.4 1 1.7v4.6c-.6.3-1 1-1 1.7 0 1.1.9 2 2 2 .7 0 1.4-.4 1.7-1h4.6c.3.6 1 1 1.7 1 1.1 0 2-.9 2-2 0-.7-.4-1.4-1-1.7zm-8-.3v-4l1-1h4l1 1v4l-1 1h-4z\" />\n </g>\n</svg>", wW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>drawTrash</title>\n <g id=\"drawTrash\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <path fill=\"#FFFFFF\" transform=\"translate(2 1.5)\" d=\"M10,3.4 c-0.8,0-1.5,0.5-1.8,1.2H5l-1,1v1h12v-1l-1-1h-3.2C11.5,3.9,10.8,3.4,10,3.4z M5,8v7c0,1,1,2,2,2h6c1,0,2-1,2-2V8h-2v5.5h-1.5V8h-3 v5.5H7V8H5z\" />\n </g>\n</svg>", TW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>fitWindow</title>\n <g id=\"fitWindow\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-3\">\n <g id=\"Group-8-Copy\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group\" transform=\"translate(5.000000, 6.000000)\" stroke=\"#FFFFFF\" stroke-linecap=\"square\" stroke-width=\"1.5\">\n <polyline id=\"Line-5\" points=\"0 3.5 0 0 4.80123862 0\"></polyline>\n <polyline id=\"Line-5\" transform=\"translate(2.400619, 9.750000) scale(1, -1) translate(-2.400619, -9.750000) \" points=\"0 11.5 0 8 4.80123862 8\"></polyline>\n <polyline id=\"Line-5\" transform=\"translate(11.600619, 1.750000) scale(1, -1) rotate(-180.000000) translate(-11.600619, -1.750000) \" points=\"9.2 3.5 9.2 0 14.0012386 0\"></polyline>\n </g>\n </g>\n <g id=\"Group-12\" transform=\"translate(9.000000, 8.500000)\" stroke=\"#FFFFFF\" stroke-width=\"2\">\n <circle id=\"Oval\" cx=\"3.5\" cy=\"3.5\" r=\"3.5\"></circle>\n <line x1=\"8.75\" y1=\"8.75\" x2=\"6.25\" y2=\"6.25\" id=\"Line-8\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n </g>\n</svg>", EW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>fullScreen</title>\n <g id=\"fullScreen\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-8-Copy\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group\" transform=\"translate(5.000000, 6.000000)\" stroke=\"#FFFFFF\" stroke-linecap=\"square\" stroke-width=\"1.5\">\n <polyline id=\"Line-5\" points=\"7.68274333e-14 3.5 7.68274333e-14 0 4.80123862 0\"></polyline>\n <polyline id=\"Line-5\" transform=\"translate(11.600619, 9.750000) rotate(-180.000000) translate(-11.600619, -9.750000) \" points=\"9.2 11.5 9.2 8 14.0012386 8\"></polyline>\n <polyline id=\"Line-5\" transform=\"translate(2.400619, 9.750000) scale(1, -1) translate(-2.400619, -9.750000) \" points=\"7.68274333e-14 11.5 7.68274333e-14 8 4.80123862 8\"></polyline>\n <polyline id=\"Line-5\" transform=\"translate(11.600619, 1.750000) scale(1, -1) rotate(-180.000000) translate(-11.600619, -1.750000) \" points=\"9.2 3.5 9.2 0 14.0012386 0\"></polyline>\n </g>\n </g>\n </g>\n</svg>", DW = "<svg id=\"icons\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><title>DataPortal-Icons</title><circle cx=\"12\" cy=\"15.824\" r=\"0.753\"/><path d=\"M12,14.256a.75.75,0,0,1-.75-.75v-1c0-.529.419-.818.862-1.124.623-.43,1.138-.83,1.138-1.376A1.209,1.209,0,0,0,12,8.756a1.252,1.252,0,0,0-1.25,1.25.75.75,0,0,1-1.5,0A2.753,2.753,0,0,1,12,7.256a2.721,2.721,0,0,1,2.75,2.75,3.3,3.3,0,0,1-1.786,2.61c-.079.055-.152.1-.214.147v.743A.75.75,0,0,1,12,14.256Z\"/><path d=\"M12,5a7,7,0,1,1-7,7,7.008,7.008,0,0,1,7-7m0-2a9,9,0,1,0,9,9,9,9,0,0,0-9-9Z\"/></svg>", OW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>magnifyingGlass</title>\n <g id=\"magnifyingGlass\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-19-Copy\">\n <g id=\"Group-13-Copy\">\n <circle id=\"Oval-Copy-2\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-12\" transform=\"translate(5.000000, 4.000000)\" stroke=\"#FFFFFF\" stroke-width=\"2\">\n <circle id=\"Oval\" cx=\"5.5\" cy=\"5.5\" r=\"5.5\"></circle>\n <line x1=\"13.5833333\" y1=\"13.5833333\" x2=\"9.41666667\" y2=\"9.41666667\" id=\"Line-8\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n </g>\n </g>\n</svg>", kW = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.0\" x=\"0px\" y=\"0px\" viewBox=\"0 0 960 1200\" enable-background=\"new 0 0 960 960\" xml:space=\"preserve\"><g><path fill=\"#000000\" d=\"M670,499.992c0,5.5-4.5,10-10,10H300c-5.516,0-10-4.5-10-10v-40c0-5.5,4.484-10,10-10h360 c5.5,0,10,4.5,10,10V499.992z\"/><path fill=\"#000000\" d=\"M530,649.992c0,5.5-4.5,10-10,10h-80c-5.516,0-10-4.5-10-10v-40c0-5.5,4.484-10,10-10h80 c5.5,0,10,4.5,10,10V649.992z\"/><path fill=\"#000000\" d=\"M780,350.008c0,5.5-4.5,10-10,10H190c-5.516,0-10-4.5-10-10v-40c0-5.516,4.484-10,10-10h580 c5.5,0,10,4.484,10,10V350.008z\"/></g><text x=\"0\" y=\"975\" fill=\"#000000\" font-size=\"5px\" font-weight=\"bold\" font-family=\"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif\">Created by Wahyu Prihantoro</text><text x=\"0\" y=\"980\" fill=\"#000000\" font-size=\"5px\" font-weight=\"bold\" font-family=\"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif\">from the Noun Project</text></svg>", AW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>openMap</title>\n <g id=\"openMap\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-5-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"10\" width=\"10\" height=\"7\"></rect>\n <rect id=\"Rectangle-Copy\" stroke=\"#FFFFFF\" x=\"9\" y=\"6\" width=\"10\" height=\"7\"></rect>\n </g>\n</svg>", jW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>Artboard Copy 6</title>\n <g id=\"Artboard-Copy-6\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-5-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n </g>\n <line x1=\"9\" y1=\"8\" x2=\"9\" y2=\"16\" id=\"Line-6-Copy-2\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\"></line>\n <line x1=\"15\" y1=\"8\" x2=\"15\" y2=\"16\" id=\"Line-6-Copy-3\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\"></line>\n </g>\n</svg>", MW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>permalink</title>\n <g id=\"permalink\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <line x1=\"12.5\" y1=\"9\" x2=\"12.5\" y2=\"15\" id=\"Line-6-Copy-2\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\" transform=\"translate(12.500000, 12.000000) rotate(45.000000) translate(-12.500000, -12.000000) \"></line>\n <path d=\"M17,13 L17,16.5 C17,18.9852814 14.9852814,21 12.5,21 C10.0147186,21 8,18.9852814 8,16.5 L8,13 L10,13 L10,16.5 C10,17.8807119 11.1192881,19 12.5,19 C13.8254834,19 14.9100387,17.9684641 14.9946823,16.6643757 L15,16.5 L15,13 L17,13 Z M12.5,3 C14.9852814,3 17,5.01471863 17,7.5 L17,11 L15,11 L15,7.5 C15,6.11928813 13.8807119,5 12.5,5 C11.1745166,5 10.0899613,6.03153594 10.0053177,7.33562431 L10,7.5 L10,11 L8,11 L8,7.5 C8,5.01471863 10.0147186,3 12.5,3 Z\" id=\"Combined-Shape\" fill=\"#FFFFFF\" transform=\"translate(12.500000, 12.000000) rotate(45.000000) translate(-12.500000, -12.000000) \"></path>\n </g>\n</svg>", NW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>play</title>\n <g id=\"play\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-9\">\n <g id=\"Group-5-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n </g>\n <polygon id=\"Triangle\" fill=\"#FFFFFF\" class=\"st0\" transform=\"translate(13.000000, 11.500000) rotate(-270.000000) translate(-13.000000, -11.500000) \" points=\"13 8 19 15 7 15\"></polygon>\n </g>\n </g>\n</svg>", PW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>resetZoom</title>\n <g id=\"resetZoom\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-13-Copy-2\">\n <circle id=\"Oval-Copy-2\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-12\" transform=\"translate(5.000000, 4.000000)\" stroke=\"#FFFFFF\" stroke-width=\"2\">\n <circle id=\"Oval\" cx=\"5.5\" cy=\"5.5\" r=\"5.5\"></circle>\n <line x1=\"13.5833333\" y1=\"13.5833333\" x2=\"9.41666667\" y2=\"9.41666667\" id=\"Line-8\" stroke-linecap=\"square\"></line>\n </g>\n <g id=\"Group-4\" transform=\"translate(7.500000, 7.000000)\">\n <path d=\"M3,5 C3.83613696,5 4.57640148,4.58952131 5.03027306,3.95908443 C5.19488093,3.73044075 5.32181864,3.47286529 5.40199763,3.19544657 C5.46580562,2.97467142 5.5,2.74132897 5.5,2.5 C5.5,2.26693547 5.46810753,2.04131982 5.40844867,1.82727914 C5.31560782,1.49418996 5.15552386,1.18913241 4.9437468,0.927656488 C4.48541251,0.361762414 3.78495332,0 3,0 C1.61928813,0 0.5,1.11928813 0.5,2.5 C0.5,3.88071187 1.61928813,5 3,5 Z\" id=\"Oval\" stroke=\"#FFFFFF\"></path>\n <rect id=\"Rectangle\" fill=\"currentColor\" x=\"2.5\" y=\"2\" width=\"4\" height=\"1\"></rect>\n <line x1=\"5.5\" y1=\"1.5\" x2=\"5.5\" y2=\"0.5\" id=\"Line-7\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n <line x1=\"4.5\" y1=\"1.5\" x2=\"5.5\" y2=\"1.5\" id=\"Line-7\" stroke=\"#FFFFFF\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n </g>\n</svg>", FW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>singlepanel</title>\n <g id=\"singlepanel\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-10-Copy-5\">\n <g id=\"Group-15-Copy\" fill=\"currentColor\">\n <circle id=\"Oval-Copy\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n <rect id=\"Rectangle\" stroke=\"#FFFFFF\" x=\"5\" y=\"7\" width=\"14\" height=\"10\"></rect>\n </g>\n </g>\n</svg>", IW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>tooltips</title>\n <g id=\"tooltips\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-15\">\n <circle id=\"Oval-Copy\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <path d=\"M6,5 L18,5 C19.1045695,5 20,5.8954305 20,7 L20,15.5714286 C20,16.6759981 19.1045695,17.5714286 18,17.5714286 L15.4003471,17.5714286 L15.4003471,17.5714286 L12.8157442,20.271248 C12.4338253,20.6701921 11.8008107,20.6839938 11.4018666,20.3020749 C11.3997428,20.3000417 11.3976279,20.2979991 11.3955221,20.2959473 L8.59934577,17.5714286 L8.59934577,17.5714286 L6,17.5714286 C4.8954305,17.5714286 4,16.6759981 4,15.5714286 L4,7 C4,5.8954305 4.8954305,5 6,5 Z\" id=\"Rectangle\" fill=\"#FFFFFF\"></path>\n <text id=\"?\" font-family=\"Asap-Bold, Asap\" font-size=\"16\" font-weight=\"bold\" fill=\"currentColor\">\n <tspan x=\"8.5\" y=\"18\">?</tspan>\n </text>\n </g>\n </g>\n</svg>", LW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>undock</title>\n <g id=\"undock\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-9\">\n <circle id=\"Oval\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-5\" transform=\"translate(5.500000, 6.000000)\" stroke=\"#FFFFFF\" stroke-linecap=\"square\" stroke-width=\"2\">\n <line x1=\"0.728962778\" y1=\"12.0355339\" x2=\"4.97160346\" y2=\"7.79289322\" id=\"Line\"></line>\n <g id=\"Group\" transform=\"translate(4.264497, 8.500000) rotate(-315.000000) translate(-4.264497, -8.500000) translate(1.264497, 7.000000)\">\n <line x1=\"2.27373675e-13\" y1=\"2.82842712\" x2=\"2.82842712\" y2=\"0\" id=\"Line\"></line>\n <line x1=\"3\" y1=\"0\" x2=\"5.82842712\" y2=\"2.82842712\" id=\"Line\"></line>\n </g>\n <line x1=\"12.5355339\" y1=\"0.158436893\" x2=\"8.29289322\" y2=\"4.40107758\" id=\"Line\"></line>\n <g id=\"Group\" transform=\"translate(9.000000, 3.693971) rotate(-135.000000) translate(-9.000000, -3.693971) translate(6.000000, 2.193971)\">\n <line x1=\"2.27373675e-13\" y1=\"2.82842712\" x2=\"2.82842712\" y2=\"0\" id=\"Line\"></line>\n <line x1=\"3\" y1=\"0\" x2=\"5.82842712\" y2=\"2.82842712\" id=\"Line\"></line>\n </g>\n </g>\n </g>\n </g>\n</svg>", RW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>zoomIn</title>\n <g id=\"zoomIn\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-19-Copy\">\n <g id=\"Group-13-Copy\">\n <circle id=\"Oval-Copy-2\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-12\" transform=\"translate(5.000000, 4.000000)\" stroke=\"#FFFFFF\" stroke-width=\"2\">\n <circle id=\"Oval\" cx=\"5.5\" cy=\"5.5\" r=\"5.5\"></circle>\n <line x1=\"13.5833333\" y1=\"13.5833333\" x2=\"9.41666667\" y2=\"9.41666667\" id=\"Line-8\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n <line x1=\"9\" y1=\"9.5\" x2=\"12\" y2=\"9.5\" id=\"Line-6-Copy-2\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\"></line>\n <line x1=\"9\" y1=\"9.5\" x2=\"12\" y2=\"9.5\" id=\"Line-6-Copy-2\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\" transform=\"translate(10.500000, 9.500000) rotate(90.000000) translate(-10.500000, -9.500000) \"></line>\n </g>\n </g>\n</svg>", zW = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>zoomOut</title>\n <g id=\"zoomOut\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"Group-19-Copy-3\">\n <g id=\"Group-13-Copy\">\n <circle id=\"Oval-Copy-2\" fill=\"currentColor\" cx=\"12\" cy=\"12\" r=\"12\"></circle>\n <g id=\"Group-12\" transform=\"translate(5.000000, 4.000000)\" stroke=\"#FFFFFF\" stroke-width=\"2\">\n <circle id=\"Oval\" cx=\"5.5\" cy=\"5.5\" r=\"5.5\"></circle>\n <line x1=\"13.5833333\" y1=\"13.5833333\" x2=\"9.41666667\" y2=\"9.41666667\" id=\"Line-8\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n <line x1=\"9\" y1=\"9.5\" x2=\"12\" y2=\"9.5\" id=\"Line-6-Copy-2\" stroke=\"#FFFFFF\" stroke-width=\"2\" stroke-linecap=\"square\"></line>\n </g>\n </g>\n</svg>", BW = (e, t, n, r) => {
|
|
23142
23168
|
let i = [
|
|
23143
23169
|
"title",
|
|
23144
23170
|
"desc",
|
|
@@ -23157,103 +23183,103 @@ var eW = /*#__PURE__*/ gS(VU, [["render", $U], ["__scopeId", "data-v-e1b89e20"]]
|
|
|
23157
23183
|
});
|
|
23158
23184
|
let c = s.innerHTML;
|
|
23159
23185
|
return s = null, c;
|
|
23160
|
-
},
|
|
23186
|
+
}, VW = (e) => [
|
|
23161
23187
|
[/<\?xml[\s\S]*?>/gi, ""],
|
|
23162
23188
|
[/<!doctype[\s\S]*?>/gi, ""],
|
|
23163
23189
|
[/<!--.*-->/gi, ""],
|
|
23164
23190
|
[/\<([A-Za-z]+)([^\>]*)\/\>/g, "<$1$2></$1>"],
|
|
23165
23191
|
[/\s+/g, " "],
|
|
23166
23192
|
[/\> \</g, "><"]
|
|
23167
|
-
].reduce((e, t) => "".replace.apply(e, t), e).trim(),
|
|
23168
|
-
"/assets/icons/2horpanel.svg":
|
|
23169
|
-
"/assets/icons/2vertpanel.svg":
|
|
23170
|
-
"/assets/icons/3panel.svg":
|
|
23171
|
-
"/assets/icons/4panel.svg":
|
|
23172
|
-
"/assets/icons/5panel.svg":
|
|
23173
|
-
"/assets/icons/6panel.svg":
|
|
23174
|
-
"/assets/icons/6panelVertical.svg":
|
|
23175
|
-
"/assets/icons/changeBckgd.svg":
|
|
23176
|
-
"/assets/icons/close-no-bk.svg":
|
|
23177
|
-
"/assets/icons/close.svg":
|
|
23178
|
-
"/assets/icons/closeFullScreen.svg":
|
|
23179
|
-
"/assets/icons/comment.svg":
|
|
23180
|
-
"/assets/icons/connection.svg":
|
|
23181
|
-
"/assets/icons/dock.svg":
|
|
23182
|
-
"/assets/icons/drawLine.svg":
|
|
23183
|
-
"/assets/icons/drawPoint.svg":
|
|
23184
|
-
"/assets/icons/drawPolygon.svg":
|
|
23185
|
-
"/assets/icons/drawTrash.svg":
|
|
23186
|
-
"/assets/icons/fitWindow.svg":
|
|
23187
|
-
"/assets/icons/fullScreen.svg":
|
|
23188
|
-
"/assets/icons/help.svg":
|
|
23189
|
-
"/assets/icons/magnifyingGlass.svg":
|
|
23190
|
-
"/assets/icons/noun-filter.svg":
|
|
23191
|
-
"/assets/icons/openMap.svg":
|
|
23192
|
-
"/assets/icons/pause.svg":
|
|
23193
|
-
"/assets/icons/permalink.svg":
|
|
23194
|
-
"/assets/icons/play.svg":
|
|
23195
|
-
"/assets/icons/resetZoom.svg":
|
|
23196
|
-
"/assets/icons/singlepanel.svg":
|
|
23197
|
-
"/assets/icons/tooltips.svg":
|
|
23198
|
-
"/assets/icons/undock.svg":
|
|
23199
|
-
"/assets/icons/zoomIn.svg":
|
|
23200
|
-
"/assets/icons/zoomOut.svg":
|
|
23193
|
+
].reduce((e, t) => "".replace.apply(e, t), e).trim(), HW = !0, UW = !0, WW = ["fill"], GW = /* #__PURE__ */ Object.assign({
|
|
23194
|
+
"/assets/icons/2horpanel.svg": sW,
|
|
23195
|
+
"/assets/icons/2vertpanel.svg": cW,
|
|
23196
|
+
"/assets/icons/3panel.svg": lW,
|
|
23197
|
+
"/assets/icons/4panel.svg": uW,
|
|
23198
|
+
"/assets/icons/5panel.svg": dW,
|
|
23199
|
+
"/assets/icons/6panel.svg": fW,
|
|
23200
|
+
"/assets/icons/6panelVertical.svg": pW,
|
|
23201
|
+
"/assets/icons/changeBckgd.svg": mW,
|
|
23202
|
+
"/assets/icons/close-no-bk.svg": hW,
|
|
23203
|
+
"/assets/icons/close.svg": gW,
|
|
23204
|
+
"/assets/icons/closeFullScreen.svg": _W,
|
|
23205
|
+
"/assets/icons/comment.svg": vW,
|
|
23206
|
+
"/assets/icons/connection.svg": yW,
|
|
23207
|
+
"/assets/icons/dock.svg": bW,
|
|
23208
|
+
"/assets/icons/drawLine.svg": xW,
|
|
23209
|
+
"/assets/icons/drawPoint.svg": SW,
|
|
23210
|
+
"/assets/icons/drawPolygon.svg": CW,
|
|
23211
|
+
"/assets/icons/drawTrash.svg": wW,
|
|
23212
|
+
"/assets/icons/fitWindow.svg": TW,
|
|
23213
|
+
"/assets/icons/fullScreen.svg": EW,
|
|
23214
|
+
"/assets/icons/help.svg": DW,
|
|
23215
|
+
"/assets/icons/magnifyingGlass.svg": OW,
|
|
23216
|
+
"/assets/icons/noun-filter.svg": kW,
|
|
23217
|
+
"/assets/icons/openMap.svg": AW,
|
|
23218
|
+
"/assets/icons/pause.svg": jW,
|
|
23219
|
+
"/assets/icons/permalink.svg": MW,
|
|
23220
|
+
"/assets/icons/play.svg": NW,
|
|
23221
|
+
"/assets/icons/resetZoom.svg": PW,
|
|
23222
|
+
"/assets/icons/singlepanel.svg": FW,
|
|
23223
|
+
"/assets/icons/tooltips.svg": IW,
|
|
23224
|
+
"/assets/icons/undock.svg": LW,
|
|
23225
|
+
"/assets/icons/zoomIn.svg": RW,
|
|
23226
|
+
"/assets/icons/zoomOut.svg": zW
|
|
23201
23227
|
});
|
|
23202
|
-
Object.keys(
|
|
23203
|
-
let t =
|
|
23204
|
-
return
|
|
23228
|
+
Object.keys(GW).map((e) => {
|
|
23229
|
+
let t = BW(GW[e], HW, UW, WW), n = e.replace(/^.+\/(\w+).svg$/, "$1");
|
|
23230
|
+
return VW(t).replace("<svg", `<symbol id="${n}"`).replace("svg>", "symbol>");
|
|
23205
23231
|
}).join("\n");
|
|
23206
|
-
var
|
|
23207
|
-
"/assets/icons/2horpanel.svg":
|
|
23208
|
-
"/assets/icons/2vertpanel.svg":
|
|
23209
|
-
"/assets/icons/3panel.svg":
|
|
23210
|
-
"/assets/icons/4panel.svg":
|
|
23211
|
-
"/assets/icons/5panel.svg":
|
|
23212
|
-
"/assets/icons/6panel.svg":
|
|
23213
|
-
"/assets/icons/6panelVertical.svg":
|
|
23214
|
-
"/assets/icons/changeBckgd.svg":
|
|
23215
|
-
"/assets/icons/close-no-bk.svg":
|
|
23216
|
-
"/assets/icons/close.svg":
|
|
23217
|
-
"/assets/icons/closeFullScreen.svg":
|
|
23218
|
-
"/assets/icons/comment.svg":
|
|
23219
|
-
"/assets/icons/connection.svg":
|
|
23220
|
-
"/assets/icons/dock.svg":
|
|
23221
|
-
"/assets/icons/drawLine.svg":
|
|
23222
|
-
"/assets/icons/drawPoint.svg":
|
|
23223
|
-
"/assets/icons/drawPolygon.svg":
|
|
23224
|
-
"/assets/icons/drawTrash.svg":
|
|
23225
|
-
"/assets/icons/fitWindow.svg":
|
|
23226
|
-
"/assets/icons/fullScreen.svg":
|
|
23227
|
-
"/assets/icons/help.svg":
|
|
23228
|
-
"/assets/icons/magnifyingGlass.svg":
|
|
23229
|
-
"/assets/icons/noun-filter.svg":
|
|
23230
|
-
"/assets/icons/openMap.svg":
|
|
23231
|
-
"/assets/icons/pause.svg":
|
|
23232
|
-
"/assets/icons/permalink.svg":
|
|
23233
|
-
"/assets/icons/play.svg":
|
|
23234
|
-
"/assets/icons/resetZoom.svg":
|
|
23235
|
-
"/assets/icons/singlepanel.svg":
|
|
23236
|
-
"/assets/icons/tooltips.svg":
|
|
23237
|
-
"/assets/icons/undock.svg":
|
|
23238
|
-
"/assets/icons/zoomIn.svg":
|
|
23239
|
-
"/assets/icons/zoomOut.svg":
|
|
23240
|
-
}),
|
|
23232
|
+
var KW = !0, qW = !0, JW = /* #__PURE__ */ Object.assign({
|
|
23233
|
+
"/assets/icons/2horpanel.svg": sW,
|
|
23234
|
+
"/assets/icons/2vertpanel.svg": cW,
|
|
23235
|
+
"/assets/icons/3panel.svg": lW,
|
|
23236
|
+
"/assets/icons/4panel.svg": uW,
|
|
23237
|
+
"/assets/icons/5panel.svg": dW,
|
|
23238
|
+
"/assets/icons/6panel.svg": fW,
|
|
23239
|
+
"/assets/icons/6panelVertical.svg": pW,
|
|
23240
|
+
"/assets/icons/changeBckgd.svg": mW,
|
|
23241
|
+
"/assets/icons/close-no-bk.svg": hW,
|
|
23242
|
+
"/assets/icons/close.svg": gW,
|
|
23243
|
+
"/assets/icons/closeFullScreen.svg": _W,
|
|
23244
|
+
"/assets/icons/comment.svg": vW,
|
|
23245
|
+
"/assets/icons/connection.svg": yW,
|
|
23246
|
+
"/assets/icons/dock.svg": bW,
|
|
23247
|
+
"/assets/icons/drawLine.svg": xW,
|
|
23248
|
+
"/assets/icons/drawPoint.svg": SW,
|
|
23249
|
+
"/assets/icons/drawPolygon.svg": CW,
|
|
23250
|
+
"/assets/icons/drawTrash.svg": wW,
|
|
23251
|
+
"/assets/icons/fitWindow.svg": TW,
|
|
23252
|
+
"/assets/icons/fullScreen.svg": EW,
|
|
23253
|
+
"/assets/icons/help.svg": DW,
|
|
23254
|
+
"/assets/icons/magnifyingGlass.svg": OW,
|
|
23255
|
+
"/assets/icons/noun-filter.svg": kW,
|
|
23256
|
+
"/assets/icons/openMap.svg": AW,
|
|
23257
|
+
"/assets/icons/pause.svg": jW,
|
|
23258
|
+
"/assets/icons/permalink.svg": MW,
|
|
23259
|
+
"/assets/icons/play.svg": NW,
|
|
23260
|
+
"/assets/icons/resetZoom.svg": PW,
|
|
23261
|
+
"/assets/icons/singlepanel.svg": FW,
|
|
23262
|
+
"/assets/icons/tooltips.svg": IW,
|
|
23263
|
+
"/assets/icons/undock.svg": LW,
|
|
23264
|
+
"/assets/icons/zoomIn.svg": RW,
|
|
23265
|
+
"/assets/icons/zoomOut.svg": zW
|
|
23266
|
+
}), YW = {
|
|
23241
23267
|
name: "MapSvgSpriteColor",
|
|
23242
|
-
svgContext:
|
|
23243
|
-
svgSprite: Object.keys(
|
|
23244
|
-
let t =
|
|
23245
|
-
return
|
|
23268
|
+
svgContext: JW,
|
|
23269
|
+
svgSprite: Object.keys(JW).map((e) => {
|
|
23270
|
+
let t = BW(JW[e], KW, qW), n = e.replace(/^.+\/(\w+).svg$/, "$1");
|
|
23271
|
+
return VW(t).replace("<svg", `<symbol id="${n}"`).replace("svg>", "symbol>");
|
|
23246
23272
|
}).join("\n")
|
|
23247
|
-
},
|
|
23248
|
-
function
|
|
23273
|
+
}, XW = ["innerHTML"];
|
|
23274
|
+
function ZW(e, t, n, r, i, a) {
|
|
23249
23275
|
return L(), u("svg", {
|
|
23250
23276
|
width: "0",
|
|
23251
23277
|
height: "0",
|
|
23252
23278
|
style: { display: "none" },
|
|
23253
23279
|
innerHTML: e.$options.svgSprite
|
|
23254
|
-
}, null, 8,
|
|
23280
|
+
}, null, 8, XW);
|
|
23255
23281
|
}
|
|
23256
|
-
var
|
|
23282
|
+
var QW = /*#__PURE__*/ iW(YW, [["render", ZW]]), $W = /* @__PURE__ */ ft((/* @__PURE__ */ lt(((e, t) => {
|
|
23257
23283
|
(function(n, r) {
|
|
23258
23284
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n ||= self).algoliasearch = r();
|
|
23259
23285
|
})(e, (function() {
|
|
@@ -25057,7 +25083,7 @@ var YW = /*#__PURE__*/ tW(KW, [["render", JW]]), XW = /* @__PURE__ */ ft((/* @__
|
|
|
25057
25083
|
}
|
|
25058
25084
|
return Ft.version = "4.26.0", Ft;
|
|
25059
25085
|
}));
|
|
25060
|
-
})))(), 1),
|
|
25086
|
+
})))(), 1), eG = (e, t) => {
|
|
25061
25087
|
let n = {};
|
|
25062
25088
|
return e.forEach((e) => {
|
|
25063
25089
|
let r = e.split(".");
|
|
@@ -25065,9 +25091,9 @@ var YW = /*#__PURE__*/ tW(KW, [["render", JW]]), XW = /* @__PURE__ */ ft((/* @__
|
|
|
25065
25091
|
let i = e.substring(0, e.lastIndexOf(".")), a = r[r.length - 1];
|
|
25066
25092
|
Object.keys(n).includes(i) ? n[i].push(a) : n[i] = [a];
|
|
25067
25093
|
}), n;
|
|
25068
|
-
},
|
|
25094
|
+
}, tG = class {
|
|
25069
25095
|
constructor(e, t, n = "https://api.pennsieve.io") {
|
|
25070
|
-
this.client = (0,
|
|
25096
|
+
this.client = (0, $W.default)(e, t), this.PENNSIEVE_API_LOCATION = n;
|
|
25071
25097
|
}
|
|
25072
25098
|
initIndex(e) {
|
|
25073
25099
|
this.index = this.client.initIndex(e);
|
|
@@ -25084,7 +25110,7 @@ var YW = /*#__PURE__*/ tW(KW, [["render", JW]]), XW = /* @__PURE__ */ ft((/* @__
|
|
|
25084
25110
|
var o = [];
|
|
25085
25111
|
let s = n.facets;
|
|
25086
25112
|
if (s === void 0) return;
|
|
25087
|
-
let c = s[t] == null ? {} : s[t], l = a && s[a.facetSubpropPath] ? Object.keys(s[a.facetSubpropPath]) : [], u = a && a.facetSubsubpropPath && s[a.facetSubsubpropPath] ? Object.keys(s[a.facetSubsubpropPath]) : [], d =
|
|
25113
|
+
let c = s[t] == null ? {} : s[t], l = a && s[a.facetSubpropPath] ? Object.keys(s[a.facetSubpropPath]) : [], u = a && a.facetSubsubpropPath && s[a.facetSubsubpropPath] ? Object.keys(s[a.facetSubsubpropPath]) : [], d = eG(l, 2), f = eG(u, 3);
|
|
25088
25114
|
Object.keys(c).map((e) => {
|
|
25089
25115
|
let n = [];
|
|
25090
25116
|
Object.keys(d).includes(e) && d[e].forEach((t) => {
|
|
@@ -25267,7 +25293,7 @@ var YW = /*#__PURE__*/ tW(KW, [["render", JW]]), XW = /* @__PURE__ */ ft((/* @__
|
|
|
25267
25293
|
});
|
|
25268
25294
|
}), t;
|
|
25269
25295
|
}
|
|
25270
|
-
},
|
|
25296
|
+
}, nG = [
|
|
25271
25297
|
{
|
|
25272
25298
|
label: "Data Type",
|
|
25273
25299
|
id: "item.types",
|
|
@@ -25313,17 +25339,17 @@ var YW = /*#__PURE__*/ tW(KW, [["render", JW]]), XW = /* @__PURE__ */ ft((/* @__
|
|
|
25313
25339
|
facetSubpropPath: "supportingAwards.consortium.subcategory.name"
|
|
25314
25340
|
}
|
|
25315
25341
|
];
|
|
25316
|
-
function
|
|
25342
|
+
function rG(e = void 0) {
|
|
25317
25343
|
if (e === void 0) return "NOT item.published.status:embargo";
|
|
25318
25344
|
e.forEach((e) => {
|
|
25319
25345
|
e.label = e.facet3 ? e.facet3 : e.facet2 ? e.facet2 : e.facet;
|
|
25320
25346
|
});
|
|
25321
|
-
let t =
|
|
25347
|
+
let t = iG(e);
|
|
25322
25348
|
t.forEach((e) => {
|
|
25323
25349
|
e.facet3 && e.facet3 === "Non specific" && (e.label = e.facet2);
|
|
25324
25350
|
});
|
|
25325
25351
|
let n = "NOT item.published.status:embargo";
|
|
25326
|
-
return n = `(${n}) AND `,
|
|
25352
|
+
return n = `(${n}) AND `, nG.map((e) => [e.facetPropPath, e.facetFilterPath]).map(([e, r]) => {
|
|
25327
25353
|
let i = t.filter((t) => t.facetPropPath == e), a = "", o = "";
|
|
25328
25354
|
i.map((t) => {
|
|
25329
25355
|
let n = t.facetSubPropPath ? t.facetSubPropPath : r || e;
|
|
@@ -25331,21 +25357,19 @@ function eG(e = void 0) {
|
|
|
25331
25357
|
}), (a != "" || o != "") && (a = `(${a.substring(0, a.lastIndexOf(" OR "))})`, n += `${a + o} AND `, n = n.split("()AND ").join(""));
|
|
25332
25358
|
}), n.substring(0, n.lastIndexOf(" AND "));
|
|
25333
25359
|
}
|
|
25334
|
-
function
|
|
25360
|
+
function iG(e) {
|
|
25335
25361
|
return e.filter((e) => e.label !== "Show all");
|
|
25336
25362
|
}
|
|
25337
25363
|
//#endregion
|
|
25338
25364
|
//#region src/components/SearchFilters.vue
|
|
25339
|
-
var
|
|
25340
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
25341
|
-
}, rG = function(e) {
|
|
25365
|
+
var aG = function(e) {
|
|
25342
25366
|
let t = e.toLowerCase();
|
|
25343
|
-
return Tz[t] ?
|
|
25344
|
-
},
|
|
25367
|
+
return Tz[t] ? BU(Tz[t]) : e === e.toUpperCase() ? e : BU(t);
|
|
25368
|
+
}, oG = {
|
|
25345
25369
|
name: "SearchFilters",
|
|
25346
25370
|
components: {
|
|
25347
|
-
MapSvgIcon:
|
|
25348
|
-
MapSvgSpriteColor:
|
|
25371
|
+
MapSvgIcon: oW,
|
|
25372
|
+
MapSvgSpriteColor: QW,
|
|
25349
25373
|
Option: x_,
|
|
25350
25374
|
Select: b_,
|
|
25351
25375
|
Popover: Fx,
|
|
@@ -25435,14 +25459,15 @@ var nG = function(e) {
|
|
|
25435
25459
|
return t;
|
|
25436
25460
|
},
|
|
25437
25461
|
createChildrenCascaderValue: function(e, t, n) {
|
|
25438
|
-
|
|
25439
|
-
|
|
25440
|
-
|
|
25441
|
-
|
|
25442
|
-
|
|
25462
|
+
let r = t.key;
|
|
25463
|
+
if (e?.length) for (let i = 0; i < e.length; i++) {
|
|
25464
|
+
let a = e[i];
|
|
25465
|
+
if (e[i].facetPropPath !== "supportingAwards.consortium.name" && (r === "sourceNomenclatureLabel" ? e[i].label = a.label : e[i].label = aG(a.label)), a.key && r.includes("flatmap.connectivity.source.")) {
|
|
25466
|
+
let n = a.key.replace(`${r}.`, "");
|
|
25467
|
+
e[i].value = this.createCascaderItemValue([t.label, n]);
|
|
25443
25468
|
} else {
|
|
25444
|
-
let
|
|
25445
|
-
|
|
25469
|
+
let r = n.slice();
|
|
25470
|
+
r.push(a.label), e[i].value = this.createCascaderItemValue(r), this.createChildrenCascaderValue(a.children, t, r);
|
|
25446
25471
|
}
|
|
25447
25472
|
}
|
|
25448
25473
|
},
|
|
@@ -25458,7 +25483,7 @@ var nG = function(e) {
|
|
|
25458
25483
|
processOptions: function() {
|
|
25459
25484
|
let e = JSON.parse(JSON.stringify(this.options));
|
|
25460
25485
|
e.forEach((t, n) => {
|
|
25461
|
-
e[n].total = this.countTotalFacet(t), e[n].label =
|
|
25486
|
+
e[n].total = this.countTotalFacet(t), e[n].label = aG(t.label), e[n].value = this.createCascaderItemValue([t.key]), e[n].children.find((e) => e.label === "Show all") || e[n].children.unshift({
|
|
25462
25487
|
value: this.createCascaderItemValue(["Show all"]),
|
|
25463
25488
|
label: "Show all"
|
|
25464
25489
|
}), t.key.includes("flatmap.connectivity.source") && e[n].children.unshift({
|
|
@@ -25472,7 +25497,7 @@ var nG = function(e) {
|
|
|
25472
25497
|
return this.entry.options ? new Promise((e) => {
|
|
25473
25498
|
this.facets = this.entry.options, this.options = this.entry.options, this.processOptions(), e();
|
|
25474
25499
|
}) : new Promise((e) => {
|
|
25475
|
-
this.algoliaClient.getAlgoliaFacets(
|
|
25500
|
+
this.algoliaClient.getAlgoliaFacets(nG).then((e) => {
|
|
25476
25501
|
this.facets = e, wz.emit("available-facets", e), this.options = e, this.processOptions();
|
|
25477
25502
|
}).finally(() => {
|
|
25478
25503
|
e();
|
|
@@ -25661,13 +25686,13 @@ var nG = function(e) {
|
|
|
25661
25686
|
setCascader: function(e) {
|
|
25662
25687
|
if (this.cascaderIsReady && e && e.length != 0) {
|
|
25663
25688
|
let t = (e) => {
|
|
25664
|
-
let t = [e.facetPropPath, this.createCascaderItemValue([
|
|
25689
|
+
let t = [e.facetPropPath, this.createCascaderItemValue([BU(e.term), e.facet])];
|
|
25665
25690
|
return e.facet2 && (t.push(this.createCascaderItemValue([
|
|
25666
|
-
|
|
25691
|
+
BU(e.term),
|
|
25667
25692
|
e.facet,
|
|
25668
25693
|
e.facet2
|
|
25669
25694
|
])), e.facet3 && t.push(this.createCascaderItemValue([
|
|
25670
|
-
|
|
25695
|
+
BU(e.term),
|
|
25671
25696
|
e.facet,
|
|
25672
25697
|
e.facet2,
|
|
25673
25698
|
e.facet3
|
|
@@ -25791,25 +25816,25 @@ var nG = function(e) {
|
|
|
25791
25816
|
}
|
|
25792
25817
|
},
|
|
25793
25818
|
mounted: function() {
|
|
25794
|
-
this.entry.options || (this.algoliaClient = w(new
|
|
25819
|
+
this.entry.options || (this.algoliaClient = w(new tG(this.envVars.ALGOLIA_ID, this.envVars.ALGOLIA_KEY, this.envVars.PENNSIEVE_API_LOCATION)), this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX), this.algoliaClient.setLocalStorageForTermMapping()), this.populateCascader().then(() => {
|
|
25795
25820
|
this.cascaderIsReady = !0, this.checkShowAllBoxes(), this.setCascader(this.entry.filterFacets), this.$emit("cascaderReady");
|
|
25796
25821
|
});
|
|
25797
25822
|
}
|
|
25798
|
-
},
|
|
25823
|
+
}, sG = { class: "filters" }, cG = { key: 0 }, lG = {
|
|
25799
25824
|
key: 0,
|
|
25800
25825
|
class: "cascader-tag"
|
|
25801
|
-
},
|
|
25826
|
+
}, uG = { class: "el-tags-container" }, dG = { class: "el-tags-container" }, fG = { class: "search-filters transition-box" }, pG = { key: 0 }, mG = { class: "sidebar-cascader-search el-input" }, hG = { class: "el-input__wrapper" }, gG = ["value", "onInput"], _G = { key: 1 }, vG = {
|
|
25802
25827
|
key: 0,
|
|
25803
25828
|
class: "sr-only"
|
|
25804
|
-
},
|
|
25829
|
+
}, yG = {
|
|
25805
25830
|
key: 0,
|
|
25806
25831
|
class: "filter-default-value"
|
|
25807
|
-
},
|
|
25808
|
-
function
|
|
25832
|
+
}, bG = { class: "dataset-shown" }, xG = { class: "dataset-results-feedback" };
|
|
25833
|
+
function SG(e, n, r, a, o, s) {
|
|
25809
25834
|
let f = V("MapSvgSpriteColor"), h = Ug, g = Fx, _ = Cy, v = Sy, y = vy, b = V("MapSvgIcon"), x = x_, S = b_, C = Kx;
|
|
25810
|
-
return L(), u("div",
|
|
25835
|
+
return L(), u("div", sG, [
|
|
25811
25836
|
m(f),
|
|
25812
|
-
s.showFilters && e.options.length > 0 ? (L(), u("div",
|
|
25837
|
+
s.showFilters && e.options.length > 0 ? (L(), u("div", cG, [e.presentTags.length > 0 ? (L(), u("div", lG, [m(h, {
|
|
25813
25838
|
class: "ml-2",
|
|
25814
25839
|
type: "info",
|
|
25815
25840
|
closable: "",
|
|
@@ -25824,7 +25849,7 @@ function bG(e, n, r, a, o, s) {
|
|
|
25824
25849
|
trigger: "hover",
|
|
25825
25850
|
"popper-class": "cascade-tags-popover"
|
|
25826
25851
|
}, {
|
|
25827
|
-
default: G(() => [d("div",
|
|
25852
|
+
default: G(() => [d("div", uG, [(L(!0), u(t, null, ae(e.presentTags.slice(1), (e, t) => (L(), c(h, {
|
|
25828
25853
|
key: t,
|
|
25829
25854
|
class: D(["ml-2", s.modifyCascaderTagStyle(e)]),
|
|
25830
25855
|
type: "info",
|
|
@@ -25834,7 +25859,7 @@ function bG(e, n, r, a, o, s) {
|
|
|
25834
25859
|
default: G(() => [p(H(e), 1)]),
|
|
25835
25860
|
_: 2
|
|
25836
25861
|
}, 1032, ["class", "onClose"]))), 128))])]),
|
|
25837
|
-
reference: G(() => [d("div",
|
|
25862
|
+
reference: G(() => [d("div", dG, [e.presentTags.length > 1 ? (L(), c(h, {
|
|
25838
25863
|
key: 0,
|
|
25839
25864
|
class: "ml-2",
|
|
25840
25865
|
type: "info"
|
|
@@ -25844,7 +25869,7 @@ function bG(e, n, r, a, o, s) {
|
|
|
25844
25869
|
})) : l("", !0)])]),
|
|
25845
25870
|
_: 1
|
|
25846
25871
|
})) : l("", !0)])) : l("", !0), m(i, { name: "el-zoom-in-top" }, {
|
|
25847
|
-
default: G(() => [we((L(), u("span",
|
|
25872
|
+
default: G(() => [we((L(), u("span", fG, [
|
|
25848
25873
|
m(y, {
|
|
25849
25874
|
class: "cascader",
|
|
25850
25875
|
ref: "cascader",
|
|
@@ -25861,7 +25886,7 @@ function bG(e, n, r, a, o, s) {
|
|
|
25861
25886
|
"show-all-levels": !0,
|
|
25862
25887
|
"popper-class": "sidebar-cascader-popper"
|
|
25863
25888
|
}, {
|
|
25864
|
-
default: G(({ node: t, data: r }) => [s.isFlatmapConnectionsFilterNode(t) ? (L(), u("div",
|
|
25889
|
+
default: G(({ node: t, data: r }) => [s.isFlatmapConnectionsFilterNode(t) ? (L(), u("div", pG, [d("div", mG, [d("div", hG, [d("input", {
|
|
25865
25890
|
class: "el-input__inner",
|
|
25866
25891
|
ref: "searchInput_" + t.pathValues[0],
|
|
25867
25892
|
value: e.searchInputs[t.pathValues[0]],
|
|
@@ -25871,7 +25896,7 @@ function bG(e, n, r, a, o, s) {
|
|
|
25871
25896
|
style: { width: "100%" },
|
|
25872
25897
|
autocomplete: "off",
|
|
25873
25898
|
placeholder: "Search"
|
|
25874
|
-
}, null, 40,
|
|
25899
|
+
}, null, 40, gG)])])])) : (L(), u("div", _G, [m(v, null, {
|
|
25875
25900
|
default: G(() => [s.hasLineStyles(r) ? (L(), c(_, {
|
|
25876
25901
|
key: 0,
|
|
25877
25902
|
span: 4
|
|
@@ -25882,7 +25907,7 @@ function bG(e, n, r, a, o, s) {
|
|
|
25882
25907
|
}, null, 4)]),
|
|
25883
25908
|
_: 2
|
|
25884
25909
|
}, 1024)) : l("", !0), m(_, { span: 20 }, {
|
|
25885
|
-
default: G(() => [s.isFlatmapConnectionsNode(t) ? (L(), u("span",
|
|
25910
|
+
default: G(() => [s.isFlatmapConnectionsNode(t) ? (L(), u("span", vG, H(s.getNodeKey(t.value)), 1)) : l("", !0), d("div", { style: k(s.getBackgroundStyles(r)) }, H(r.label), 5)]),
|
|
25886
25911
|
_: 2
|
|
25887
25912
|
}, 1024)]),
|
|
25888
25913
|
_: 2
|
|
@@ -25894,7 +25919,7 @@ function bG(e, n, r, a, o, s) {
|
|
|
25894
25919
|
"props",
|
|
25895
25920
|
"onExpandChange"
|
|
25896
25921
|
]),
|
|
25897
|
-
e.showFiltersText ? (L(), u("div",
|
|
25922
|
+
e.showFiltersText ? (L(), u("div", yG, "Filters")) : l("", !0),
|
|
25898
25923
|
m(g, {
|
|
25899
25924
|
title: "How do filters work?",
|
|
25900
25925
|
width: "250",
|
|
@@ -25922,7 +25947,7 @@ function bG(e, n, r, a, o, s) {
|
|
|
25922
25947
|
])), [[C, !e.cascaderIsReady]])]),
|
|
25923
25948
|
_: 1
|
|
25924
25949
|
})])) : l("", !0),
|
|
25925
|
-
d("div",
|
|
25950
|
+
d("div", bG, [d("span", xG, H(s.numberOfResultsText), 1), m(S, {
|
|
25926
25951
|
class: "number-shown-select",
|
|
25927
25952
|
modelValue: e.numberShown,
|
|
25928
25953
|
"onUpdate:modelValue": n[5] ||= (t) => e.numberShown = t,
|
|
@@ -25938,13 +25963,13 @@ function bG(e, n, r, a, o, s) {
|
|
|
25938
25963
|
}, 8, ["modelValue"])])
|
|
25939
25964
|
]);
|
|
25940
25965
|
}
|
|
25941
|
-
var
|
|
25966
|
+
var CG = /*#__PURE__*/ gS(oG, [["render", SG], ["__scopeId", "data-v-c4374581"]]), wG = async function(e) {
|
|
25942
25967
|
if (!e.ok) {
|
|
25943
25968
|
let t = await e.json();
|
|
25944
25969
|
throw Error(t ? t.message : e);
|
|
25945
25970
|
}
|
|
25946
25971
|
return e;
|
|
25947
|
-
},
|
|
25972
|
+
}, TG = {
|
|
25948
25973
|
searchInput: "",
|
|
25949
25974
|
lastSearch: "",
|
|
25950
25975
|
results: [],
|
|
@@ -25957,19 +25982,19 @@ var xG = /*#__PURE__*/ gS(iG, [["render", bG], ["__scopeId", "data-v-5e030c81"]]
|
|
|
25957
25982
|
start: 0,
|
|
25958
25983
|
hasSearched: !1,
|
|
25959
25984
|
contextCardEnabled: !1
|
|
25960
|
-
},
|
|
25985
|
+
}, EG = {
|
|
25961
25986
|
components: {
|
|
25962
|
-
SearchFilters:
|
|
25987
|
+
SearchFilters: CG,
|
|
25963
25988
|
DatasetCard: RU,
|
|
25964
|
-
SearchHistory:
|
|
25989
|
+
SearchHistory: rW,
|
|
25965
25990
|
Button: Rg,
|
|
25966
25991
|
Card: C_,
|
|
25967
25992
|
Drawer: Yy,
|
|
25968
25993
|
Icon: zp,
|
|
25969
25994
|
Input: Oh,
|
|
25970
25995
|
Pagination: Ax,
|
|
25971
|
-
MapSvgIcon:
|
|
25972
|
-
MapSvgSpriteColor:
|
|
25996
|
+
MapSvgIcon: oW,
|
|
25997
|
+
MapSvgSpriteColor: QW
|
|
25973
25998
|
},
|
|
25974
25999
|
name: "DatasetExplorer",
|
|
25975
26000
|
props: {
|
|
@@ -25983,7 +26008,7 @@ var xG = /*#__PURE__*/ gS(iG, [["render", bG], ["__scopeId", "data-v-5e030c81"]]
|
|
|
25983
26008
|
},
|
|
25984
26009
|
entry: {
|
|
25985
26010
|
type: Object,
|
|
25986
|
-
default: () =>
|
|
26011
|
+
default: () => TG
|
|
25987
26012
|
},
|
|
25988
26013
|
envVars: {
|
|
25989
26014
|
type: Object,
|
|
@@ -26074,9 +26099,9 @@ var xG = /*#__PURE__*/ gS(iG, [["render", bG], ["__scopeId", "data-v-5e030c81"]]
|
|
|
26074
26099
|
this.$refs.searchHistory.selectValue = "Search history", (e.length || t?.trim()) && this.$refs.searchHistory.addSearchToHistory(e, t);
|
|
26075
26100
|
},
|
|
26076
26101
|
searchAlgolia(e, t = "") {
|
|
26077
|
-
this.loadingCards = !0, this.algoliaClient.anatomyInSearch(
|
|
26102
|
+
this.loadingCards = !0, this.algoliaClient.anatomyInSearch(rG(e), t).then((e) => {
|
|
26078
26103
|
wz.emit("anatomy-in-datasets", e.forFlatmap), wz.emit("number-of-datasets-for-anatomies", e.forScaffold);
|
|
26079
|
-
}), this.algoliaClient.search(
|
|
26104
|
+
}), this.algoliaClient.search(rG(e), t, this.numberPerPage, this.page).then((e) => {
|
|
26080
26105
|
this.numberOfHits = e.total, this.discoverIds = e.discoverIds, this._dois = e.dois, this.results = e.items, this.loadingCards = !1, this.scrollToTop(), this.$emit("search-changed", {
|
|
26081
26106
|
value: this.searchInput,
|
|
26082
26107
|
tabType: "dataset",
|
|
@@ -26165,11 +26190,11 @@ var xG = /*#__PURE__*/ gS(iG, [["render", bG], ["__scopeId", "data-v-5e030c81"]]
|
|
|
26165
26190
|
callSciCrunch: function(e, t = {}, n) {
|
|
26166
26191
|
return new Promise((e, r) => {
|
|
26167
26192
|
let i = this.envVars.API_LOCATION + this.searchEndpoint + "?" + this.createfilterParams(t);
|
|
26168
|
-
fetch(i, { signal: n }).then(
|
|
26193
|
+
fetch(i, { signal: n }).then(wG).then((e) => e.json()).then((t) => e(t)).catch((e) => r(e));
|
|
26169
26194
|
});
|
|
26170
26195
|
},
|
|
26171
26196
|
getAlgoliaFacets: async function() {
|
|
26172
|
-
return await this.algoliaClient.getAlgoliaFacets(
|
|
26197
|
+
return await this.algoliaClient.getAlgoliaFacets(nG);
|
|
26173
26198
|
},
|
|
26174
26199
|
searchHistorySearch: function(e) {
|
|
26175
26200
|
this.searchInput = e.search, this.filter = e.filters, this.openSearch([...e.filters], e.search);
|
|
@@ -26182,25 +26207,25 @@ var xG = /*#__PURE__*/ gS(iG, [["render", bG], ["__scopeId", "data-v-5e030c81"]]
|
|
|
26182
26207
|
}
|
|
26183
26208
|
},
|
|
26184
26209
|
mounted: function() {
|
|
26185
|
-
this.algoliaClient = w(new
|
|
26210
|
+
this.algoliaClient = w(new tG(this.envVars.ALGOLIA_ID, this.envVars.ALGOLIA_KEY, this.envVars.PENNSIEVE_API_LOCATION)), this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX), this.openSearch(this.filter, this.searchInput);
|
|
26186
26211
|
},
|
|
26187
26212
|
created: function() {
|
|
26188
26213
|
this.searchEndpoint = "dataset_info/using_multiple_dois/";
|
|
26189
26214
|
}
|
|
26190
|
-
},
|
|
26215
|
+
}, DG = { class: "header" }, OG = {
|
|
26191
26216
|
class: "content scrollbar",
|
|
26192
26217
|
ref: "content"
|
|
26193
|
-
},
|
|
26218
|
+
}, kG = {
|
|
26194
26219
|
key: 0,
|
|
26195
26220
|
class: "error-feedback"
|
|
26196
26221
|
};
|
|
26197
|
-
function
|
|
26198
|
-
let s = Oh, f = V("MapSvgIcon"), h = Fx, g = Rg, _ =
|
|
26222
|
+
function AG(e, n, r, i, a, o) {
|
|
26223
|
+
let s = Oh, f = V("MapSvgIcon"), h = Fx, g = Rg, _ = CG, v = rW, y = RU, b = Ax, x = C_, S = Kx;
|
|
26199
26224
|
return L(), c(x, {
|
|
26200
26225
|
"body-style": e.bodyStyle,
|
|
26201
26226
|
class: "content-card"
|
|
26202
26227
|
}, {
|
|
26203
|
-
header: G(() => [d("div",
|
|
26228
|
+
header: G(() => [d("div", DG, [
|
|
26204
26229
|
d("div", { class: D(["search-input-container", { "is-focus": e.searchInput }]) }, [m(s, {
|
|
26205
26230
|
class: "search-input",
|
|
26206
26231
|
placeholder: "Search",
|
|
@@ -26294,8 +26319,8 @@ function OG(e, n, r, i, a, o) {
|
|
|
26294
26319
|
localStorageKey: "sparc.science-dataset-search-history",
|
|
26295
26320
|
onSearch: o.searchHistorySearch
|
|
26296
26321
|
}, null, 8, ["onSearch"]),
|
|
26297
|
-
we((L(), u("div",
|
|
26298
|
-
e.results.length === 0 && !e.loadingCards ? (L(), u("div",
|
|
26322
|
+
we((L(), u("div", OG, [
|
|
26323
|
+
e.results.length === 0 && !e.loadingCards ? (L(), u("div", kG, " No results found - Please change your search / filter criteria. ")) : l("", !0),
|
|
26299
26324
|
(L(!0), u(t, null, ae(e.results, (e) => (L(), u("div", {
|
|
26300
26325
|
key: e.doi,
|
|
26301
26326
|
class: "step-item"
|
|
@@ -26331,7 +26356,899 @@ function OG(e, n, r, i, a, o) {
|
|
|
26331
26356
|
_: 1
|
|
26332
26357
|
}, 8, ["body-style"]);
|
|
26333
26358
|
}
|
|
26334
|
-
var
|
|
26359
|
+
var jG = /*#__PURE__*/ gS(EG, [["render", AG], ["__scopeId", "data-v-50396e05"]]), MG = {}, NG = {
|
|
26360
|
+
viewBox: "0 0 24 24",
|
|
26361
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26362
|
+
"aria-hidden": "true",
|
|
26363
|
+
focusable: "false"
|
|
26364
|
+
};
|
|
26365
|
+
function PG(e, t) {
|
|
26366
|
+
return L(), u("svg", NG, [...t[0] ||= [d("g", {
|
|
26367
|
+
stroke: "none",
|
|
26368
|
+
"stroke-width": "1",
|
|
26369
|
+
fill: "none",
|
|
26370
|
+
"fill-rule": "evenodd"
|
|
26371
|
+
}, [
|
|
26372
|
+
d("polygon", {
|
|
26373
|
+
fill: "currentColor",
|
|
26374
|
+
"fill-rule": "nonzero",
|
|
26375
|
+
transform: "translate(15.500000, 8.878680) rotate(225.000000) translate(-15.500000, -8.878680)",
|
|
26376
|
+
points: "16.25 4.12867966 16.25 13.6286797 14.75 13.6286797 14.75 4.12867966"
|
|
26377
|
+
}),
|
|
26378
|
+
d("polygon", {
|
|
26379
|
+
fill: "currentColor",
|
|
26380
|
+
"fill-rule": "nonzero",
|
|
26381
|
+
transform: "translate(17.500000, 6.918996) rotate(225.000000) translate(-17.500000, -6.918996)",
|
|
26382
|
+
points: "20.9294459 3.82036868 22.058311 4.80812559 17.5 10.0176239 12.941689 4.80812559 14.0705541 3.82036868 17.5 7.739"
|
|
26383
|
+
}),
|
|
26384
|
+
d("polygon", {
|
|
26385
|
+
fill: "currentColor",
|
|
26386
|
+
"fill-rule": "nonzero",
|
|
26387
|
+
points: "11.6570511 7.25 11.6570511 8.75 5.75 8.75 5.75 16.25 15.25 16.25 15.25 11.2267933 16.75 11.2267933 16.75 17.75 4.25 17.75 4.25 7.25"
|
|
26388
|
+
})
|
|
26389
|
+
], -1)]]);
|
|
26390
|
+
}
|
|
26391
|
+
var FG = /*#__PURE__*/ gS(MG, [["render", PG]]), IG = {
|
|
26392
|
+
soma_tg: "trigeminal ganglion",
|
|
26393
|
+
soma_drg: "dorsal root ganglion"
|
|
26394
|
+
}, LG = {
|
|
26395
|
+
name: "CellCard",
|
|
26396
|
+
components: {
|
|
26397
|
+
Button: Rg,
|
|
26398
|
+
Icon: zp,
|
|
26399
|
+
ElIconWarning: Je,
|
|
26400
|
+
CopyToClipboard: et,
|
|
26401
|
+
IconOpenExternal: FG
|
|
26402
|
+
},
|
|
26403
|
+
props: {
|
|
26404
|
+
cellType: {
|
|
26405
|
+
type: Object,
|
|
26406
|
+
required: !0
|
|
26407
|
+
},
|
|
26408
|
+
isActive: {
|
|
26409
|
+
type: Boolean,
|
|
26410
|
+
default: !1
|
|
26411
|
+
}
|
|
26412
|
+
},
|
|
26413
|
+
emits: [
|
|
26414
|
+
"open",
|
|
26415
|
+
"close",
|
|
26416
|
+
"soma-location-hovered",
|
|
26417
|
+
"dataset-search",
|
|
26418
|
+
"connectivity-search",
|
|
26419
|
+
"related-cell-click"
|
|
26420
|
+
],
|
|
26421
|
+
data() {
|
|
26422
|
+
return {
|
|
26423
|
+
cardElement: null,
|
|
26424
|
+
activeSearchPopoverLocationId: null
|
|
26425
|
+
};
|
|
26426
|
+
},
|
|
26427
|
+
mounted: function() {
|
|
26428
|
+
this.cardElement = this.$refs.cardElementRef;
|
|
26429
|
+
},
|
|
26430
|
+
computed: {
|
|
26431
|
+
cardStyleVars: function() {
|
|
26432
|
+
return { "--cell-card-source-color": this.cellType?.sourceColor || this.cellType?.color || "#8300bf" };
|
|
26433
|
+
},
|
|
26434
|
+
formattedMarkerGenes: function() {
|
|
26435
|
+
return (this.cellType?.markerGenes || []).map((e, t) => {
|
|
26436
|
+
let n = String(e?.name || "").trim(), r = String(e?.expression || "").trim(), i = this.sanitizeMarkerGeneUri(e?.uri, r);
|
|
26437
|
+
return !n || !i ? null : {
|
|
26438
|
+
key: `${n}-${r || "none"}-${t}`,
|
|
26439
|
+
name: n,
|
|
26440
|
+
expression: r,
|
|
26441
|
+
uri: i
|
|
26442
|
+
};
|
|
26443
|
+
}).filter(Boolean);
|
|
26444
|
+
},
|
|
26445
|
+
updatedCopyContent: function() {
|
|
26446
|
+
let { preferredLabel: e, entity: t, species: n, somaLocations: r, circuitRole: i, creLine: a, geneExpressionString: o, fiberTypeString: s, physiologyString: c, relatedCells: l, alertNotes: u, curatorNotes: d, sourceNomenclature: f, sourceNomenclatureLabel: p } = this.cellType, m = [];
|
|
26447
|
+
if (e && m.push(`<div><strong>Cell Type:</strong> ${e}</div>`), t && m.push(`<div><strong>Entity:</strong> ${t}</div>`), n && m.push(`<div><strong>Species:</strong> ${n}</div>`), r?.length) {
|
|
26448
|
+
let e = r.map((e) => `<li>${e}</li>`).join("");
|
|
26449
|
+
m.push(`<div><strong>Soma Locations:</strong><ul>${e}</ul></div>`);
|
|
26450
|
+
}
|
|
26451
|
+
if (i && m.push(`<div><strong>Circuit Role:</strong> ${i}</div>`), a && m.push(`<div><strong>Cre Line:</strong> ${a}</div>`), o && m.push(`<div><strong>Marker Genes:</strong> ${o}</div>`), s && m.push(`<div><strong>Axon Phenotype:</strong> ${s}</div>`), c && m.push(`<div><strong>Physiology:</strong> ${c}</div>`), l?.length) {
|
|
26452
|
+
let e = l.map((e) => e?.label).filter(Boolean).map((e) => `<li>${e}</li>`).join("");
|
|
26453
|
+
e && m.push(`<div><strong>Related Species Variants:</strong><ul>${e}</ul></div>`);
|
|
26454
|
+
}
|
|
26455
|
+
if (p) {
|
|
26456
|
+
let e = f ? `${p} (<a href="${f}">${f}</a>)` : p;
|
|
26457
|
+
m.push(`<div><strong>Source Publication:</strong> ${e}</div>`);
|
|
26458
|
+
}
|
|
26459
|
+
if (u?.length) {
|
|
26460
|
+
let e = u.map((e) => VU(e)).join("\n");
|
|
26461
|
+
m.push(`<div><strong>Alert Notes:</strong></div>\n${e}`);
|
|
26462
|
+
}
|
|
26463
|
+
if (d?.length) {
|
|
26464
|
+
let e = d.map((e) => VU(e)).join("\n");
|
|
26465
|
+
m.push(`<div><strong>Curator Notes:</strong></div>\n${e}`);
|
|
26466
|
+
}
|
|
26467
|
+
return m.join("\n");
|
|
26468
|
+
},
|
|
26469
|
+
somaLocations: function() {
|
|
26470
|
+
return this.cellType.somaLocations.map((e) => {
|
|
26471
|
+
let t = Object.keys(IG).find((t) => IG[t] === e) || "";
|
|
26472
|
+
return this.cellType.clusterAttributes?.[t] ? {
|
|
26473
|
+
name: BU(e),
|
|
26474
|
+
id: t
|
|
26475
|
+
} : !1;
|
|
26476
|
+
});
|
|
26477
|
+
}
|
|
26478
|
+
},
|
|
26479
|
+
methods: {
|
|
26480
|
+
sanitizeMarkerGeneUri: function(e, t = "") {
|
|
26481
|
+
let n = String(e || "").trim(), r = String(t || "").trim();
|
|
26482
|
+
if (!n) return "";
|
|
26483
|
+
if (r) {
|
|
26484
|
+
let e = r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
26485
|
+
n = n.replace(RegExp(`\\s+${e}$`, "i"), "");
|
|
26486
|
+
}
|
|
26487
|
+
return n.trim();
|
|
26488
|
+
},
|
|
26489
|
+
transformString: function(e) {
|
|
26490
|
+
return e ? e.replace(/\^(\w+)/g, "<sup>$1</sup>") : "";
|
|
26491
|
+
},
|
|
26492
|
+
onCopied: function() {
|
|
26493
|
+
wz.emit("trackEvent", {
|
|
26494
|
+
event_name: "portal_maps_cell_card_copy",
|
|
26495
|
+
category: this.cellType.preferredLabel || "",
|
|
26496
|
+
location: "map_sidebar_cell_card"
|
|
26497
|
+
});
|
|
26498
|
+
},
|
|
26499
|
+
openCard: function() {
|
|
26500
|
+
this.$emit("open", this.cellType.id), wz.emit("trackEvent", {
|
|
26501
|
+
event_name: "portal_maps_cell_card_open",
|
|
26502
|
+
category: this.cellType.id || "",
|
|
26503
|
+
location: "map_sidebar_cell_card"
|
|
26504
|
+
});
|
|
26505
|
+
},
|
|
26506
|
+
closeCard: function() {
|
|
26507
|
+
this.$emit("close"), wz.emit("trackEvent", {
|
|
26508
|
+
event_name: "portal_maps_cell_card_close",
|
|
26509
|
+
category: this.cellType.id || "",
|
|
26510
|
+
location: "map_sidebar_cell_card"
|
|
26511
|
+
});
|
|
26512
|
+
},
|
|
26513
|
+
showSomaLocation: function(e) {
|
|
26514
|
+
this.$emit("soma-location-hovered", e);
|
|
26515
|
+
},
|
|
26516
|
+
openDatasetSearch: function(e) {
|
|
26517
|
+
this.$emit("dataset-search", {
|
|
26518
|
+
species: BU(this.cellType?.species),
|
|
26519
|
+
location: e
|
|
26520
|
+
});
|
|
26521
|
+
},
|
|
26522
|
+
openConnectivitySearch: function(e) {
|
|
26523
|
+
let t = localStorage.getItem("available-name-curie-mapping"), n = t ? JSON.parse(t) : {}, r = Object.keys(n).find((t) => n[t].toLowerCase() === e.toLowerCase()), i = r ? [{
|
|
26524
|
+
facet: `[\"${r}\",[]]`,
|
|
26525
|
+
facetPropPath: "flatmap.connectivity.source.all",
|
|
26526
|
+
tagLabel: e,
|
|
26527
|
+
term: "All"
|
|
26528
|
+
}] : [];
|
|
26529
|
+
this.$emit("connectivity-search", {
|
|
26530
|
+
facets: i,
|
|
26531
|
+
query: ""
|
|
26532
|
+
});
|
|
26533
|
+
},
|
|
26534
|
+
onSearchPopoverShow: function(e) {
|
|
26535
|
+
this.activeSearchPopoverLocationId = e;
|
|
26536
|
+
},
|
|
26537
|
+
onSearchPopoverHide: function(e) {
|
|
26538
|
+
this.activeSearchPopoverLocationId === e && (this.activeSearchPopoverLocationId = null);
|
|
26539
|
+
},
|
|
26540
|
+
showAlertMessage: function() {
|
|
26541
|
+
HU(this, "alertElement");
|
|
26542
|
+
},
|
|
26543
|
+
formatAlertText: function(e) {
|
|
26544
|
+
return VU(e);
|
|
26545
|
+
}
|
|
26546
|
+
}
|
|
26547
|
+
}, RG = { class: "title-content" }, zG = { class: "card-title" }, BG = { class: "card-keywords" }, VG = { class: "card-chips" }, HG = {
|
|
26548
|
+
key: 0,
|
|
26549
|
+
class: "source-publication-chip"
|
|
26550
|
+
}, UG = { class: "card-details" }, WG = { class: "card-details-inner" }, GG = {
|
|
26551
|
+
key: 0,
|
|
26552
|
+
class: "card-section"
|
|
26553
|
+
}, KG = {
|
|
26554
|
+
key: 1,
|
|
26555
|
+
class: "card-section"
|
|
26556
|
+
}, qG = {
|
|
26557
|
+
key: 2,
|
|
26558
|
+
class: "card-section"
|
|
26559
|
+
}, JG = { class: "card-list-items" }, YG = ["onMouseenter"], XG = { class: "card-list-search" }, ZG = { class: "search-action-list" }, QG = ["onClick"], $G = ["onClick"], eK = {
|
|
26560
|
+
key: 3,
|
|
26561
|
+
class: "card-section"
|
|
26562
|
+
}, tK = {
|
|
26563
|
+
key: 4,
|
|
26564
|
+
class: "card-section"
|
|
26565
|
+
}, nK = {
|
|
26566
|
+
key: 5,
|
|
26567
|
+
class: "card-section"
|
|
26568
|
+
}, rK = { class: "marker-genes-list" }, iK = ["href"], aK = { key: 0 }, oK = {
|
|
26569
|
+
key: 6,
|
|
26570
|
+
class: "card-section"
|
|
26571
|
+
}, sK = { class: "card-section-content" }, cK = {
|
|
26572
|
+
key: 7,
|
|
26573
|
+
class: "card-section"
|
|
26574
|
+
}, lK = { class: "card-section-content success" }, uK = {
|
|
26575
|
+
key: 8,
|
|
26576
|
+
class: "card-section"
|
|
26577
|
+
}, dK = { class: "related-cell-list" }, fK = ["onClick"], pK = {
|
|
26578
|
+
key: 9,
|
|
26579
|
+
class: "card-section source-publication-section"
|
|
26580
|
+
}, mK = ["href"], hK = {
|
|
26581
|
+
key: 10,
|
|
26582
|
+
class: "card-section",
|
|
26583
|
+
ref: "alertElement"
|
|
26584
|
+
}, gK = { class: "alert-block" }, _K = {
|
|
26585
|
+
key: 0,
|
|
26586
|
+
class: "alert-block-section"
|
|
26587
|
+
}, vK = ["innerHTML"], yK = {
|
|
26588
|
+
key: 1,
|
|
26589
|
+
class: "alert-block-section"
|
|
26590
|
+
}, bK = ["innerHTML"];
|
|
26591
|
+
function xK(e, n, r, i, a, o) {
|
|
26592
|
+
let s = qe, f = zp, h = Rg, g = V("CopyToClipboard"), _ = Fe, v = Fx, y = We, b = FG;
|
|
26593
|
+
return L(), u("div", {
|
|
26594
|
+
ref: "cardElementRef",
|
|
26595
|
+
class: D(["card", { active: r.isActive }]),
|
|
26596
|
+
style: k(o.cardStyleVars)
|
|
26597
|
+
}, [d("div", {
|
|
26598
|
+
class: "card-header",
|
|
26599
|
+
onClick: n[1] ||= (...e) => o.openCard && o.openCard(...e)
|
|
26600
|
+
}, [d("div", RG, [
|
|
26601
|
+
d("div", zG, H(r.cellType.preferredLabel), 1),
|
|
26602
|
+
d("div", BG, [
|
|
26603
|
+
d("span", null, H(r.cellType.species), 1),
|
|
26604
|
+
d("div", VG, [(L(!0), u(t, null, ae(r.cellType.somaLocations, (e) => (L(), u("span", {
|
|
26605
|
+
class: "card-chip",
|
|
26606
|
+
key: e
|
|
26607
|
+
}, H(e), 1))), 128))]),
|
|
26608
|
+
r.cellType.sourceNomenclature ? (L(), u("span", HG, H(r.cellType.sourceNomenclatureLabel), 1)) : l("", !0)
|
|
26609
|
+
]),
|
|
26610
|
+
r.isActive && (r.cellType.alertNotes?.length || r.cellType.curatorNotes?.length) ? (L(), c(h, {
|
|
26611
|
+
key: 0,
|
|
26612
|
+
round: "",
|
|
26613
|
+
size: "small",
|
|
26614
|
+
class: "alert-chip",
|
|
26615
|
+
onClick: Ee(o.showAlertMessage, ["stop"])
|
|
26616
|
+
}, {
|
|
26617
|
+
default: G(() => [m(f, { class: "alert" }, {
|
|
26618
|
+
default: G(() => [m(s)]),
|
|
26619
|
+
_: 1
|
|
26620
|
+
}), n[3] ||= p(" Notes ", -1)]),
|
|
26621
|
+
_: 1
|
|
26622
|
+
}, 8, ["onClick"])) : l("", !0)
|
|
26623
|
+
]), d("div", {
|
|
26624
|
+
class: "title-buttons",
|
|
26625
|
+
onClick: n[0] ||= Ee(() => {}, ["stop"])
|
|
26626
|
+
}, [m(g, {
|
|
26627
|
+
onCopied: o.onCopied,
|
|
26628
|
+
content: o.updatedCopyContent
|
|
26629
|
+
}, null, 8, ["onCopied", "content"]), m(v, {
|
|
26630
|
+
width: "auto",
|
|
26631
|
+
trigger: "hover",
|
|
26632
|
+
teleported: !1,
|
|
26633
|
+
"popper-class": "popover-map-pin"
|
|
26634
|
+
}, {
|
|
26635
|
+
reference: G(() => [m(h, {
|
|
26636
|
+
class: "button-circle",
|
|
26637
|
+
circle: "",
|
|
26638
|
+
onClick: o.closeCard
|
|
26639
|
+
}, {
|
|
26640
|
+
default: G(() => [m(f, { color: "white" }, {
|
|
26641
|
+
default: G(() => [m(_)]),
|
|
26642
|
+
_: 1
|
|
26643
|
+
})]),
|
|
26644
|
+
_: 1
|
|
26645
|
+
}, 8, ["onClick"])]),
|
|
26646
|
+
default: G(() => [n[4] ||= d("span", null, "Close", -1)]),
|
|
26647
|
+
_: 1
|
|
26648
|
+
})])]), d("div", UG, [d("div", WG, [
|
|
26649
|
+
r.cellType.entity ? (L(), u("div", GG, [n[5] ||= d("div", { class: "card-section-title" }, "Entity", -1), d("span", null, H(r.cellType.entity), 1)])) : l("", !0),
|
|
26650
|
+
r.cellType.species ? (L(), u("div", KG, [n[6] ||= d("div", { class: "card-section-title" }, "Species", -1), d("span", null, H(r.cellType.species), 1)])) : l("", !0),
|
|
26651
|
+
r.cellType.somaLocations?.length ? (L(), u("div", qG, [n[7] ||= d("div", { class: "card-section-title" }, "Soma Location", -1), d("div", JG, [(L(!0), u(t, null, ae(o.somaLocations, (e) => (L(), u("div", {
|
|
26652
|
+
class: "card-list-item",
|
|
26653
|
+
key: e.id,
|
|
26654
|
+
onMouseenter: (t) => o.showSomaLocation(e.name),
|
|
26655
|
+
onMouseleave: n[2] ||= (e) => o.showSomaLocation()
|
|
26656
|
+
}, [d("span", null, H(e.name), 1), d("div", XG, [m(v, {
|
|
26657
|
+
width: "180",
|
|
26658
|
+
trigger: "hover",
|
|
26659
|
+
teleported: !0,
|
|
26660
|
+
"append-to": a.cardElement,
|
|
26661
|
+
"popper-class": "popover-origin-help popover-search-actions",
|
|
26662
|
+
onShow: (t) => o.onSearchPopoverShow(e.id),
|
|
26663
|
+
onHide: (t) => o.onSearchPopoverHide(e.id)
|
|
26664
|
+
}, {
|
|
26665
|
+
reference: G(() => [m(f, { class: D(["status-search-icon", { "is-visible": a.activeSearchPopoverLocationId === e.id }]) }, {
|
|
26666
|
+
default: G(() => [m(y)]),
|
|
26667
|
+
_: 1
|
|
26668
|
+
}, 8, ["class"])]),
|
|
26669
|
+
default: G(() => [d("div", ZG, [d("button", {
|
|
26670
|
+
type: "button",
|
|
26671
|
+
class: "search-action-button",
|
|
26672
|
+
onClick: (t) => o.openDatasetSearch(e.name)
|
|
26673
|
+
}, " Search dataset ", 8, QG), d("button", {
|
|
26674
|
+
type: "button",
|
|
26675
|
+
class: "search-action-button",
|
|
26676
|
+
onClick: (t) => o.openConnectivitySearch(e.name)
|
|
26677
|
+
}, " Search connectivity ", 8, $G)])]),
|
|
26678
|
+
_: 2
|
|
26679
|
+
}, 1032, [
|
|
26680
|
+
"append-to",
|
|
26681
|
+
"onShow",
|
|
26682
|
+
"onHide"
|
|
26683
|
+
])])], 40, YG))), 128))])])) : l("", !0),
|
|
26684
|
+
r.cellType.circuitRole ? (L(), u("div", eK, [n[8] ||= d("div", { class: "card-section-title" }, "Circuit Role", -1), d("span", null, H(r.cellType.circuitRole), 1)])) : l("", !0),
|
|
26685
|
+
r.cellType.creLine ? (L(), u("div", tK, [n[9] ||= d("div", { class: "card-section-title" }, "Cre Line", -1), d("span", null, H(r.cellType.creLine), 1)])) : l("", !0),
|
|
26686
|
+
o.formattedMarkerGenes.length ? (L(), u("div", nK, [n[10] ||= d("div", { class: "card-section-title" }, "Marker Genes", -1), d("div", rK, [(L(!0), u(t, null, ae(o.formattedMarkerGenes, (e) => (L(), u("a", {
|
|
26687
|
+
key: e.key,
|
|
26688
|
+
class: "marker-gene-link",
|
|
26689
|
+
href: e.uri,
|
|
26690
|
+
target: "_blank",
|
|
26691
|
+
rel: "noopener noreferrer"
|
|
26692
|
+
}, [
|
|
26693
|
+
d("span", null, H(e.name), 1),
|
|
26694
|
+
e.expression ? (L(), u("sup", aK, H(e.expression), 1)) : l("", !0),
|
|
26695
|
+
m(b, { class: "external-link-icon" })
|
|
26696
|
+
], 8, iK))), 128))])])) : l("", !0),
|
|
26697
|
+
r.cellType.fiberTypeString ? (L(), u("div", oK, [n[11] ||= d("div", { class: "card-section-title" }, "Axon Phenotype", -1), d("div", sK, H(r.cellType.fiberTypeString), 1)])) : l("", !0),
|
|
26698
|
+
r.cellType.physiologyString ? (L(), u("div", cK, [n[12] ||= d("div", { class: "card-section-title" }, "Physiology", -1), d("div", lK, H(r.cellType.physiologyString), 1)])) : l("", !0),
|
|
26699
|
+
r.cellType.relatedCells?.length ? (L(), u("div", uK, [n[13] ||= d("div", { class: "card-section-title" }, "Related Species Variants", -1), d("ul", dK, [(L(!0), u(t, null, ae(r.cellType.relatedCells, (t) => (L(), u("li", { key: t }, [d("button", {
|
|
26700
|
+
class: "related-cell-item",
|
|
26701
|
+
onClick: Ee((n) => e.$emit("related-cell-click", t), ["stop"]),
|
|
26702
|
+
title: "Click to view this cell type"
|
|
26703
|
+
}, H(t.label), 9, fK)]))), 128))])])) : l("", !0),
|
|
26704
|
+
r.cellType.sourceNomenclature ? (L(), u("div", pK, [n[14] ||= d("div", { class: "card-section-title" }, "Source Publication", -1), d("p", null, [d("a", {
|
|
26705
|
+
class: "source-publication-link",
|
|
26706
|
+
href: r.cellType.sourceNomenclature,
|
|
26707
|
+
target: "_blank",
|
|
26708
|
+
rel: "noopener noreferrer"
|
|
26709
|
+
}, [p(H(r.cellType.sourceNomenclatureLabel) + " ", 1), m(b, { class: "external-link-icon" })], 8, mK)])])) : l("", !0),
|
|
26710
|
+
r.cellType.alertNotes?.length || r.cellType.curatorNotes?.length ? (L(), u("div", hK, [n[17] ||= d("div", { class: "card-section-title" }, "Notes", -1), d("div", gK, [r.cellType.alertNotes?.length ? (L(), u("div", _K, [n[15] ||= d("div", { class: "alert-block-title" }, "Alert Notes:", -1), (L(!0), u(t, null, ae(r.cellType.alertNotes, (e) => (L(), u("div", {
|
|
26711
|
+
innerHTML: o.formatAlertText(e),
|
|
26712
|
+
class: "alert-block-note"
|
|
26713
|
+
}, null, 8, vK))), 256))])) : l("", !0), r.cellType.curatorNotes?.length ? (L(), u("div", yK, [n[16] ||= d("div", { class: "alert-block-title" }, "Curator Notes:", -1), (L(!0), u(t, null, ae(r.cellType.curatorNotes, (e) => (L(), u("div", {
|
|
26714
|
+
innerHTML: o.formatAlertText(e),
|
|
26715
|
+
class: "alert-block-note"
|
|
26716
|
+
}, null, 8, bK))), 256))])) : l("", !0)])], 512)) : l("", !0)
|
|
26717
|
+
])])], 6);
|
|
26718
|
+
}
|
|
26719
|
+
var SK = /*#__PURE__*/ gS(LG, [["render", xK], ["__scopeId", "data-v-6a3370b3"]]), CK = null, wK = null, TK = {
|
|
26720
|
+
components: {
|
|
26721
|
+
SearchFilters: CG,
|
|
26722
|
+
SearchHistory: rW,
|
|
26723
|
+
Button: Rg,
|
|
26724
|
+
Card: C_,
|
|
26725
|
+
CellCard: SK,
|
|
26726
|
+
Input: Oh,
|
|
26727
|
+
MapSvgIcon: oW,
|
|
26728
|
+
Pagination: Ax
|
|
26729
|
+
},
|
|
26730
|
+
name: "CellCardExplorer",
|
|
26731
|
+
emits: [
|
|
26732
|
+
"soma-location-hovered",
|
|
26733
|
+
"dataset-search",
|
|
26734
|
+
"connectivity-search",
|
|
26735
|
+
"soma-locations-ready"
|
|
26736
|
+
],
|
|
26737
|
+
props: {
|
|
26738
|
+
envVars: {
|
|
26739
|
+
type: Object,
|
|
26740
|
+
default: () => {}
|
|
26741
|
+
},
|
|
26742
|
+
activeSpecies: {
|
|
26743
|
+
type: Array,
|
|
26744
|
+
default: () => []
|
|
26745
|
+
}
|
|
26746
|
+
},
|
|
26747
|
+
data: function() {
|
|
26748
|
+
return {
|
|
26749
|
+
bodyStyle: {
|
|
26750
|
+
flex: "1 1 auto",
|
|
26751
|
+
"flex-flow": "column",
|
|
26752
|
+
display: "flex"
|
|
26753
|
+
},
|
|
26754
|
+
allCellTypes: [],
|
|
26755
|
+
cellTypes: [],
|
|
26756
|
+
filterOptions: [],
|
|
26757
|
+
activeFilters: [],
|
|
26758
|
+
searchInput: "",
|
|
26759
|
+
numberPerPage: 10,
|
|
26760
|
+
page: 1,
|
|
26761
|
+
start: 0,
|
|
26762
|
+
totalFilteredCount: 0,
|
|
26763
|
+
loadingCards: !1,
|
|
26764
|
+
activeCardId: null,
|
|
26765
|
+
cascaderIsReady: !1,
|
|
26766
|
+
geneBaseToDisplay: {},
|
|
26767
|
+
geneDisplayToBase: {}
|
|
26768
|
+
};
|
|
26769
|
+
},
|
|
26770
|
+
computed: { filterEntry: function() {
|
|
26771
|
+
return {
|
|
26772
|
+
numberOfHits: this.totalFilteredCount,
|
|
26773
|
+
filterFacets: this.activeFilters,
|
|
26774
|
+
showFilters: !0,
|
|
26775
|
+
options: this.filterOptions,
|
|
26776
|
+
helper: {
|
|
26777
|
+
within: "'mouse' OR 'human'",
|
|
26778
|
+
between: "'species' AND 'soma location'"
|
|
26779
|
+
}
|
|
26780
|
+
};
|
|
26781
|
+
} },
|
|
26782
|
+
watch: { activeSpecies: {
|
|
26783
|
+
deep: !0,
|
|
26784
|
+
immediate: !0,
|
|
26785
|
+
handler: "syncActiveSpeciesFilters"
|
|
26786
|
+
} },
|
|
26787
|
+
mounted: function() {
|
|
26788
|
+
this.fetchCellTypes(this.envVars.CELL_CARDS_API);
|
|
26789
|
+
},
|
|
26790
|
+
methods: {
|
|
26791
|
+
syncCascaderFromActiveFilters: function() {
|
|
26792
|
+
if (!(!this.cascaderIsReady || !this.$refs.filtersRef)) {
|
|
26793
|
+
if (this.activeFilters.length) {
|
|
26794
|
+
this.$refs.filtersRef.setCascader(this.activeFilters);
|
|
26795
|
+
return;
|
|
26796
|
+
}
|
|
26797
|
+
this.$refs.filtersRef.checkShowAllBoxes();
|
|
26798
|
+
}
|
|
26799
|
+
},
|
|
26800
|
+
syncActiveSpeciesFilters: function() {
|
|
26801
|
+
this.page = 1, this.start = 0;
|
|
26802
|
+
let e = this.getValidatedActiveSpecies(), t = this.activeFilters.filter((e) => e?.term?.toLowerCase() !== "species"), n = e.map((e) => ({
|
|
26803
|
+
facetPropPath: "species",
|
|
26804
|
+
facet: BU(e),
|
|
26805
|
+
term: "Species",
|
|
26806
|
+
tagLabel: BU(e)
|
|
26807
|
+
}));
|
|
26808
|
+
this.activeFilters = [...t, ...n], this.syncCascaderFromActiveFilters(), this.applyFilters(this.activeFilters), this.emitSomaLocations(this.filterOptions);
|
|
26809
|
+
},
|
|
26810
|
+
getCellCardsData: async function(e) {
|
|
26811
|
+
return CK || (wK ||= fetch(e).then((e) => {
|
|
26812
|
+
if (!e.ok) throw Error(`HTTP error! status: ${e.status}`);
|
|
26813
|
+
return e.json();
|
|
26814
|
+
}).then((e) => (CK = e, e)).finally(() => {
|
|
26815
|
+
wK = null;
|
|
26816
|
+
}), wK);
|
|
26817
|
+
},
|
|
26818
|
+
fetchCellTypes: async function(e) {
|
|
26819
|
+
if (e) {
|
|
26820
|
+
this.loadingCards = !0;
|
|
26821
|
+
try {
|
|
26822
|
+
let t = await this.getCellCardsData(e);
|
|
26823
|
+
if (t.DEFAULT_CELL_TYPES) {
|
|
26824
|
+
let e = t.DEFAULT_CELL_TYPES.map((e) => ({
|
|
26825
|
+
...e,
|
|
26826
|
+
id: zU()
|
|
26827
|
+
}));
|
|
26828
|
+
this.setGeneMappings(t.DEFAULT_GENES), this.allCellTypes = e, this.filterOptions = this.buildFilterOptions(e), this.emitSomaLocations(this.filterOptions), this.syncActiveSpeciesFilters();
|
|
26829
|
+
}
|
|
26830
|
+
} catch (e) {
|
|
26831
|
+
console.error("Error fetching cell types:", e);
|
|
26832
|
+
} finally {
|
|
26833
|
+
this.loadingCards = !1;
|
|
26834
|
+
}
|
|
26835
|
+
}
|
|
26836
|
+
},
|
|
26837
|
+
activateCard: function(e) {
|
|
26838
|
+
this.activeCardId = this.activeCardId === e ? null : e;
|
|
26839
|
+
},
|
|
26840
|
+
openCard: function(e) {
|
|
26841
|
+
this.activeCardId = e;
|
|
26842
|
+
},
|
|
26843
|
+
closeCard: function() {
|
|
26844
|
+
this.activeCardId = null;
|
|
26845
|
+
},
|
|
26846
|
+
openSearch: function(e, t) {
|
|
26847
|
+
this.page = 1, this.start = 0, this.searchInput = String(t || "").trim();
|
|
26848
|
+
let n = e.map((e) => ({
|
|
26849
|
+
facetPropPath: "somaLocations",
|
|
26850
|
+
facet: BU(e.facet || ""),
|
|
26851
|
+
term: e.term || "",
|
|
26852
|
+
tagLabel: BU(e.facet || "")
|
|
26853
|
+
})), r = this.getValidatedActiveSpecies().map((e) => ({
|
|
26854
|
+
facetPropPath: "species",
|
|
26855
|
+
facet: BU(e),
|
|
26856
|
+
term: "Species",
|
|
26857
|
+
tagLabel: BU(e)
|
|
26858
|
+
}));
|
|
26859
|
+
this.activeFilters = [...n, ...r], this.syncCascaderFromActiveFilters(), this.applyFilters(this.activeFilters), this.emitSomaLocations(this.filterOptions), this.searchHistoryUpdate(this.activeFilters, this.searchInput), this.$nextTick(() => this.scrollToTop());
|
|
26860
|
+
},
|
|
26861
|
+
clearSearchClicked: function() {
|
|
26862
|
+
this.searchInput = "", this.searchAndFilterUpdate();
|
|
26863
|
+
},
|
|
26864
|
+
searchEvent: function(e = !1) {
|
|
26865
|
+
(e.keyCode === 13 || e instanceof MouseEvent) && (this.searchInput = this.searchInput.trim(), this.searchAndFilterUpdate());
|
|
26866
|
+
},
|
|
26867
|
+
onResetClick: function() {
|
|
26868
|
+
this.searchInput = "", this.activeFilters = [], this.page = 1, this.start = 0, this.$refs.filtersRef?.checkShowAllBoxes(), this.$refs.searchHistory && (this.$refs.searchHistory.selectValue = "Search history"), this.applyFilters(this.activeFilters), this.emitSomaLocations(this.filterOptions), wz.emit("trackEvent", {
|
|
26869
|
+
event_name: "portal_maps_action_filter",
|
|
26870
|
+
category: "reset",
|
|
26871
|
+
location: "map_sidebar_cell_card_explorer"
|
|
26872
|
+
});
|
|
26873
|
+
},
|
|
26874
|
+
searchAndFilterUpdate: function() {
|
|
26875
|
+
this.page = 1, this.start = 0, this.applyFilters(this.activeFilters), this.emitSomaLocations(this.filterOptions), this.searchHistoryUpdate(this.activeFilters, this.searchInput);
|
|
26876
|
+
},
|
|
26877
|
+
filterUpdate: function(e) {
|
|
26878
|
+
this.activeFilters = [...e], this.page = 1, this.start = 0, this.applyFilters(this.activeFilters), this.emitSomaLocations(this.filterOptions), this.searchHistoryUpdate(this.activeFilters, this.searchInput), this.loadingCards = !1;
|
|
26879
|
+
},
|
|
26880
|
+
numberPerPageUpdate: function(e) {
|
|
26881
|
+
this.numberPerPage = parseInt(e, 10) || 10, wz.emit("trackEvent", {
|
|
26882
|
+
event_name: "portal_maps_cell_card_perPage",
|
|
26883
|
+
category: e + "",
|
|
26884
|
+
location: "map_sidebar_cell_card_explorer"
|
|
26885
|
+
});
|
|
26886
|
+
let t = this.page === 1;
|
|
26887
|
+
this.pageChange(1, t);
|
|
26888
|
+
},
|
|
26889
|
+
pageChange: function(e, t = !1) {
|
|
26890
|
+
this.page = e, this.start = (e - 1) * this.numberPerPage, this.applyFilters(this.activeFilters), this.scrollToTop(), t || wz.emit("trackEvent", {
|
|
26891
|
+
event_name: "portal_maps_cell_card_pagination",
|
|
26892
|
+
category: `page_${this.page}`,
|
|
26893
|
+
location: "map_sidebar_cell_card_explorer"
|
|
26894
|
+
});
|
|
26895
|
+
},
|
|
26896
|
+
scrollToTop: function() {
|
|
26897
|
+
this.$refs.content && this.$refs.content.scroll({
|
|
26898
|
+
top: 0,
|
|
26899
|
+
behavior: "smooth"
|
|
26900
|
+
});
|
|
26901
|
+
},
|
|
26902
|
+
filtersLoading: function() {},
|
|
26903
|
+
searchHistoryUpdate: function(e, t) {
|
|
26904
|
+
this.$refs.searchHistory && (this.$refs.searchHistory.selectValue = "Search history", (e.length || t?.trim()) && this.$refs.searchHistory.addSearchToHistory(e, t));
|
|
26905
|
+
},
|
|
26906
|
+
searchHistorySearch: function(e) {
|
|
26907
|
+
this.searchInput = e.search || "", this.activeFilters = Array.isArray(e.filters) ? [...e.filters] : [], this.page = 1, this.start = 0, this.applyFilters(this.activeFilters), this.$refs.filtersRef && (this.activeFilters.length ? this.$refs.filtersRef.setCascader(this.activeFilters) : this.$refs.filtersRef.checkShowAllBoxes()), this.emitSomaLocations(this.filterOptions);
|
|
26908
|
+
},
|
|
26909
|
+
cascaderReady: function() {
|
|
26910
|
+
this.cascaderIsReady = !0, this.syncCascaderFromActiveFilters();
|
|
26911
|
+
},
|
|
26912
|
+
normalizeFacetValue: function(e) {
|
|
26913
|
+
return String(e || "").trim().toLowerCase();
|
|
26914
|
+
},
|
|
26915
|
+
getSelectedSomaLocationFilters: function() {
|
|
26916
|
+
return (this.activeFilters || []).filter((e) => this.normalizeFacetValue(e?.term) === "soma location" && this.normalizeFacetValue(e?.facet) !== "show all").map((e) => this.normalizeFacetValue(e?.facet)).filter(Boolean);
|
|
26917
|
+
},
|
|
26918
|
+
getAvailableSpeciesSet: function() {
|
|
26919
|
+
let e = /* @__PURE__ */ new Set();
|
|
26920
|
+
return this.allCellTypes.forEach((t) => {
|
|
26921
|
+
let n = this.normalizeFacetValue(t?.species);
|
|
26922
|
+
n && e.add(n);
|
|
26923
|
+
}), e;
|
|
26924
|
+
},
|
|
26925
|
+
getValidatedActiveSpecies: function() {
|
|
26926
|
+
let e = this.getAvailableSpeciesSet(), t = this.activeSpecies.map((e) => this.normalizeActiveSpeciesFilterTerm(e)).filter(Boolean);
|
|
26927
|
+
return [...new Set(t)].filter((t) => e.has(t));
|
|
26928
|
+
},
|
|
26929
|
+
getCellTypesForActiveSpecies: function() {
|
|
26930
|
+
let e = this.getValidatedActiveSpecies();
|
|
26931
|
+
if (!e.length) return this.allCellTypes;
|
|
26932
|
+
let t = new Set(e);
|
|
26933
|
+
return this.allCellTypes.filter((e) => {
|
|
26934
|
+
let n = this.normalizeActiveSpeciesFilterTerm(e?.species);
|
|
26935
|
+
return t.has(n);
|
|
26936
|
+
});
|
|
26937
|
+
},
|
|
26938
|
+
normalizeActiveSpeciesFilterTerm: function(e) {
|
|
26939
|
+
let t = this.normalizeFacetValue(e);
|
|
26940
|
+
return t === "human male" || t === "human female" ? "human" : t;
|
|
26941
|
+
},
|
|
26942
|
+
setGeneMappings: function(e) {
|
|
26943
|
+
let t = {}, n = {};
|
|
26944
|
+
(Array.isArray(e) ? e : []).forEach((e) => {
|
|
26945
|
+
let r = this.normalizeFacetValue(e?.base), i = String(e?.display || "").trim(), a = this.normalizeFacetValue(i);
|
|
26946
|
+
if (r) {
|
|
26947
|
+
if (i) {
|
|
26948
|
+
t[r] = i, n[a] = r;
|
|
26949
|
+
return;
|
|
26950
|
+
}
|
|
26951
|
+
t[r] = r;
|
|
26952
|
+
}
|
|
26953
|
+
}), this.geneBaseToDisplay = t, this.geneDisplayToBase = n;
|
|
26954
|
+
},
|
|
26955
|
+
normalizeSearchTerms: function(e) {
|
|
26956
|
+
return String(e || "").split(",").map((e) => e.trim().toLowerCase()).filter(Boolean);
|
|
26957
|
+
},
|
|
26958
|
+
getCellTypeSearchText: function(e) {
|
|
26959
|
+
let t = (e.relatedCells || []).map((e) => e.label).filter(Boolean).join(" ");
|
|
26960
|
+
return [
|
|
26961
|
+
e.preferredLabel,
|
|
26962
|
+
e.entity,
|
|
26963
|
+
e.species,
|
|
26964
|
+
(e.somaLocations || []).join(" "),
|
|
26965
|
+
e.circuitRole,
|
|
26966
|
+
e.creLine,
|
|
26967
|
+
e.geneExpressionString,
|
|
26968
|
+
e.fiberTypeString,
|
|
26969
|
+
e.physiologyString,
|
|
26970
|
+
e.sourceNomenclatureLabel,
|
|
26971
|
+
t
|
|
26972
|
+
].filter(Boolean).join(" ").toLowerCase();
|
|
26973
|
+
},
|
|
26974
|
+
matchSearchQuery: function(e, t) {
|
|
26975
|
+
if (!t.length) return !0;
|
|
26976
|
+
let n = this.getCellTypeSearchText(e);
|
|
26977
|
+
return t.some((e) => n.includes(e));
|
|
26978
|
+
},
|
|
26979
|
+
buildFacetChildren: function(e, t) {
|
|
26980
|
+
let n = /* @__PURE__ */ new Set();
|
|
26981
|
+
return e.forEach((e) => {
|
|
26982
|
+
let r = e[t];
|
|
26983
|
+
if (Array.isArray(r)) {
|
|
26984
|
+
r.forEach((e) => {
|
|
26985
|
+
let t = String(e || "").trim();
|
|
26986
|
+
t && n.add(t);
|
|
26987
|
+
});
|
|
26988
|
+
return;
|
|
26989
|
+
}
|
|
26990
|
+
let i = String(r || "").trim();
|
|
26991
|
+
i && n.add(i);
|
|
26992
|
+
}), [...n].sort((e, t) => e.localeCompare(t, void 0, { sensitivity: "base" })).map((e) => ({ label: e }));
|
|
26993
|
+
},
|
|
26994
|
+
buildFilterOptions: function(e) {
|
|
26995
|
+
return [
|
|
26996
|
+
{
|
|
26997
|
+
key: "species",
|
|
26998
|
+
label: "Species",
|
|
26999
|
+
children: this.buildFacetChildren(e, "species")
|
|
27000
|
+
},
|
|
27001
|
+
{
|
|
27002
|
+
key: "somaLocations",
|
|
27003
|
+
label: "Soma location",
|
|
27004
|
+
children: this.buildFacetChildren(e, "somaLocations")
|
|
27005
|
+
},
|
|
27006
|
+
{
|
|
27007
|
+
key: "geneBaseNames",
|
|
27008
|
+
label: "Gene",
|
|
27009
|
+
children: this.buildGeneFacetChildren(e)
|
|
27010
|
+
},
|
|
27011
|
+
{
|
|
27012
|
+
key: "sourceNomenclatureLabel",
|
|
27013
|
+
label: "Source",
|
|
27014
|
+
children: this.buildFacetChildren(e, "sourceNomenclatureLabel")
|
|
27015
|
+
},
|
|
27016
|
+
{
|
|
27017
|
+
key: "notes",
|
|
27018
|
+
label: "Notes",
|
|
27019
|
+
children: [{ label: "with notes" }, { label: "without notes" }]
|
|
27020
|
+
}
|
|
27021
|
+
].filter((e) => e.children.length > 0);
|
|
27022
|
+
},
|
|
27023
|
+
emitSomaLocations: function(e) {
|
|
27024
|
+
let t = (e || []).find((e) => e.key === "somaLocations"), n = localStorage.getItem("available-name-curie-mapping"), r = n ? JSON.parse(n) : {}, i = this.getSelectedSomaLocationFilters(), a = (this.activeFilters || []).length > 0 && i.length > 0, o = new Set(i), s = this.getFilteredCellTypes(this.activeFilters, this.searchInput).reduce((e, t) => ((Array.isArray(t?.somaLocations) ? t.somaLocations : []).forEach((t) => {
|
|
27025
|
+
let n = String(t || "").trim().toLowerCase();
|
|
27026
|
+
n && e.set(n, (e.get(n) || 0) + 1);
|
|
27027
|
+
}), e), /* @__PURE__ */ new Map()), c = (t?.children || []).map((e) => String(e?.label || "").trim()).filter(Boolean).filter((e) => !a || o.has(e.toLowerCase())).map((e) => ({
|
|
27028
|
+
label: e,
|
|
27029
|
+
curie: Object.keys(r).find((t) => String(r[t] || "").toLowerCase() === e.toLowerCase()) || "",
|
|
27030
|
+
count: s.get(e.toLowerCase()) || 0
|
|
27031
|
+
})), l = [...new Map(c.map((e) => [e.label.toLowerCase(), e])).values()];
|
|
27032
|
+
this.$emit("soma-locations-ready", l);
|
|
27033
|
+
},
|
|
27034
|
+
buildGeneFacetChildren: function(e) {
|
|
27035
|
+
let t = /* @__PURE__ */ new Set();
|
|
27036
|
+
return e.forEach((e) => {
|
|
27037
|
+
(e.geneBaseNames || []).forEach((e) => {
|
|
27038
|
+
let n = this.normalizeFacetValue(e);
|
|
27039
|
+
n && t.add(n);
|
|
27040
|
+
});
|
|
27041
|
+
}), [...t].sort((e, t) => e.localeCompare(t, void 0, { sensitivity: "base" })).map((e) => ({ label: this.geneBaseToDisplay[e] || e }));
|
|
27042
|
+
},
|
|
27043
|
+
matchFieldFilter: function(e, t) {
|
|
27044
|
+
let n = this.normalizeFacetValue(t.facet), r = this.normalizeFacetValue(t.term);
|
|
27045
|
+
if (!n || n === "show all") return !0;
|
|
27046
|
+
if (r === "species") return this.normalizeFacetValue(e.species) === n;
|
|
27047
|
+
if (r === "soma location") return (e.somaLocations || []).some((e) => this.normalizeFacetValue(e) === n);
|
|
27048
|
+
if (r === "gene") {
|
|
27049
|
+
let t = this.geneDisplayToBase[n] || n;
|
|
27050
|
+
return (e.geneBaseNames || []).some((e) => this.normalizeFacetValue(e) === t);
|
|
27051
|
+
}
|
|
27052
|
+
if (r === "circuit role") return this.normalizeFacetValue(e.circuitRole) === n;
|
|
27053
|
+
if (r === "source") return this.normalizeFacetValue(e.sourceNomenclatureLabel) === n;
|
|
27054
|
+
if (r === "notes") {
|
|
27055
|
+
let t = e.alertNotes?.length > 0 || e.curatorNotes?.length > 0;
|
|
27056
|
+
return n === "with notes" ? t : n === "without notes" && !t;
|
|
27057
|
+
}
|
|
27058
|
+
return !1;
|
|
27059
|
+
},
|
|
27060
|
+
getFilteredCellTypes: function(e = this.activeFilters, t = this.searchInput) {
|
|
27061
|
+
let n = this.normalizeSearchTerms(t), r = (e || []).filter((e) => e?.term && e?.facet && this.normalizeFacetValue(e.facet) !== "show all").reduce((e, t) => {
|
|
27062
|
+
let n = this.normalizeFacetValue(t.term);
|
|
27063
|
+
return e[n] || (e[n] = []), e[n].push(t), e;
|
|
27064
|
+
}, {}), i = Object.values(r);
|
|
27065
|
+
return this.allCellTypes.filter((e) => i.every((t) => t.some((t) => this.matchFieldFilter(e, t)))).filter((e) => this.matchSearchQuery(e, n));
|
|
27066
|
+
},
|
|
27067
|
+
applyFilters: function(e) {
|
|
27068
|
+
let t = this.getFilteredCellTypes(e, this.searchInput);
|
|
27069
|
+
this.totalFilteredCount = t.length, this.cellTypes = t.slice(this.start, this.start + this.numberPerPage), this.cellTypes.some((e) => e.id === this.activeCardId) || (this.activeCardId = null), this.$emit("search-changed", {
|
|
27070
|
+
query: this.searchInput,
|
|
27071
|
+
filter: e,
|
|
27072
|
+
tabType: "cellType"
|
|
27073
|
+
});
|
|
27074
|
+
},
|
|
27075
|
+
onRelatedCellClick: function(e) {
|
|
27076
|
+
let t = e.species, n = e.label, r = this.normalizeActiveSpeciesFilterTerm(t);
|
|
27077
|
+
!this.activeFilters.some(function(e) {
|
|
27078
|
+
return this.normalizeFacetValue(e.term) === "species" && this.normalizeFacetValue(e.facet) === this.normalizeFacetValue(r);
|
|
27079
|
+
}, this) && r && this.activeFilters.push({
|
|
27080
|
+
facetPropPath: "species",
|
|
27081
|
+
facet: BU(r),
|
|
27082
|
+
term: "Species",
|
|
27083
|
+
tagLabel: BU(r)
|
|
27084
|
+
}), this.searchInput = "", this.page = 1, this.start = 0, this.applyFilters(this.activeFilters), this.syncCascaderFromActiveFilters(), this.emitSomaLocations(this.filterOptions);
|
|
27085
|
+
let i = this.allCellTypes.find(function(e) {
|
|
27086
|
+
return (e.preferredLabel || "").toLowerCase() === (n || "").toLowerCase();
|
|
27087
|
+
});
|
|
27088
|
+
i && (this.activeCardId = i.id), this.$nextTick(function() {
|
|
27089
|
+
this.scrollToTop();
|
|
27090
|
+
});
|
|
27091
|
+
},
|
|
27092
|
+
showSomaLocation: function(e) {
|
|
27093
|
+
this.$emit("soma-location-hovered", e);
|
|
27094
|
+
},
|
|
27095
|
+
onDatasetSearch: function(e) {
|
|
27096
|
+
this.$emit("dataset-search", e);
|
|
27097
|
+
},
|
|
27098
|
+
onConnectivitySearch: function(e) {
|
|
27099
|
+
this.$emit("connectivity-search", e);
|
|
27100
|
+
},
|
|
27101
|
+
getSearch: function() {
|
|
27102
|
+
return this.searchInput;
|
|
27103
|
+
},
|
|
27104
|
+
getFilters: function() {
|
|
27105
|
+
return this.activeFilters.some((e) => e.facet.toLowerCase() !== "show all") ? this.activeFilters : [];
|
|
27106
|
+
}
|
|
27107
|
+
}
|
|
27108
|
+
}, EK = { class: "header" }, DK = {
|
|
27109
|
+
class: "content scrollbar",
|
|
27110
|
+
ref: "content"
|
|
27111
|
+
};
|
|
27112
|
+
function OK(e, n, r, i, a, o) {
|
|
27113
|
+
let s = Oh, l = V("MapSvgIcon"), f = Fx, h = Rg, g = CG, _ = rW, v = SK, y = Ax, b = C_, x = Kx;
|
|
27114
|
+
return L(), c(b, {
|
|
27115
|
+
"body-style": e.bodyStyle,
|
|
27116
|
+
class: "content-card"
|
|
27117
|
+
}, {
|
|
27118
|
+
header: G(() => [d("div", EK, [
|
|
27119
|
+
d("div", { class: D(["search-input-container", { "is-focus": e.searchInput }]) }, [m(s, {
|
|
27120
|
+
class: "search-input",
|
|
27121
|
+
placeholder: "Search",
|
|
27122
|
+
modelValue: e.searchInput,
|
|
27123
|
+
"onUpdate:modelValue": n[0] ||= (t) => e.searchInput = t,
|
|
27124
|
+
onKeyup: o.searchEvent,
|
|
27125
|
+
clearable: "",
|
|
27126
|
+
onClear: o.clearSearchClicked
|
|
27127
|
+
}, null, 8, [
|
|
27128
|
+
"modelValue",
|
|
27129
|
+
"onKeyup",
|
|
27130
|
+
"onClear"
|
|
27131
|
+
]), m(f, {
|
|
27132
|
+
width: "350",
|
|
27133
|
+
trigger: "hover",
|
|
27134
|
+
"popper-class": "filter-help-popover"
|
|
27135
|
+
}, {
|
|
27136
|
+
reference: G(() => [m(l, {
|
|
27137
|
+
icon: "help",
|
|
27138
|
+
class: "help"
|
|
27139
|
+
})]),
|
|
27140
|
+
default: G(() => [n[2] ||= d("div", null, [
|
|
27141
|
+
d("strong", null, "Search rules:"),
|
|
27142
|
+
d("ul", null, [d("li", null, [
|
|
27143
|
+
d("strong", null, "Multiple Terms:"),
|
|
27144
|
+
p(" Separate terms with a comma ("),
|
|
27145
|
+
d("code", null, ","),
|
|
27146
|
+
p("). This will find cell cards that match any of the terms (an \"OR\" search). ")
|
|
27147
|
+
]), d("li", null, [d("strong", null, "Exact Phrase:"), p(" Terms within a comma block will be matched as an exact phrase. ")])]),
|
|
27148
|
+
d("br"),
|
|
27149
|
+
d("strong", null, "Examples:"),
|
|
27150
|
+
d("ul", null, [d("li", null, [
|
|
27151
|
+
d("strong", null, "To find by exact phrase:"),
|
|
27152
|
+
p(" Searching for "),
|
|
27153
|
+
d("code", null, "soma location"),
|
|
27154
|
+
p(" will find any card containing "),
|
|
27155
|
+
d("code", null, "\"soma location\""),
|
|
27156
|
+
p(". ")
|
|
27157
|
+
]), d("li", null, [
|
|
27158
|
+
d("strong", null, "To find by multiple terms:"),
|
|
27159
|
+
p(" Searching for "),
|
|
27160
|
+
d("code", null, "mouse, vagal"),
|
|
27161
|
+
p(" will find cards that contain either "),
|
|
27162
|
+
d("code", null, "mouse"),
|
|
27163
|
+
p(" OR "),
|
|
27164
|
+
d("code", null, "vagal"),
|
|
27165
|
+
p(". ")
|
|
27166
|
+
])])
|
|
27167
|
+
], -1)]),
|
|
27168
|
+
_: 1
|
|
27169
|
+
})], 2),
|
|
27170
|
+
m(h, {
|
|
27171
|
+
type: "primary",
|
|
27172
|
+
class: "button",
|
|
27173
|
+
onClick: o.searchEvent,
|
|
27174
|
+
size: "large"
|
|
27175
|
+
}, {
|
|
27176
|
+
default: G(() => [...n[3] ||= [p(" Search ", -1)]]),
|
|
27177
|
+
_: 1
|
|
27178
|
+
}, 8, ["onClick"]),
|
|
27179
|
+
m(h, {
|
|
27180
|
+
link: "",
|
|
27181
|
+
class: "el-button-link",
|
|
27182
|
+
onClick: o.onResetClick,
|
|
27183
|
+
size: "large"
|
|
27184
|
+
}, {
|
|
27185
|
+
default: G(() => [...n[4] ||= [p(" Reset ", -1)]]),
|
|
27186
|
+
_: 1
|
|
27187
|
+
}, 8, ["onClick"])
|
|
27188
|
+
])]),
|
|
27189
|
+
default: G(() => [
|
|
27190
|
+
m(g, {
|
|
27191
|
+
class: "filters",
|
|
27192
|
+
ref: "filtersRef",
|
|
27193
|
+
entry: o.filterEntry,
|
|
27194
|
+
envVars: r.envVars,
|
|
27195
|
+
onFilterResults: o.filterUpdate,
|
|
27196
|
+
onNumberPerPage: o.numberPerPageUpdate,
|
|
27197
|
+
onLoading: o.filtersLoading,
|
|
27198
|
+
onCascaderReady: o.cascaderReady
|
|
27199
|
+
}, null, 8, [
|
|
27200
|
+
"entry",
|
|
27201
|
+
"envVars",
|
|
27202
|
+
"onFilterResults",
|
|
27203
|
+
"onNumberPerPage",
|
|
27204
|
+
"onLoading",
|
|
27205
|
+
"onCascaderReady"
|
|
27206
|
+
]),
|
|
27207
|
+
m(_, {
|
|
27208
|
+
ref: "searchHistory",
|
|
27209
|
+
localStorageKey: "sparc.science-cell-card-search-history",
|
|
27210
|
+
onSearch: o.searchHistorySearch
|
|
27211
|
+
}, null, 8, ["onSearch"]),
|
|
27212
|
+
we((L(), u("div", DK, [(L(!0), u(t, null, ae(e.cellTypes, (t) => (L(), c(v, {
|
|
27213
|
+
key: t.id,
|
|
27214
|
+
cellType: t,
|
|
27215
|
+
isActive: e.activeCardId === t.id,
|
|
27216
|
+
onOpen: (e) => o.openCard(t.id),
|
|
27217
|
+
onClose: o.closeCard,
|
|
27218
|
+
onDatasetSearch: o.onDatasetSearch,
|
|
27219
|
+
onConnectivitySearch: o.onConnectivitySearch,
|
|
27220
|
+
onSomaLocationHovered: o.showSomaLocation,
|
|
27221
|
+
onRelatedCellClick: o.onRelatedCellClick
|
|
27222
|
+
}, null, 8, [
|
|
27223
|
+
"cellType",
|
|
27224
|
+
"isActive",
|
|
27225
|
+
"onOpen",
|
|
27226
|
+
"onClose",
|
|
27227
|
+
"onDatasetSearch",
|
|
27228
|
+
"onConnectivitySearch",
|
|
27229
|
+
"onSomaLocationHovered",
|
|
27230
|
+
"onRelatedCellClick"
|
|
27231
|
+
]))), 128)), m(y, {
|
|
27232
|
+
class: "pagination",
|
|
27233
|
+
"current-page": e.page,
|
|
27234
|
+
"onUpdate:currentPage": n[1] ||= (t) => e.page = t,
|
|
27235
|
+
"hide-on-single-page": "",
|
|
27236
|
+
large: "",
|
|
27237
|
+
layout: "prev, pager, next",
|
|
27238
|
+
"page-size": e.numberPerPage,
|
|
27239
|
+
total: e.totalFilteredCount,
|
|
27240
|
+
onCurrentChange: o.pageChange
|
|
27241
|
+
}, null, 8, [
|
|
27242
|
+
"current-page",
|
|
27243
|
+
"page-size",
|
|
27244
|
+
"total",
|
|
27245
|
+
"onCurrentChange"
|
|
27246
|
+
])])), [[x, e.loadingCards]])
|
|
27247
|
+
]),
|
|
27248
|
+
_: 1
|
|
27249
|
+
}, 8, ["body-style"]);
|
|
27250
|
+
}
|
|
27251
|
+
var kK = /*#__PURE__*/ gS(TK, [["render", OK], ["__scopeId", "data-v-74fd124d"]]), AK = {
|
|
26335
27252
|
name: "ContributorItem",
|
|
26336
27253
|
props: { contributor: {
|
|
26337
27254
|
type: Object,
|
|
@@ -26345,22 +27262,22 @@ var kG = /*#__PURE__*/ gS(wG, [["render", OG], ["__scopeId", "data-v-50396e05"]]
|
|
|
26345
27262
|
return this.contributor.url.indexOf("RRID:") > -1 ? "RRID:" + this.contributor.url.split("RRID:")[1] : "";
|
|
26346
27263
|
}
|
|
26347
27264
|
}
|
|
26348
|
-
},
|
|
27265
|
+
}, jK = { class: "contributor-item" }, MK = { class: "popover-content" }, NK = { class: "popover-name" }, PK = {
|
|
26349
27266
|
key: 0,
|
|
26350
27267
|
class: "popover-url"
|
|
26351
|
-
},
|
|
27268
|
+
}, FK = ["href"], IK = {
|
|
26352
27269
|
key: 1,
|
|
26353
27270
|
class: "popover-url"
|
|
26354
|
-
},
|
|
27271
|
+
}, LK = ["href"], RK = {
|
|
26355
27272
|
key: 2,
|
|
26356
27273
|
class: "popover-organization"
|
|
26357
|
-
},
|
|
27274
|
+
}, zK = {
|
|
26358
27275
|
key: 3,
|
|
26359
27276
|
class: "popover-role"
|
|
26360
27277
|
};
|
|
26361
|
-
function
|
|
27278
|
+
function BK(e, t, n, r, i, a) {
|
|
26362
27279
|
let o = Fx;
|
|
26363
|
-
return L(), u("div",
|
|
27280
|
+
return L(), u("div", jK, [m(o, {
|
|
26364
27281
|
placement: "top-start",
|
|
26365
27282
|
width: "320",
|
|
26366
27283
|
trigger: "hover",
|
|
@@ -26368,33 +27285,31 @@ function BG(e, t, n, r, i, a) {
|
|
|
26368
27285
|
teleported: !1
|
|
26369
27286
|
}, {
|
|
26370
27287
|
reference: G(() => [d("span", null, H(n.contributor.name), 1)]),
|
|
26371
|
-
default: G(() => [d("div",
|
|
26372
|
-
d("div",
|
|
26373
|
-
n.contributor.orcidId ? (L(), u("div",
|
|
27288
|
+
default: G(() => [d("div", MK, [
|
|
27289
|
+
d("div", NK, H(n.contributor.name), 1),
|
|
27290
|
+
n.contributor.orcidId ? (L(), u("div", PK, [
|
|
26374
27291
|
t[0] ||= d("strong", null, "ORCID iD", -1),
|
|
26375
27292
|
t[1] ||= p(": ", -1),
|
|
26376
27293
|
d("a", {
|
|
26377
27294
|
href: n.contributor.url,
|
|
26378
27295
|
target: "_blank"
|
|
26379
|
-
}, H(a.orcidId), 9,
|
|
27296
|
+
}, H(a.orcidId), 9, FK)
|
|
26380
27297
|
])) : l("", !0),
|
|
26381
|
-
a.rrid ? (L(), u("div",
|
|
27298
|
+
a.rrid ? (L(), u("div", IK, [
|
|
26382
27299
|
t[2] ||= d("strong", null, "RRID", -1),
|
|
26383
27300
|
t[3] ||= p(": ", -1),
|
|
26384
27301
|
d("a", {
|
|
26385
27302
|
href: n.contributor.url,
|
|
26386
27303
|
target: "_blank"
|
|
26387
|
-
}, H(a.rrid), 9,
|
|
27304
|
+
}, H(a.rrid), 9, LK)
|
|
26388
27305
|
])) : l("", !0),
|
|
26389
|
-
n.contributor.organization ? (L(), u("div",
|
|
26390
|
-
n.contributor.role ? (L(), u("div",
|
|
27306
|
+
n.contributor.organization ? (L(), u("div", RK, [t[4] ||= d("strong", null, "Organization", -1), p(": " + H(n.contributor.organization), 1)])) : l("", !0),
|
|
27307
|
+
n.contributor.role ? (L(), u("div", zK, [t[5] ||= d("strong", null, "Title", -1), p(": " + H(n.contributor.role), 1)])) : l("", !0)
|
|
26391
27308
|
])]),
|
|
26392
27309
|
_: 1
|
|
26393
27310
|
})]);
|
|
26394
27311
|
}
|
|
26395
|
-
var
|
|
26396
|
-
return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
|
|
26397
|
-
}, WG = {
|
|
27312
|
+
var VK = /*#__PURE__*/ gS(AK, [["render", BK], ["__scopeId", "data-v-41511373"]]), HK = (e) => e.replace(/\w\S*/g, (e) => e.charAt(0).toUpperCase() + e.substr(1).toLowerCase()), UK = {
|
|
26398
27313
|
name: "ConnectivityInfo",
|
|
26399
27314
|
components: {
|
|
26400
27315
|
Button: Rg,
|
|
@@ -26410,7 +27325,7 @@ var VG = /*#__PURE__*/ gS(AG, [["render", BG], ["__scopeId", "data-v-41511373"]]
|
|
|
26410
27325
|
ConnectivityGraph: Ze,
|
|
26411
27326
|
ConnectivityList: Qe,
|
|
26412
27327
|
ConnectivityReconciliationList: $e,
|
|
26413
|
-
ContributorItem:
|
|
27328
|
+
ContributorItem: VK
|
|
26414
27329
|
},
|
|
26415
27330
|
props: {
|
|
26416
27331
|
connectivityEntry: {
|
|
@@ -26540,10 +27455,10 @@ var VG = /*#__PURE__*/ gS(AG, [["render", BG], ["__scopeId", "data-v-41511373"]]
|
|
|
26540
27455
|
},
|
|
26541
27456
|
methods: {
|
|
26542
27457
|
titleCase: function(e) {
|
|
26543
|
-
return
|
|
27458
|
+
return HK(e);
|
|
26544
27459
|
},
|
|
26545
27460
|
capitalise: function(e) {
|
|
26546
|
-
return
|
|
27461
|
+
return BU(e);
|
|
26547
27462
|
},
|
|
26548
27463
|
toggleTitleExpansion: function() {
|
|
26549
27464
|
this.isTitleExpanded = !this.isTitleExpanded, this.isTitleExpanded || this.$nextTick(() => {
|
|
@@ -26625,7 +27540,7 @@ var VG = /*#__PURE__*/ gS(AG, [["render", BG], ["__scopeId", "data-v-41511373"]]
|
|
|
26625
27540
|
},
|
|
26626
27541
|
getUpdateCopyContent: function(e) {
|
|
26627
27542
|
if (!this.entry) return "";
|
|
26628
|
-
let t = [], n = this.entry?.title || "", r = this.entryData?.["long-label"] || this.entry?.["long-label"] || "", i = this.entry.featureId, a = [], o =
|
|
27543
|
+
let t = [], n = this.entry?.title || "", r = this.entryData?.["long-label"] || this.entry?.["long-label"] || "", i = this.entry.featureId, a = [], o = BU(r || n);
|
|
26629
27544
|
o && a.push(`<div><strong>${o}</strong></div>`), i?.length && (typeof i == "object" ? a.push(`<div><strong>Id:</strong> ${i[0]}</div>`) : a.push(`<div><strong>Id:</strong> ${i}</div>`)), t.push(`<div>${a.join("\n")}</div>`), this.entry.provenanceTaxonomyLabel?.length && t.push(`<div>${this.provSpeciesDescription}</div>`), this.entry.paths && t.push(`<div>${this.entry.paths}</div>`);
|
|
26630
27545
|
let s = !1, c = !1;
|
|
26631
27546
|
function l(e, t, n = []) {
|
|
@@ -26634,7 +27549,7 @@ var VG = /*#__PURE__*/ gS(AG, [["render", BG], ["__scopeId", "data-v-41511373"]]
|
|
|
26634
27549
|
let t = [];
|
|
26635
27550
|
e.split(",").forEach((e) => {
|
|
26636
27551
|
let r = n.find((t) => t.name === e.trim());
|
|
26637
|
-
r ? t.push(`${
|
|
27552
|
+
r ? t.push(`${BU(e)} (${r.id})`) : t.push(`${BU(e)}`);
|
|
26638
27553
|
}), i.push(t.join(","));
|
|
26639
27554
|
});
|
|
26640
27555
|
let a = i.map((e) => `<li>${e}</li>`).join("\n");
|
|
@@ -26650,12 +27565,12 @@ var VG = /*#__PURE__*/ gS(AG, [["render", BG], ["__scopeId", "data-v-41511373"]]
|
|
|
26650
27565
|
return typeof t == "string" ? t : t?.[0] || null;
|
|
26651
27566
|
}, a = r.map((e) => {
|
|
26652
27567
|
if (e?.sckanId && e?.mapId && JSON.stringify(e.sckanId) === JSON.stringify(e.mapId)) {
|
|
26653
|
-
let t = i(e.mapId), n =
|
|
27568
|
+
let t = i(e.mapId), n = BU(e.sckanLabel || e.mapLabel || "-");
|
|
26654
27569
|
return t ? `${n} (${t})` : n;
|
|
26655
27570
|
}
|
|
26656
|
-
let t = e?.sckanLabel ?
|
|
27571
|
+
let t = e?.sckanLabel ? BU(e.sckanLabel) : "-", n = i(e.sckanId), r = n ? `${t} (${n})` : t;
|
|
26657
27572
|
if (!e?.mapId?.length || !e?.mapLabel) return s = !0, `<s>${r}</s> (unavailable on <strong>Map</strong>) *`;
|
|
26658
|
-
let a =
|
|
27573
|
+
let a = BU(e.mapLabel), o = i(e.mapId), l = o ? `${a} (${o})` : a;
|
|
26659
27574
|
return c = !0, `<s>${r}</s> (<strong>Map:</strong> ${l}) **`;
|
|
26660
27575
|
}).map((e) => `<li>${e}</li>`).join("\n");
|
|
26661
27576
|
return n += "\n", n += `<ul>${a}</ul>`, n;
|
|
@@ -26841,7 +27756,7 @@ var VG = /*#__PURE__*/ gS(AG, [["render", BG], ["__scopeId", "data-v-41511373"]]
|
|
|
26841
27756
|
getConnectivityError: function(e) {
|
|
26842
27757
|
let { errorData: t, errorMessage: n } = e;
|
|
26843
27758
|
return {
|
|
26844
|
-
errorConnectivities: t.map((e) =>
|
|
27759
|
+
errorConnectivities: t.map((e) => BU(e.label)).join(", ").replace(/, ([^,]*)$/, " and $1"),
|
|
26845
27760
|
errorMessage: n
|
|
26846
27761
|
};
|
|
26847
27762
|
},
|
|
@@ -26889,20 +27804,10 @@ var VG = /*#__PURE__*/ gS(AG, [["render", BG], ["__scopeId", "data-v-41511373"]]
|
|
|
26889
27804
|
wz.emit("trackEvent", e);
|
|
26890
27805
|
},
|
|
26891
27806
|
showAlertMessage: function() {
|
|
26892
|
-
this
|
|
26893
|
-
let e = this.$refs.alertElement;
|
|
26894
|
-
e && e.scrollIntoView({
|
|
26895
|
-
behavior: "smooth",
|
|
26896
|
-
block: "start",
|
|
26897
|
-
inline: "nearest"
|
|
26898
|
-
});
|
|
26899
|
-
});
|
|
27807
|
+
HU(this, "alertElement");
|
|
26900
27808
|
},
|
|
26901
27809
|
formatAlertText: function(e) {
|
|
26902
|
-
return e
|
|
26903
|
-
let t = e.match(/^(.*?)([\].,;:!?]*)$/), n = t ? t[1] : e;
|
|
26904
|
-
return `<a href="${n}" target="_blank" rel="noopener noreferrer">${n}</a>${t ? t[2] : ""}`;
|
|
26905
|
-
}).replace(/\\n/g, "\n").replace(/\r\n/g, "\n").replace(/\r/g, "\n").split("\n").map((e) => `<div class="alert-line">${e.replace(/^\s*([A-Za-z][^:<]{0,120}:)/, "<strong>$1</strong>")}</div>`).join("\n") : "";
|
|
27810
|
+
return VU(e, { formatLines: !0 });
|
|
26906
27811
|
}
|
|
26907
27812
|
},
|
|
26908
27813
|
mounted: function() {
|
|
@@ -26911,55 +27816,55 @@ var VG = /*#__PURE__*/ gS(AG, [["render", BG], ["__scopeId", "data-v-41511373"]]
|
|
|
26911
27816
|
this.connectivityError = { ...t };
|
|
26912
27817
|
});
|
|
26913
27818
|
}
|
|
26914
|
-
},
|
|
27819
|
+
}, WK = {
|
|
26915
27820
|
key: 0,
|
|
26916
27821
|
class: "main"
|
|
26917
|
-
},
|
|
27822
|
+
}, GK = { class: "connectivity-info-title" }, KK = { class: "title-content" }, qK = {
|
|
26918
27823
|
key: 0,
|
|
26919
27824
|
class: "block"
|
|
26920
|
-
},
|
|
27825
|
+
}, JK = { class: "title-group" }, YK = { class: "subtitle" }, XK = { class: "id-tag" }, ZK = {
|
|
26921
27826
|
key: 0,
|
|
26922
27827
|
class: "subtitle"
|
|
26923
|
-
},
|
|
27828
|
+
}, QK = {
|
|
26924
27829
|
key: 1,
|
|
26925
27830
|
class: "block"
|
|
26926
|
-
},
|
|
27831
|
+
}, $K = { class: "title" }, eq = { class: "title-buttons" }, tq = { class: "block attribute-title-container" }, nq = {
|
|
26927
27832
|
key: 0,
|
|
26928
27833
|
style: { "word-break": "keep-all" }
|
|
26929
|
-
},
|
|
27834
|
+
}, rq = {
|
|
26930
27835
|
key: 1,
|
|
26931
27836
|
style: { "word-break": "keep-all" }
|
|
26932
|
-
},
|
|
27837
|
+
}, iq = {
|
|
26933
27838
|
key: 2,
|
|
26934
27839
|
class: "connectivity-legends"
|
|
26935
|
-
},
|
|
27840
|
+
}, aq = { class: "block buttons-row" }, oq = {
|
|
26936
27841
|
key: 0,
|
|
26937
27842
|
class: "population-details-source"
|
|
26938
|
-
},
|
|
27843
|
+
}, sq = {
|
|
26939
27844
|
key: 0,
|
|
26940
27845
|
class: "block"
|
|
26941
|
-
},
|
|
27846
|
+
}, cq = ["origin-item-label"], lq = ["origin-item-label", "onMouseenter"], uq = { class: "content-container content-container-connectivity" }, dq = { class: "content-container content-container-connectivity" }, fq = {
|
|
26942
27847
|
key: 1,
|
|
26943
27848
|
class: "content-container content-container-references"
|
|
26944
|
-
},
|
|
27849
|
+
}, pq = {
|
|
26945
27850
|
key: 2,
|
|
26946
27851
|
ref: "alertElement",
|
|
26947
27852
|
class: "content-container content-container-alert"
|
|
26948
|
-
},
|
|
27853
|
+
}, mq = { class: "block" }, hq = ["innerHTML"], gq = {
|
|
26949
27854
|
key: 3,
|
|
26950
27855
|
class: "content-container"
|
|
26951
|
-
},
|
|
27856
|
+
}, _q = { class: "block consultant-block" }, vq = {
|
|
26952
27857
|
key: 1,
|
|
26953
27858
|
class: "consultant-loading"
|
|
26954
|
-
},
|
|
27859
|
+
}, yq = {
|
|
26955
27860
|
key: 2,
|
|
26956
27861
|
class: "consultant-error"
|
|
26957
|
-
},
|
|
26958
|
-
function
|
|
26959
|
-
let s = Ae, f = De, h = zp, g = qe, _ = Rg, v = He, y = Fx, b = V("CopyToClipboard"), x = Fe, S = Je, C = Jv, w = Yv, T = We, E = V("connectivity-reconciliation-list"), O = V("connectivity-list"), k = V("connectivity-graph"), A = V("ExternalResourceCard"), j =
|
|
26960
|
-
return o.entry ? (L(), u("div",
|
|
26961
|
-
d("div",
|
|
26962
|
-
d("div",
|
|
27862
|
+
}, bq = { key: 0 }, xq = { key: 1 }, Sq = ["onClick"];
|
|
27863
|
+
function Cq(e, n, r, i, a, o) {
|
|
27864
|
+
let s = Ae, f = De, h = zp, g = qe, _ = Rg, v = He, y = Fx, b = V("CopyToClipboard"), x = Fe, S = Je, C = Jv, w = Yv, T = We, E = V("connectivity-reconciliation-list"), O = V("connectivity-list"), k = V("connectivity-graph"), A = V("ExternalResourceCard"), j = VK, M = Kx;
|
|
27865
|
+
return o.entry ? (L(), u("div", WK, [
|
|
27866
|
+
d("div", GK, [d("div", KK, [o.entry.title ? (L(), u("div", qK, [
|
|
27867
|
+
d("div", JK, [d("div", {
|
|
26963
27868
|
ref: "titleElement",
|
|
26964
27869
|
class: D(["title", { "title--clamped": !e.isTitleExpanded }]),
|
|
26965
27870
|
onClick: n[0] ||= (...e) => o.toggleTitleExpansion && o.toggleTitleExpansion(...e)
|
|
@@ -26972,7 +27877,7 @@ function wK(e, n, r, i, a, o) {
|
|
|
26972
27877
|
default: G(() => [e.isTitleExpanded ? (L(), c(s, { key: 0 })) : (L(), c(f, { key: 1 }))]),
|
|
26973
27878
|
_: 1
|
|
26974
27879
|
})])) : l("", !0)]),
|
|
26975
|
-
d("div",
|
|
27880
|
+
d("div", YK, [d("span", XK, H(o.entry.featureId[0]), 1), o.entry.featuresAlert?.length ? (L(), c(_, {
|
|
26976
27881
|
key: 0,
|
|
26977
27882
|
round: "",
|
|
26978
27883
|
size: "small",
|
|
@@ -26985,8 +27890,8 @@ function wK(e, n, r, i, a, o) {
|
|
|
26985
27890
|
}), n[6] ||= p(" Notes ", -1)]),
|
|
26986
27891
|
_: 1
|
|
26987
27892
|
}, 8, ["onClick"])) : l("", !0)]),
|
|
26988
|
-
o.hasProvenanceTaxonomyLabel ? (L(), u("div",
|
|
26989
|
-
])) : (L(), u("div",
|
|
27893
|
+
o.hasProvenanceTaxonomyLabel ? (L(), u("div", ZK, H(o.provSpeciesDescription), 1)) : l("", !0)
|
|
27894
|
+
])) : (L(), u("div", QK, [d("div", $K, H(o.entry.featureId), 1)]))]), d("div", eq, [
|
|
26990
27895
|
m(y, {
|
|
26991
27896
|
width: "auto",
|
|
26992
27897
|
trigger: "hover",
|
|
@@ -27033,7 +27938,7 @@ function wK(e, n, r, i, a, o) {
|
|
|
27033
27938
|
_: 1
|
|
27034
27939
|
})) : l("", !0)
|
|
27035
27940
|
])]),
|
|
27036
|
-
d("div", { class: D(["content-container population-details", { "flex-row": o.hasSingleConnectivityList }]) }, [d("div",
|
|
27941
|
+
d("div", { class: D(["content-container population-details", { "flex-row": o.hasSingleConnectivityList }]) }, [d("div", tq, [n[10] ||= d("span", { class: "attribute-title" }, "Population Details", -1), e.activeView === "listView" ? (L(), c(y, {
|
|
27037
27942
|
key: 0,
|
|
27038
27943
|
width: "250",
|
|
27039
27944
|
trigger: "hover",
|
|
@@ -27044,14 +27949,14 @@ function wK(e, n, r, i, a, o) {
|
|
|
27044
27949
|
default: G(() => [m(S)]),
|
|
27045
27950
|
_: 1
|
|
27046
27951
|
})]),
|
|
27047
|
-
default: G(() => [o.hasSingleConnectivityList ? (L(), u("span",
|
|
27952
|
+
default: G(() => [o.hasSingleConnectivityList ? (L(), u("span", nq, " This list is ordered alphabetically. Switch to graph view for path details, and use the legend below for reconciliation status. ")) : (L(), u("span", rq, " This list is ordered alphabetically, switch to graph view for path details. ")), o.hasSingleConnectivityList ? (L(), u("div", iq, [...n[9] ||= [
|
|
27048
27953
|
d("div", { class: "legend-title" }, "Legend", -1),
|
|
27049
27954
|
d("span", { class: "legend-item" }, [d("span", { class: "legend-color differ" }), p(" SCKAN feature alias to Map feature ")], -1),
|
|
27050
27955
|
d("span", { class: "legend-item" }, [d("span", { class: "legend-color unavailable" }), p(" SCKAN feature unavailable on Map ")], -1),
|
|
27051
27956
|
d("span", { class: "legend-item" }, [d("span", { class: "legend-color mapped" }), p(" SCKAN feature available on Map ")], -1)
|
|
27052
27957
|
]])) : l("", !0)]),
|
|
27053
27958
|
_: 1
|
|
27054
|
-
})) : l("", !0)]), d("div",
|
|
27959
|
+
})) : l("", !0)]), d("div", aq, [o.hasSingleConnectivityList ? l("", !0) : (L(), u("div", oq, [d("span", null, [n[12] ||= p(" Connectivity from: ", -1), m(y, {
|
|
27055
27960
|
width: "320",
|
|
27056
27961
|
trigger: "hover",
|
|
27057
27962
|
teleported: !1,
|
|
@@ -27098,11 +28003,11 @@ function wK(e, n, r, i, a, o) {
|
|
|
27098
28003
|
default: G(() => [...n[16] ||= [p(" Graph view ", -1)]]),
|
|
27099
28004
|
_: 1
|
|
27100
28005
|
}, 8, ["class"])], 2)])], 2),
|
|
27101
|
-
o.entry["nerve-label"] ? (L(), u("div",
|
|
28006
|
+
o.entry["nerve-label"] ? (L(), u("div", sq, [n[18] ||= d("div", { class: "attribute-title-container" }, [d("span", { class: "attribute-title" }, "Nerves")], -1), (L(!0), u(t, null, ae(o.entry["nerve-label"], (e, r) => (L(), u("div", null, [(L(), u("div", {
|
|
27102
28007
|
class: "attribute-content",
|
|
27103
28008
|
"origin-item-label": e.nerve,
|
|
27104
28009
|
key: e.nerve
|
|
27105
|
-
}, [d("span", null, H(o.capitalise(e.nerve)), 1)], 8,
|
|
28010
|
+
}, [d("span", null, H(o.capitalise(e.nerve)), 1)], 8, cq)), (L(!0), u(t, null, ae(e.subNerves, (e, t) => (L(), u("div", {
|
|
27106
28011
|
class: "attribute-content",
|
|
27107
28012
|
style: { "margin-left": "1rem" },
|
|
27108
28013
|
"origin-item-label": e,
|
|
@@ -27124,8 +28029,8 @@ function wK(e, n, r, i, a, o) {
|
|
|
27124
28029
|
}, 8, ["onClick"])]),
|
|
27125
28030
|
default: G(() => [n[17] ||= d("span", null, "Search sub nerve", -1)]),
|
|
27126
28031
|
_: 2
|
|
27127
|
-
}, 1024), d("span", null, H(o.capitalise(e)), 1)], 40,
|
|
27128
|
-
we(d("div",
|
|
28032
|
+
}, 1024), d("span", null, H(o.capitalise(e)), 1)], 40, lq))), 128))]))), 256))])) : l("", !0),
|
|
28033
|
+
we(d("div", uq, [o.hasSingleConnectivityList ? we((L(), c(E, {
|
|
27129
28034
|
key: `${o.connectivityKey}list`,
|
|
27130
28035
|
entry: o.entry,
|
|
27131
28036
|
origins: o.origins,
|
|
@@ -27186,7 +28091,7 @@ function wK(e, n, r, i, a, o) {
|
|
|
27186
28091
|
"onConnectivityClicked",
|
|
27187
28092
|
"onConnectivityActionClick"
|
|
27188
28093
|
])), [[M, e.connectivityLoading]])], 512), [[xe, e.activeView === "listView"]]),
|
|
27189
|
-
we(d("div",
|
|
28094
|
+
we(d("div", dq, [e.graphViewLoaded ? (L(), u(t, { key: 0 }, [m(_, {
|
|
27190
28095
|
class: "button",
|
|
27191
28096
|
onClick: o.openGraphInViewer
|
|
27192
28097
|
}, {
|
|
@@ -27228,7 +28133,7 @@ function wK(e, n, r, i, a, o) {
|
|
|
27228
28133
|
"hasSingleConnectivityList",
|
|
27229
28134
|
"onTapNode"
|
|
27230
28135
|
])), [[M, e.connectivityLoading]])], 64)) : l("", !0)], 512), [[xe, e.activeView === "graphView"]]),
|
|
27231
|
-
o.resources.length ? (L(), u("div",
|
|
28136
|
+
o.resources.length ? (L(), u("div", fq, [m(A, {
|
|
27232
28137
|
resources: o.resources,
|
|
27233
28138
|
onReferencesLoaded: o.onReferencesLoaded,
|
|
27234
28139
|
onShowReferenceConnectivities: o.onShowReferenceConnectivities,
|
|
@@ -27239,24 +28144,24 @@ function wK(e, n, r, i, a, o) {
|
|
|
27239
28144
|
"onShowReferenceConnectivities",
|
|
27240
28145
|
"onTrackEvent"
|
|
27241
28146
|
])])) : l("", !0),
|
|
27242
|
-
o.entry.featuresAlert?.length ? (L(), u("div",
|
|
28147
|
+
o.entry.featuresAlert?.length ? (L(), u("div", pq, [n[20] ||= d("div", { class: "block attribute-title-container" }, [d("span", { class: "attribute-title" }, "Notes")], -1), d("div", mq, [(L(!0), u(t, null, ae(o.entry.featuresAlert, (e) => (L(), u("div", {
|
|
27243
28148
|
class: "alert-block",
|
|
27244
28149
|
innerHTML: o.formatAlertText(e)
|
|
27245
|
-
}, null, 8,
|
|
27246
|
-
e.expertConsultants.length ? (L(), u("div",
|
|
28150
|
+
}, null, 8, hq))), 256))])], 512)) : l("", !0),
|
|
28151
|
+
e.expertConsultants.length ? (L(), u("div", gq, [n[23] ||= d("div", { class: "block attribute-title-container" }, [d("span", { class: "attribute-title" }, "Expert Consultants")], -1), d("ul", _q, [(L(!0), u(t, null, ae(e.expertConsultants, (e) => (L(), u("li", { key: e.url }, [e.name ? (L(), c(j, {
|
|
27247
28152
|
key: 0,
|
|
27248
28153
|
contributor: e
|
|
27249
|
-
}, null, 8, ["contributor"])) : e.error ? l("", !0) : (L(), u("div",
|
|
28154
|
+
}, null, 8, ["contributor"])) : e.error ? l("", !0) : (L(), u("div", vq, [d("span", null, "Loading " + H(e.url), 1)])), e.error ? (L(), u("div", yq, [e.errorMessage ? (L(), u("span", bq, H(e.errorMessage), 1)) : (L(), u("span", xq, "Sorry, something went wrong.")), e.refreshable ? (L(), u(t, { key: 2 }, [
|
|
27250
28155
|
n[21] ||= d("br", null, null, -1),
|
|
27251
28156
|
n[22] ||= p(" Please try again. ", -1),
|
|
27252
28157
|
d("span", {
|
|
27253
28158
|
class: "reload-button",
|
|
27254
28159
|
onClick: (t) => o.reloadConsultant(e)
|
|
27255
|
-
}, " Reload ", 8,
|
|
28160
|
+
}, " Reload ", 8, Sq)
|
|
27256
28161
|
], 64)) : l("", !0)])) : l("", !0)]))), 128))])])) : l("", !0)
|
|
27257
28162
|
])) : l("", !0);
|
|
27258
28163
|
}
|
|
27259
|
-
var
|
|
28164
|
+
var wq = /*#__PURE__*/ gS(UK, [["render", Cq], ["__scopeId", "data-v-09919fd1"]]), Tq = {
|
|
27260
28165
|
name: "ConnectivityCard",
|
|
27261
28166
|
data() {
|
|
27262
28167
|
return { displayFields: ["id", "nerve-label"] };
|
|
@@ -27287,7 +28192,7 @@ var TK = /*#__PURE__*/ gS(WG, [["render", wK], ["__scopeId", "data-v-c6ac47f9"]]
|
|
|
27287
28192
|
},
|
|
27288
28193
|
methods: {
|
|
27289
28194
|
capitalise: function(e) {
|
|
27290
|
-
return
|
|
28195
|
+
return BU(e);
|
|
27291
28196
|
},
|
|
27292
28197
|
cardClicked: function(e) {
|
|
27293
28198
|
this.loading || (this.$emit("open-connectivity", e), wz.emit("trackEvent", {
|
|
@@ -27297,28 +28202,28 @@ var TK = /*#__PURE__*/ gS(WG, [["render", wK], ["__scopeId", "data-v-c6ac47f9"]]
|
|
|
27297
28202
|
}));
|
|
27298
28203
|
}
|
|
27299
28204
|
}
|
|
27300
|
-
},
|
|
28205
|
+
}, Eq = {
|
|
27301
28206
|
class: "connectivity-card-container",
|
|
27302
28207
|
ref: "container"
|
|
27303
|
-
},
|
|
28208
|
+
}, Dq = {
|
|
27304
28209
|
class: "connectivity-card",
|
|
27305
28210
|
ref: "card"
|
|
27306
|
-
},
|
|
28211
|
+
}, Oq = { class: "card-title" }, kq = {
|
|
27307
28212
|
key: 0,
|
|
27308
28213
|
class: "card-details"
|
|
27309
|
-
},
|
|
28214
|
+
}, Aq = {
|
|
27310
28215
|
key: 0,
|
|
27311
28216
|
class: "card-tags"
|
|
27312
|
-
},
|
|
28217
|
+
}, jq = {
|
|
27313
28218
|
key: 1,
|
|
27314
28219
|
class: "id-tag"
|
|
27315
28220
|
};
|
|
27316
|
-
function
|
|
28221
|
+
function Mq(e, n, r, i, a, o) {
|
|
27317
28222
|
let s = Ug, f = Kx;
|
|
27318
|
-
return L(), u("div",
|
|
28223
|
+
return L(), u("div", Eq, [d("div", Dq, [n[1] ||= d("div", { class: "seperator-path" }, null, -1), we((L(), u("div", {
|
|
27319
28224
|
class: "card-content",
|
|
27320
28225
|
onClick: n[0] ||= (e) => o.cardClicked(r.entry)
|
|
27321
|
-
}, [d("div",
|
|
28226
|
+
}, [d("div", Oq, H(o.capitalise(o.displayTitle)), 1), (L(!0), u(t, null, ae(a.displayFields, (e) => (L(), u(t, { key: e }, [r.entry[e] ? (L(), u("div", kq, [e === "nerve-label" ? (L(), u("div", Aq, [(L(!0), u(t, null, ae(r.entry[e], (e) => (L(), u("div", { key: e.nerve }, [m(s, {
|
|
27322
28227
|
type: "primary",
|
|
27323
28228
|
size: "small"
|
|
27324
28229
|
}, {
|
|
@@ -27330,9 +28235,9 @@ function NK(e, n, r, i, a, o) {
|
|
|
27330
28235
|
}, {
|
|
27331
28236
|
default: G(() => [p(H(e), 1)]),
|
|
27332
28237
|
_: 2
|
|
27333
|
-
}, 1024))), 256))]))), 128))])) : (L(), u("span",
|
|
28238
|
+
}, 1024))), 256))]))), 128))])) : (L(), u("span", jq, H(r.entry[e]), 1))])) : l("", !0)], 64))), 128))])), [[f, o.loading]])], 512)], 512);
|
|
27334
28239
|
}
|
|
27335
|
-
var
|
|
28240
|
+
var Nq = /*#__PURE__*/ gS(Tq, [["render", Mq], ["__scopeId", "data-v-93ce73fa"]]), Pq = {
|
|
27336
28241
|
searchInput: "",
|
|
27337
28242
|
lastSearch: "",
|
|
27338
28243
|
results: [],
|
|
@@ -27342,20 +28247,20 @@ var PK = /*#__PURE__*/ gS(EK, [["render", NK], ["__scopeId", "data-v-36162a20"]]
|
|
|
27342
28247
|
numberPerPage: 10,
|
|
27343
28248
|
page: 1,
|
|
27344
28249
|
start: 0
|
|
27345
|
-
},
|
|
28250
|
+
}, Fq = {
|
|
27346
28251
|
components: {
|
|
27347
|
-
SearchFilters:
|
|
27348
|
-
SearchHistory:
|
|
27349
|
-
ConnectivityCard:
|
|
27350
|
-
ConnectivityInfo:
|
|
28252
|
+
SearchFilters: CG,
|
|
28253
|
+
SearchHistory: rW,
|
|
28254
|
+
ConnectivityCard: Nq,
|
|
28255
|
+
ConnectivityInfo: wq,
|
|
27351
28256
|
Button: Rg,
|
|
27352
28257
|
Card: C_,
|
|
27353
28258
|
Checkbox: Mv,
|
|
27354
28259
|
Icon: zp,
|
|
27355
28260
|
Input: Oh,
|
|
27356
28261
|
Pagination: Ax,
|
|
27357
|
-
MapSvgIcon:
|
|
27358
|
-
MapSvgSpriteColor:
|
|
28262
|
+
MapSvgIcon: oW,
|
|
28263
|
+
MapSvgSpriteColor: QW
|
|
27359
28264
|
},
|
|
27360
28265
|
name: "ConnectivityExplorer",
|
|
27361
28266
|
props: {
|
|
@@ -27365,7 +28270,7 @@ var PK = /*#__PURE__*/ gS(EK, [["render", NK], ["__scopeId", "data-v-36162a20"]]
|
|
|
27365
28270
|
},
|
|
27366
28271
|
entry: {
|
|
27367
28272
|
type: Object,
|
|
27368
|
-
default: () =>
|
|
28273
|
+
default: () => Pq
|
|
27369
28274
|
},
|
|
27370
28275
|
envVars: {
|
|
27371
28276
|
type: Object,
|
|
@@ -27497,7 +28402,7 @@ var PK = /*#__PURE__*/ gS(EK, [["render", NK], ["__scopeId", "data-v-36162a20"]]
|
|
|
27497
28402
|
onResetClick: function() {
|
|
27498
28403
|
this.openSearch([], ""), this.$emit("search-changed", {
|
|
27499
28404
|
value: [],
|
|
27500
|
-
tabType: "
|
|
28405
|
+
tabType: "connectivity",
|
|
27501
28406
|
type: "reset-update"
|
|
27502
28407
|
}), wz.emit("trackEvent", {
|
|
27503
28408
|
event_name: "portal_maps_action_filter",
|
|
@@ -27519,7 +28424,7 @@ var PK = /*#__PURE__*/ gS(EK, [["render", NK], ["__scopeId", "data-v-36162a20"]]
|
|
|
27519
28424
|
});
|
|
27520
28425
|
}), r.length && this.$emit("search-changed", {
|
|
27521
28426
|
value: r,
|
|
27522
|
-
tabType: "
|
|
28427
|
+
tabType: "connectivity",
|
|
27523
28428
|
type: "reset-update"
|
|
27524
28429
|
}), e && e.length > 0 && this.filter && this.filter.length === 0 ? (this.$refs.filtersRef.checkShowAllBoxes(), this.resetSearch()) : this.filter && (this.searchKnowledge(this.filter, t), this.$refs.filtersRef.setCascader(this.filter), this.searchHistoryUpdate(this.filter, t));
|
|
27525
28430
|
} else this.filter = e, (!e || e.length == 0) && (this.searchKnowledge(this.filter, t), this.searchHistoryUpdate(this.filter, t));
|
|
@@ -27613,20 +28518,20 @@ var PK = /*#__PURE__*/ gS(EK, [["render", NK], ["__scopeId", "data-v-36162a20"]]
|
|
|
27613
28518
|
this.expanded = "", this.expandedData = null;
|
|
27614
28519
|
});
|
|
27615
28520
|
}
|
|
27616
|
-
},
|
|
28521
|
+
}, Iq = { class: "header" }, Lq = {
|
|
27617
28522
|
key: 0,
|
|
27618
28523
|
class: "visibility-filter"
|
|
27619
|
-
},
|
|
28524
|
+
}, Rq = {
|
|
27620
28525
|
key: 0,
|
|
27621
28526
|
class: "error-feedback"
|
|
27622
|
-
},
|
|
27623
|
-
function
|
|
27624
|
-
let s = V("MapSvgSpriteColor"), f = Oh, h = V("MapSvgIcon"), g = Fx, _ = Rg, v = Mv, y =
|
|
28527
|
+
}, zq = ["onMouseenter"];
|
|
28528
|
+
function Bq(e, n, r, i, a, o) {
|
|
28529
|
+
let s = V("MapSvgSpriteColor"), f = Oh, h = V("MapSvgIcon"), g = Fx, _ = Rg, v = Mv, y = CG, b = rW, x = Nq, S = wq, C = Ax, w = C_, T = Kx;
|
|
27625
28530
|
return L(), c(w, {
|
|
27626
28531
|
"body-style": e.bodyStyle,
|
|
27627
28532
|
class: "content-card"
|
|
27628
28533
|
}, {
|
|
27629
|
-
header: G(() => [d("div",
|
|
28534
|
+
header: G(() => [d("div", Iq, [
|
|
27630
28535
|
d("div", { class: D(["search-input-container", { "is-focus": e.inputFocus }]) }, [m(f, {
|
|
27631
28536
|
class: "search-input",
|
|
27632
28537
|
placeholder: "Search",
|
|
@@ -27718,7 +28623,7 @@ function VK(e, n, r, i, a, o) {
|
|
|
27718
28623
|
default: G(() => [...n[7] ||= [p(" Reset ", -1)]]),
|
|
27719
28624
|
_: 1
|
|
27720
28625
|
}, 8, ["onClick"]),
|
|
27721
|
-
r.showVisibilityFilter ? (L(), u("div",
|
|
28626
|
+
r.showVisibilityFilter ? (L(), u("div", Lq, [m(v, {
|
|
27722
28627
|
modelValue: e.filterVisibility,
|
|
27723
28628
|
"onUpdate:modelValue": n[1] ||= (t) => e.filterVisibility = t
|
|
27724
28629
|
}, {
|
|
@@ -27776,7 +28681,7 @@ function VK(e, n, r, i, a, o) {
|
|
|
27776
28681
|
ref: "content",
|
|
27777
28682
|
onMouseleave: n[4] ||= (e) => o.onHoverChanged(e, void 0)
|
|
27778
28683
|
}, [
|
|
27779
|
-
e.results.length === 0 && !e.loadingCards ? (L(), u("div",
|
|
28684
|
+
e.results.length === 0 && !e.loadingCards ? (L(), u("div", Rq, " No results found - Please change your search / filter criteria. ")) : l("", !0),
|
|
27780
28685
|
(L(!0), u(t, null, ae(o.paginatedResults, (t) => (L(), u("div", {
|
|
27781
28686
|
key: t.id,
|
|
27782
28687
|
ref_for: !0,
|
|
@@ -27822,7 +28727,7 @@ function VK(e, n, r, i, a, o) {
|
|
|
27822
28727
|
"onConnectivityClicked",
|
|
27823
28728
|
"onLoaded",
|
|
27824
28729
|
"onCloseConnectivity"
|
|
27825
|
-
])) : l("", !0)], 40,
|
|
28730
|
+
])) : l("", !0)], 40, zq))), 128)),
|
|
27826
28731
|
m(C, {
|
|
27827
28732
|
class: "pagination",
|
|
27828
28733
|
"current-page": e.page,
|
|
@@ -27844,7 +28749,7 @@ function VK(e, n, r, i, a, o) {
|
|
|
27844
28749
|
_: 1
|
|
27845
28750
|
}, 8, ["body-style"]);
|
|
27846
28751
|
}
|
|
27847
|
-
var
|
|
28752
|
+
var Vq = /*#__PURE__*/ gS(Fq, [["render", Bq], ["__scopeId", "data-v-1052c2ae"]]), Hq = {
|
|
27848
28753
|
name: "AnnotationTool",
|
|
27849
28754
|
components: {
|
|
27850
28755
|
AnnotationPopup: Xe,
|
|
@@ -27868,13 +28773,13 @@ var HK = /*#__PURE__*/ gS(IK, [["render", VK], ["__scopeId", "data-v-02ba9966"]]
|
|
|
27868
28773
|
annotationPopupData: null
|
|
27869
28774
|
};
|
|
27870
28775
|
}
|
|
27871
|
-
},
|
|
28776
|
+
}, Uq = { class: "annotation-tool scrollbar" }, Wq = {
|
|
27872
28777
|
key: 1,
|
|
27873
28778
|
class: "delete-container"
|
|
27874
28779
|
};
|
|
27875
|
-
function
|
|
28780
|
+
function Gq(e, t, n, r, i, a) {
|
|
27876
28781
|
let o = V("CreateTooltipContent"), s = V("annotation-popup"), d = Cy, f = Rg, h = Sy;
|
|
27877
|
-
return L(), u("div",
|
|
28782
|
+
return L(), u("div", Uq, [
|
|
27878
28783
|
we(m(o, {
|
|
27879
28784
|
createData: n.createData,
|
|
27880
28785
|
onConfirmCreate: t[0] ||= (t) => e.$emit("confirm-create", t),
|
|
@@ -27889,7 +28794,7 @@ function KK(e, t, n, r, i, a) {
|
|
|
27889
28794
|
onHoverChanged: t[3] ||= (t) => e.$emit("hover-changed", t),
|
|
27890
28795
|
onTrackEvent: t[4] ||= (t) => e.$emit("trackEvent", t)
|
|
27891
28796
|
}, null, 8, ["annotationEntry"])) : l("", !0),
|
|
27892
|
-
n.createData && n.createData.toBeDeleted ? (L(), u("div",
|
|
28797
|
+
n.createData && n.createData.toBeDeleted ? (L(), u("div", Wq, [m(h, null, {
|
|
27893
28798
|
default: G(() => [
|
|
27894
28799
|
m(d, {
|
|
27895
28800
|
offset: 1,
|
|
@@ -27930,7 +28835,7 @@ function KK(e, t, n, r, i, a) {
|
|
|
27930
28835
|
})])) : l("", !0)
|
|
27931
28836
|
]);
|
|
27932
28837
|
}
|
|
27933
|
-
var
|
|
28838
|
+
var Kq = /*#__PURE__*/ gS(Hq, [["render", Gq], ["__scopeId", "data-v-7acfbf0c"]]), qq = {
|
|
27934
28839
|
name: "Tabs",
|
|
27935
28840
|
components: { ElIconClose: Fe },
|
|
27936
28841
|
props: {
|
|
@@ -27971,32 +28876,36 @@ var qK = /*#__PURE__*/ gS(UK, [["render", KK], ["__scopeId", "data-v-7acfbf0c"]]
|
|
|
27971
28876
|
});
|
|
27972
28877
|
}
|
|
27973
28878
|
}
|
|
27974
|
-
},
|
|
27975
|
-
function
|
|
28879
|
+
}, Jq = { class: "tabs-container" }, Yq = ["onClick"], Xq = { class: "tab-title" };
|
|
28880
|
+
function Zq(e, n, r, i, a, o) {
|
|
27976
28881
|
let s = Fe, f = zp;
|
|
27977
|
-
return L(), u("div",
|
|
27978
|
-
class: D(["tab", {
|
|
28882
|
+
return L(), u("div", Jq, [(L(!0), u(t, null, ae(o.tabs, (e) => (L(), u("div", {
|
|
28883
|
+
class: D(["tab", {
|
|
28884
|
+
"active-tab": e.id == r.activeId,
|
|
28885
|
+
"closable-tab": e.closable
|
|
28886
|
+
}]),
|
|
27979
28887
|
key: e.id,
|
|
27980
28888
|
onClick: (t) => o.tabClicked(e)
|
|
27981
|
-
}, [d("span",
|
|
28889
|
+
}, [d("span", Xq, H(e.title), 1), e.closable ? (L(), c(f, {
|
|
27982
28890
|
key: 0,
|
|
27983
28891
|
onClick: Ee((t) => o.tabClosed(e), ["stop"]),
|
|
27984
28892
|
class: "tab-close-icon"
|
|
27985
28893
|
}, {
|
|
27986
28894
|
default: G(() => [m(s)]),
|
|
27987
28895
|
_: 1
|
|
27988
|
-
}, 8, ["onClick"])) : l("", !0)], 10,
|
|
28896
|
+
}, 8, ["onClick"])) : l("", !0)], 10, Yq))), 128))]);
|
|
27989
28897
|
}
|
|
27990
|
-
var
|
|
28898
|
+
var Qq = /*#__PURE__*/ gS(qq, [["render", Zq], ["__scopeId", "data-v-e3121df3"]]), $q = {
|
|
27991
28899
|
components: {
|
|
27992
|
-
DatasetExplorer:
|
|
27993
|
-
Tabs:
|
|
28900
|
+
DatasetExplorer: jG,
|
|
28901
|
+
Tabs: Qq,
|
|
27994
28902
|
ElIconArrowLeft: Oe,
|
|
27995
28903
|
ElIconArrowRight: ke,
|
|
27996
28904
|
Drawer: Yy,
|
|
27997
28905
|
Icon: zp,
|
|
27998
|
-
AnnotationTool:
|
|
27999
|
-
ConnectivityExplorer:
|
|
28906
|
+
AnnotationTool: Kq,
|
|
28907
|
+
ConnectivityExplorer: Vq,
|
|
28908
|
+
CellCardExplorer: kK
|
|
28000
28909
|
},
|
|
28001
28910
|
name: "SideBar",
|
|
28002
28911
|
props: {
|
|
@@ -28020,6 +28929,12 @@ var $K = /*#__PURE__*/ gS(JK, [["render", QK], ["__scopeId", "data-v-744b6365"]]
|
|
|
28020
28929
|
id: 3,
|
|
28021
28930
|
type: "annotation",
|
|
28022
28931
|
closable: !0
|
|
28932
|
+
},
|
|
28933
|
+
{
|
|
28934
|
+
title: "Cell Card Explorer",
|
|
28935
|
+
id: 4,
|
|
28936
|
+
type: "cellCardExplorer",
|
|
28937
|
+
closable: !1
|
|
28023
28938
|
}
|
|
28024
28939
|
]
|
|
28025
28940
|
},
|
|
@@ -28068,6 +28983,10 @@ var $K = /*#__PURE__*/ gS(JK, [["render", QK], ["__scopeId", "data-v-744b6365"]]
|
|
|
28068
28983
|
showLongLabel: {
|
|
28069
28984
|
type: Boolean,
|
|
28070
28985
|
default: !1
|
|
28986
|
+
},
|
|
28987
|
+
showCellCards: {
|
|
28988
|
+
type: Boolean,
|
|
28989
|
+
default: !1
|
|
28071
28990
|
}
|
|
28072
28991
|
},
|
|
28073
28992
|
data: function() {
|
|
@@ -28077,6 +28996,7 @@ var $K = /*#__PURE__*/ gS(JK, [["render", QK], ["__scopeId", "data-v-744b6365"]]
|
|
|
28077
28996
|
activeTabId: 1,
|
|
28078
28997
|
activeAnnotationData: { tabType: "annotation" },
|
|
28079
28998
|
activeConnectivityData: { tabType: "connectivity" },
|
|
28999
|
+
activeSpeciesForEntries: [],
|
|
28080
29000
|
state: {
|
|
28081
29001
|
dataset: {
|
|
28082
29002
|
search: "",
|
|
@@ -28086,6 +29006,10 @@ var $K = /*#__PURE__*/ gS(JK, [["render", QK], ["__scopeId", "data-v-744b6365"]]
|
|
|
28086
29006
|
search: "",
|
|
28087
29007
|
filters: []
|
|
28088
29008
|
},
|
|
29009
|
+
cellCards: {
|
|
29010
|
+
search: "",
|
|
29011
|
+
filters: []
|
|
29012
|
+
},
|
|
28089
29013
|
connectivityEntries: [],
|
|
28090
29014
|
annotationEntries: [],
|
|
28091
29015
|
activeTabId: this.activeTabId
|
|
@@ -28107,6 +29031,12 @@ var $K = /*#__PURE__*/ gS(JK, [["render", QK], ["__scopeId", "data-v-744b6365"]]
|
|
|
28107
29031
|
let n = this.getActiveTabTypeById(e);
|
|
28108
29032
|
n === "connectivityExplorer" && (this.activeConnectivityData = t), n === "annotation" && (this.activeAnnotationData = t);
|
|
28109
29033
|
},
|
|
29034
|
+
showSomaLocation: function(e) {
|
|
29035
|
+
this.$emit("soma-location-hovered", e);
|
|
29036
|
+
},
|
|
29037
|
+
onSomaLocationsReady: function(e) {
|
|
29038
|
+
this.$emit("soma-locations-ready", e);
|
|
29039
|
+
},
|
|
28110
29040
|
showConnectivity: function(e) {
|
|
28111
29041
|
this.$emit("show-connectivity", e);
|
|
28112
29042
|
},
|
|
@@ -28143,6 +29073,29 @@ var $K = /*#__PURE__*/ gS(JK, [["render", QK], ["__scopeId", "data-v-744b6365"]]
|
|
|
28143
29073
|
this.getTabRef(void 0, "datasetExplorer", !0).openSearch(e, t);
|
|
28144
29074
|
});
|
|
28145
29075
|
},
|
|
29076
|
+
openCellCardExplorerSearch: function(e, t) {
|
|
29077
|
+
this.drawerOpen = !0, this.$nextTick(() => {
|
|
29078
|
+
let n = this.getTabRef(void 0, "cellCardExplorer", !0);
|
|
29079
|
+
n && typeof n.openSearch == "function" && n.openSearch(e, t);
|
|
29080
|
+
});
|
|
29081
|
+
},
|
|
29082
|
+
openDatasetSearchFromCellCard: function(e) {
|
|
29083
|
+
if (!e || typeof e != "object") {
|
|
29084
|
+
this.openSearch([], e);
|
|
29085
|
+
return;
|
|
29086
|
+
}
|
|
29087
|
+
let t = [];
|
|
29088
|
+
e.species && t.push({
|
|
29089
|
+
facet: e.species,
|
|
29090
|
+
term: "Species",
|
|
29091
|
+
facetPropPath: "organisms.primary.species.name"
|
|
29092
|
+
}), e.location && t.push({
|
|
29093
|
+
facet: e.location,
|
|
29094
|
+
term: "Anatomical structure",
|
|
29095
|
+
facetPropPath: "anatomy.organ.category.name",
|
|
29096
|
+
AND: !0
|
|
29097
|
+
}), this.openSearch(t, "");
|
|
29098
|
+
},
|
|
28146
29099
|
getTabRef: function(e, t, n = !1) {
|
|
28147
29100
|
let r = this.tabEntries.filter((n) => (e === void 0 || n.id === e) && (t === void 0 || n.type === t)), i = r.length ? r : this.tabEntries, a = i[0].type + "Tab_" + i[0].id;
|
|
28148
29101
|
return n && this.setActiveTab({
|
|
@@ -28210,18 +29163,24 @@ var $K = /*#__PURE__*/ gS(JK, [["render", QK], ["__scopeId", "data-v-744b6365"]]
|
|
|
28210
29163
|
updateState: function() {
|
|
28211
29164
|
this.state.activeTabId = this.activeTabId;
|
|
28212
29165
|
let e = this.getTabRef(void 0, "datasetExplorer");
|
|
28213
|
-
e && (this.state.dataset.search = e.getSearch(), this.state.dataset.filters =
|
|
29166
|
+
e && (this.state.dataset.search = e.getSearch(), this.state.dataset.filters = iG(e.getFilters()));
|
|
28214
29167
|
let t = this.getTabRef(void 0, "connectivityExplorer");
|
|
28215
|
-
t && (this.state.connectivity.search = t.getSearch(), this.state.connectivity.filters = t.getFilters())
|
|
29168
|
+
t && (this.state.connectivity.search = t.getSearch(), this.state.connectivity.filters = t.getFilters());
|
|
29169
|
+
let n = this.getTabRef(void 0, "cellCardExplorer");
|
|
29170
|
+
n && (this.state.cellCards.search = n.getSearch(), this.state.cellCards.filters = n.getFilters()), this.connectivityEntry && this.connectivityEntry.length > 0 && (this.state.connectivityEntries = this.connectivityEntry.map((e) => e.id)), this.annotationEntry && this.annotationEntry.length > 0 && (this.state.annotationEntries = this.annotationEntry.map((e) => e.models));
|
|
28216
29171
|
},
|
|
28217
29172
|
getState: function() {
|
|
28218
29173
|
return this.updateState(), this.state;
|
|
28219
29174
|
},
|
|
28220
29175
|
setState: function(e) {
|
|
28221
29176
|
if (!e || !e.dataset || !e.connectivity) return;
|
|
28222
|
-
|
|
28223
|
-
|
|
28224
|
-
|
|
29177
|
+
let t = JSON.parse(JSON.stringify(e));
|
|
29178
|
+
this.state = {
|
|
29179
|
+
...this.state,
|
|
29180
|
+
...t
|
|
29181
|
+
};
|
|
29182
|
+
let n = this.state.dataset.filters, r = this.state.connectivity.filters, i = this.state.dataset.search, a = this.state.connectivity.search, o = this.state.cellCards.filters || [], s = this.state.cellCards.search || "";
|
|
29183
|
+
(n.length || i) && this.openSearch(n, i), (r.length || a) && this.openConnectivitySearch(r, a), (o.length || s) && this.openCellCardExplorerSearch(o, s), e.activeTabId && this.$nextTick(() => {
|
|
28225
29184
|
this.tabEntries.find((t) => t.id === e.activeTabId) && (this.activeTabId = e.activeTabId);
|
|
28226
29185
|
});
|
|
28227
29186
|
},
|
|
@@ -28232,10 +29191,14 @@ var $K = /*#__PURE__*/ gS(JK, [["render", QK], ["__scopeId", "data-v-744b6365"]]
|
|
|
28232
29191
|
...e
|
|
28233
29192
|
};
|
|
28234
29193
|
this.$emit("trackEvent", t);
|
|
29194
|
+
},
|
|
29195
|
+
updateActiveSpeciesForEntries: function(e) {
|
|
29196
|
+
let t = Array.isArray(e) ? e : [e];
|
|
29197
|
+
this.activeSpeciesForEntries = [...new Set(t.filter(Boolean))];
|
|
28235
29198
|
}
|
|
28236
29199
|
},
|
|
28237
29200
|
computed: { tabEntries: function() {
|
|
28238
|
-
return this.tabs.filter((e) => e.type === "datasetExplorer" || e.type === "connectivityExplorer" || e.type === "annotation" && this.annotationEntry && this.annotationEntry.length > 0);
|
|
29201
|
+
return this.tabs.filter((e) => e.type === "datasetExplorer" || e.type === "connectivityExplorer" || e.type === "annotation" && this.annotationEntry && this.annotationEntry.length > 0 || e.type === "cellCardExplorer" && this.showCellCards);
|
|
28239
29202
|
} },
|
|
28240
29203
|
created: function() {
|
|
28241
29204
|
this.drawerOpen = this.openAtStart;
|
|
@@ -28266,20 +29229,20 @@ var $K = /*#__PURE__*/ gS(JK, [["render", QK], ["__scopeId", "data-v-744b6365"]]
|
|
|
28266
29229
|
this.trackEvent(e);
|
|
28267
29230
|
});
|
|
28268
29231
|
}
|
|
28269
|
-
},
|
|
28270
|
-
function
|
|
28271
|
-
let s = Oe, f = zp, p = ke, h =
|
|
28272
|
-
return L(), u("div",
|
|
29232
|
+
}, eJ = { ref: "container" }, tJ = { class: "box-card" }, nJ = { class: "sidebar-container" };
|
|
29233
|
+
function rJ(e, n, r, i, a, o) {
|
|
29234
|
+
let s = Oe, f = zp, p = ke, h = Qq, g = Kq, _ = Vq, v = kK, y = jG, b = Yy;
|
|
29235
|
+
return L(), u("div", eJ, [e.drawerOpen ? l("", !0) : (L(), u("div", {
|
|
28273
29236
|
key: 0,
|
|
28274
29237
|
onClick: n[0] ||= (...e) => o.toggleDrawer && o.toggleDrawer(...e),
|
|
28275
29238
|
class: "open-tab"
|
|
28276
29239
|
}, [m(f, null, {
|
|
28277
29240
|
default: G(() => [m(s)]),
|
|
28278
29241
|
_: 1
|
|
28279
|
-
})])), m(
|
|
29242
|
+
})])), m(b, {
|
|
28280
29243
|
class: "side-bar my-drawer",
|
|
28281
29244
|
modelValue: e.drawerOpen,
|
|
28282
|
-
"onUpdate:modelValue": n[
|
|
29245
|
+
"onUpdate:modelValue": n[9] ||= (t) => e.drawerOpen = t,
|
|
28283
29246
|
teleported: !1,
|
|
28284
29247
|
"modal-append-to-body": !1,
|
|
28285
29248
|
size: "584",
|
|
@@ -28290,14 +29253,14 @@ function iq(e, n, r, i, a, o) {
|
|
|
28290
29253
|
"z-index": 10,
|
|
28291
29254
|
"lock-scroll": !1
|
|
28292
29255
|
}, {
|
|
28293
|
-
default: G(() => [d("div",
|
|
29256
|
+
default: G(() => [d("div", tJ, [e.drawerOpen ? (L(), u("div", {
|
|
28294
29257
|
key: 0,
|
|
28295
29258
|
onClick: n[1] ||= (...e) => o.close && o.close(...e),
|
|
28296
29259
|
class: "close-tab"
|
|
28297
29260
|
}, [m(f, null, {
|
|
28298
29261
|
default: G(() => [m(p)]),
|
|
28299
29262
|
_: 1
|
|
28300
|
-
})])) : l("", !0), d("div",
|
|
29263
|
+
})])) : l("", !0), d("div", nJ, [o.tabEntries.length > 1 ? (L(), c(h, {
|
|
28301
29264
|
key: 0,
|
|
28302
29265
|
tabEntries: o.tabEntries,
|
|
28303
29266
|
activeId: e.activeTabId,
|
|
@@ -28361,8 +29324,26 @@ function iq(e, n, r, i, a, o) {
|
|
|
28361
29324
|
"onConnectivityHovered",
|
|
28362
29325
|
"onConnectivityCollapseChange",
|
|
28363
29326
|
"onConnectivityItemClose"
|
|
28364
|
-
])), [[xe, i.id === e.activeTabId]]) : we((L(), c(v, {
|
|
29327
|
+
])), [[xe, i.id === e.activeTabId]]) : i.type === "cellCardExplorer" && r.showCellCards ? we((L(), c(v, {
|
|
28365
29328
|
key: 2,
|
|
29329
|
+
ref_for: !0,
|
|
29330
|
+
ref: "cellCardExplorerTab_" + i.id,
|
|
29331
|
+
class: "sidebar-content-container",
|
|
29332
|
+
envVars: r.envVars,
|
|
29333
|
+
activeSpecies: e.activeSpeciesForEntries,
|
|
29334
|
+
onSearchChanged: (e) => o.searchChanged(i.id, e),
|
|
29335
|
+
onDatasetSearch: n[7] ||= (e) => o.openDatasetSearchFromCellCard(e),
|
|
29336
|
+
onConnectivitySearch: n[8] ||= (e) => o.openConnectivitySearch(e.facets, e.query),
|
|
29337
|
+
onSomaLocationHovered: o.showSomaLocation,
|
|
29338
|
+
onSomaLocationsReady: o.onSomaLocationsReady
|
|
29339
|
+
}, null, 8, [
|
|
29340
|
+
"envVars",
|
|
29341
|
+
"activeSpecies",
|
|
29342
|
+
"onSearchChanged",
|
|
29343
|
+
"onSomaLocationHovered",
|
|
29344
|
+
"onSomaLocationsReady"
|
|
29345
|
+
])), [[xe, i.id === e.activeTabId]]) : we((L(), c(y, {
|
|
29346
|
+
key: 3,
|
|
28366
29347
|
class: "sidebar-content-container",
|
|
28367
29348
|
contextCardEntry: i.contextCard,
|
|
28368
29349
|
envVars: r.envVars,
|
|
@@ -28379,6 +29360,6 @@ function iq(e, n, r, i, a, o) {
|
|
|
28379
29360
|
_: 1
|
|
28380
29361
|
}, 8, ["modelValue"])], 512);
|
|
28381
29362
|
}
|
|
28382
|
-
var
|
|
29363
|
+
var iJ = /*#__PURE__*/ gS($q, [["render", rJ], ["__scopeId", "data-v-a55df815"]]);
|
|
28383
29364
|
//#endregion
|
|
28384
|
-
export {
|
|
29365
|
+
export { iJ as SideBar };
|