(function webpackUniversalModuleDefinition(root, factory) {
	if(typeof exports === 'object' && typeof module === 'object')
		module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"));
	else if(typeof define === 'function' && define.amd)
		define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js"], factory);
	else {
		var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"]);
		for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
	}
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__) {
return /******/ (function() { // webpackBootstrap
/******/ 	"use strict";
/******/ 	var __webpack_modules__ = ({

/***/ 348:
/***/ (function(module) {

module.exports = require("@kq_npm/client_icons_vue");

/***/ }),

/***/ 2118:
/***/ (function(module) {

module.exports = require("core-js/modules/es.array.push.js");

/***/ }),

/***/ 8470:
/***/ (function(module) {

module.exports = require("core-js/modules/esnext.iterator.constructor.js");

/***/ }),

/***/ 1058:
/***/ (function(module) {

module.exports = require("core-js/modules/esnext.iterator.for-each.js");

/***/ }),

/***/ 7080:
/***/ (function(module) {

module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");

/***/ }),

/***/ 7135:
/***/ (function(module) {

module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;

/***/ }),

/***/ 7997:
/***/ (function(module) {

module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;

/***/ }),

/***/ 1895:
/***/ (function(module) {

module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;

/***/ }),

/***/ 5301:
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {


// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "Z": function() { return /* binding */ _defineProperty; }
});

;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
function _typeof(o) {
  "@babel/helpers - typeof";

  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
    return typeof o;
  } : function (o) {
    return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
  }, _typeof(o);
}

;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js

function toPrimitive(t, r) {
  if ("object" != _typeof(t) || !t) return t;
  var e = t[Symbol.toPrimitive];
  if (void 0 !== e) {
    var i = e.call(t, r || "default");
    if ("object" != _typeof(i)) return i;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return ("string" === r ? String : Number)(t);
}

;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js


function toPropertyKey(t) {
  var i = toPrimitive(t, "string");
  return "symbol" == _typeof(i) ? i : i + "";
}

;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js

function _defineProperty(e, r, t) {
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
    value: t,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[r] = t, e;
}


/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/ 	
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
/******/ 		if (cachedModule !== undefined) {
/******/ 			return cachedModule.exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = __webpack_module_cache__[moduleId] = {
/******/ 			// no module.id needed
/******/ 			// no module.loaded needed
/******/ 			exports: {}
/******/ 		};
/******/ 	
/******/ 		// Execute the module function
/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/ 	
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/compat get default export */
/******/ 	!function() {
/******/ 		// getDefaultExport function for compatibility with non-harmony modules
/******/ 		__webpack_require__.n = function(module) {
/******/ 			var getter = module && module.__esModule ?
/******/ 				function() { return module['default']; } :
/******/ 				function() { return module; };
/******/ 			__webpack_require__.d(getter, { a: getter });
/******/ 			return getter;
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/define property getters */
/******/ 	!function() {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = function(exports, definition) {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	!function() {
/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	!function() {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = function(exports) {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	}();
/******/ 	
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
!function() {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "CompareMapViewModel": function() { return /* reexport */ CompareMapViewModel; },
  "default": function() { return /* reexport */ CompareMap; }
});

// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
var gis_utils_ = __webpack_require__(7135);
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
var client_icons_vue_ = __webpack_require__(348);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
var defineProperty = __webpack_require__(5301);
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
var es_array_push_js_ = __webpack_require__(2118);
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
var esnext_iterator_for_each_js_ = __webpack_require__(1058);
;// CONCATENATED MODULE: ./src/webgl/comparemap/CompareMapViewModel.js




/*
 * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
 * All rights reserved.
 */
//多窗口逻辑类
class CompareMapViewModel {
  //三维viewer对象

  constructor(scenceView, options = {}) {
    (0,defineProperty/* default */.Z)(this, "_scenceView", null);
    // 三维视图对象
    (0,defineProperty/* default */.Z)(this, "_viewer", null);
    this._scenceView = scenceView;
    this._viewer = scenceView._viewer;
    if (options.splitLineColor) {
      this._viewer.scene.splitLineColor = Cesium.Color.fromCssColorString(options.splitLineColor);
    }
    if (options.splitLineWidth) {
      this._viewer.scene.splitLineWidth = options.splitLineWidth;
    }
  }

  //切换窗口模式
  changeMode(mode, selectAll) {
    let viewMode = Cesium.SplitViewMode.NONE;
    switch (mode) {
      case 1:
        viewMode = Cesium.SplitViewMode.NONE;
        break;
      case 2:
        viewMode = Cesium.SplitViewMode.HORIZONTAL;
        break;
      // case 3:
      //   viewMode = Cesium.SplitViewMode.HORIZONTAL_TRIPLE;
      //   break;
      case 4:
        viewMode = Cesium.SplitViewMode.QUAD;
        break;
      // case 5:
      //   viewMode = [
      //     { index: 0, left: 0, top: 0, width: 1, height: 1 },
      //     { index: 1, left: 0.78, top: 0.06, width: 0.2, height: 0.2 }
      //   ];
      //   break;
      default:
        break;
    }
    if (!selectAll) {
      // 默认全部不勾选
      let checkedLayerkeys = this._scenceView._layerManager.getLayerCheckedListKey();
      for (let i = 0; i < checkedLayerkeys.length; i++) {
        let layer = this._scenceView._layerManager.getLayerByGuid(checkedLayerkeys[i]);
        let type = this._scenceView._layerManager.getLayerTypeByGuid(checkedLayerkeys[i]);
        layer.showInViews = [];
        if (type == 'datasource') {
          layer.entities.values.forEach(entity => {
            entity.showInViews = [];
          });
        }
      }
    }
    this._viewer.scene.splitViewMode = viewMode;
  }

  //重置窗口模式
  resetMode() {
    this.changeMode();
    let checkedLayerkeys = this._scenceView._layerManager.getLayerCheckedListKey();
    for (let i = 0; i < checkedLayerkeys.length; i++) {
      let layer = this._scenceView._layerManager.getLayerByGuid(checkedLayerkeys[i]);
      let type = this._scenceView._layerManager.getLayerTypeByGuid(checkedLayerkeys[i]);
      layer.showInViews = undefined;
      if (type == 'datasource') {
        layer.entities.values.forEach(entity => {
          entity.showInViews = [0, 1, 2, 3];
        });
      }
    }
  }
  setLayerState(index, guid, visible) {
    let layer = this._scenceView._layerManager.getLayerByGuid(guid);
    let type = this._scenceView._layerManager.getLayerTypeByGuid(guid);
    if (layer) {
      let showInViews = layer.showInViews || [0, 1, 2, 3];
      if (visible) {
        showInViews.push(index);
      } else {
        let num = showInViews.indexOf(index);
        if (num > -1) {
          showInViews.splice(num, 1);
        }
      }
      layer.showInViews = showInViews;
      if (type == 'datasource') {
        layer.entities.values.forEach(entity => {
          if (entity.show) {
            entity.showInViews = showInViews;
          }
        });
      }
    }
  }
}
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
var vue_i18n_cjs_js_ = __webpack_require__(7080);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMapTree.vue?vue&type=script&setup=true&lang=js

const _hoisted_1 = {
  class: "kq3d-compare-map-tree"
};



const __default__ = {
  name: "Kq3dCompareMapTree"
};
/* harmony default export */ var CompareMapTreevue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
  props: {
    index: Number,
    setLayerState: {
      type: Function
    },
    defaultSelectAll: {
      type: Boolean,
      default: true
    }
  },
  setup(__props) {
    const props = __props;
    let selectedLayers = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 图层树选中值
    let layerTreeData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 图层树选项数据
    let preCheckedKeys = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 记录上次图层树选中值
    const {
      proxy
    } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
    let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);

    /**
     * 勾选图层逻辑
     */
    function changeLayer(values) {
      let checkedKeys = preCheckedKeys.value;
      if (checkedKeys.length > values.length) {
        for (let val of checkedKeys.values()) {
          if (!values.includes(val)) {
            props.setLayerState(props.index, val, false);
          }
        }
      } else {
        for (let val of values.values()) {
          if (!checkedKeys.includes(val)) {
            props.setLayerState(props.index, val, true);
          }
        }
      }
      preCheckedKeys.value = values;
    }

    // 国际化
    let {
      locale,
      messages
    } = (0,vue_i18n_cjs_js_.useI18n)();
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
      language.value = messages.value[newVal]["webgl"];
    });
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
      (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
        gis_utils_.utils.getWebMap(null, scenceView => {
          if (scenceView) {
            layerTreeData.value = gis_utils_.mapLayerUtils.getLayerCheckedList();
            if (props.defaultSelectAll) {
              selectedLayers.value = gis_utils_.mapLayerUtils.getLayerCheckedListKey();
              preCheckedKeys.value = selectedLayers.value;
            }
          }
        });
      });
    });
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {});
    return (_ctx, _cache) => {
      const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
      const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
        teleported: true,
        multiple: "",
        "collapse-tags": "",
        onChange: changeLayer,
        modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(selectedLayers),
        "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(selectedLayers) ? selectedLayers.value = $event : selectedLayers = $event),
        "value-key": "id",
        placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).selectLayer,
        style: {
          "width": "220px"
        }
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(layerTreeData), item => {
          return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
            key: item.guid,
            label: item.name,
            value: item.guid
          }, null, 8 /* PROPS */, ["label", "value"]);
        }), 128 /* KEYED_FRAGMENT */))]),
        _: 1 /* STABLE */
      }, 8 /* PROPS */, ["modelValue", "placeholder"])]);
    };
  }
}));
;// CONCATENATED MODULE: ./src/webgl/comparemap/CompareMapTree.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/webgl/comparemap/CompareMapTree.vue



