{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/scaffoldvuer/src/components/TreeControls.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/@abi-software/scaffoldvuer/src/components/TreeControls.vue","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-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:Ci8qIGVzbGludC1kaXNhYmxlIG5vLWFsZXJ0LCBuby1jb25zb2xlICovCmltcG9ydCBWdWUgZnJvbSAidnVlIjsKaW1wb3J0IHsKICBDaGVja2JveCwKICBDaGVja2JveEdyb3VwLAogIENvbG9yUGlja2VyLAogIExvYWRpbmcsCiAgUm93LAogIFRyZWUsCn0gZnJvbSAiZWxlbWVudC11aSI7CmltcG9ydCBsYW5nIGZyb20gImVsZW1lbnQtdWkvbGliL2xvY2FsZS9sYW5nL2VuIjsKaW1wb3J0IGxvY2FsZSBmcm9tICJlbGVtZW50LXVpL2xpYi9sb2NhbGUiOwppbXBvcnQgewogIGNyZWF0ZUxpc3RGcm9tUHJpbWl0aXZlcywKICBleHRyYWN0QWxsSWRzLAogIGZpbmRPYmplY3RzV2l0aE5hbWVzLAp9IGZyb20gIi4uL3NjcmlwdHMvdXRpbGl0aWVzLmpzIjsKCmNvbnN0IG9yZGVyQnkgPSByZXF1aXJlKCJsb2Rhc2gvb3JkZXJCeSIpOwpjb25zdCB1bm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gICAgIGNoaWxkUmVnaW9uID0gewogICAgICAgICAgICBsYWJlbDogX3BhdGhzWzBdLAogICAgICAgICAgICBpZDogaWQsCiAgICAgICAgICAgIGNoaWxkcmVuOiBbXSwKICAgICAgICAgICAgcmVnaW9uUGF0aDogcGF0aCwKICAgICAgICAgICAgaXNSZWdpb246IHRydWUsCiAgICAgICAgICB9OwogICAgICAgICAgdGhpcy5hZGRUcmVlSXRlbShkYXRhLmNoaWxkcmVuLCBjaGlsZFJlZ2lvbik7CiAgICAgICAgfQogICAgICAgIF9wYXRocy5zaGlmdCgpOwogICAgICAgIHJldHVybiB0aGlzLmZpbmRPckNyZWF0ZVJlZ2lvbihjaGlsZFJlZ2lvbiwgX3BhdGhzLCBwYXRoKTsKICAgICAgfSBlbHNlIHsKICAgICAgICByZXR1cm4gZGF0YTsKICAgICAgfQogICAgfSwKICAgIG5vZGVJc0FjdGl2ZTogZnVuY3Rpb24gKGRhdGEpIHsKICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCB0aGlzLmFjdGl2ZS5sZW5ndGg7IGkrKykgewogICAgICAgIGxldCBpdGVtID0gdGhpcy5hY3RpdmVbaV07CiAgICAgICAgaWYgKAogICAgICAgICAgaXRlbS5ncm91cCA9PT0gZGF0YS5sYWJlbCAmJgogICAgICAgICAgKGl0ZW0ucmVnaW9uUGF0aCA9PT0gZGF0YS5yZWdpb25QYXRoIHx8IGl0ZW0ucmVnaW9uUGF0aCA9PT0gdW5kZWZpbmVkKQogICAgICAgICkgewogICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgfQogICAgICB9CiAgICAgIHJldHVybiBmYWxzZTsKICAgIH0sCiAgICBub2RlSXNIb3ZlcjogZnVuY3Rpb24gKGRhdGEpIHsKICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCB0aGlzLmhvdmVyLmxlbmd0aDsgaSsrKSB7CiAgICAgICAgbGV0IGl0ZW0gPSB0aGlzLmhvdmVyW2ldOwogICAgICAgIGlmICgKICAgICAgICAgIGl0ZW0uZ3JvdXAgPT09IGRhdGEubGFiZWwgJiYKICAgICAgICAgIChpdGVtLnJlZ2lvblBhdGggPT09IGRhdGEucmVnaW9uUGF0aCB8fCBpdGVtLnJlZ2lvblBhdGggPT09IHVuZGVmaW5lZCkKICAgICAgICApIHsKICAgICAgICAgIHJldHVybiB0cnVlOwogICAgICAgIH0KICAgICAgfQogICAgICByZXR1cm4gZmFsc2U7CiAgICB9LAogICAgLyoqCiAgICAgKiBUaGlzIGlzIGNhbGxlZCB3aGVuIGEgbmV3IHppbmMgb2JqZWN0IGlzIHJlYWQgaW50byB0aGUgc2NlbmUuCiAgICAgKi8KICAgIHppbmNPYmplY3RBZGRlZDogZnVuY3Rpb24gKHppbmNPYmplY3QpIHsKICAgICAgY29uc3QgcmVnaW9uID0gemluY09iamVjdC5yZWdpb247CiAgICAgIGlmIChyZWdpb24pIHsKICAgICAgICBjb25zdCBwYXRocyA9IHJlZ2lvbi5nZXRGdWxsU2VwYXJhdGVkUGF0aCgpOwogICAgICAgIGNvbnN0IHJlZ2lvbkRhdGEgPSB0aGlzLmZpbmRPckNyZWF0ZVJlZ2lvbih0aGlzLnRyZWVEYXRhWzBdLCBwYXRocywgIiIpOwogICAgICAgIGlmICh6aW5jT2JqZWN0Lmdyb3VwTmFtZSkgewogICAgICAgICAgaWYgKHJlZ2lvbkRhdGEpIHsKICAgICAgICAgICAgaWYgKCFyZWdpb25EYXRhLmNoaWxkcmVuKSB7CiAgICAgICAgICAgICAgcmVnaW9uRGF0YS5jaGlsZHJlbiA9IFtdOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGxldCBpZCA9CiAgICAgICAgICAgICAgcmVnaW9uRGF0YS5pZC5yZXBsYWNlKCJfX3IvIiwgIiIpICsgIi8iICsgemluY09iamVjdC5ncm91cE5hbWU7CiAgICAgICAgICAgIGNvbnN0IGNoaWxkID0gewogICAgICAgICAgICAgIGxhYmVsOiB6aW5jT2JqZWN0Lmdyb3VwTmFtZSwKICAgICAgICAgICAgICBpZDogaWQsCiAgICAgICAgICAgICAgaXNQcmltaXRpdmVzOiB0cnVlLAogICAgICAgICAgICAgIHJlZ2lvblBhdGg6IHppbmNPYmplY3QucmVnaW9uLmdldEZ1bGxQYXRoKCksCiAgICAgICAgICAgIH07CiAgICAgICAgICAgIHRoaXMuYWRkVHJlZUl0ZW0ocmVnaW9uRGF0YS5jaGlsZHJlbiwgY2hpbGQpOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgfSwKICAgIGNoZWNrQ2hhbmdlZDogZnVuY3Rpb24gKG5vZGUsIGRhdGEpIHsKICAgICAgY29uc3QgaXNSZWdpb24gPSBub2RlLmlzUmVnaW9uOwogICAgICBjb25zdCBpc1ByaW1pdGl2ZXMgPSBub2RlLmlzUHJpbWl0aXZlczsKICAgICAgY29uc3QgaXNDaGVja2VkID0gZGF0YS5jaGVja2VkS2V5cy5pbmNsdWRlcyhub2RlLmlkKTsKICAgICAgY29uc3QgcmVnaW9uID0gdGhpcy4kbW9kdWxlLnNjZW5lCiAgICAgICAgLmdldFJvb3RSZWdpb24oKQogICAgICAgIC5maW5kQ2hpbGRGcm9tUGF0aChub2RlLnJlZ2lvblBhdGgpOwogICAgICBpZiAoaXNSZWdpb24pIHsKICAgICAgICBpc0NoZWNrZWQgPyByZWdpb24uc2hvd0FsbFByaW1pdGl2ZXMoKSA6IHJlZ2lvbi5oaWRlQWxsUHJpbWl0aXZlcygpOwogICAgICB9CiAgICAgIGlmIChpc1ByaW1pdGl2ZXMpIHsKICAgICAgICBjb25zdCBwcmltaXRpdmVzID0gcmVnaW9uLmZpbmRPYmplY3RzV2l0aEdyb3VwTmFtZShub2RlLmxhYmVsKTsKICAgICAgICBwcmltaXRpdmVzLmZvckVhY2goKHByaW1pdGl2ZSkgPT4gewogICAgICAgICAgcHJpbWl0aXZlLnNldFZpc2liaWxpdHkoaXNDaGVja2VkKTsKICAgICAgICB9KTsKICAgICAgfQogICAgfSwKICAgIHVwZGF0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HJvb3RSZWdpb24gPSB0aGlzLiRtb2R1bGUuc2NlbmUuZ2V0Um9vdFJlZ2lvbigpOwogICAgICByZXR1cm4gZmluZE9iamVjdHNXaXRoTmFtZXMoCiAgICAgICAgcm9vdFJlZ2lvbiwKICAgICAgICBub2RlLmxhYmVsLAogICAgICAgIG5vZGUucmVnaW9uUGF0aCwKICAgICAgICB0cmFuc3ZlcnNlCiAgICAgICk7CiAgICB9LAogICAgLy9TZXQgdGhpcyByaWdodCBhdCB0aGUgYmVnaW5uaW5nLgogICAgc2V0TW9kdWxlOiBmdW5jdGlvbiAobW9kdWxlSW4pIHsKICAgICAgdGhpcy4kbW9kdWxlID0gbW9kdWxlSW47CiAgICAgIHRoaXMuJG1vZHVsZS5wcmltaXRpdmVEYXRhLmdlb21ldHJpZXMuZm9yRWFjaCgoemluY09iamVjdCkgPT4gewogICAgICAgIHRoaXMuemluY09iamVjdEFkZGVkKHppbmNPYmplY3QpOwogICAgICB9KTsKICAgICAgdGhpcy4kbW9kdWxlLnByaW1pdGl2ZURhdGEubGluZXMuZm9yRWFjaCgoemluY09iamVjdCkgPT4gewogICAgICAgIHRoaXMuemluY09iamVjdEFkZGVkKHppbmNPYmplY3QpOwogICAgICB9KTsKICAgICAgdGhpcy4kbW9kdWxlLnByaW1pdGl2ZURhdGEuZ2x5cGhzZXRzLmZvckVhY2goKHppbmNPYmplY3QpID0+IHsKICAgICAgICB0aGlzLnppbmNPYmplY3RBZGRlZCh6aW5jT2JqZWN0KTsKICAgICAgfSk7CiAgICAgIHRoaXMuJG1vZHVsZS5wcmltaXRpdmVEYXRhLnBvaW50c2V0cy5mb3JFYWNoKCh6aW5jT2JqZWN0KSA9PiB7CiAgICAgICAgdGhpcy56aW5jT2JqZWN0QWRkZWQoemluY09iamVjdCk7CiAgICAgIH0pOwogICAgICB0aGlzLiRtb2R1bGUuYWRkT3JnYW5QYXJ0QWRkZWRDYWxsYmFjayh0aGlzLnppbmNPYmplY3RBZGRlZCk7CiAgICAgI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H0sCiAgfSwKfTsK"},{"version":3,"sources":["TreeControls.vue"],"names":[],"mappings":";AA6DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"TreeControls.vue","sourceRoot":"node_modules/@abi-software/scaffoldvuer/src/components","sourcesContent":["\n \n \n \n \n \n Regions\n \n \n \n \n \n \n \n {{ node.label }}\n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n"]}]}