{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/thread-loader/dist/cjs.js!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/eslint-loader/index.js??ref--14-0!/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/mixins/ContentMixin.js","dependencies":[{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/mixins/ContentMixin.js","mtime":1691367580841},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/babel.config.js","mtime":1684261475125},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IF9yZWdlbmVyYXRvclJ1bnRpbWUgZnJvbSAiL2hvbWUvY21pc3MvSmVua2lucy93b3Jrc3BhY2UvbWFwaW50ZWdyYXRlZHZ1ZXIvbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW1lL2hlbHBlcnMvZXNtL3JlZ2VuZXJhdG9yUnVudGltZS5qcyI7CmltcG9ydCBfYXN5bmNUb0dlbmVyYXRvciBmcm9tICIvaG9tZS9jbWlzcy9KZW5raW5zL3dvcmtzcGFjZS9tYXBpbnRlZ3JhdGVkdnVlci9ub2RlX21vZHVsZXMvQGJhYmVsL3J1bnRpbWUvaGVscGVycy9lc20vYXN5bmNUb0dlbmVyYXRvci5qcyI7CmltcG9ydCAiY29yZS1qcy9tb2R1bGVzL2VzLmFycmF5LmZpbHRlci5qcyI7CmltcG9ydCAiY29yZ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gICAgICAgIHZhciBsYWJlbCA9IHRoaXMuaWROYW1lUGFpcltyZXNvdXJjZS5mZWF0dXJlLm1vZGVsc107CiAgICAgICAgICAgIHZhciBoYXJkY29kZWRBbm5vdGF0aW9uID0gbWFya2VyWm9vbUxldmVscy5maWx0ZXIoZnVuY3Rpb24gKG16KSB7CiAgICAgICAgICAgICAgcmV0dXJuIG16LmlkID09PSByZXNvdXJjZS5mZWF0dXJlLm1vZGVsczsKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIGlmIChzdG9yZS5nZXR0ZXJzWyJzZXR0aW5ncy9pc0ZlYXR1cmVkTWFya2VySWRlbnRpZmllciJdKHJlc291cmNlLmZlYXR1cmUuaWQpKSB7CiAgICAgICAgICAgICAgLy8gSXQgaXMgYSBmZWF0dXJlZCBkYXRhc2V0IHNlYXJjaCBmb3IgRE9JLgogICAgICAgICAgICAgIHJldHVybmVkQWN0aW9uID0gewogICAgICAgICAgICAgICAgdHlwZTogIlNlYXJjaCIsCiAgICAgICAgICAgICAgICB0ZXJtOiBzdG9yZS5nZXR0ZXJzWyJzZXR0aW5ncy9mZWF0dXJlZE1hcmtlckRvaSJdKHJlc291cmNlLmZlYXR1cmUuaWQpCiAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgfSBlbHNlIGlmIChoYXJkY29kZWRBbm5vdGF0aW9uLmZpbHRlcihmdW5jdGlvbiAoaCkgewogICAgICAgICAgICAgIHJldHVybiBoLmtleXdvcmQ7CiAgICAgICAgICAgIH0pLmxlbmd0aCA+IDApIHsKICAgICAgICAgICAgICAvLyBpZiBpdCBtYXRjaGVzIG91ciBzdG9yZWQga2V5d29yZHMsIGl0IGlzIGEga2V5d29yZCBzZWFyY2gKICAgICAgICAgICAgICAvLyBLZXl3b3JkIHNlYXJjaGVzIGRvIG5vdCBjb250YWluIGxhYmVscywgc28gc3dpdGNoIHRvIGtleXdvcmQgc2VhcmNoIGlmIG5vIGxhYmVsIGV4aXN0cwogICAgICAgICAgICAgIHJldHVybmVkQWN0aW9uID0gewogICAgICAgICAgICAgICAgdHlwZTogIlNlYXJjaCIsCiAgICAgICAgICAgICAgICB0ZXJtOiAiaHR0cDovL3B1cmwub2JvbGlicmFyeS5vcmcvb2JvLyIgKyByZXNvdXJjZS5mZWF0dXJlLm1vZGVscy5yZXBsYWNlKCI6IiwgIl8iKQogICAgICAgICAgICAgIH07CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgLy8gRmFjZXQgc2VhcmNoIG9uIGFuYXRvbXkgaWYgaXQgaXMgbm90IGEga2V5d29yZCBzZWFyY2gKICAgICAgICAgICAgICByZXR1cm5lZEFjdGlvbiA9IHsKICAgICAgICAgICAgICAgIHR5cGU6ICJGYWNldCIsCiAgICAgICAgICAgICAgICBmYWNldDogbGFiZWwsCiAgICAgICAgICAgICAgICBmYWNldFByb3BQYXRoOiAiYW5hdG9teS5vcmdhbi5uYW1lIiwKICAgICAgICAgICAgICAgIHRlcm06ICJBbmF0b21pY2FsIHN0cnVjdHVyZSIKICAgICAgICAgICAgICB9OwogICAgICAgICAgICB9CiAgICAgICAgICAgIGZpcmVSZXNvdXJjZVNlbGVjdGVkID0gdHJ1ZTsKICAgICAgICAgICAgaWYgKHR5cGUgPT0gIk11bHRpRmxhdG1hcCIpIHsKICAgICAgICAgICAgICB2YXIgZmxhdG1hcCA9IHRoaXMuJHJlZnMubXVsdGlmbGF0bWFwLmdldEN1cnJlbnRGbGF0bWFwKCkubWFwSW1wOwogICAgICAgICAgICAgIGZsYXRtYXAuY2xlYXJTZWFyY2hSZXN1bHRzKCk7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0gZWxzZSBpZiAocmVzb3VyY2UuZmVhdHVyZS50eXBlID09ICJmZWF0dXJlIikgewogICAgICAgICAgICAvLyBEbyBubyBvcGVuIHNjYWZmb2xkIGluIHN5bmMgbWFwCiAgICAgICAgICAgIGlmICh0aGlzLnN5bmNNb2RlKSB7CiAgICAgICAgICAgICAgZmlyZVJlc291cm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fY2FsbGVlKGRhdGEpIHsKICAgICAgICB2YXIgbmFtZSwgaWQsIG9iamVjdHMsIG1hdGNoZWQsIF9tYXRjaGVkOwogICAgICAgIHJldHVybiBfcmVnZW5lcmF0b3JSdW50aW1lKCkud3JhcChmdW5jdGlvbiBfY2FsbGVlJChfY29udGV4dCkgewogICAgICAgICAgd2hpbGUgKDEpIHN3aXRjaCAoX2NvbnRleHQucHJldiA9IF9jb250ZXh0Lm5leHQpIHsKICAgICAgICAgICAgY2FzZSAwOgogICAgICAgICAgICAgIG5hbWUgPSBkYXRhLmludGVybmFsTmFtZTsKICAgICAgICAgICAgICBpZiAobmFtZSA9PT0gdW5kZWZpbmVkICYmIGRhdGEucmVzb3VyY2UpIHsKICAgICAgICAgICAgICAgIG5hbWUgPSBkYXRhLnJlc291cmNlLmxhYmVsOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgICBpZCA9IHVuZGVmaW5lZDsKICAgICAgICAgICAgICBpZiAoZGF0YS5yZXNvdXJjZSAmJiBkYXRhLnJlc291cmNlLnJlc291cmNlKSB7CiAgICAgICAgICAgICAgICBpZCA9IGRhdGEucmVzb3VyY2UucmVzb3VyY2VbMF07CiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIGlmICghKHRoaXMuZW50cnkudHlwZSA9PT0gIlNjYWZmb2xkIikpIHsKICAgICAgICAgICAgICAgIF9jb250ZXh0Lm5leHQgPSAxODsKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgICBvYmplY3RzID0gdGhpcy4kcmVmcy5zY2FmZm9sZC5maW5kT2JqZWN0c1dpdGhHcm91cE5hbWUobmFtZSk7IC8vIElmIGEgcmVnaW9uIGlzIG5vdCBmb3VuZCB1c2UgYSBoYXJkY29kZWQgbGlzdCB0byBkZXRlcm1pbmUKICAgICAgICAgICAgICAvLyBpdHMgcGFyZW50cyByZWdpb24gZmlyc3QKICAgICAgICAgICAgICBpZiAoIShvYmplY3RzLmxlbmd0aCA9PT0gMCkpIHsKICAgICAgICAgICAgICAgIF9jb250ZXh0Lm5leHQgPSAxNjsKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgICBpZiAoIShkYXRhLnJlc291cmNlICYmIGRhdGEucmVzb3VyY2UuZmVhdHVyZSkpIHsKICAgICAgICAgICAgICAgIF9jb250ZXh0Lm5leHQgPSAxMTsKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgICBtYXRjaGVkID0gZ2V0TmVydmVOYW1lcyhkYXRhLnJlc291cmNlLmZlYXR1cmUubW9kZWxzKTsKICAgICAgICAgICAgICBpZiAoIShtYXRjaGVkLmxlbmd0aCA+IDApKSB7CiAgICAgICAgICAgICAgICBfY29udGV4dC5uZXh0ID0gMTE7CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgcmV0dXJuIF9jb250ZXh0LmFicnVwdCgicmV0dXJuIiwgbWF0Y2hlZCk7CiAgICAgICAgICAgIGNhc2UgMTE6CiAgICAgICAgICAgICAgbWF0Y2hlZCA9IGdldFBhcmVudHNSZWdpb24obmFtZSk7CiAgICAgICAgICAgICAgaWYgKCFtYXRjaGVkKSB7CiAgICAgICAgICAgICAgICBfY29udGV4dC5uZXh0ID0gMTQ7CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgcmV0dXJuIF9jb250ZXh0LmFicnVwdCgicmV0dXJuIiwgbWF0Y2hlZCk7CiAgICAgICAgICAgIGNhc2UgMTQ6CiAgICAgICAgICAgICAgaWYgKCEoaWQgJiYgZGF0YS5ldmVudFR5cGUgPT09ICJzZWxlY3RlZCIpKSB7CiAgICAgICAgICAgICAgICBfY29udGV4dC5uZXh0ID0gMTY7CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgcmV0dXJuIF9jb250ZXh0LmFicnVwdCgicmV0dXJuIiwgZmV0Y2goIiIuY29uY2F0KHRoaXMuYXBpTG9jYXRpb24sICJnZXQtcmVsYXRlZC10ZXJtcy8iKS5jb25jYXQoaWQpKS50aGVuKGZ1bmN0aW9uIChyZXNwb25zZSkgewogICAgICAgICAgICAgICAgcmV0dXJuIHJlc3BvbnNlLmpzb24oKTsKICAgICAgICAgICAgICB9KS50aGVuKGZ1bmN0aW9uIChkYXRhKSB7CiAgICAgICAgICAgICAgICBpZiAoZGF0YS51YmVyb24uYXJyYXkubGVuZ3RoID4gMCkgewogICAgICAgICAgICAgICAgICBuYW1lID0gZGF0YS51YmVyb24uYXJyYXlbMF0ubmFtZS5jaGFyQXQoMCkudG9VcHBlckNhc2UoKSArIGRhdGEudWJlcm9uLmFycmF5WzBdLm5hbWUuc2xpY2UoMSk7CiAgICAgICAgICAgICAgICAgIGlkID0gZGF0YS51YmVyb24uYXJyYXlbMF0uaWQudG9VcHBlckNhc2UoKTsKICAgICAgICAgICAgICAgICAgcmV0dXJuIHsKICAgICAgICAgICAgICAgICAgICBpZDogaWQsCiAgICAgICAgICAgICAgICAgICAgbmFtZTogbmFtZQogICAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0pKTsKICAgICAgICAgICAgY2FzZSAxNjoKICAgICAgICAgICAgICBfY29udGV4dC5uZXh0ID0gMTk7CiAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIGNhc2UgMTg6CiAgICAgICAgICAgICAgaWYgKHRoaXMuZW50cnkudHlwZSA9PT0gIk11bHRpRmxhdG1hcCIpIHsKICAgICAgICAgICAgICAgIGlmIChuYW1lID09PSAiQmxhZGRlciIpIHsKICAgICAgICAgICAgICAgICAgbmFtZSA9ICJVcmluYXJ5IEJsYWRkZXIiOwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgX21hdGNoZWQgPSBnZXROZXJ2ZU5hbWVzKG5hbWUpOwogICAgICAgICAgICAgICAgICBpZiAoX21hdGNoZWQubGVuZ3RoID4gMCkgbmFtZSA9IF9tYXRjaGVkWzBdOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIH0KICAgICAgICAgICAgY2FzZSAxOToKICAgICAgICAgICAgICByZXR1cm4gX2NvbnRleHQuYWJydXB0KCJyZXR1cm4iLCB7CiAgICAgICAgICAgICAgICBpZDogaWQsCiAgICAgICAgICAgICAgICBuYW1lOiBuYW1lCiAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIGNhc2UgMjA6CiAgICAgICAgICAgIGNhc2UgImVuZCI6CiAgICAgICAgICAgICAgcmV0dXJuIF9jb250ZXh0LnN0b3AoKTsKICAgICAgICAgIH0KICAgICAgICB9LCBfY2FsbGVlLCB0aGlzKTsKICAgICAgfSkpOwogICAgICBmdW5jdGlvbiBnZXROYW1lQW5kSWRGcm9tU3luY0RhdGEoX3gpIHsKICAgICAgICByZXR1cm4gX2dldE5hbWVBbmRJZEZyb21TeW5jRGF0YS5hcHBseSh0aGlzLCBhcmd1bWVudHMpOwogICAgICB9CiAgICAgIHJldHVybiBnZXROYW1lQW5kSWRGcm9tU3luY0RhdGE7CiAgICB9KCksCiAgICBnZXREYXRhc2V0QW5hdG9teUluZm86IGZ1bmN0aW9uIGdldERhdGFzZXRBbmF0b215SW5mbyhpZGVudGlmaWVyKSB7CiAgICAgIGZldGNoKCIiLmNvbmNhdCh0aGlzLmFwaUxvY2F0aW9uLCAiZGF0YXNldF9pbmZvL2FuYXRvbXk/aWRlbnRpZmllcj0iKS5jb25jYXQoaWRlbnRpZmllcikpLnRoZW4oZnVuY3Rpb24gKHJlc3BvbnNlKSB7CiAgICAgICAgcmV0dXJuIHJlc3BvbnNlLmpzb24oKTsKICAgICAgfSkudGhlbihmdW5jdGlvbiAoZGF0YSkgewogICAgICAgIHZhciByZXN1bHRQYXlsb2FkID0gZGF0YS5yZXN1bHRbMF07CiAgICAgICAgdmFyIG1hcmtlckN1cmllOwogICAgICAgIHRyeSB7CiAgICAgICAgICBtYXJrZXJDdXJpZSA9IHJlc3VsdFBheWxvYWQuYW5hdG9teS5vcmdhblswXS5jdXJpZTsKICAgICAgICB9IGNhdGNoIChlcnJvcikgewogICAgICAgICAgbWFya2VyQ3VyaWUgPSB1bmRlZmluZWQ7CiAgICAgICAgfQogICAgICAgIHZhciBtYXJrZXJEb2k7CiAgICAgICAgdHJ5IHsKICAgICAgICAgIG1hcmtlckRvaSA9IHJlc3VsdFBheWxvYWQuaXRlbS5jdXJpZTsKICAgICAgICB9IGNhdGNoIChlcnJvcikgewogICAgICAgICAgbWFya2VyRG9pID0gdW5kZWZpbmVkOwogICAgICAgIH0KICAgICAgICB2YXIgbWFya2VyU3BlY2llczsKICAgICAgICB0cnkgewogICAgICAgICAgdmFyIGluZGV4ID0gMDsKICAgICAgICAgIHZhciBmb3VuZCA9IGZhbHNlOwogICAgICAgICAgd2hpbGUgKCFmb3VuZCAmJiBpbmRleCA8IHJlc3VsdFBheWxvYWQub3JnYW5pc21zLnN1YmplY3QubGVuZ3RoKSB7CiAgICAgICAgICAgIHZhciBlbnRyeSA9IHJlc3VsdFBheWxvYWQub3JnYW5pc21zLnN1YmplY3RbaW5kZXhdOwogICAgICAgICAgICBpZiAoZW50cnkuc3BlY2llcykgewogICAgICAgICAgICAgIG1hcmtlclNwZWNpZXMgPSBlbnRyeS5zcGVjaWVzLm5hbWU7CiAgICAgICAgICAgICAgZm91bmQgPSB0cnVlOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGluZGV4ICs9IDE7CiAgICAgICAgICB9CiAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHsKICAgICAgICAgIG1hcmtlclNwZWNpZXMgPSB1bmRlZmluZWQ7CiAgICAgICAgfQogICAgICAgIHN0b3JlLmNvbW1pdCgic2V0dGluZ3MvdXBkYXRlRmVhdHVyZWRNYXJrZXIiLCB7CiAgICAgICAgICBpZGVudGlmaWVyOiBpZGVudGlmaWVyLAogICAgICAgICAgbWFya2VyOiBtYXJrZXJDdXJpZSwKICAgICAgICAgIGRvaTogbWFya2VyRG9pLAogICAgICAgICAgc3BlY2llczogbWFya2VyU3BlY2llcwogICAgICAgIH0pOwogICAgICB9KTsKICAgIH0sCiAgICAvKioKICAgICAqIEdldCBhIGxpc3Qgb2YgZmVhdHVyZWQgZGF0YXNldHMgdG8gZGlzcGxheS4KICAgICAqLwogICAgZ2V0RmVhdHVyZWREYXRhc2V0czogZnVuY3Rpb24gZ2V0RmVhdHVyZWREYXRhc2V0cygpIHsKICAgICAgdmFyIGxvY2FsX3RoaXMgPSB0aGlzOwogICAgICBmZXRjaCgiIi5jb25jYXQodGhpcy5hcGlMb2NhdGlvbiwgImdldF9mZWF0dXJlZF9kYXRhc2V0c19pZGVudGlmaWVycyIpKS50aGVuKGZ1bmN0aW9uIChyZXNwb25zZSkgewogICAgICAgIHJldHVybiByZXNwb25zZS5qc29uKCk7CiAgICAgIH0pLnRoZW4oZnVuY3Rpb24gKGRhdGEpIHsKICAgICAgICBzdG9yZS5jb21taXQoInNldHRpbmdzL3VwZGF0ZUZlYXR1cmVkIiwgZGF0YS5pZGVudGlmaWVycyk7CiAgICAgICAgZGF0YS5pZGVudGlmaWVycy5mb3JFYWNoKGZ1bmN0aW9uIChlbGVtZW50KSB7CiAgICAgICAgICBsb2NhbF90aGlzLmdldERhdGFzZXRBbmF0b215SW5mbyhlbGVtZW50KTsKICAgICAgICB9KTsKICAgICAgfSk7CiAgICB9LAogICAgem9vbVRvRmVhdHVyZXM6IGZ1bmN0aW9uIHpvb21Ub0ZlYXR1cmVzKCkgewogICAgICByZXR1cm47CiAgICB9LAogICAgaGFuZGxlU3luY01vdXNlRXZlbnQ6IGZ1bmN0aW9uICgpIHsKICAgICAgdmFyIF9oYW5kbGVTeW5jTW91c2VFdmVudCA9IF9hc3luY1RvR2VuZXJhdG9yKCAvKiNfX1BVUkVfXyovX3JlZ2VuZXJhdG9yUnVudGltZSgpLm1hcmsoZnVuY3Rpb24gX2NhbGxlZTIoZGF0YSkgewogICAgICAgIHZhciBpbmZvOwogICAgICAgIHJldHVybiBfcmVnZW5lcmF0b3JSdW50aW1lKCkud3JhcChmdW5jdGlvbiBfY2FsbGVlMiQoX2NvbnRleHQyKSB7CiAgICAgICAgICB3aGlsZSAoMSkgc3dpdGNoIChfY29udGV4dDIucHJldiA9IF9jb250ZXh0Mi5uZXh0KSB7CiAgICAgICAgICAgIGNhc2UgMDoKICAgICAgICAgICAgICBfY29udGV4dDIubmV4dCA9IDI7CiAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuZ2V0TmFtZUFuZElkRnJvbVN5bmNEYXRhKGRhdGEpOwogICAgICAgICAgICBjYXNlIDI6CiAgICAgICAgICAgICAgaW5mbyA9IF9jb250ZXh0Mi5zZW50OwogICAgICAgICAgICAgIGlmIChkYXRhLmV2ZW50VHlwZSA9PT0gImhpZ2hsaWdodGVkIikgewogICAgICAgICAgICAgICAgdGhpcy5oaWdobGlnaHRGZWF0dXJlcyhpbmZvKTsKICAgICAgICAgICAgICB9IGVsc2UgaWYgKGRhdGEuZXZlbnRUeXBlID09PSAic2VsZWN0ZWQiKSB7CiAgICAgICAgICAgICAgICB0aGlzLmRpc3BsYXlUb29sdGlwKGluZm8pOwogICAgICAgICAgICAgICAgLy90aGlzLnpvb21Ub0ZlYXR1cmVzKGluZm8sIHRydWUpOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgY2FzZSA0OgogICAgICAgICAgICBjYXNlICJlbmQiOgogICAgICAgICAgICAgIHJldHVybiBfY29udGV4dDIuc3RvcCgpOwogICAgICAgICAgfQogICAgICAgIH0sIF9jYWxsZWUyLCB0aGlzKTsKICAgICAgfSkpOwogICAgICBmdW5jdGlvbiBoYW5kbGVTeW5jTW91c2VFdmVudChfeDIpIHsKICAgICAgICByZXR1cm4gX2hhbmRsZVN5bmNNb3VzZUV2ZW50LmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7CiAgICAgIH0KICAgIC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zZSB7CiAgICAgICAgICAgICAgICB0aGlzLmhhbmRsZVN5bmNNb3VzZUV2ZW50KGRhdGEpOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgICBfY29udGV4dDMubmV4dCA9IDk7CiAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIGNhc2UgNDoKICAgICAgICAgICAgICBpZiAoIShkYXRhLmV2ZW50VHlwZSA9PSAic2VsZWN0ZWQiKSkgewogICAgICAgICAgICAgICAgX2NvbnRleHQzLm5leHQgPSA5OwogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIF9jb250ZXh0My5uZXh0ID0gNzsKICAgICAgICAgICAgICByZXR1cm4gdGhpcy5nZXROYW1lQW5kSWRGcm9tU3luY0RhdGEoZGF0YSk7CiAgICAgICAgICAgIGNhc2UgNzoKICAgICAgICAgICAgICBpbmZvID0gX2NvbnRleHQzLnNlbnQ7CiAgICAgICAgICAgICAgdGhpcy56b29tVG9GZWF0dXJlcyhpbmZvLCBmYWxzZSk7CiAgICAgICAgICAgIGNhc2UgOToKICAgICAgICAgICAgY2FzZSAiZW5kIjoKICAgICAgICAgICAgICByZXR1cm4gX2NvbnRleHQzLnN0b3AoKTsKICAgICAgICAgIH0KICAgICAgICB9LCBfY2FsbGVlMywgdGhpcyk7CiAgICAgIH0pKTsKICAgICAgZnVuY3Rpb24gcmVjZWl2ZVN5bmNocm9uaXNlZEV2ZW50KF94MykgewogICAgICAgIHJldHVybiBfcmVjZWl2ZVN5bmNocm9uaXNlZEV2ZW50LmFwcGx5KHRoaXMsIGFyZ3VtZW50cyk7CiAgICAgIH0KICAgICAgcmV0dXJuIHJlY2VpdmVTeW5jaHJvbmlzZWRFdmVudDsKICAgIH0oKSwKICAgIHJlcXVlc3RTeW5jaHJvbmlzZWRFdmVudDogZnVuY3Rpb24gcmVxdWVzdFN5bmNocm9uaXNlZEV2ZW50KCkgewogICAgICByZXR1cm47CiAgICB9LAogICAgZ2V0QXZhaWxhYmxlVGVybXM6IGZ1bmN0aW9uIGdldEF2YWlsYWJsZVRlcm1zKCkgewogICAgICB2YXIgX3RoaXMyID0gdGhpczsKICAgICAgLy9Vc2UgdGhlIGRlZmF1bHQgbGlzdCBvZiB1YmVyb25zIGJlZm9yZSB3ZSBnZXQgdGhlIGxpc3QgZnJvbQogICAgICAvL3RoZSBhcGkKICAgICAgdmFyIHRlcm1zID0gZ2V0QXZhaWxhYmxlVGVybXNGb3JTcGVjaWVzKCk7CiAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgdGVybXMubGVuZ3RoOyBpKyspIHsKICAgICAgICB0aGlzLmlkTmFtZVBhaXJbdGVybXNbaV0uaWRdID0gdGVybXNbaV0ubmFtZTsKICAgICAgfQogICAgICBpZiAodGhpcy5hcGlMb2NhdGlvbikgewogICAgICAgIGlmICh0aGlzLl9jb250cm9sbGVyKSB0aGlzLl9jb250cm9sbGVyLmFib3J0KCk7CiAgICAgICAgdGhpcy5fY29udHJvbGxlciA9IG5ldyBBYm9ydENvbnRyb2xsZXIoKTsKICAgICAgICB2YXIgc2lnbmFsID0gdGhpcy5fY29udHJvbGxlci5zaWduYWw7CiAgICAgICAgZmV0Y2goIiIuY29uY2F0KHRoaXMuYXBpTG9jYXRpb24sICJnZXQtb3JnYW4tY3VyaWVzIiksIHsKICAgICAgICAgIHNpZ25hbDogc2lnbmFsCiAgICAgICAgfSkudGhlbihmdW5jdGlvbiAocmVzcG9uc2UpIHsKICAgICAgICAgIHJldHVybiByZXNwb25zZS5qc29uKCk7CiAgICAgICAgfSkudGhlbihmdW5jdGlvbiAoZGF0YSkgewogICAgICAgICAgX3RoaXMyLl9jb250cm9sbGVyID0gdW5kZWZpbmVkOwogICAgICAgICAgZGF0YS51YmVyb24uYXJyYXkuZm9yRWFjaChmdW5jdGlvbiAocGFpcikgewogICAgICAgICAgICBfdGhpczIuaWROYW1lUGFpcltwYWlyLmlkLnRvVXBwZXJDYXNlKCldID0gcGFpci5uY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YW1lcmE6IHVuZGVmaW5lZCwKICAgICAgbWFpblN0eWxlOiB7CiAgICAgICAgaGVpZ2h0OiB0aGlzLmVudHJ5LmRhdGFzZXRUaXRsZSA/ICJjYWxjKDEwMCUgLSAzMHB4KSIgOiAiMTAwJSIsCiAgICAgICAgd2lkdGg6ICIxMDAlIiwKICAgICAgICBib3R0b206ICIwcHgiCiAgICAgIH0sCiAgICAgIGhlbHBNb2RlOiBmYWxzZSwKICAgICAgaWROYW1lUGFpcjoge30sCiAgICAgIHNjYWZmb2xkTG9hZGVkOiBmYWxzZSwKICAgICAgaXNJbkhlbHA6IGZhbHNlCiAgICB9OwogIH0sCiAgY3JlYXRlZDogZnVuY3Rpb24gY3JlYXRlZCgpIHsKICAgIHRoaXMuZmxhdG1hcEFQSSA9IHVuZGVmaW5lZDsKICAgIHRoaXMuYXBpTG9jYXRpb24gPSB1bmRlZmluZWQ7CiAgICBpZiAoc3RvcmUuc3RhdGUuc2V0dGluZ3MuZmxhdG1hcEFQSSkgdGhpcy5mbGF0bWFwQVBJID0gc3RvcmUuc3RhdGUuc2V0dGluZ3MuZmxhdG1hcEFQSTsKICAgIGlmIChzdG9yZS5zdGF0ZS5zZXR0aW5ncy5zcGFyY0FwaSkgdGhpcy5hcGlMb2NhdGlvbiA9IHN0b3JlLnN0YXRlLnNldHRpbmdzLnNwYXJjQXBpOwogIH0KfTs="},{"version":3,"names":["getAvailableTermsForSpecies","getInteractiveAction","getNerveNames","getParentsRegion","EventBus","markerZoomLevels","store","props","entry","Object","visible","type","Boolean","default","mouseHovered","computed","syncMode","state","splitFlow","mounted","_this","$on","startHelp","methods","toggleSyncMode","getState","undefined","search","searchSuggestions","resourceSelected","resource","resourceHasAction","$emit","returnedAction","action","fireResourceSelected","result","paneIndex","id","internalName","eventType","idNamePair","feature","models","label","hardcodedAnnotation","filter","mz","getters","term","h","keyword","length","replace","facet","facetPropPath","flatmap","$refs","multiflatmap","getCurrentFlatmap","mapImp","clearSearchResults","data","isVisible","slot","displayTooltip","getNameAndIdFromSyncData","_getNameAndIdFromSyncData","_asyncToGenerator","_regeneratorRuntime","mark","_callee","name","objects","matched","_matched","wrap","_callee$","_context","prev","next","scaffold","findObjectsWithGroupName","abrupt","fetch","concat","apiLocation","then","response","json","uberon","array","charAt","toUpperCase","slice","stop","_x","apply","arguments","getDatasetAnatomyInfo","identifier","resultPayload","markerCurie","anatomy","organ","curie","error","markerDoi","item","markerSpecies","index","found","organisms","subject","species","commit","marker","doi","getFeaturedDatasets","local_this","identifiers","forEach","element","zoomToFeatures","handleSyncMouseEvent","_handleSyncMouseEvent","_callee2","info","_callee2$","_context2","sent","highlightFeatures","_x2","handleSyncPanZoomEvent","receiveSynchronisedEvent","_receiveSynchronisedEvent","_callee3","_callee3$","_context3","_x3","requestSynchronisedEvent","getAvailableTerms","_this2","terms","i","_controller","abort","AbortController","signal","pair","flatmapMarkerZoomUpdate","onResize","isInHelp","helpMode","window","addEventListener","endHelp","_this3","removeEventListener","setTimeout","process","env","VUE_APP_API_LOCATION","activeSpecies","scaffoldCamera","mainStyle","height","datasetTitle","width","bottom","scaffoldLoaded","created","flatmapAPI","settings","sparcApi"],"sources":["/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/mixins/ContentMixin.js"],"sourcesContent":["import {\n getAvailableTermsForSpecies,\n getInteractiveAction,\n getNerveNames,\n getParentsRegion,\n} from \"../components/SimulatedData.js\";\nimport EventBus from \"../components/EventBus\";\nimport markerZoomLevels from \"../components/markerZoomLevelsHardCoded.js\";\nimport store from \"../store\";\n\n/* eslint-disable no-alert, no-console */\nexport default {\n props: {\n /**\n * Object containing information for\n * the required viewing.\n */\n entry: Object,\n visible: {\n type: Boolean,\n default: true,\n },\n mouseHovered: {\n type: Boolean,\n default: false,\n },\n },\n computed: {\n syncMode() {\n return store.state.splitFlow.syncMode;\n },\n },\n mounted: function () {\n EventBus.$on(\"startHelp\", () => {\n this.startHelp();\n });\n },\n methods: {\n toggleSyncMode: function () {\n return;\n },\n getState: function () {\n return undefined;\n },\n /**\n * Perform a local search on this contentvuer\n */\n search: function () {\n return false;\n },\n /**\n * Get a list of search suggestions on this contentvuer\n */\n searchSuggestions: function () {\n return;\n },\n /**\n * Callback when the vuers emit a selected event.\n */\n resourceSelected: function (type, resource) {\n // Skip processing if resources already has actions\n if (this.resourceHasAction(resource)) {\n EventBus.$emit(\"PopoverActionClick\", resource);\n return;\n }\n\n let returnedAction = undefined;\n let action = \"none\";\n let fireResourceSelected = false;\n const result = {\n paneIndex: this.entry.id,\n type: type,\n resource: resource,\n internalName: undefined,\n eventType: undefined,\n };\n\n if (type == \"MultiFlatmap\" || type == \"Flatmap\") {\n result.internalName = this.idNamePair[resource.feature.models];\n if (resource.eventType == \"click\") {\n result.eventType = \"selected\";\n if (resource.feature.type == \"marker\") {\n let label = this.idNamePair[resource.feature.models];\n let hardcodedAnnotation = markerZoomLevels.filter(\n mz => mz.id === resource.feature.models\n );\n\n if (\n store.getters[\"settings/isFeaturedMarkerIdentifier\"](\n resource.feature.id\n )\n ) {\n // It is a featured dataset search for DOI.\n returnedAction = {\n type: \"Search\",\n term: store.getters[\"settings/featuredMarkerDoi\"](\n resource.feature.id\n ),\n };\n } else if (hardcodedAnnotation.filter(h => h.keyword).length > 0) {\n // if it matches our stored keywords, it is a keyword search\n // Keyword searches do not contain labels, so switch to keyword search if no label exists\n returnedAction = {\n type: \"Search\",\n term:\n \"http://purl.obolibrary.org/obo/\" +\n resource.feature.models.replace(\":\", \"_\"),\n };\n } else {\n // Facet search on anatomy if it is not a keyword search\n returnedAction = {\n type: \"Facet\",\n facet: label,\n facetPropPath: \"anatomy.organ.name\",\n term: \"Anatomical structure\",\n };\n }\n\n fireResourceSelected = true;\n if (type == \"MultiFlatmap\") {\n const flatmap =\n this.$refs.multiflatmap.getCurrentFlatmap().mapImp;\n flatmap.clearSearchResults();\n }\n } else if (resource.feature.type == \"feature\") {\n // Do no open scaffold in sync map\n if (this.syncMode) {\n fireResourceSelected = true;\n } else {\n action = \"scaffold\";\n }\n }\n } else if (resource.eventType == \"mouseenter\") {\n result.eventType = \"highlighted\";\n fireResourceSelected = true;\n }\n } else if (type == \"Scaffold\") {\n if (resource && resource[0]) result.internalName = resource[0].data.id;\n result.eventType = \"selected\";\n fireResourceSelected = true;\n action = \"search\";\n }\n if (returnedAction === undefined)\n returnedAction = getInteractiveAction(result, action);\n if (returnedAction) EventBus.$emit(\"PopoverActionClick\", returnedAction);\n if (fireResourceSelected) this.$emit(\"resource-selected\", result);\n },\n resourceHasAction: function (resource) {\n return (\n resource.type === \"URL\" ||\n resource.type === \"Search\" ||\n resource.type === \"Neuron Search\" ||\n resource.type == \"Facet\" ||\n resource.type == \"Facets\"\n );\n },\n /**\n * Check if this viewer is currently visible\n */\n isVisible: function () {\n let slot = store.getters[\"splitFlow/getSlotById\"](this.entry.id);\n if (slot) return store.getters[\"splitFlow/isSlotActive\"](slot);\n return false;\n },\n displayTooltip: function() {\n return;\n },\n /**\n * Get the term to zoom/highlight in a synchronisation event,\n * if it cannot be found in the map, it will perform several\n * calls to try to ge a valid name/id.\n */\n getNameAndIdFromSyncData: async function (data) {\n let name = data.internalName;\n if (name === undefined && data.resource) {\n name = data.resource.label;\n }\n let id = undefined;\n if (data.resource && data.resource.resource) {\n id = data.resource.resource[0];\n }\n if (this.entry.type === \"Scaffold\") {\n const objects = this.$refs.scaffold.findObjectsWithGroupName(name);\n // If a region is not found use a hardcoded list to determine\n // its parents region first\n if (objects.length === 0) {\n //Use nerve mapping\n if (data.resource && data.resource.feature) {\n matched = getNerveNames(data.resource.feature.models);\n if (matched.length > 0) return matched;\n }\n let matched = getParentsRegion(name);\n if (matched) {\n return matched;\n }\n // Hardcoded list failed - use an endpoint to find its parents\n if (id && data.eventType === \"selected\") {\n return fetch(`${this.apiLocation}get-related-terms/${id}`)\n .then(response => response.json())\n .then(data => {\n if (data.uberon.array.length > 0) {\n name =\n data.uberon.array[0].name.charAt(0).toUpperCase() +\n data.uberon.array[0].name.slice(1);\n id = data.uberon.array[0].id.toUpperCase();\n return { id, name };\n }\n });\n }\n }\n } else if (this.entry.type === \"MultiFlatmap\") {\n if (name === \"Bladder\") {\n name = \"Urinary Bladder\";\n } else {\n const matched = getNerveNames(name);\n if (matched.length > 0) name = matched[0];\n }\n }\n return { id, name };\n },\n getDatasetAnatomyInfo: function (identifier) {\n fetch(`${this.apiLocation}dataset_info/anatomy?identifier=${identifier}`)\n .then(response => response.json())\n .then(data => {\n const resultPayload = data.result[0];\n let markerCurie;\n try {\n markerCurie = resultPayload.anatomy.organ[0].curie;\n } catch (error) {\n markerCurie = undefined;\n }\n let markerDoi;\n try {\n markerDoi = resultPayload.item.curie;\n } catch (error) {\n markerDoi = undefined;\n }\n let markerSpecies;\n try {\n let index = 0;\n let found = false;\n while (!found && index < resultPayload.organisms.subject.length) {\n const entry = resultPayload.organisms.subject[index];\n if (entry.species) {\n markerSpecies = entry.species.name;\n found = true;\n }\n index += 1;\n }\n } catch (error) {\n markerSpecies = undefined;\n }\n store.commit(\"settings/updateFeaturedMarker\", {\n identifier,\n marker: markerCurie,\n doi: markerDoi,\n species: markerSpecies,\n });\n });\n },\n /**\n * Get a list of featured datasets to display.\n */\n getFeaturedDatasets: function () {\n const local_this = this;\n fetch(`${this.apiLocation}get_featured_datasets_identifiers`)\n .then(response => response.json())\n .then(data => {\n store.commit(\"settings/updateFeatured\", data.identifiers);\n data.identifiers.forEach(element => {\n local_this.getDatasetAnatomyInfo(element);\n });\n });\n },\n zoomToFeatures: function () {\n return;\n },\n handleSyncMouseEvent: async function (data) {\n let info = await this.getNameAndIdFromSyncData(data);\n if (data.eventType === \"highlighted\") {\n this.highlightFeatures(info);\n } else if (data.eventType === \"selected\") {\n this.displayTooltip(info);\n //this.zoomToFeatures(info, true);\n }\n },\n /**\n * Handle sync pan zoom event\n */\n handleSyncPanZoomEvent: function () {\n return;\n },\n highlightFeatures: function () {\n return;\n },\n receiveSynchronisedEvent: async function (data) {\n if (data.paneIndex !== this.entry.id) {\n if (data.eventType == \"panZoom\") {\n //this.handleSyncPanZoomEvent(data);\n } else {\n this.handleSyncMouseEvent(data);\n }\n } else {\n if (data.eventType == \"selected\") {\n let info = await this.getNameAndIdFromSyncData(data);\n this.zoomToFeatures(info, false);\n }\n }\n },\n requestSynchronisedEvent: function () {\n return;\n },\n getAvailableTerms: function () {\n //Use the default list of uberons before we get the list from\n //the api\n let terms = getAvailableTermsForSpecies();\n for (let i = 0; i < terms.length; i++) {\n this.idNamePair[terms[i].id] = terms[i].name;\n }\n if (this.apiLocation) {\n if (this._controller) this._controller.abort();\n this._controller = new AbortController();\n let signal = this._controller.signal;\n fetch(`${this.apiLocation}get-organ-curies`, {\n signal,\n })\n .then(response => response.json())\n .then(data => {\n this._controller = undefined;\n data.uberon.array.forEach(pair => {\n this.idNamePair[pair.id.toUpperCase()] =\n pair.name.charAt(0).toUpperCase() + pair.name.slice(1);\n });\n return;\n });\n }\n },\n flatmapMarkerZoomUpdate() {\n return;\n },\n onResize: function () {\n return;\n },\n startHelp: function () {\n if (this.isInHelp === false) {\n this.helpMode = true;\n window.addEventListener(\"mousedown\", this.endHelp);\n this.isInHelp = true;\n }\n },\n endHelp: function () {\n window.removeEventListener(\"mousedown\", this.endHelp);\n this.helpMode = false;\n setTimeout(() => {\n this.isInHelp = false;\n }, 200);\n },\n },\n data: function () {\n return {\n apiLocation: process.env.VUE_APP_API_LOCATION,\n activeSpecies: \"Rat\",\n scaffoldCamera: undefined,\n mainStyle: {\n height: this.entry.datasetTitle ? \"calc(100% - 30px)\" : \"100%\",\n width: \"100%\",\n bottom: \"0px\",\n },\n helpMode: false,\n idNamePair: {},\n scaffoldLoaded: false,\n isInHelp: false,\n };\n },\n created: function () {\n this.flatmapAPI = undefined;\n this.apiLocation = undefined;\n if (store.state.settings.flatmapAPI)\n this.flatmapAPI = store.state.settings.flatmapAPI;\n if (store.state.settings.sparcApi)\n this.apiLocation = store.state.settings.sparcApi;\n },\n};\n"],"mappings":";;;;;;;;;;;AAAA,SACE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