const __exports__ = CompareMapTreevue_type_script_setup_true_lang_js;

/* harmony default export */ var CompareMapTree = (__exports__);
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMap.vue?vue&type=script&setup=true&lang=js

const CompareMapvue_type_script_setup_true_lang_js_hoisted_1 = {
  class: "kq3d-compare-map"
};






const CompareMapvue_type_script_setup_true_lang_js_default_ = {
  name: "Kq3dCompareMap"
};
/* harmony default export */ var CompareMapvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(CompareMapvue_type_script_setup_true_lang_js_default_, {
  props: {
    showShadow: {
      type: Boolean,
      default: false
    },
    offsetTop: {
      type: String,
      default: "16px"
    },
    defaultSelectAll: {
      type: Boolean,
      default: true
    },
    splitLineColor: {
      type: String
    },
    splitLineWidth: {
      type: Number,
      default: 2
    }
  },
  emits: ["back"],
  setup(__props, {
    expose: __expose,
    emit
  }) {
    const props = __props;
    let offsetTop = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("auto");
    const {
      proxy
    } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
    let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
    let btnShow = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 分屏返回按钮

    let viewModel = null;
    let showTree1 = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 图层树1
    let showTree2 = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 图层树2
    let showTree3 = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 图层树3
    let showTree4 = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 图层树4
    let tree1Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0);
    let tree2Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(1);
    let tree3Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(2);
    let tree4Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(3);

    // 国际化
    let {
      locale,
      messages
    } = (0,vue_i18n_cjs_js_.useI18n)();
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
      language.value = messages.value[newVal]["webgl"];
    });
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
      offsetTop.value = props.offsetTop;
      gis_utils_.utils.getWebMap(null, scenceView => {
        if (scenceView) {
          let options = {
            splitLineColor: props.splitLineColor,
            splitLineWidth: props.splitLineWidth
          };
          viewModel = new CompareMapViewModel(scenceView, options);
        }
      });
    });

    //切换窗口模式
    function changeMode(mode) {
      btnShow.value = true;
      if (mode === 2) {
        showTree1.value = true;
        showTree2.value = true;
        tree1Index.value = 0;
        tree2Index.value = 1;
        tree3Index.value = 2;
        tree4Index.value = 3;
      } else if (mode === 4) {
        showTree1.value = true;
        showTree2.value = true;
        showTree3.value = true;
        showTree4.value = true;
        tree1Index.value = 2;
        tree2Index.value = 3;
        tree3Index.value = 0;
        tree4Index.value = 1;
      }
      viewModel && viewModel.changeMode(mode, props.defaultSelectAll);
    }

    //返回
    function goBack() {
      btnShow.value = false;
      showTree1.value = false;
      showTree2.value = false;
      showTree3.value = false;
      showTree4.value = false;
      emit("back");
      resetMode();
    }

    //重置窗口模式
    function resetMode() {
      viewModel && viewModel.resetMode();
    }

    //设置图层显示状态
    function setLayerState(index, guid, visible) {
      viewModel && viewModel.setLayerState(index, guid, visible);
    }

    // 销毁
    (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
      resetMode();
    });
    __expose({
      changeMode,
      goBack,
      resetMode,
      setLayerState
    });
    return (_ctx, _cache) => {
      const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
      const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
      return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", CompareMapvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showTree1) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(CompareMapTree), {
        key: 0,
        class: "layer-tree-1",
        style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
          top: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(offsetTop)
        }),
        index: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tree1Index),
        defaultSelectAll: props.defaultSelectAll,
        setLayerState: setLayerState
      }, null, 8 /* PROPS */, ["style", "index", "defaultSelectAll"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showTree2) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(CompareMapTree), {
        key: 1,
        class: "layer-tree-2",
        style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
          top: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(offsetTop)
        }),
        index: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tree2Index),
        defaultSelectAll: props.defaultSelectAll,
        setLayerState: setLayerState
      }, null, 8 /* PROPS */, ["style", "index", "defaultSelectAll"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showTree3) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(CompareMapTree), {
        key: 2,
        class: "layer-tree-3",
        index: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tree3Index),
        defaultSelectAll: props.defaultSelectAll,
        setLayerState: setLayerState
      }, null, 8 /* PROPS */, ["index", "defaultSelectAll"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showTree4) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(CompareMapTree), {
        key: 3,
        class: "layer-tree-4",
        index: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tree4Index),
        defaultSelectAll: props.defaultSelectAll,
        setLayerState: setLayerState
      }, null, 8 /* PROPS */, ["index", "defaultSelectAll"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 返回 "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
        circle: "",
        title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).return,
        class: "close-button",
        style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
          top: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(offsetTop)
        }),
        onClick: _cache[0] || (_cache[0] = $event => goBack())
      }, {
        default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
          size: 26
        }, {
          default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconBack))]),
          _: 1 /* STABLE */
        })]),
        _: 1 /* STABLE */
      }, 8 /* PROPS */, ["title", "style"]), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(btnShow)]])]);
    };
  }
}));
;// CONCATENATED MODULE: ./src/webgl/comparemap/CompareMap.vue?vue&type=script&setup=true&lang=js
 
;// CONCATENATED MODULE: ./src/webgl/comparemap/CompareMap.vue



const CompareMap_exports_ = CompareMapvue_type_script_setup_true_lang_js;

/* harmony default export */ var CompareMap = (CompareMap_exports_);
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
var init_js_ = __webpack_require__(7997);
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
;// CONCATENATED MODULE: ./src/webgl/comparemap/index.js
/*
 * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
 * All rights reserved.
 */



CompareMap.install = (Vue, opts) => {
  init_js_default()(Vue, opts);
  Vue.component(CompareMap.name, CompareMap);
};

}();
/******/ 	return __webpack_exports__;
/******/ })()
;
});