{"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/cache-loader/dist/cjs.js??ref--1-0!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/flatmapvuer/src/components/FlatmapVuer.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/flatmapvuer/src/components/FlatmapVuer.vue","mtime":499162500000},{"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/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IF9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyIGZyb20gIi9ob21lL2NtaXNzL0plbmtpbnMvd29ya3NwYWNlL21hcGludGVncmF0ZWR2dWVyL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2VzbS9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyLmpzIjsKaW1wb3J0IF9yZWdlbmVyYXRvclJ1bnRpbWUgZnJvbSAiL2hvbWUvY21pc3MvSmVua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ICAgICBpZiAodGhpcy4kcmVmcy5jZW50cmVsaW5lc1NlbGVjdGlvbikgewogICAgICAgICAgdGhpcy4kcmVmcy5jZW50cmVsaW5lc1NlbGVjdGlvbi5yZXNldCgpOwogICAgICAgIH0KICAgICAgICBpZiAodGhpcy4kcmVmcy5za2NhblNlbGVjdGlvbikgewogICAgICAgICAgdGhpcy4kcmVmcy5za2NhblNlbGVjdGlvbi5yZXNldCgpOwogICAgICAgIH0KICAgICAgICBpZiAodGhpcy4kcmVmcy5sYXllcnNTZWxlY3Rpb24pIHsKICAgICAgICAgIHRoaXMuJHJlZnMubGF5ZXJzU2VsZWN0aW9uLnJlc2V0KCk7CiAgICAgICAgfQogICAgICAgIGlmICh0aGlzLiRyZWZzLnN5c3RlbXNTZWxlY3Rpb24pIHsKICAgICAgICAgIHRoaXMuJHJlZnMucGF0aHdheXNTZWxlY3Rpb24ucmVzZXQoKTsKICAgICAgICB9CiAgICAgICAgaWYgKHRoaXMuJHJlZnMucGF0aHdheXNTZWxlY3Rpb24pIHsKICAgICAgICAgIHRoaXMuJHJlZnMucGF0aHdheXNTZWxlY3Rpb24ucmVzZXQoKTsKICAgICAgICB9CiAgICAgIH0KICAgIH0sCiAgICAvKioNCiAgICAgKiBGdW5jdGlvbiB0byB6b29tIGluLg0KICAgICAqIEFsc28gY2FsbGVkIHdoZW4gdGhlIGFzc29jaWF0ZWQgYnV0dG9uIGlzIHByZXNzZWQuDQogICAgICovCiAgICB6b29tSW46IGZ1bmN0aW9uIHpvb21JbigpIHsKICAgICAgaWYgKHRoaXMubWFwSW1wKSB7CiAgICAgICAgdGhpcy5tYXBJbXAuem9vbUluKCk7CiAgICAgIH0KICAgIH0sCiAgICAvKioNCiAgICAgKiBGdW5jdGlvbiB0byB6b29tIG91dC4NCiAgICAgKiBBbHNvIGNhbGxlZCB3aGVuIHRoZSBhc3NvY2lhdGVkIGJ1dHRvbiBpcyBwcmVzc2VkLg0KICAgICAqLwogICAgem9vbU91dDogZnVuY3Rp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sbGJhY2s6IGZ1bmN0aW9uIGV2ZW50Q2FsbGJhY2soKSB7CiAgICAgIHZhciBfdGhpczYgPSB0aGlzOwogICAgICByZXR1cm4gZnVuY3Rpb24gKGV2ZW50VHlwZSwgZGF0YSkgewogICAgICAgIGlmIChldmVudFR5cGUgIT09ICJwYW4tem9vbSIpIHsKICAgICAgICAgIHZhciBsYWJlbCA9IGRhdGEubGFiZWw7CiAgICAgICAgICB2YXIgcmVzb3VyY2UgPSBbZGF0YS5tb2RlbHNdOwogICAgICAgICAgdmFyIHRheG9ub215ID0gX3RoaXM2LmVudHJ5OwogICAgICAgICAgdmFyIGJpb2xvZ2ljYWxTZXggPSBfdGhpczYuYmlvbG9naWNhbFNleDsKICAgICAgICAgIGZvciAodmFyIF9sZW4gPSBhcmd1bWVudHMubGVuZ3RoLCBhcmdzID0gbmV3IEFycmF5KF9sZW4gPiAyID8gX2xlbiAtIDIgOiAwKSwgX2tleSA9IDI7IF9rZXkgPCBfbGVuOyBfa2V5KyspIHsKICAgICAgICAgICAgYXJnc1tfa2V5IC0gMl0gPSBhcmd1bWVudHNbX2tleV07CiAgICAgICAgICB9CiAgICAgICAgICB2YXIgcGF5bG9hZCA9IHsKICAgICAgICAgICAgZGF0YXNldDogZGF0YS5kYXRhc2V0LAogICAgICAgICAgICBiaW9sb2dpY2FsU2V4OiBiaW9sb2dpY2FsU2V4LAogICAgICAgICAgICB0YXhvbm9teTogdGF4b25vbXksCiAgICAgICAgICAgIHJlc291cmNlOiByZXNvdXJjZSwKICAgICAgICAgICAgbGFiZWw6IGxhYmVsLAogICAgICAgICAgICBmZWF0dXJlOiBkYXRhLAogICAgICAgICAgICB1c2VyRGF0YTogYXJncywKICAgICAgICAgICAgZXZlbnRUeXBlOiBldmVudFR5cGUsCiAgICAgICAgICAgIHByb3ZlbmFuY2VUYXhvbm9teTogZGF0YS50YXhvbnMgPyBKU09OLnBhcnNlKGRhdGEudGF4b25zKSA6IHVuZGVmaW5lZAogICAgICAgICAgfT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YWxsZWUkKF9jb250ZXh0KSB7CiAgICAgICAgICB3aGlsZSAoMSkgc3dpdGNoIChfY29udGV4dC5wcmV2ID0gX2NvbnRleHQubmV4dCkgewogICAgICAgICAgICBjYXNlIDA6CiAgICAgICAgICAgICAgX2NvbnRleHQubmV4dCA9IDI7CiAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuZmxhdG1hcFF1ZXJpZXMucmV0cmlldmVGbGF0bWFwS25vd2xlZGdlRm9yRXZlbnQoZGF0YSk7CiAgICAgICAgICAgIGNhc2UgMjoKICAgICAgICAgICAgICByZXN1bHRzID0gX2NvbnRleHQuc2VudDsKICAgICAgICAgICAgICAvLyBUaGUgbGluZSBiZWxvdyBvbmx5IGNyZWF0ZXMgdGhlIHRvb2x0aXAgaWYgc29tZSBkYXRhIHdhcyBmb3VuZCBvbiB0aGUgcGF0aCAKICAgICAgICAgICAgICAvLyByZXN1bHQgMCBpcyB0aGUgY29ubmVjdGlvbiwgcmVzdWx0IDEgaXMgdGhlIHB1Ym1lZCByZXN1bHRzIGZyb20gZmxhdG1hcAogICAgICAgICAgICAgIGlmIChyZXN1bHRzWzBdIHx8IHJlc3VsdHNbMV0gfHwgZGF0YS5mZWF0dXJlLmh5cGVybGlua3MgJiYgZGF0YS5mZWF0dXJlLmh5cGVybGlua3MubGVuZ3RoID4gMCkgewogICAgICAgICAgICAgICAgdGhpcy5yZXNvdXJjZUZvclRvb2x0aXAgPSBkYXRhLnJlc291cmNlWzBdOwogICAgICAgICAgICAgICAgdGhpcy5jcmVhdGVUb29sdGlwRnJvbU5ldXJvbkN1cmF0aW9uKGRhdGEpOwogICAgICAgICAgICAgIH0KICAgICAgICAgICAgY2FzZSA0OgogICAgICAgICAgICBjYXNlICJlbmQiOgogICAgICAgICAgICAgIHJldHVybiBfY29udGV4dC5zdG9wKCk7CiAgICAgICAgICB9CiAgICAgICAgfSwgX2NhbGxlZSwgdGhpcyk7CiAgICAgIH0pKTsKICAgICAgZnVuY3Rpb24gY2hlY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jbGljaygpOwogICAgICB9KTsKICAgIH0sCiAgICBnZXRMYWJlbHM6IGZ1bmN0aW9uIGdldExhYmVscygpIHsKICAgICAgdmFyIGxhYmVscyA9IFtdOwogICAgICBpZiAodGhpcy5tYXBJbXApIHsKICAgICAgICB2YXIgYW5ub3RhdGlvbnMgPSB0aGlzLm1hcEltcC5hbm5vdGF0aW9uczsKICAgICAgICB2YXIgX2l0ZXJhdG9yID0gX2NyZWF0ZUZvck9mSXRlcmF0b3JIZWxwZXIoYW5ub3RhdGlvbnMudmFsdWVzKCkpLAogICAgICAgICAgX3N0ZXA7CiAgICAgICAgdHJ5IHsKICAgICAgICAgIGZvciAoX2l0ZXJhdG9yLnMoKTsgIShfc3RlcCA9IF9pdGVyYXRvci5uKCkpLmRvbmU7KSB7CiAgICAgICAgICAgIHZhciB2YWx1ZSA9IF9zdGVwLnZhbHVlOwogICAgICAgICAgICBpZiAodmFsdWUubGFiZWwpIGxhYmVscy5wdXNoKHZhbHVlLmxhYmVsKTsKICAgICAgICAgIH0KICAgICAgICB9IGNhdGNoIChlcnIpIHsKICAgICAgICAgIF9pdGVyYXRvci5lKGVycik7CiAgICAgICAgfSBmaW5hbGx5IHsKICAgICAgICAgIF9pdGVyYXRvci5mKCk7CiAgICAgICAgfQogICAgICAgIHJldHVybiBBcnJheS5mcm9tKG5ldyBTZXQobGFiZWxzKSk7CiAgICAgIH0KICAgIH0sCiAgICBnZXRTdGF0ZTogZnVuY3Rpb24gZ2V0U3RhdGUoKSB7CiAgICAgIGlmICh0aGlzLm1hcEltcCkgewogICAgICAgIHZhciBzdGF0ZSA9IHsKICAgICAgICAgIGVudHJ5OiB0aGlzLmVudHJ5LAogICAgICAgICAgdmlld3BvcnQ6IHRoaXMubWFwSW1wLmdldFN0YXRlKCkKICAgICAgICB9OwogICAgICAgIHZhciBpZGVudGlmaWVyID0gdGhpcy5tYXBJbXAuZ2V0SWRlbnRpZmllcigpOwogICAgICAgIGlmICh0aGlzLmJpb2xvZ2ljY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zdGF0ZSkgewogICAgICAgICAgaWYgKHN0YXRlLnV1aWQpIHsKICAgICAgICAgICAgaWRlbnRpZmllciA9IHsKICAgICAgICAgICAgICB1dWlkOiBzdGF0ZS51dWlkCiAgICAgICAgICAgIH07CiAgICAgICAgICB9IGVsc2UgaWYgKHN0YXRlLmVudHJ5KSB7CiAgICAgICAgICAgIGlkZW50aWZpZXIudGF4b24gPSBzdGF0ZS5lbnRyeTsKICAgICAgICAgICAgaWYgKHN0YXRlLmJpb2xvZ2ljYWxTZXgpIHsKICAgICAgICAgICAgICBpZGVudGlmaWVyWyJiaW9sb2dpY2FsU2V4Il0gPSBzdGF0ZS5iaW9sb2dpY2FsU2V4OwogICAgICAgICAgICB9IGVsc2UgaWYgKGlkZW50aWZpZXIudGF4b24gPT09ICJOQ0JJVGF4b246OTYwNiIpIHsKICAgICAgICAgICAgICAvL0ZvciBiYWNrd2FyZCBjb21wYXRpYmlsaXR5CiAgICAgICAgICAgICAgaWRlbnRpZmllclsiYmlvbG9naWNhbFNleCJdID0gIlBBVE86MDAwMDM4NCI7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICB9IGVsc2UgewogICAgICAgICAgLy8gU2V0IHRoZSBiaW9sb2ljYWxTZXggbm93IGlmIG1hcCBpcyBub3QgcmVzdW1lZCBmcm9tCiAgICAgICAgICAvLyBhIHNhdmVkIHN0YXRlCiAgICAgICAgICBpZiAodGhpcy5iaW9sb2dpY2FsU2V4KSB7CiAgICAgICAgICAgIGlkZW50aWZpZXJbImJpb2xvZ2ljYWxTZXgiXSA9IHRoaXMuYmlvbG9naWNhbFNleDsKICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgdmFyIHByb21pc2UxID0gdGhpcy5tYXBNYW5hZ2VyLmxvYWRNYXAoaWRlbnRpZmllciwgdGhpcy4kcmVmcy5kaXNwbGF5LCB0aGlzLmV2ZW50Q2FsbGJhY2soKSwgewogICAgICAgICAgLy9mdWxsc2NyZWVuQ29udHJvbDogZmFsc2UsCiAgICAgICAgICAvL2Fubm90YXRhYmxlOiBmYWxzZSwKICAgICAgICAgIC8vZGVidWc6IHRydWUsCiAgICAgICAgICBmZWF0dXJlSW5mbzogdGhpcy5mZWF0dXJlSW5mbywKICAgICAgICAgICJtaW4tem9vbSI6IHRoaXMubWluWm9vbSwKICAgICAgICAgIGxheWVyQ29udHJvbDogdHJ1ZSwKICAgICAgICAgIHBhdGhDb250cm9sczogdHJ1ZSwKICAgICAgICAgIHNlYXJjaGFibGU6IHRoaXMuc2VhcmNoYWJsZSwKICAgICAgICAgIHRvb2x0aXBzOiB0aGlzLnRvb2x0aXBzLAogICAgICAgICAgbWluaW1hcDogbWluaW1hcAogICAgICAgIH0pOwogICAgICAgIHByb21pc2UxLnRoZW4oZnVuY3Rpb24gKHJldHVybmVkT2JqZWN0KSB7CiAgICAgICAgICBfdGhpczkubWFwSW1wID0gcmV0dXJuZWRPYmplY3Q7CiAgICAgICAgICBfdGhpczkub25GbGF0bWFwUmVhZHkoKTsKICAgICAgICAgIGlmIChfdGhpczkuX3N0YXRlVG9CZVNldCkgX3RoaXM5LnJlc3RvcmVNYXBTdGF0ZShfdGhpczkuX3N0YXRlVG9CZVNldCk7ZWxzZSB7CiAgICAgICAgICAgIF90aGlzOS5yZXN0b3JlTWFwU3RhdGUoc3RhdGUpOwogICAgICAgICAgfQogICAgICAgIH0pOwogICAgICB9IGVsc2UgaWYgKHN0YXRlKSB7CiAgICAgICAgdGhpcy5fc3RhdGVUb0JlU2V0ID0gewogICAgICAgICAgdmlld3BvcnQ6IHN0YXRlLnZpZXdwb3J0LAogICAgICAgICAgc2VhcmNoVGVybTogc3RhdGUuc2VhcmNoVGVybQogICAgICAgIH07CiAgICAgICAgaWYgKHRoaXMubWFwSW1wICYmICF0aGlzLmxvYWRpbmcpIHRoaXMucmVzdG9yZU1hcFN0YXRlKHRoaXMuX3N0YXRlVG9CZVNldCk7CiAgICAgIH0KICAgIH0sCiAgICBjb21wdXRlUGF0aENvbnRyb2xzTWF4aW11bUhlaWdodDogZnVuY3Rpb24gY29tcHV0ZVBhdGhDb250cm9sc01heGltdW1IZWlnaHQoKSB7CiAgICAgIHZhciBlbGVtID0gdGhpcy4kcmVmcy5kaXNwbGF5OwogICAgICBpZiAoZWxlbSkgewogICAgICAgIHZhciBjb21wdXRlZCA9IGdldENvbXB1dGVkU3R5bGUoZWxlbSk7CiAgICAgICAgdmFyIHBhZGRpbmcgPSBwYXJzZUludChjb21wdXRlZC5wYWRkaW5nVG9wKSArIHBhcnNlSW50KGNvbXB1dGVkLnBhZGRpbmdCb3R0b20pOwogICAgICAgIHZhciBoZWlnaHQgPSBlbGVtLmNsaWVudEhlaWdodCAtIHBhZGRpbmc7CiAgICAgICAgdGhpcy5wYXRod2F5c01heEhlaWdodCA9IGhlaWdodCAtIDE3MDsKICAgICAgfQogICAgfSwKICAgIG1hcFJlc2l6ZTogZnVuY3Rpb24gbWFwUmVzaXplKCkgewogICAgICB0cnkgewogICAgICAgIHRoaXMuY29tcHV0ZVBhdGhDb250cm9sc01heGltdW1IZWlnaHQoKTsKICAgICAgICBpZiAodGhpcy5tYXBJbXApIHsKICAgICAgICAgIHRoaXMubWFwSW1wLnJlc2l6ZSgpOwogICAgICAgICAgdGhpcy5zaG93TWluaW1hcCh0aGlzLmRpc3BsYXlNaW5pbWFwKTsKICAgICAgICAgIGlmICh0aGlzLm1hcEltcC5fbWluaW1hcCkgewogICAgICAgICAgICB0aGlzLm1hcEltcC5fbWluaW1hcC5yZXNpemUoKTsKICAgICAgICAgIH0KICAgICAgICB9CiAgICAgIH0gY2F0Y2ggKF91bnVzZWQpIHsKICAgICAgICBjb25zb2xlLmVycm9yKCJNYXAgcmVzaXplIGVycm9yIik7CiAgICAgIH0KICAgIH0sCiAgICBvbkZsYXRtYXBSZWFkeTogZnVuY3Rpb24gb25GbGF0bWFwUmVhZHkoKSB7CiAgICAgIC8vIG9uRmxhdG1hcFJlYWR5IGlzIHVzZWQgZm9yIGZ1bmN0aW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lzLm1hcEltcC5zaG93U2VhcmNoUmVzdWx0cyhzZWFyY2hSZXN1bHRzKTsKICAgICAgICAgICAgaWYgKGRpc3BsYXlMYWJlbCAmJiBzZWFyY2hSZXN1bHRzLnJlc3VsdHNbMF0uZmVhdHVyZUlkICYmIHNlYXJjaFJlc3VsdHMucmVzdWx0c1swXS50ZXh0KSB7CiAgICAgICAgICAgICAgdmFyIGFubm90YXRpb24gPSB0aGlzLm1hcEltcC5hbm5vdGF0aW9uKHNlYXJjaFJlc3VsdHMucmVzdWx0c1swXS5mZWF0dXJlSWQpOwogICAgICAgICAgICAgIHRoaXMubWFwSW1wLnNob3dQb3B1cChzZWFyY2hSZXN1bHRzLnJlc3VsdHNbMF0uZmVhdHVyZUlkLCBhbm5vdGF0aW9uLmxhYmVsLCB7CiAgICAgICAgICAgICAgICBjbGFzc05hbWU6ICJjdXN0b20tcG9wdXAiLAogICAgICAgICAgICAgICAgcG9zaXRpb25BdExhc3RDbGljazogZmFsc2UsCiAgICAgICAgICAgICAgICBwcmVzZXJ2ZVNlbGVjdGlvbjogdHJ1ZQogICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgICAgfSBlbHNlIHRoaXMubWFwSW1wLmNsZWFyU2VhcmNoUmVzdWx0cygpOwogICAgICAgIH0KICAgICAgfQogICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAogICAgLyoqDQogICAgICogR2V0IHRoZSBsaXN0IG9mIHN1Z2dlc3RlZCB0ZXJtcw0KICAgICAqLwogICAgc2VhcmNoU3VnZ2VzdGlvbnM6IGZ1bmN0aW9uIHNlYXJjaFN1Z2dlc3Rpb25zKHRlcm0pIHsKICAgICAgaWYgKHRoaXMubWFwSW1wKSByZXR1cm4gdGhpcy5tYXBJbXAuc2VhcmNoKHRlcm0pOwogICAgICByZXR1cm4gW107CiAgICB9CiAgfSwKICBwcm9wczogewogICAgZW50cnk6IFN0cmluZywKICAgIHV1aW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lZCBvciBub3QuDQogICAgICovCiAgICBlbmFibGVPcGVuTWFwVUk6IHsKICAgICAgdHlwZTogQm9vbGVhbiwKICAgICAgZGVmYXVsdDogZmFsc2UKICAgIH0sCiAgICBvcGVuTWFwT3B0aW9uczogewogICAgICB0eXBlOiBBcnJheSwKICAgICAgZGVmYXVsdDogZnVuY3Rpb24gX2RlZmF1bHQoKSB7CiAgICAgICAgcmV0dXJuIFt7CiAgICAgICAgICBkaXNwbGF5OiAiT3BlbiBBQyBNYXAiLAogICAgICAgICAga2V5OiAiQUMiCiAgICAgICAgfSwgewogICAgICAgICAgZGlzcGxheTogIk9wZW4gRkMgTWFwIiwKICAgICAgICAgIGtleTogIkZDIgogICAgICAgIH0sIHsKICAgICAgICAgIGRpc3BsYXk6ICJPcGVuIDNEIEh1bWFuIE1hcCIsCiAgICAgICAgICBrZXk6ICIzRCIKICAgICAgICB9XTsKICAgICAgfQogICAgfSwKICAgIGlzTGVnYWN5OiB7CiAgICAgIHR5cGU6IEJvb2xlYW4sCiAgICAgIGRlZmF1bHQ6IGZhbHNlCiAgICB9LAogICAgZGlzcGxheUxhdGVzdENoYW5nZXM6IHsKICAgICAgdHlwZTogQm9vbGVhbiwKICAgICAgZGVmYXVsdDogZmFsc2UKICAgIH0sCiAgICBsYXRlc3RDaGFuZ2VzTWVzc2FnZTogewogICAgICB0eXBlOiBTdHJpbmcsCiAgICAgIGRlZmF1bHQ6ICInT2JzZXJ2ZWQgSW4nIGNvbnRyb2xzIGFuZCBpbmZvcm1hdGlvbiBhcmUgbm93IGluY2x1ZGVkIGluIEFDIG1hcHMuIFN5c3RlbSBjb250cm9sIHdpdGggRlRVIGluZm9ybWF0aW9uIGhhcyBiZWVuIGFkZGVkIHRvIHRoZSBGQyBtYXAuIgogICAgfSwKICAgIC8qKg0KICAgICAqIFN0YXRlIGNvbnRhaW5pbmcgc3RhdGUgb2YgdGhlIGZsYXRtYXAuDQogICAgICovCiAgICBzdGF0ZTogewogICAgICB0eXBlOiB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YWxzZQogICAgICB9LCB7CiAgICAgICAgdmFsdWU6IGZhbHNlCiAgICAgIH0sIHsKICAgICAgICB2YWx1ZTogZmFsc2UKICAgICAgfSwgewogICAgICAgIHZhbHVlOiBmYWxzZQogICAgICB9LCB7CiAgICAgICAgdmFsdWU6IGZhbHNlCiAgICAgIH0sIHsKICAgICAgICB2YWx1ZTogZmFsc2UKICAgICAgfSwgewogICAgICAgIHZhbHVlOiBmYWxzZQogICAgICB9LCB7CiAgICAgICAgdmFsdWU6IGZhbHNlCiAgICAgIH0sIHsKICAgICAgICB2YWx1ZTogZmFsc2UKICAgICAgfV0sCiAgICAgIGlzRkM6IGZhbHNlLAogICAgICBpbkhlbHA6IGZhbHNlLAogICAgICBjdXJyZW50QmFja2dyb3VuZDogIndoaXRlIiwKICAgICAgYXZhaWxhYmxlQmFja2dyb3VuZDogWyJ3aGl0ZSIsICJsaWdodHNreWJsdWUiLCAiYmxhY2siXSwKICAgICAgbG9hZGluZzogZmFsc2UsCiAgICAgIGZsYXRtYXBNYXJrZXI6IGZsYXRtYXBNYXJrZXIsCiAgICAgIHRvb2x0aXBFbnRyeTogY3JlYXRlVW5maWxsZWRUb29sdGlwRGF0YSgpLAogICAgICBjb25uZWN0aXZpdHlUb29sdGlwVmlzaWJsZTogZmFsc2UsCiAgICAgIHJlc291cmNlRm9yVG9vbHRpcDogdW5kZWZpbmVkLAogICAgICBkcmF3ZXJPcGVuOiBmYWxzZSwKICAgICAgY29sb3VyUmFkaW86IHRydWUsCiAgICAgIG91dGxpbmVzUmFkaW86IHRydWUsCiAgICAgIG1pbmltYXBSZXNpemVTaG93OiBmYWxzZSwKICAgICAgbWluaW1hcFNtYWxsOiBmYWxzZSwKICAgICAgY3VycmVudEFjdGl2ZTogIiIsCiAgICAgIGN1cnJlbnRIb3ZlcjogIiIKICAgIH07CiAgfSwKICB3YXRjaDogewogICAgZW50cnk6IGZ1bmN0aW9uIGVudHJ5KCkgewogICAgICBpZiAoIXRoaXMuc3RhdGU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GUKICAgICAgaWYgKHRoaXMuc2V0U3RhdGVSZXF1aXJlZCkgewogICAgICAgIHRoaXMuc2V0U3RhdGUodGhpcy5zdGF0ZSk7CiAgICAgIH0KICAgIH0gZWxzZSBpZiAodGhpcy5yZW5kZXJBdE1vdW50ZWQpIHsKICAgICAgdGhpcy5jcmVhdGVGbGF0bWFwKCk7CiAgICB9CiAgfQp9Ow=="},{"version":3,"names":["Vue","Tooltip","SelectionsGroup","TreeControls","MapSvgIcon","MapSvgSpriteColor","SvgLegends","lang","locale","flatmapMarker","FlatmapQueries","findTaxonomyLabel","use","_Button","_Col","_Loading","directive","_Radio","_RadioGroup","_Row","ResizeSensor","require","processTaxon","flatmapAPI","taxonIdentifiers","processed","forEach","taxon","then","value","item","label","push","processFTUs","parent","key","ftus","items","organs","children","filter","obj","index","findIndex","undefined","child","data","models","concat","grandChildren","length","processSystems","systems","allSystems","system","colour","enabled","id","createUnfilledTooltipData","destinations","origins","components","destinationsWithDatasets","originsWithDatasets","componentsWithDatasets","resource","name","beforeCreate","mapManager","mapImp","setStateRequired","methods","viewLatestMap","biologicalSex","entry","state","viewport","getState","$emit","backgroundChangeCallback","currentBackground","setBackgroundColour","toggleDrawer","drawerOpen","setColour","flag","colourRadio","outline","outlinesRadio","setOutlines","outlineRadio","resetView","resetMap","$refs","centrelinesSelection","reset","skcanSelection","layersSelection","systemsSelection","pathwaysSelection","zoomIn","zoomOut","centreLinesSelected","payload","enableCentrelines","sckanSelected","enableSckanPath","checkAllSCKAN","_this","keys","systemSelected","enableSystem","checkAllSystems","_this2","ftuSelected","searchAndShowResult","layersSelected","enableLayer","checkAllLayers","_this3","taxonsSelected","enableConnectivityByTaxonIds","checkAllTaxons","_this4","pathwaysSelected","enablePath","checkAllPathways","_this5","enablePanZoomEvents","eventCallback","_this6","eventType","taxonomy","_len","arguments","args","Array","_key","dataset","feature","userData","provenanceTaxonomy","taxons","JSON","parse","currentActive","currentHover","type","checkAndCreatePopups","_checkAndCreatePopups","_asyncToGenerator","_regeneratorRuntime","mark","_callee","results","wrap","_callee$","_context","prev","next","flatmapQueries","retrieveFlatmapKnowledgeForEvent","sent","hyperlinks","resourceForTooltip","createTooltipFromNeuronCuration","stop","_x","apply","popUpCssHacks","ftooltip","document","querySelector","style","display","tooltip","$el","onclick","_createTooltipFromNeuronCuration","_callee2","_callee2$","_context2","createTooltipData","tooltipEntry","displayTooltip","_x2","showPopup","featureId","node","options","myOptions","className","positionAtLastClick","showMarkerPopup","closeMinimap","minimapEl","flatmapContainer","minimapSmall","classList","add","remove","addResizeButtonToMinimap","minimapResize","parentNode","removeChild","appendChild","minimapResizeShow","setHelpMode","helpMode","inHelp","hoverVisibilities","openFlatmapHelpPopup","closeFlatmapHelpPopup","showToolitip","tooltipNumber","_this7","clearTimeout","tooltipWait","setTimeout","hideToolitip","_this8","modelFeatureIds","heartId","featureIdsForModel","elm","anchor","querySelectorAll","click","getLabels","labels","annotations","_iterator","_createForOfIteratorHelper","values","_step","s","n","done","err","e","f","from","Set","identifier","getIdentifier","uuid","setState","createFlatmap","restoreMapState","searchTerm","_this9","loading","minimap","displayMinimap","position","promise1","loadMap","featureInfo","minZoom","layerControl","pathControls","searchable","tooltips","returnedObject","onFlatmapReady","_stateToBeSet","computePathControlsMaximumHeight","elem","computed","getComputedStyle","padding","parseInt","paddingTop","paddingBottom","height","clientHeight","pathwaysMaxHeight","mapResize","resize","showMinimap","_minimap","_unused","console","error","sensor","isFC","setBackgroundOpacity","pathways","pathTypes","getSystems","taxonConnectivity","showPathwaysDrawer","term","displayLabel","clearSearchResults","searchResults","search","showSearchResults","text","annotation","preserveSelection","searchSuggestions","props","String","default","Boolean","Number","renderAtMounted","displayWarning","enableOpenMapUI","openMapOptions","_default","isLegacy","displayLatestChanges","latestChangesMessage","Object","sparcAPI","provide","layers","sckanDisplay","centreLines","availableBackground","connectivityTooltipVisible","watch","val","handler","immediate","deep","mounted","flatmap","MapManager","initialise"],"sources":["node_modules/@abi-software/flatmapvuer/src/components/Fl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